Property

GtkInscription:min-lines

since: 4.8

Declaration

property min-lines: guint [ read, write ]

Description [src]

The number of lines that should fit into the inscription at minimum.

This influences the requested height, not the height actually given to the widget, which might turn out to be larger.

Note that this is an approximate line height, so if the text uses things like fancy Unicode or attribute that influence the height, the text might not fit.

If you set this property to 0, the inscription will not request any height at all and its height will be determined entirely by its surroundings.

Type:guint

Available since: 4.8

Default value1
Getter methodgtk_inscription_get_min_lines()
Setter methodgtk_inscription_set_min_lines()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno