GtkEventController* gtk_shortcut_controller_new_for_model ( GListModel* model )
Creates a new shortcut controller that takes its shortcuts from the given list model.
A controller created by this function does not let you add or remove individual shortcuts using the shortcut controller api, but you can change the contents of the model.
The data is owned by the caller of the function.
A newly created shortcut controller.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|