EventLoopWindowTargetExtUnix

Trait 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;
    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§

Source

fn is_wayland(&self) -> bool

True if the EventLoopWindowTarget uses Wayland.

Source

fn is_x11(&self) -> bool

True if the EventLoopWindowTarget uses X11.

Source

fn xlib_xconnection(&self) -> Option<Arc<XConnection>>

Source

fn gtk_app(&self) -> &Application

Returns the gtk application for this event loop.

Source

fn set_badge_count(&self, count: Option<i64>, desktop_filename: Option<String>)

Sets the badge count on the taskbar

Implementors§