SidebarItemExt

Trait SidebarItemExt 

Source
pub trait SidebarItemExt: IsA<SidebarItem> + 'static {
Show 34 methods // Provided methods fn is_drag_motion_activate(&self) -> bool { ... } fn is_enabled(&self) -> bool { ... } fn icon_name(&self) -> Option<GString> { ... } fn icon_paintable(&self) -> Option<Paintable> { ... } fn index(&self) -> u32 { ... } fn section(&self) -> Option<SidebarSection> { ... } fn section_index(&self) -> u32 { ... } fn subtitle(&self) -> Option<GString> { ... } fn suffix(&self) -> Option<Widget> { ... } fn title(&self) -> Option<GString> { ... } fn tooltip(&self) -> Option<GString> { ... } fn uses_underline(&self) -> bool { ... } fn is_visible(&self) -> bool { ... } fn set_drag_motion_activate(&self, drag_motion_activate: bool) { ... } fn set_enabled(&self, enabled: bool) { ... } fn set_icon_name(&self, icon_name: Option<&str>) { ... } fn set_icon_paintable(&self, paintable: Option<&impl IsA<Paintable>>) { ... } fn set_subtitle(&self, subtitle: Option<&str>) { ... } fn set_suffix(&self, suffix: Option<&impl IsA<Widget>>) { ... } fn set_title(&self, title: Option<&str>) { ... } fn set_tooltip(&self, tooltip: Option<&str>) { ... } fn set_use_underline(&self, use_underline: bool) { ... } fn set_visible(&self, visible: bool) { ... } fn connect_drag_motion_activate_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_enabled_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_icon_paintable_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_section_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_subtitle_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_suffix_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_tooltip_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_use_underline_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_visible_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn is_drag_motion_activate(&self) -> bool

Source

fn is_enabled(&self) -> bool

Source

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

Source

fn icon_paintable(&self) -> Option<Paintable>

Source

fn index(&self) -> u32

Source

fn section(&self) -> Option<SidebarSection>

Source

fn section_index(&self) -> u32

Source

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

Source

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

Source

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

Source

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

Source

fn uses_underline(&self) -> bool

Source

fn is_visible(&self) -> bool

Source

fn set_drag_motion_activate(&self, drag_motion_activate: bool)

Source

fn set_enabled(&self, enabled: bool)

Source

fn set_icon_name(&self, icon_name: Option<&str>)

Source

fn set_icon_paintable(&self, paintable: Option<&impl IsA<Paintable>>)

Source

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

Source

fn set_suffix(&self, suffix: Option<&impl IsA<Widget>>)

Source

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

Source

fn set_tooltip(&self, tooltip: Option<&str>)

Source

fn set_use_underline(&self, use_underline: bool)

Source

fn set_visible(&self, visible: bool)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn connect_visible_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§