[−][src]Trait gtk::prelude::TreeSortableExt
Trait containing all TreeSortable
methods.
Implementors
Required methods
fn has_default_sort_func(&self) -> bool
Returns true
if the model has a default sort function. This is used
primarily by GtkTreeViewColumns
in order to determine if a model can
go back to the default state, or not.
Returns
true
, if the model has a default sort function
fn sort_column_changed(&self)
Emits a TreeSortable::sort-column-changed
signal on self
.
fn connect_sort_column_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&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.
Implementors
impl<O: IsA<TreeSortable>> TreeSortableExt for O
[src]
fn has_default_sort_func(&self) -> bool
[src]
fn sort_column_changed(&self)
[src]
fn connect_sort_column_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId