#[repr(i32)]
pub enum ObjectWindowEvent {
Show 37 variants Create = 32_768, Destroy = 32_769, Show = 32_770, Hide = 32_771, Reorder = 32_772, Focus = 32_773, Selection = 32_774, SelectionAdd = 32_775, SelectionRemove = 32_776, SelectionWithin = 32_777, StateChange = 32_778, LocationChange = 32_779, NameChange = 32_780, DescriptionChange = 32_781, ValueChange = 32_782, ParentChange = 32_783, HelpChange = 32_784, DefaultActionChange = 32_785, AcceloratorChange = 32_786, Invoked = 32_787, TextSelectionChanged = 32_788, ContentScrolled = 32_789, ArrangementPreview = 32_790, Cloaked = 32_791, Uncloaked = 32_792, LiveRegionChanged = 32_793, HostedObjectsInvalidated = 32_800, DragStart = 32_801, DragCancel = 32_802, DragComplete = 32_803, DragEnter = 32_804, DragLeave = 32_805, DragDropped = 32_806, ImeShow = 32_807, ImeHide = 32_808, ImeChange = 32_809, TextEditConversionTargetChanged = 32_816,
}
Expand description

A known event indicating a change in a console window.

Variants§

§

Create = 32_768

An object has been created.

§

Destroy = 32_769

An object has been destroyed.

§

Show = 32_770

A hidden object is shown.

§

Hide = 32_771

An object is hidden.

§

Reorder = 32_772

A container object has added, removed, or reordered its children.

§

Focus = 32_773

An object has received the keyboard focus.

§

Selection = 32_774

The selection within a container object has changed.

§

SelectionAdd = 32_775

A child within a container object has been added to an existing selection.

§

SelectionRemove = 32_776

An item within a container object has been removed from the selection.

§

SelectionWithin = 32_777

Numerous selection changes have occurred within a container object.

§

StateChange = 32_778

An object’s state has changed.

§

LocationChange = 32_779

An object has changed location, shape, or size.

§

NameChange = 32_780

An object’s Name property has changed.

§

DescriptionChange = 32_781

An object’s Description property has changed.

§

ValueChange = 32_782

An object’s Value property has changed.

§

ParentChange = 32_783

An object has a new parent object.

§

HelpChange = 32_784

An object’s Help property has changed.

§

DefaultActionChange = 32_785

An object’s DefaultAction property has changed.

§

AcceloratorChange = 32_786

An object’s KeyboardShortcut property has changed.

§

Invoked = 32_787

An object has been invoked; for example, the user has clicked a button.

§

TextSelectionChanged = 32_788

An object’s text selection has changed.

§

ContentScrolled = 32_789

A window object’s scrolling has ended.

§

ArrangementPreview = 32_790

A preview rectangle is being displayed.

§

Cloaked = 32_791

Sent when a window is cloaked. A cloaked window still exists, but is invisible to the user.

§

Uncloaked = 32_792

Sent when a window is uncloaked. A cloaked window still exists, but is invisible to the user.

§

LiveRegionChanged = 32_793

An object that is part of a live region has changed. A live region is an area of an application that changes frequently and/or asynchronously.

§

HostedObjectsInvalidated = 32_800

A window that hosts other accessible objects has changed the hosted objects.

§

DragStart = 32_801

The user started to drag an element.

§

DragCancel = 32_802

The user has ended a drag operation before dropping the dragged element on a drop target.

§

DragComplete = 32_803

The user dropped an element on a drop target.

§

DragEnter = 32_804

The user dragged an element into a drop target’s boundary.

§

DragLeave = 32_805

The user dragged an element out of a drop target’s boundary.

§

DragDropped = 32_806

The user dropped an element on a drop target.

§

ImeShow = 32_807

An IME window has become visible.

§

ImeHide = 32_808

An IME window has become hidden.

§

ImeChange = 32_809

The size or position of an IME window has changed.

§

TextEditConversionTargetChanged = 32_816

The conversion target within an IME composition has changed. The conversion target is the subset of the IME composition which is actively selected as the target for user-initiated conversions.

Trait Implementations§

source§

impl Clone for ObjectWindowEvent

source§

fn clone(&self) -> ObjectWindowEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ObjectWindowEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<ObjectWindowEvent> for i32

source§

fn from(enum_value: ObjectWindowEvent) -> Self

Converts to this type from the input type.
source§

impl Hash for ObjectWindowEvent

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ObjectWindowEvent

source§

fn cmp(&self, other: &ObjectWindowEvent) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for ObjectWindowEvent

source§

fn eq(&self, other: &ObjectWindowEvent) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for ObjectWindowEvent

source§

fn partial_cmp(&self, other: &ObjectWindowEvent) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl TryFrom<i32> for ObjectWindowEvent

§

type Error = TryFromPrimitiveError<ObjectWindowEvent>

The type returned in the event of a conversion error.
source§

fn try_from(number: i32) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
source§

impl TryFromPrimitive for ObjectWindowEvent

§

type Primitive = i32

§

type Error = TryFromPrimitiveError<ObjectWindowEvent>

source§

const NAME: &'static str = "ObjectWindowEvent"

source§

fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>

source§

impl Copy for ObjectWindowEvent

source§

impl Eq for ObjectWindowEvent

source§

impl StructuralPartialEq for ObjectWindowEvent

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.