CellRendererTextGidBuilderImpl.maxWidthChars

T maxWidthChars(int propval)

Set maxWidthChars property.

Parameters

propvalThe desired maximum width of the cell, in characters. If this property is set to -1, the width will be calculated automatically. For cell renderers that ellipsize or wrap text; this property controls the maximum reported width of the cell. The cell should not receive any greater allocation unless it is set to expand in its [gtk.cell_layout.CellLayout] and all of the cell's siblings have received their natural width.

Returns

Builder instance for fluent chaining