Package: gtk

Accessor gtk-flow-box-max-children-per-line

Lambda List

gtk-flow-box-max-children-per-line (object)

Syntax

(gtk-flow-box-max-children-per-line object) => n-children
(setf (gtk-flow-box-max-children-per-line object) n-children)

Arguments

object -- a gtk-flow-box widget
n-children -- an unsigned integer with the maximum number of children per line

Details

Accessor of the max-children-per-line slot of the gtk-flow-box class.

The gtk-flow-box-max-children-per-line slot access function gets the maximum number of children per line to request and allocate space for in the orientation of the flow box. The (setf gtk-flow-box-max-children-per-line) slot access function sets the maximum number of children.

Setting the maximum number of children per line limits the overall natural size request to be no more than n-children children long in the given orientation.
 

See also

2021-12-6