Method

GntMenuadd_item

Declaration [src]

void
gnt_menu_add_item (
  GntMenu* menu,
  GntMenuItem* item
)

Description [src]

Add an item to the menu.

Parameters

item

Type: GntMenuItem

The item to add to the menu.

The data is owned by the caller of the function.