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;
fn set_badge_count(
&self,
count: Option<i64>,
desktop_filename: Option<String>,
);
}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.