Package: gtk
Class gtk:column-view
Superclassesgtk:widget, gobject:initially-unowned, gtk:accessible, gtk:buildable, gtk:constraint-target, gtk:scrollable, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:column-view widget is a widget to present a view into a
large dynamic list of items using multiple columns with headers. The gtk:column-view widget uses the factories of its columns to
generate a cell widget for each column, for each visible item and displays
them together as the row for this item. The show-row-separators and show-column-separators properties offer a simple way
to display separators between the rows or columns. The gtk:column-view widget allows the user to select items according to the selection characteristics of the model. For models that allow multiple selected items, it is possible to turn on rubberband selection, using the enable-rubberband property. The column view supports sorting that can be customized by the user by clicking on column headers. To set this up, the gtk:sorter object returned by the gtk:column-view-sorter function must be attached to a sort model for the data that the view is showing, and the columns must have sorters attached to them by calling (setf gtk:column-view-column-sorter) function. The initial sort order can be set with the gtk:column-view-sort-by-column function. The column view also supports interactive resizing and reordering of columns, via Drag-and-Drop of the column headers. This can be enabled or disabled with the reorderable and resizable properties. To learn more about the list widget framework, see the list widget overview. CSS nodesThe main columnview node may also carry style classes to select the style of list presentation: .rich-list, .navigation-sidebar or .data-table. AccessibilitySignal DetailsThe "activate" signallambda (columnview position) :run-last
| Returned bySlot Access FunctionsInherited Slot Access FunctionsSee also |
2024-11-28