Name

struct _EMenuItem — A BonoboUI menu item.

Synopsis

struct _EMenuItem {
  enum _e_menu_t type;
  char * path;
  char * verb;
  GCallback activate;
  void * user_data;
  guint32 visible;
  guint32 enable;
};  

Members

type

Menu item type. E_MENU_ITEM or E_MENU_TOGGLE.

path

BonoboUI Path to the menu item.

verb

BonoboUI verb for the menu item.

activate

Callback when the menu item is selected. This will be a EMenuToggleActivateFunc for toggle items or EMenuActivateFunc for normal items.

user_data

User data for item.

visible

Visibility mask, unimplemented.

enable

Sensitivity mask, combined with the target mask.

Description

An EMenuItem defines a single menu item. This menu item is used to hook onto callbacks from the bonobo menus, but not to build or merge the menu itself.

Description

An EMenuItem defines a single menu item. This menu item is used to hook onto callbacks from the bonobo menus, but not to build or merge the menu itself.