Enum atspi_proxies::events::window::WindowEvents
source · pub enum WindowEvents {
Show 19 variants
PropertyChange(PropertyChangeEvent),
Minimize(MinimizeEvent),
Maximize(MaximizeEvent),
Restore(RestoreEvent),
Close(CloseEvent),
Create(CreateEvent),
Reparent(ReparentEvent),
DesktopCreate(DesktopCreateEvent),
DesktopDestroy(DesktopDestroyEvent),
Destroy(DestroyEvent),
Activate(ActivateEvent),
Deactivate(DeactivateEvent),
Raise(RaiseEvent),
Lower(LowerEvent),
Move(MoveEvent),
Resize(ResizeEvent),
Shade(ShadeEvent),
UUshade(UUshadeEvent),
Restyle(RestyleEvent),
}
Expand description
All events on the org.a11y.atspi.Event.Window
interface.
Variants§
PropertyChange(PropertyChangeEvent)
See: PropertyChangeEvent
.
Minimize(MinimizeEvent)
See: MinimizeEvent
.
Maximize(MaximizeEvent)
See: MaximizeEvent
.
Restore(RestoreEvent)
See: RestoreEvent
.
Close(CloseEvent)
See: CloseEvent
.
Create(CreateEvent)
See: CreateEvent
.
Reparent(ReparentEvent)
See: ReparentEvent
.
DesktopCreate(DesktopCreateEvent)
See: DesktopCreateEvent
.
DesktopDestroy(DesktopDestroyEvent)
See: DesktopDestroyEvent
.
Destroy(DestroyEvent)
See: DestroyEvent
.
Activate(ActivateEvent)
See: ActivateEvent
.
Deactivate(DeactivateEvent)
See: DeactivateEvent
.
Raise(RaiseEvent)
See: RaiseEvent
.
Lower(LowerEvent)
See: LowerEvent
.
Move(MoveEvent)
See: MoveEvent
.
Resize(ResizeEvent)
See: ResizeEvent
.
Shade(ShadeEvent)
See: ShadeEvent
.
UUshade(UUshadeEvent)
See: UUshadeEvent
.
Restyle(RestyleEvent)
See: RestyleEvent
.
Trait Implementations§
source§impl Clone for WindowEvents
impl Clone for WindowEvents
source§fn clone(&self) -> WindowEvents
fn clone(&self) -> WindowEvents
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WindowEvents
impl Debug for WindowEvents
source§impl<'de> Deserialize<'de> for WindowEvents
impl<'de> Deserialize<'de> for WindowEvents
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl EventProperties for WindowEvents
impl EventProperties for WindowEvents
fn path(&self) -> ObjectPath<'_>
fn sender(&self) -> UniqueName<'_>
fn object_ref(&self) -> ObjectRef
source§impl EventTypeProperties for WindowEvents
impl EventTypeProperties for WindowEvents
source§impl From<ActivateEvent> for WindowEvents
impl From<ActivateEvent> for WindowEvents
source§fn from(specific_event: ActivateEvent) -> WindowEvents
fn from(specific_event: ActivateEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<CloseEvent> for WindowEvents
impl From<CloseEvent> for WindowEvents
source§fn from(specific_event: CloseEvent) -> WindowEvents
fn from(specific_event: CloseEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<CreateEvent> for WindowEvents
impl From<CreateEvent> for WindowEvents
source§fn from(specific_event: CreateEvent) -> WindowEvents
fn from(specific_event: CreateEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<DeactivateEvent> for WindowEvents
impl From<DeactivateEvent> for WindowEvents
source§fn from(specific_event: DeactivateEvent) -> WindowEvents
fn from(specific_event: DeactivateEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<DesktopCreateEvent> for WindowEvents
impl From<DesktopCreateEvent> for WindowEvents
source§fn from(specific_event: DesktopCreateEvent) -> WindowEvents
fn from(specific_event: DesktopCreateEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<DesktopDestroyEvent> for WindowEvents
impl From<DesktopDestroyEvent> for WindowEvents
source§fn from(specific_event: DesktopDestroyEvent) -> WindowEvents
fn from(specific_event: DesktopDestroyEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<DestroyEvent> for WindowEvents
impl From<DestroyEvent> for WindowEvents
source§fn from(specific_event: DestroyEvent) -> WindowEvents
fn from(specific_event: DestroyEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<LowerEvent> for WindowEvents
impl From<LowerEvent> for WindowEvents
source§fn from(specific_event: LowerEvent) -> WindowEvents
fn from(specific_event: LowerEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<MaximizeEvent> for WindowEvents
impl From<MaximizeEvent> for WindowEvents
source§fn from(specific_event: MaximizeEvent) -> WindowEvents
fn from(specific_event: MaximizeEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<MinimizeEvent> for WindowEvents
impl From<MinimizeEvent> for WindowEvents
source§fn from(specific_event: MinimizeEvent) -> WindowEvents
fn from(specific_event: MinimizeEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<MoveEvent> for WindowEvents
impl From<MoveEvent> for WindowEvents
source§fn from(specific_event: MoveEvent) -> WindowEvents
fn from(specific_event: MoveEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<PropertyChangeEvent> for WindowEvents
impl From<PropertyChangeEvent> for WindowEvents
source§fn from(specific_event: PropertyChangeEvent) -> WindowEvents
fn from(specific_event: PropertyChangeEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<RaiseEvent> for WindowEvents
impl From<RaiseEvent> for WindowEvents
source§fn from(specific_event: RaiseEvent) -> WindowEvents
fn from(specific_event: RaiseEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<ReparentEvent> for WindowEvents
impl From<ReparentEvent> for WindowEvents
source§fn from(specific_event: ReparentEvent) -> WindowEvents
fn from(specific_event: ReparentEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<ResizeEvent> for WindowEvents
impl From<ResizeEvent> for WindowEvents
source§fn from(specific_event: ResizeEvent) -> WindowEvents
fn from(specific_event: ResizeEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<RestoreEvent> for WindowEvents
impl From<RestoreEvent> for WindowEvents
source§fn from(specific_event: RestoreEvent) -> WindowEvents
fn from(specific_event: RestoreEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<RestyleEvent> for WindowEvents
impl From<RestyleEvent> for WindowEvents
source§fn from(specific_event: RestyleEvent) -> WindowEvents
fn from(specific_event: RestyleEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<ShadeEvent> for WindowEvents
impl From<ShadeEvent> for WindowEvents
source§fn from(specific_event: ShadeEvent) -> WindowEvents
fn from(specific_event: ShadeEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<UUshadeEvent> for WindowEvents
impl From<UUshadeEvent> for WindowEvents
source§fn from(specific_event: UUshadeEvent) -> WindowEvents
fn from(specific_event: UUshadeEvent) -> WindowEvents
Converts to this type from the input type.
source§impl From<WindowEvents> for Event
impl From<WindowEvents> for Event
source§fn from(event_variant: WindowEvents) -> Event
fn from(event_variant: WindowEvents) -> Event
Converts to this type from the input type.
source§impl HasMatchRule for WindowEvents
impl HasMatchRule for WindowEvents
source§const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Window'"
const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Window'"
A static match rule string for
DBus
.
This should usually be a string that looks like this: "type='signal',interface='org.a11y.atspi.Event.Object',member='PropertyChange'"
;
This should be deprecated in favour of composing the string from BusProperties::DBUS_MEMBER
and BusProperties::DBUS_INTERFACE
.source§impl HasRegistryEventString for WindowEvents
impl HasRegistryEventString for WindowEvents
source§const REGISTRY_EVENT_STRING: &'static str = "Window:"
const REGISTRY_EVENT_STRING: &'static str = "Window:"
A registry event string for registering for event receiving via the
RegistryProxy
.
This should be deprecated in favour of composing the string from BusProperties::DBUS_MEMBER
and BusProperties::DBUS_INTERFACE
.source§impl Hash for WindowEvents
impl Hash for WindowEvents
source§impl PartialEq for WindowEvents
impl PartialEq for WindowEvents
source§fn eq(&self, other: &WindowEvents) -> bool
fn eq(&self, other: &WindowEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WindowEvents
impl Serialize for WindowEvents
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<&Message> for WindowEvents
impl TryFrom<&Message> for WindowEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
ev: &Message
) -> Result<WindowEvents, <WindowEvents as TryFrom<&Message>>::Error>
fn try_from( ev: &Message ) -> Result<WindowEvents, <WindowEvents as TryFrom<&Message>>::Error>
Performs the conversion.
source§impl TryFrom<Event> for WindowEvents
impl TryFrom<Event> for WindowEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
generic_event: Event
) -> Result<WindowEvents, <WindowEvents as TryFrom<Event>>::Error>
fn try_from( generic_event: Event ) -> Result<WindowEvents, <WindowEvents as TryFrom<Event>>::Error>
Performs the conversion.
impl Eq for WindowEvents
impl StructuralPartialEq for WindowEvents
Auto Trait Implementations§
impl Freeze for WindowEvents
impl RefUnwindSafe for WindowEvents
impl Send for WindowEvents
impl Sync for WindowEvents
impl Unpin for WindowEvents
impl UnwindSafe for WindowEvents
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more