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