Package: gtk

Accessor gtk-tree-view-column-sort-order

Lambda List

gtk-tree-view-column-sort-order (object)

Syntax

(gtk-tree-view-column-sort-order object) => order
(setf (gtk-tree-view-column-sort-order object) order)

Arguments

object -- a gtk-tree-view-column object
order -- a value of the gtk-sort-type enumeration

Details

Accessor of the sort-order slot of the gtk-tree-view-column class.

This does not actually sort the model. Use the function gtk-tree-view-column-sort-column-id if you want automatic sorting support. This function is primarily for custom sorting behavior, and should be used in conjunction with the function gtk-tree-sortable-sort-column-id to do that. For custom models, the mechanism will vary.

The sort indicator changes direction to indicate normal sort or reverse sort. Note that you must have the sort indicator enabled to see anything when calling this function. See the function gtk-tree-view-column-sort-indicator.
 

See also

2021-2-24