|
Public Types |
typedef SigC::Slot2< int,
const Gtk::TreeModel::iterator&,
const Gtk::TreeModel::iterator& > | SlotCompare |
enum | { DEFAULT_SORT_COLUMN_ID = -1
} |
Public Member Functions |
virtual | ~TreeSortable () |
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, if applicable.
|
void | set_sort_column_id (const TreeModelColumnBase& sort_column_id, SortType order) |
| Sets the current sort column to be sort_column_id .
|
void | set_sort_column_id (int sort_column_id, SortType order) |
| Sets the current sort column to be sort_column_id .
|
void | set_sort_func (const TreeModelColumnBase& sort_column_id, const SlotCompare& slot) |
void | set_sort_func (int sort_column_id, const SlotCompare& slot) |
void | set_default_sort_func (const SlotCompare& slot) |
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.
|
Glib::SignalProxy0<void> | signal_sort_column_changed () |
Static Public Member Functions |
void | add_interface (GType gtype_implementer) |
Protected Member Functions |
virtual bool | get_sort_column_id_vfunc (int* sort_column_id, SortType* order) |
virtual void | set_sort_column_id_vfunc (int sort_column_id, SortType order) |
virtual void | set_sort_func_vfunc (int sort_column_id, GtkTreeIterCompareFunc func, void* data, GtkDestroyNotify destroy) |
virtual void | set_default_sort_func_vfunc (GtkTreeIterCompareFunc func, void* data, GtkDestroyNotify destroy) |
virtual bool | has_default_sort_func_vfunc () |
virtual void | on_sort_column_changed () |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr<Gtk::TreeSortable> | wrap (GtkTreeSortable* object, bool take_copy=false) |