Flags that can be passed to UI::PushItemFlag().
Flags that can be passed to UI::PushItemFlag().
UI::ItemFlags::None
(0)
UI::ItemFlags::NoTabStop
(1)
Disable keyboard tabbing. This is a "lighter" version of UI::ItemFlags::NoNav.
UI::ItemFlags::NoNav
(2)
Disable any form of focusing (keyboard/gamepad directional navigation and SetKeyboardFocusHere() calls).
UI::ItemFlags::NoNavDefaultFocus
(4)
Disable item being a candidate for default focus (e.g. used by title bar items).
UI::ItemFlags::ButtonRepeat
(8)
Any button-like behavior will have repeat mode enabled (based on io.KeyRepeatDelay and io.KeyRepeatRate values). Note that you can also call IsItemActive() after any button to tell if it is being held.
UI::ItemFlags::AutoClosePopups
(16)
MenuItem()/Selectable() automatically close their parent popup window.