Value | Meaning |
---|---|
Normal4 | 256 | state not specified / normal |
Pressed1 | pressed (e.g. clicked by mouse) |
Focused2 | widget has focus |
Enabled4 | widget can process mouse and key events |
Hovered8 | mouse pointer is over this widget |
Selected16 | widget is selected |
Checkable32 | widget can be checked |
Checked64 | widget is checked |
Activated128 | widget is activated |
WindowFocused256 | window is focused |
Default512 | widget is default control for form (should be focused when window gains focus first time) |
KeyboardFocused1024 | widget has been focused by keyboard navigation |
Parent0x10000 | return state of parent instead of widget's state when requested |
widget state bit flags