Trait libhelium::prelude::AppBarExt

source ·
pub trait AppBarExt: IsA<AppBar> + Sealed + 'static {
Show 29 methods // Provided methods fn append(&self, child: &impl IsA<Widget>) { ... } fn remove(&self, child: &impl IsA<Widget>) { ... } fn stack(&self) -> Stack { ... } fn set_stack(&self, value: &Stack) { ... } fn scroller(&self) -> ScrolledWindow { ... } fn set_scroller(&self, value: &ScrolledWindow) { ... } fn viewtitle_label(&self) -> GString { ... } fn set_viewtitle_label(&self, value: &str) { ... } fn viewtitle_widget(&self) -> Option<Widget> { ... } fn set_viewtitle_widget(&self, value: Option<&impl IsA<Widget>>) { ... } fn viewsubtitle_label(&self) -> GString { ... } fn set_viewsubtitle_label(&self, value: &str) { ... } fn shows_left_title_buttons(&self) -> bool { ... } fn set_show_left_title_buttons(&self, value: bool) { ... } fn shows_right_title_buttons(&self) -> bool { ... } fn set_show_right_title_buttons(&self, value: bool) { ... } fn decoration_layout(&self) -> GString { ... } fn set_decoration_layout(&self, value: &str) { ... } fn shows_back(&self) -> bool { ... } fn set_show_back(&self, value: bool) { ... } 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_viewtitle_label_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_viewtitle_widget_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_viewsubtitle_label_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_right_title_buttons_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_decoration_layout_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_show_back_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all AppBar methods.

§Implementors

AppBar

Provided Methods§

source

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

Append a child to the AppBar. Please note that an AppBar should only have at most three children.

§child

The child to append.

source

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

Remove a child from the AppBar.

Since: 1.0

§child

The child to remove.

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 viewtitle_label(&self) -> GString

source

fn set_viewtitle_label(&self, value: &str)

source

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

source

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

source

fn viewsubtitle_label(&self) -> GString

source

fn set_viewsubtitle_label(&self, value: &str)

source

fn shows_left_title_buttons(&self) -> bool

source

fn set_show_left_title_buttons(&self, value: bool)

source

fn shows_right_title_buttons(&self) -> bool

source

fn set_show_right_title_buttons(&self, value: bool)

source

fn decoration_layout(&self) -> GString

source

fn set_decoration_layout(&self, value: &str)

source

fn shows_back(&self) -> bool

source

fn set_show_back(&self, value: bool)

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_viewtitle_label_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

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

source

fn connect_viewsubtitle_label_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_right_title_buttons_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<AppBar>> AppBarExt for O