Method

BirbActionMenuadd_action_group

since: 0.1

Declaration [src]

gboolean
birb_action_menu_add_action_group (
  BirbActionMenu* menu,
  const char* prefix,
  GActionGroup* group
)

Description [src]

Adds group to menu with prefix. If prefix already exists, FALSE will be returned and group will not be added to menu.

Available since: 0.1

Parameters

prefix

Type: const char*

The prefix for the group.

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

Type: GActionGroup

The GActionGroup.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the prefix did not exist, otherwise FALSE.