CellRendererTextGidBuilderImpl.maxWidthChars

Set maxWidthChars property.

class CellRendererTextGidBuilderImpl(T)
T
maxWidthChars
()

Parameters

propval int

The 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 #GtkCellLayout and all of the cell's siblings have received their natural width.

Return Value

Type: T

Builder instance for fluent chaining