Trait libhelium::prelude::WindowExt

source ·
pub trait WindowExt: IsA<Window> + Sealed + 'static {
    // Provided methods
    fn parent(&self) -> Option<Window> { ... }
    fn set_parent(&self, value: Option<&impl IsA<Window>>) { ... }
    fn has_title(&self) -> bool { ... }
    fn set_has_title(&self, value: bool) { ... }
    fn has_back_button(&self) -> bool { ... }
    fn set_has_back_button(&self, value: bool) { ... }
    fn connect_parent_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_has_title_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_has_back_button_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all Window methods.

§Implementors

AboutWindow, Dialog, SettingsWindow, Window

Provided Methods§

source

fn parent(&self) -> Option<Window>

source

fn set_parent(&self, value: Option<&impl IsA<Window>>)

source

fn has_title(&self) -> bool

source

fn set_has_title(&self, value: bool)

source

fn has_back_button(&self) -> bool

source

fn set_has_back_button(&self, value: bool)

source

fn connect_parent_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_has_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_has_back_button_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Window>> WindowExt for O