pub trait WindowExtUnix {
// Required methods
fn gtk_window(&self) -> &ApplicationWindow;
fn default_vbox(&self) -> Option<&Box>;
fn set_skip_taskbar(&self, skip: bool);
}Available on
x11_platform or wayland_platform only.Expand description
Additional methods on Window that are specific to Unix.
Required Methods§
Sourcefn gtk_window(&self) -> &ApplicationWindow
fn gtk_window(&self) -> &ApplicationWindow
Returns the gtk::ApplicatonWindow from gtk crate that is used by this window.
Sourcefn default_vbox(&self) -> Option<&Box>
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.
Sourcefn set_skip_taskbar(&self, skip: bool)
fn set_skip_taskbar(&self, skip: bool)
Whether to show the window icon in the taskbar or not.