Property

GtkLabel:width-chars

Declaration

property width-chars: int [ read, write ]

Description [src]

The desired width of the label, in characters.

If this property is set to -1, the width will be calculated automatically.

See the section on text layout for details of how GtkLabel:width-chars and GtkLabel:max-width-chars determine the width of ellipsized and wrapped labels.

Type:gint

Default value-1
Getter methodgtk_label_get_width_chars()
Setter methodgtk_label_set_width_chars()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno