Module: Gtk::TreeSortable
- Defined in:
- (unknown)
Overview
Gtk::TreeSortable is an interface to be implemented by tree models which support sorting. The Gtk::TreeView uses the methods provided by this interface to sort the model.
Instance Method Summary collapse
-
#get_sort_column_id(sortable, sort_column_id, order) ⇒ TrueClass
True if the sort column is not one of the special sort column ids.
-
#has_default_sort_func(sortable) ⇒ TrueClass
True, if the model has a default sort function.
- #set_default_sort_func(sortable, sort_func, user_data, destroy) ⇒ nil
- #set_sort_column_id(sortable, sort_column_id, order) ⇒ nil
- #set_sort_func(sortable, sort_column_id, sort_func, user_data, destroy) ⇒ nil
- #sort_column_changed(sortable) ⇒ nil
Instance Method Details
#get_sort_column_id(sortable, sort_column_id, order) ⇒ TrueClass
Returns true if the sort column is not one of the special sort column ids.
#has_default_sort_func(sortable) ⇒ TrueClass
Returns true, if the model has a default sort function.