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) => max-width
(setf (gtk-tree-view-column-max-width object) max-width)

Arguments

object -- a gtk-tree-view-column object
max-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 slot access function gtk-tree-view-column-max-width returns the maximum width in pixels of the tree view column, or -1 if no maximum width is set. The slot access function (setf gtk-tree-view-column-max-width) sets the maximum width. If max-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.
 

See also

2021-2-24