Package: gtk

Accessor gtk:tree-view-column-max-width

Lambda List

gtk:tree-view-column-max-width (object)

Syntax

(gtk:tree-view-column-max-width object) => width
(setf (gtk:tree-view-column-max-width object) width)

Arguments

object -- a gtk:tree-view-column object
width -- an integer with the maximum width of the tree view column in pixels, or -1

Details

Accessor of the max-width slot of the gtk:tree-view-column class. The gtk:tree-view-column-max-width function returns the maximum width in pixels of the tree view column, or -1 if no maximum width is set. The (setf gtk:tree-view-column-max-width) function sets the maximum width. If width is -1, then the maximum width is unset. Note, the tree view column can actually be wider than max width if it is the last column in a tree view. In this case, the column expands to fill any extra space.

Warning

The gtk:tree-view-column implementation is deprecated since 4.10. Please do not use it in newly written code.
 

See also

2024-2-19