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 gtk.Widget 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

naturalWidth int

location for storing the preferred size, or NULL

Meta