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
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 connect_parent_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_has_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.