CellRenderer.getPreferredWidthForHeight

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

class CellRenderer
void
getPreferredWidthForHeight

Parameters

widget Widget

the GtkWidget this cell will be rendering to

height int

the size which is available for allocation

minimumWidth int

location for storing the minimum size, or NULL. out[allow-none]

naturalWidth int

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

Meta