Name

enum _e_popup_t — Popup item type enumeration.

Synopsis

enum _e_popup_t {
  E_POPUP_ITEM,
  E_POPUP_TOGGLE,
  E_POPUP_RADIO,
  E_POPUP_IMAGE,
  E_POPUP_SUBMENU,
  E_POPUP_BAR,
  E_POPUP_TYPE_MASK,
  E_POPUP_ACTIVE
};  

Constants

E_POPUP_ITEM

A simple menu item.

E_POPUP_TOGGLE

A toggle menu item.

E_POPUP_RADIO

A radio menu item. Note that the radio group is global for the entire (sub) menu. i.e. submenu's must be used to separate radio button menu items.

E_POPUP_IMAGE

A &GtkImage menu item. In this case the image field of &struct _EPopupItem points to the &GtkImage directly.

E_POPUP_SUBMENU

A sub-menu header. It is up to the application to define the path properly so that the submenu comes before the submenu items.

E_POPUP_BAR

A menu separator bar.

E_POPUP_TYPE_MASK

Mask used to separate item type from option bits.

E_POPUP_ACTIVE

An option bit to signify that the radio button or toggle button is active.