Trait gtk4::prelude::TreeSortableExt
source · pub trait TreeSortableExt: 'static {
// Required methods
fn has_default_sort_func(&self) -> bool;
fn sort_column_changed(&self);
fn connect_sort_column_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Trait containing all TreeSortable
methods.
Implementors
Required Methods§
sourcefn has_default_sort_func(&self) -> bool
fn has_default_sort_func(&self) -> bool
sourcefn sort_column_changed(&self)
fn sort_column_changed(&self)
Emits a GtkTreeSortable::sort-column-changed
signal on @self.
sourcefn connect_sort_column_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_sort_column_changed<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
The ::sort-column-changed signal is emitted when the sort column or sort order of @sortable is changed. The signal is emitted before the contents of @sortable are resorted.