These enumeration values are used by add_ui to determine what UI element to create.
Value | Symbolic name | Description |
0 | Gtk::UI_MANAGER_AUTO | Pick the type of the UI element according to context. |
1 | Gtk::UI_MANAGER_MENUBAR | Create a menubar. |
2 | Gtk::UI_MANAGER_MENU | Create a menu. |
4 | Gtk::UI_MANAGER_TOOLBAR | Create a toolbar. |
8 | Gtk::UI_MANAGER_PLACEHOLDER | Insert a placeholder. |
16 | Gtk::UI_MANAGER_POPUP | Create a popup menu. |
32 | Gtk::UI_MANAGER_MENUITEM | Create a menuitem. |
64 | Gtk::UI_MANAGER_TOOLITEM | Create a toolitem. |
128 | Gtk::UI_MANAGER_SEPARATOR | Create a separator. |
256 | Gtk::UI_MANAGER_ACCELERATOR | Install an accelerator. |