CellRenderer.getPreferredHeightForWidth

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

class CellRenderer
void
getPreferredHeightForWidth

Parameters

widget Widget

the gtk.Widget this cell will be rendering to

width int

the size which is available for allocation

minimumHeight int

location for storing the minimum size, or NULL

naturalHeight int

location for storing the preferred size, or NULL

Meta