Name

struct _EMenuHookMenu — A group of items targetting a specific menu.

Synopsis

struct _EMenuHookMenu {
  struct _EMenuHook * hook;
  char * id;
  int target_type;
  GSList * items;
  GSList * uis;
  GSList * pixmaps;
};  

Members

hook

Parent pointer.

id

The identifier of the menu or view to which these items belong.

target_type

The target number of the type of target these menu items expect. This will be defined by menu itself.

items

A list of EMenuItems.

uis

A list of filenames of the BonoboUI files that need to be loaded for an active view.

pixmaps

A list of EMenuHookPixmap structures for the menus.

Description

This structure is used to keep track of all of the items that a plugin wishes to add to specific menu. This is used internally by a factory method defined by the EMenuHook to add the right menu items to a given view.

Description

This structure is used to keep track of all of the items that a plugin wishes to add to specific menu. This is used internally by a factory method defined by the EMenuHook to add the right menu items to a given view.