Enum wineventhook::SystemWindowEvent
source · #[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 moresource§impl Debug for SystemWindowEvent
impl Debug for SystemWindowEvent
source§impl From<SystemWindowEvent> for i32
impl From<SystemWindowEvent> for i32
source§fn from(enum_value: SystemWindowEvent) -> Self
fn from(enum_value: SystemWindowEvent) -> Self
source§impl Hash for SystemWindowEvent
impl Hash for SystemWindowEvent
source§impl Ord for SystemWindowEvent
impl Ord for SystemWindowEvent
source§fn cmp(&self, other: &SystemWindowEvent) -> Ordering
fn cmp(&self, other: &SystemWindowEvent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for SystemWindowEvent
impl PartialEq for SystemWindowEvent
source§fn eq(&self, other: &SystemWindowEvent) -> bool
fn eq(&self, other: &SystemWindowEvent) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SystemWindowEvent
impl PartialOrd for SystemWindowEvent
source§fn partial_cmp(&self, other: &SystemWindowEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &SystemWindowEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more