Trait gtk4::prelude::TreeSortableExtManual
source · [−]pub trait TreeSortableExtManual: 'static {
fn set_default_sort_func<F>(&self, sort_func: F)
where
F: Fn(&Self, &TreeIter, &TreeIter) -> Ordering + 'static;
fn set_sort_func<F>(&self, sort_column_id: SortColumn, sort_func: F)
where
F: Fn(&Self, &TreeIter, &TreeIter) -> Ordering + 'static;
fn sort_column_id(&self) -> Option<(SortColumn, SortType)>;
fn set_sort_column_id(&self, sort_column_id: SortColumn, order: SortType);
fn set_unsorted(&self);
}
Expand description
Trait containing manually implemented methods of TreeSortable
.
Required Methods
sourcefn set_default_sort_func<F>(&self, sort_func: F) where
fn set_default_sort_func<F>(&self, sort_func: F) where
F: Fn(&Self, &TreeIter, &TreeIter) -> Ordering + 'static,
sourcefn set_sort_func<F>(&self, sort_column_id: SortColumn, sort_func: F) where
fn set_sort_func<F>(&self, sort_column_id: SortColumn, sort_func: F) where
F: Fn(&Self, &TreeIter, &TreeIter) -> Ordering + 'static,
source
fn sort_column_id(&self) -> Option<(SortColumn, SortType)>
source
fn set_sort_column_id(&self, sort_column_id: SortColumn, order: SortType)
source