Trait tao::platform::unix::WindowExtUnix

source ·
pub trait WindowExtUnix {
    // Required methods
    fn gtk_window(&self) -> &ApplicationWindow;
    fn default_vbox(&self) -> Option<&Box>;
    fn set_skip_taskbar(&self, skip: bool);
}
Expand description

Additional methods on Window that are specific to Unix.

Required Methods§

source

fn gtk_window(&self) -> &ApplicationWindow

Returns the gtk::ApplicatonWindow from gtk crate that is used by this window.

source

fn default_vbox(&self) -> Option<&Box>

Returns the vertical gtk::Box that is added by default as the sole child of this window. Returns None if the default vertical gtk::Box creation was disabled by WindowBuilderExtUnix::with_default_vbox.

source

fn set_skip_taskbar(&self, skip: bool)

Whether to show the window icon in the taskbar or not.

Implementors§