pub struct WindowEventInfo {
    pub change: WindowChange,
    pub container: Node,
}
Expand description

Data for WindowEvent.

Fields§

§change: WindowChange

Indicates the type of change

§container: Node

The window’s parent container. Be aware that for the “new” event, the container will hold the initial name of the newly reparented window (e.g. if you run urxvt with a shell that changes the title, you will still at this point get the window title as “urxvt”).

Trait Implementations§

Formats the value using the given formatter. Read more
The associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.