PreferencesGroupExt

Trait PreferencesGroupExt 

Source
pub trait PreferencesGroupExt: IsA<PreferencesGroup> + 'static {
Show 16 methods // Provided methods fn add(&self, child: &impl IsA<Widget>) { ... } fn bind_model( &self, model: Option<&impl IsA<ListModel>>, create_row_func: Option<Box_<dyn Fn(&Object) -> Widget + 'static>>, ) { ... } fn description(&self) -> Option<GString> { ... } fn header_suffix(&self) -> Option<Widget> { ... } fn row(&self, index: u32) -> Option<Widget> { ... } fn is_separate_rows(&self) -> bool { ... } fn title(&self) -> GString { ... } fn remove(&self, child: &impl IsA<Widget>) { ... } fn set_description(&self, description: Option<&str>) { ... } fn set_header_suffix(&self, suffix: Option<&impl IsA<Widget>>) { ... } fn set_separate_rows(&self, separate_rows: bool) { ... } fn set_title(&self, title: &str) { ... } fn connect_description_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_header_suffix_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_separate_rows_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

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

Source

fn bind_model( &self, model: Option<&impl IsA<ListModel>>, create_row_func: Option<Box_<dyn Fn(&Object) -> Widget + 'static>>, )

Source

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

Source

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

Source

fn row(&self, index: u32) -> Option<Widget>

Source

fn is_separate_rows(&self) -> bool

Source

fn title(&self) -> GString

Source

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

Source

fn set_description(&self, description: Option<&str>)

Source

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

Source

fn set_separate_rows(&self, separate_rows: bool)

Source

fn set_title(&self, title: &str)

Source

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

Source

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

Source

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

Source

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