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 gtk:tree-view-column-sort-column-id function if you want automatic sorting support. This function is primarily for custom sorting behavior, and should be used in conjunction with the gtk:tree-sortable-sort-column-id function 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 gtk:tree-view-column-sort-indicator function.
 

See also

2024-3-15