Trait gtk::prelude::HeaderBarExt

source ·
pub trait HeaderBarExt: 'static {
Show 30 methods // Required methods fn custom_title(&self) -> Option<Widget>; fn decoration_layout(&self) -> Option<GString>; fn has_subtitle(&self) -> bool; fn shows_close_button(&self) -> bool; fn subtitle(&self) -> Option<GString>; fn title(&self) -> Option<GString>; fn pack_end(&self, child: &impl IsA<Widget>); fn pack_start(&self, child: &impl IsA<Widget>); fn set_custom_title(&self, title_widget: Option<&impl IsA<Widget>>); 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 is_decoration_layout_set(&self) -> bool; fn set_decoration_layout_set(&self, decoration_layout_set: bool); fn spacing(&self) -> i32; fn set_spacing(&self, spacing: i32); fn 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 child_position<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32); fn connect_custom_title_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_decoration_layout_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_decoration_layout_set_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_has_subtitle_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_show_close_button_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_spacing_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_subtitle_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_title_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId;
}

Required Methods§

source

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

source

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

source

fn has_subtitle(&self) -> bool

source

fn shows_close_button(&self) -> bool

source

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

source

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

source

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

source

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

source

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

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 is_decoration_layout_set(&self) -> bool

source

fn set_decoration_layout_set(&self, decoration_layout_set: bool)

source

fn spacing(&self) -> i32

source

fn set_spacing(&self, spacing: i32)

source

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

source

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

source

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

source

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

Implementors§