Constructor

BirbActionMenuItemnew

since: 0.11

Declaration [src]

BirbActionMenuItem*
birb_action_menu_item_new (
  const char* prefix,
  GActionGroup* action_group
)

Description [src]

Creates a new action menu item.

Available since: 0.11

Parameters

prefix

Type: const char*

The prefix.

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

Type: GActionGroup

The action group.

The data is owned by the caller of the function.

Return value

Type: BirbActionMenuItem

The new instance.

The caller of the function takes ownership of the data, and is responsible for freeing it.