Package: gtk

Function gtk:shortcut-controller-new-for-model

Lambda List

gtk:shortcut-controller-new-for-model (model)

Arguments

model -- a g:list-model object containing shortcuts

Return Value

The newly created gtk:shortcut-controller object.

Details

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.
 

See also

#2023-7-23