Function

GntMenuItemCallback

Declaration

void
(* GntMenuItemCallback) (
  GntMenuItem* item,
  gpointer data
)

Description [src]

A callback for when a menu item is activated.

Parameters

item GntMenuItem
 

The menu item which was activated.

 The data is owned by the caller of the function.
data gpointer
 

The user data specified in gnt_menuitem_set_callback().

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