|
| TreeSortable (TreeSortable &&src) noexcept |
|
TreeSortable & | operator= (TreeSortable &&src) noexcept |
|
| ~TreeSortable () noexcept override |
|
GtkTreeSortable * | gobj () |
| Provides access to the underlying C GObject.
|
|
const GtkTreeSortable * | gobj () const |
| Provides access to the underlying C GObject.
|
|
bool | get_sort_column_id (int &sort_column_id, SortType & order) const |
| Fills in sort_column_id and order with the current sort column and the order.
|
|
void | set_sort_column (const TreeModelColumnBase &sort_column_id, SortType order) |
| Sets the current sort column to be sort_column_id.
|
|
void | set_sort_column (int sort_column_id, SortType order) |
| Sets the current sort column to be sort_column_id.
|
|
void | set_sort_func (const TreeModelColumnBase &sort_column, const SlotCompare & slot) |
| Sets the comparison function used when sorting a certain column.
|
|
void | set_sort_func (int sort_column_id, const SlotCompare & slot) |
| Sets the comparison function used when sorting a certain column.
|
|
void | set_default_sort_func (const SlotCompare & slot) |
| Sets the default comparison function used when sorting.
|
|
void | unset_default_sort_func () |
| Sets the default comparison function used when sorting.
|
|
bool | has_default_sort_func () const |
| Returns true if the model has a default sort function.
|
|
void | sort_column_changed () |
| Emits a GtkTreeSortable::sort-column-changed signal on sortable.
|
|
Glib::SignalProxy< void()> | signal_sort_column_changed () |
|
| Interface () |
|
| Interface (Interface &&src) noexcept |
|
Interface & | operator= (Interface &&src) noexcept |
|
| Interface (const Glib::Interface_Class &interface_class) |
|
| Interface (GObject *castitem) |
|
| ~Interface () noexcept override |
|
| Interface (const Interface &)=delete |
|
Interface & | operator= (const Interface &)=delete |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
| ObjectBase (const ObjectBase &)=delete |
|
ObjectBase & | operator= (const ObjectBase &)=delete |
|
void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
|
void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
|
void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
|
void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
|
PropertyType | get_property (const Glib::ustring &property_name) const |
|
sigc::connection | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void()> &slot) |
|
sigc::connection | connect_property_changed (const Glib::ustring &property_name, sigc::slot< void()> &&slot) |
|
void | freeze_notify () |
|
void | thaw_notify () |
|
virtual void | reference () const |
|
virtual void | unreference () const |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
GObject * | gobj_copy () const |
|
| trackable () noexcept |
|
| trackable (const trackable &src) noexcept |
|
| trackable (trackable &&src) noexcept |
|
| ~trackable () |
|
void | add_destroy_notify_callback (notifiable *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
trackable & | operator= (trackable &&src) noexcept |
|
void | remove_destroy_notify_callback (notifiable *data) const |
|
The interface for sortable models used by Gtk::TreeView.
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.
- Deprecated:
- 4.10: There is no replacement for this interface. You should use Gtk::SortListModel to wrap your list model instead.
void Gtk::TreeSortable::unset_default_sort_func |
( |
| ) |
|
Sets the default comparison function used when sorting.
See set_default_sort_func().
After calling this method there will be no default comparison function. This means that once the model has been sorted, it can't go back to the default state. In this case, when the current sort column id of sortable is DEFAULT_SORT_COLUMN_ID, the model will be unsorted.