Enum StateFlags

Common widget state flags, e.g. pressed

enum StateFlags : uint { ... }

Enum members

NameDescription
activated Widget is activated
checked Widget is checked
default_ Widget is default control for form (should be focused when window gains focus first time)
enabled Widget can process mouse and key events
focused Widget has focus
focusWithin Some descendant widget has focus
hovered Mouse pointer is over this widget, buttons not pressed
keyboardFocused Widget has been focused by keyboard navigation
none Indefinite state
normal State not specified / normal
parent Returns state of parent instead of widget's state when requested
pressed Pressed (e.g. clicked by mouse)
readOnly User actions cannot change the content of the widget
selected Widget is selected