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 GtkWidget 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. out[allow-none]

naturalHeight int

location for storing the preferred size, or NULL. out[allow-none] Since 3.0

Meta