Property

GtkInscription:min-chars

since: 4.8

Declaration

property min-chars: guint [ read, write ]

Description [src]

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

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

Note that this is an approximate character width, so some characters might be wider and some might be thinner, so do not expect the number of characters to exactly match.

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

Type:guint

Available since: 4.8

Default value3
Getter methodgtk_inscription_get_min_chars()
Setter methodgtk_inscription_set_min_chars()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno