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 { ... }
}
Expand description

Trait containing all ViewMono methods.

§Implementors

ViewMono

Provided Methods§

source

fn add_titlebar_button(&self, child: &impl IsA<Button>)

Add a titlebar button to the view's appbar.

Since: 1.0

source

fn add_titlebar_toggle(&self, child: &impl IsA<ToggleButton>)

Add a titlebar toggle to the view's appbar.

Since: 1.0

source

fn append(&self, child: &impl IsA<Widget>)

Add a child to the view.

Since: 1.0

source

fn title(&self) -> Option<Widget>

source

fn set_title(&self, value: Option<&impl IsA<Widget>>)

source

fn titlewidget(&self) -> Option<Widget>

source

fn set_titlewidget(&self, value: Option<&impl IsA<Widget>>)

source

fn subtitle(&self) -> GString

source

fn set_subtitle(&self, value: &str)

source

fn shows_right_title_buttons(&self) -> bool

source

fn set_show_right_title_buttons(&self, value: bool)

source

fn shows_left_title_buttons(&self) -> bool

source

fn set_show_left_title_buttons(&self, value: bool)

source

fn shows_back(&self) -> bool

source

fn set_show_back(&self, value: bool)

source

fn stack(&self) -> Stack

source

fn set_stack(&self, value: &Stack)

source

fn scroller(&self) -> ScrolledWindow

source

fn set_scroller(&self, value: &ScrolledWindow)

source

fn has_margins(&self) -> bool

source

fn set_has_margins(&self, value: bool)

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<ViewMono>> ViewMonoExt for O