Method
GtkWidgetinsert_action_group
Declaration [src]
void
gtk_widget_insert_action_group (
GtkWidget* widget,
const char* name,
GActionGroup* group
)
Description [src]
Inserts group
into widget
.
Children of widget
that implement GtkActionable
can
then be associated with actions in group
by setting their
“action-name” to prefix
.action-name
.
Note that inheritance is defined for individual actions. I.e.
even if you insert a group with prefix prefix
, actions with
the same prefix will still be inherited from the parent, unless
the group contains an action with the same name.
If group
is NULL
, a previously inserted group for name
is
removed from widget
.
Parameters
name |
const char* |
The prefix for actions in |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
group |
GActionGroup |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |