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§
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
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.