Label.widthChars

int widthChars() @property

Get widthChars property.

Returns

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 gtk.label.Label.widthChars and gtk.label.Label.maxWidthChars determine the width of ellipsized and wrapped labels.

void widthChars(int propval) @property

Set widthChars property.

Parameters

propvalThe 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 gtk.label.Label.widthChars and gtk.label.Label.maxWidthChars determine the width of ellipsized and wrapped labels.