CellRenderer.getPreferredHeightForWidth

Retrieves a cell renderers’s minimum and natural height if it were rendered to widget with the specified width.

class CellRenderer
void
getPreferredHeightForWidth

Parameters

widget gtk.widget.Widget

the gtk.widget.Widget this cell will be rendering to

width int

the size which is available for allocation

minimumHeight int

location for storing the minimum size

naturalHeight int

location for storing the preferred size