Package: gtk

Accessor gtk-cell-renderer-text-max-width-chars

Lambda List

gtk-cell-renderer-text-max-width-chars (object)

Syntax

(gtk-cell-renderer-text-max-width-chars object) => width
(setf (gtk-cell-renderer-text-max-width-chars object) width)

Arguments

object -- a gtk-cell-renderer-text object
width -- an integer with the maximum width of the cell

Details

Accessor of the max-width-chars slot of the gtk-cell-renderer-text class.

The desired maximum width of the cell, in characters. If this property is set to -1, the width will be calculated automatically. For cell renderers that ellipsize or wrap text. This property controls the maximum reported width of the cell. The cell should not receive any greater allocation unless it is set to expand in its gtk-cell-layout and all of the cell's siblings have received their natural width.
 

See also

2020-6-13