TreeSortableIfaceProxy

Proxy object for Gtk.TreeSortable interface when a GObject has no applicable D binding

class TreeSortableIfaceProxy : IfaceProxy , TreeSortable {}

Mixed In Members

From mixin TreeSortableT!()

getSortColumnId
bool getSortColumnId(int sortColumnId, gtk.types.SortType order)

Fills in sort_column_id and order with the current sort column and the order. It returns true unless the sort_column_id is GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID or GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID.

hasDefaultSortFunc
bool hasDefaultSortFunc()

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.

setDefaultSortFunc
void setDefaultSortFunc(gtk.types.TreeIterCompareFunc sortFunc)

Sets the default comparison function used when sorting to be sort_func. If the current sort column id of sortable is GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, then the model will sort using this function.

setSortColumnId
void setSortColumnId(int sortColumnId, gtk.types.SortType order)

Sets the current sort column to be sort_column_id. The sortable will resort itself to reflect this change, after emitting a GtkTreeSortable::sort-column-changed signal. sort_column_id may either be a regular column id, or one of the following special values:

setSortFunc
void setSortFunc(int sortColumnId, gtk.types.TreeIterCompareFunc sortFunc)

Sets the comparison function used when sorting to be sort_func. If the current sort column id of sortable is the same as sort_column_id, then the model will sort using this function.

sortColumnChanged
void sortColumnChanged()

Emits a GtkTreeSortable::sort-column-changed signal on sortable.

connectSortColumnChanged
ulong connectSortColumnChanged(T callback, Flag!"After" after)

Connect to SortColumnChanged signal.

Inherited Members

From TreeSortable

getSortColumnId
bool getSortColumnId(int sortColumnId, gtk.types.SortType order)

Fills in sort_column_id and order with the current sort column and the order. It returns true unless the sort_column_id is GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID or GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID.

hasDefaultSortFunc
bool hasDefaultSortFunc()

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.

setDefaultSortFunc
void setDefaultSortFunc(gtk.types.TreeIterCompareFunc sortFunc)

Sets the default comparison function used when sorting to be sort_func. If the current sort column id of sortable is GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, then the model will sort using this function.

setSortColumnId
void setSortColumnId(int sortColumnId, gtk.types.SortType order)

Sets the current sort column to be sort_column_id. The sortable will resort itself to reflect this change, after emitting a GtkTreeSortable::sort-column-changed signal. sort_column_id may either be a regular column id, or one of the following special values:

setSortFunc
void setSortFunc(int sortColumnId, gtk.types.TreeIterCompareFunc sortFunc)

Sets the comparison function used when sorting to be sort_func. If the current sort column id of sortable is the same as sort_column_id, then the model will sort using this function.

sortColumnChanged
void sortColumnChanged()

Emits a GtkTreeSortable::sort-column-changed signal on sortable.

connectSortColumnChanged
ulong connectSortColumnChanged(T callback, Flag!"After" after)

Connect to SortColumnChanged signal.