Method
GtkWidgetget_action_group
Declaration [src]
GActionGroup*
gtk_widget_get_action_group (
GtkWidget* widget,
const gchar* prefix
)
Description [src]
Retrieves the GActionGroup
that was registered using prefix
. The resulting
GActionGroup
may have been registered to widget
or any GtkWidget
in its ancestry.
If no action group was found matching prefix
, then NULL
is returned.
Available since: | 3.16 |
Parameters
prefix |
const gchar* |
The “prefix” of the action group. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | GActionGroup |
A |
|
The data is owned by the instance. | |
The return value can be NULL . |