Package: gtk

GFlags gtk-ui-manager-item-type

Details

These values are used by the function gtk-ui-manager-add-ui to determine what UI element to create.
(define-g-flags "GtkUIManagerItemType" gtk-ui-manager-item-type
  (:export t
   :type-initializer "gtk_ui_manager_item_type_get_type"))
  (:auto 0)
  (:menubar 1)
  (:menu 2)
  (:toolbar 4)
  (:placeholder 8)
  (:popup 16)
  (:menuitem 32)
  (:toolitem 64)
  (:separator 128)
  (:accelerator 256)
  (:popup-with-accels 512))  
:auto
Pick the type of the UI element according to context.
:menubar
Create a menubar.
:menu
Create a menu.
:toolbar
Create a toolbar.
:placeholder
Insert a placeholder.
:popup
Create a popup menu.
:menuitem
Create a menuitem.
:toolitem
Create a toolitem.
:separator
Create a separator.
:accelerator
Install an accelerator.
:popup-with-accels
Same as :popup, but the accelerators of the actions are shown.

Warning

The gtk-ui-manager-item-type flags has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2021-7-20