Package: gtk
Function gtk-action-group-add-actions
Lambda Listgtk-action-group-add-actions (group entries) ArgumentsDetails
This is a convenience function to create a number of actions and add them
to the action group.
The "activate" signals of the actions are connected to the callback
functions and their accel paths are set to <Actions>/group-name/action-name. Example
(let ((group (gtk-action-group-new "AppWindowActions"))
(actions '(("Open" ; name
"gtk-stock-open" ; stock-id
"_Open" ; label
"<ctrl>o" ; accelerator
"Open a file" ; tooltip
nil ; callback function
))))
(gtk-action-group-add-actions group actions)
... ) Warning | See also |
*2021-12-18