Trait ExpanderExt

Source
pub trait ExpanderExt: 'static {
Show 26 methods // Required methods fn get_expanded(&self) -> bool; fn get_label(&self) -> Option<GString>; fn get_label_fill(&self) -> bool; fn get_label_widget(&self) -> Option<Widget>; fn get_resize_toplevel(&self) -> bool; fn get_spacing(&self) -> i32; fn get_use_markup(&self) -> bool; fn get_use_underline(&self) -> bool; fn set_expanded(&self, expanded: bool); fn set_label(&self, label: Option<&str>); fn set_label_fill(&self, label_fill: bool); fn set_label_widget<P: IsA<Widget>>(&self, label_widget: Option<&P>); fn set_resize_toplevel(&self, resize_toplevel: bool); fn set_spacing(&self, spacing: i32); fn set_use_markup(&self, use_markup: bool); fn set_use_underline(&self, use_underline: bool); fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn emit_activate(&self); fn connect_property_expanded_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_label_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_label_fill_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_label_widget_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_resize_toplevel_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_use_markup_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_use_underline_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methodsยง

Source

fn get_expanded(&self) -> bool

Source

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

Source

fn get_label_fill(&self) -> bool

Source

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

Source

fn get_resize_toplevel(&self) -> bool

Source

fn get_spacing(&self) -> i32

๐Ÿ‘ŽDeprecated
Source

fn get_use_markup(&self) -> bool

Source

fn get_use_underline(&self) -> bool

Source

fn set_expanded(&self, expanded: bool)

Source

fn set_label(&self, label: Option<&str>)

Source

fn set_label_fill(&self, label_fill: bool)

Source

fn set_label_widget<P: IsA<Widget>>(&self, label_widget: Option<&P>)

Source

fn set_resize_toplevel(&self, resize_toplevel: bool)

Source

fn set_spacing(&self, spacing: i32)

๐Ÿ‘ŽDeprecated
Source

fn set_use_markup(&self, use_markup: bool)

Source

fn set_use_underline(&self, use_underline: bool)

Source

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

Source

fn emit_activate(&self)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

๐Ÿ‘ŽDeprecated
Source

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

Source

fn connect_property_use_underline_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ยง