Package: gtk

Accessor gtk-label-lines

Lambda List

gtk-label-lines (object)

Syntax

(gtk-label-lines object) => lines
(setf (gtk-label-lines object) lines)

Arguments

object -- a gtk-label widget
lines -- an integer with the desired number of lines, or -1

Details

Accessor of the lines slot of the gtk-label class.

The gtk-label-lines slot access function gets the number of lines to which an ellipsized, wrapping label should be limited. The (setf gtk-label-lines) slot access function sets the number of lines to which an ellipsized, wrapping label should be limited. This has no effect if the label is not wrapping or ellipsized. Set this to -1 if you do not want to limit the number of lines.
 

See also

2021-10-31