Enum wineventhook::SystemWindowEvent
source · #[repr(i32)]
pub enum SystemWindowEvent {
Show 24 variants
Sound,
Alert,
Foreground,
MenuStart,
MenuEnd,
MenuPopupStart,
MenuPopupEnd,
CaptureStart,
CaptureEnd,
MoveSizeStart,
MoveSizeEnd,
ContextHelpStart,
ContextHelpEnd,
DragDropStart,
DragDropEnd,
DialogStart,
DialogEnd,
ScrollingStart,
ScrollingEnd,
SwitchStart,
SwitchEnd,
MinimizeStart,
MinimizeEnd,
DesktopSwitch,
}
Expand description
A known event describing a situation affecting all applications in the system.
Variants§
Sound
A sound has been played.
Alert
An alert has been generated.
Foreground
The foreground window has changed.
MenuStart
A menu item on the menu bar has been selected.
MenuEnd
A menu from the menu bar has been closed.
MenuPopupStart
A pop-up menu has been displayed.
MenuPopupEnd
A pop-up menu has been closed.
CaptureStart
A window has received mouse capture.
CaptureEnd
A window has lost mouse capture.
MoveSizeStart
A window is being moved or resized.
MoveSizeEnd
The movement or resizing of a window has finished.
ContextHelpStart
A window has entered context-sensitive Help mode.
ContextHelpEnd
A window has exited context-sensitive Help mode.
DragDropStart
An application is about to enter drag-and-drop mode.
DragDropEnd
An application is about to exit drag-and-drop mode.
DialogStart
A dialog box has been displayed.
DialogEnd
An application is about to exit drag-and-drop mode.
ScrollingStart
Scrolling has started on a scroll bar.
ScrollingEnd
Scrolling has ended on a scroll bar.
SwitchStart
The user has pressed ALT+TAB, which activates the switch window.
SwitchEnd
The user has released ALT+TAB.
MinimizeStart
A window object is about to be minimized.
MinimizeEnd
A window object is about to be restored.
DesktopSwitch
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<SystemWindowEvent> for SystemWindowEvent
impl PartialEq<SystemWindowEvent> 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<SystemWindowEvent> for SystemWindowEvent
impl PartialOrd<SystemWindowEvent> 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