Trait tao::platform::unix::EventLoopWindowTargetExtUnix
source · pub trait EventLoopWindowTargetExtUnix {
// Required methods
fn is_wayland(&self) -> bool;
fn is_x11(&self) -> bool;
fn xlib_xconnection(&self) -> Option<Arc<XConnection>>;
fn gtk_app(&self) -> &Application;
}Expand description
Additional methods on EventLoopWindowTarget that are specific to Unix.
Required Methods§
sourcefn is_wayland(&self) -> bool
fn is_wayland(&self) -> bool
True if the EventLoopWindowTarget uses Wayland.
fn xlib_xconnection(&self) -> Option<Arc<XConnection>>
sourcefn gtk_app(&self) -> &Application
fn gtk_app(&self) -> &Application
Returns the gtk application for this event loop.