Method
GtkWidgetget_action_group
since: 3.16
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-
Type:
const gchar*The “prefix” of the action group.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.
Return value
Type: GActionGroup
A GActionGroup or NULL.
| The returned data is owned by the instance. |
The return value can be NULL. |