WindowImpl
trait · ferroui-controls · v0.5.0
trait WindowImpl: WindowBaseImpl + $crate::Upcast<Window>
The overridable members introduced by the class.
Members
handle_closing
fn handle_closing(this: &Self, reason: WindowCloseReason) -> bool
Handles a closing notification from the platform implementation.
Returns true if closing is cancelled, otherwise false. reason
is the reason the window is closing.
on_closing
fn on_closing(this: &Self, e: &WindowClosingEventArgs)
Raises the Closing event.
A type that derives from Window may override this member. The
override must call the base implementation if the Closing
event needs to be raised.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.