Trait libhelium::prelude::ViewMonoExt
source · pub trait ViewMonoExt: IsA<ViewMono> + Sealed + 'static {
Show 30 methods
// Provided methods
fn add_titlebar_button(&self, child: &impl IsA<Button>) { ... }
fn add_titlebar_toggle(&self, child: &impl IsA<ToggleButton>) { ... }
fn append(&self, child: &impl IsA<Widget>) { ... }
fn title(&self) -> Option<Widget> { ... }
fn set_title(&self, value: Option<&impl IsA<Widget>>) { ... }
fn titlewidget(&self) -> Option<Widget> { ... }
fn set_titlewidget(&self, value: Option<&impl IsA<Widget>>) { ... }
fn subtitle(&self) -> GString { ... }
fn set_subtitle(&self, value: &str) { ... }
fn shows_right_title_buttons(&self) -> bool { ... }
fn set_show_right_title_buttons(&self, value: bool) { ... }
fn shows_left_title_buttons(&self) -> bool { ... }
fn set_show_left_title_buttons(&self, value: bool) { ... }
fn shows_back(&self) -> bool { ... }
fn set_show_back(&self, value: bool) { ... }
fn stack(&self) -> Stack { ... }
fn set_stack(&self, value: &Stack) { ... }
fn scroller(&self) -> ScrolledWindow { ... }
fn set_scroller(&self, value: &ScrolledWindow) { ... }
fn has_margins(&self) -> bool { ... }
fn set_has_margins(&self, value: bool) { ... }
fn connect_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_titlewidget_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_subtitle_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_show_right_title_buttons_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_show_left_title_buttons_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_show_back_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_stack_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_scroller_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_has_margins_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
Since: 1.0
sourcefn add_titlebar_toggle(&self, child: &impl IsA<ToggleButton>)
fn add_titlebar_toggle(&self, child: &impl IsA<ToggleButton>)
Since: 1.0
fn title(&self) -> Option<Widget>
fn set_title(&self, value: Option<&impl IsA<Widget>>)
fn titlewidget(&self) -> Option<Widget>
fn set_titlewidget(&self, value: Option<&impl IsA<Widget>>)
fn subtitle(&self) -> GString
fn set_subtitle(&self, value: &str)
fn shows_back(&self) -> bool
fn set_show_back(&self, value: bool)
fn stack(&self) -> Stack
fn set_stack(&self, value: &Stack)
fn scroller(&self) -> ScrolledWindow
fn set_scroller(&self, value: &ScrolledWindow)
fn has_margins(&self) -> bool
fn set_has_margins(&self, value: bool)
fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_titlewidget_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_subtitle_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_show_back_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_stack_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_scroller_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_has_margins_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.