Trait HeaderBarExt

Source
pub trait HeaderBarExt: 'static {
Show 30 methods // Required methods fn get_custom_title(&self) -> Option<Widget>; fn get_decoration_layout(&self) -> Option<GString>; fn get_has_subtitle(&self) -> bool; fn get_show_close_button(&self) -> bool; fn get_subtitle(&self) -> Option<GString>; fn get_title(&self) -> Option<GString>; fn pack_end<P: IsA<Widget>>(&self, child: &P); fn pack_start<P: IsA<Widget>>(&self, child: &P); fn set_custom_title<P: IsA<Widget>>(&self, title_widget: Option<&P>); fn set_decoration_layout(&self, layout: Option<&str>); fn set_has_subtitle(&self, setting: bool); fn set_show_close_button(&self, setting: bool); fn set_subtitle(&self, subtitle: Option<&str>); fn set_title(&self, title: Option<&str>); fn get_property_decoration_layout_set(&self) -> bool; fn set_property_decoration_layout_set(&self, decoration_layout_set: bool); fn get_property_spacing(&self) -> i32; fn set_property_spacing(&self, spacing: i32); fn get_child_pack_type<T: IsA<Widget>>(&self, item: &T) -> PackType; fn set_child_pack_type<T: IsA<Widget>>(&self, item: &T, pack_type: PackType); fn get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32); fn connect_property_custom_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_decoration_layout_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_decoration_layout_set_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_has_subtitle_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_close_button_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_spacing_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_subtitle_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

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

Source

fn get_decoration_layout(&self) -> Option<GString>

Source

fn get_has_subtitle(&self) -> bool

Source

fn get_show_close_button(&self) -> bool

Source

fn get_subtitle(&self) -> Option<GString>

Source

fn get_title(&self) -> Option<GString>

Source

fn pack_end<P: IsA<Widget>>(&self, child: &P)

Source

fn pack_start<P: IsA<Widget>>(&self, child: &P)

Source

fn set_custom_title<P: IsA<Widget>>(&self, title_widget: Option<&P>)

Source

fn set_decoration_layout(&self, layout: Option<&str>)

Source

fn set_has_subtitle(&self, setting: bool)

Source

fn set_show_close_button(&self, setting: bool)

Source

fn set_subtitle(&self, subtitle: Option<&str>)

Source

fn set_title(&self, title: Option<&str>)

Source

fn get_property_decoration_layout_set(&self) -> bool

Source

fn set_property_decoration_layout_set(&self, decoration_layout_set: bool)

Source

fn get_property_spacing(&self) -> i32

Source

fn set_property_spacing(&self, spacing: i32)

Source

fn get_child_pack_type<T: IsA<Widget>>(&self, item: &T) -> PackType

Source

fn set_child_pack_type<T: IsA<Widget>>(&self, item: &T, pack_type: PackType)

Source

fn get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32

Source

fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§