Method

GtkWidgetinsert_action_group

since: 3.6

Declaration [src]

void
gtk_widget_insert_action_group (
  GtkWidget* widget,
  const gchar* 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.

If group is NULL, a previously inserted group for name is removed from widget.

Available since: 3.6

Parameters

name

Type: const gchar*

The prefix for actions in group.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
group

Type: GActionGroup

A GActionGroup, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.