#[repr(i32)]pub enum SystemWindowEvent {
Show 24 variants
Sound = 1,
Alert = 2,
Foreground = 3,
MenuStart = 4,
MenuEnd = 5,
MenuPopupStart = 6,
MenuPopupEnd = 7,
CaptureStart = 8,
CaptureEnd = 9,
MoveSizeStart = 10,
MoveSizeEnd = 11,
ContextHelpStart = 12,
ContextHelpEnd = 13,
DragDropStart = 14,
DragDropEnd = 15,
DialogStart = 16,
DialogEnd = 17,
ScrollingStart = 18,
ScrollingEnd = 19,
SwitchStart = 20,
SwitchEnd = 21,
MinimizeStart = 22,
MinimizeEnd = 23,
DesktopSwitch = 32,
}
Expand description
A known event describing a situation affecting all applications in the system.
Variants§
Sound = 1
A sound has been played.
Alert = 2
An alert has been generated.
Foreground = 3
The foreground window has changed.
MenuStart = 4
A menu item on the menu bar has been selected.
MenuEnd = 5
A menu from the menu bar has been closed.
MenuPopupStart = 6
A pop-up menu has been displayed.
MenuPopupEnd = 7
A pop-up menu has been closed.
CaptureStart = 8
A window has received mouse capture.
CaptureEnd = 9
A window has lost mouse capture.
MoveSizeStart = 10
A window is being moved or resized.
MoveSizeEnd = 11
The movement or resizing of a window has finished.
ContextHelpStart = 12
A window has entered context-sensitive Help mode.
ContextHelpEnd = 13
A window has exited context-sensitive Help mode.
DragDropStart = 14
An application is about to enter drag-and-drop mode.
DragDropEnd = 15
An application is about to exit drag-and-drop mode.
DialogStart = 16
A dialog box has been displayed.
DialogEnd = 17
An application is about to exit drag-and-drop mode.
ScrollingStart = 18
Scrolling has started on a scroll bar.
ScrollingEnd = 19
Scrolling has ended on a scroll bar.
SwitchStart = 20
The user has pressed ALT+TAB, which activates the switch window.
SwitchEnd = 21
The user has released ALT+TAB.
MinimizeStart = 22
A window object is about to be minimized.
MinimizeEnd = 23
A window object is about to be restored.
DesktopSwitch = 32
The active desktop has been switched.
Trait Implementations§
Source§impl Clone for SystemWindowEvent
impl Clone for SystemWindowEvent
Source§fn clone(&self) -> SystemWindowEvent
fn clone(&self) -> SystemWindowEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more