GtkUiManagerItemType

These enumeration values are used by add_ui to determine what UI element to create.

Value

Symbolic name

Description

  0Gtk::UI_MANAGER_AUTO Pick the type of the UI element according to context.
  1Gtk::UI_MANAGER_MENUBAR Create a menubar.
  2Gtk::UI_MANAGER_MENU Create a menu.
  4Gtk::UI_MANAGER_TOOLBAR Create a toolbar.
  8Gtk::UI_MANAGER_PLACEHOLDER Insert a placeholder.
  16Gtk::UI_MANAGER_POPUP Create a popup menu.
  32Gtk::UI_MANAGER_MENUITEM Create a menuitem.
  64Gtk::UI_MANAGER_TOOLITEM Create a toolitem.
  128Gtk::UI_MANAGER_SEPARATOR Create a separator.
  256Gtk::UI_MANAGER_ACCELERATOR Install an accelerator.