|
Dusk Audio Framework
|
#include <Widget.hpp>
Public Member Functions | |
| FocusEvent () noexcept | |
Public Attributes | |
| bool | focus |
| CrossingMode | mode |
Keyboard focus event.
This event is sent when the window a widget belongs to gains or loses the keyboard focus. The mode field tells whether the change is a plain focus change or the side-effect of a grab, which matters because a grab is temporary and does not mean the user moved away.
|
inlinenoexcept |
Constructor for default/null values
| bool Widget::FocusEvent::focus |
True if the window gained the focus, false if it lost it.
| CrossingMode Widget::FocusEvent::mode |
The reason for the focus change.