CellAreaContext.getPreferredWidthForHeight

Gets the accumulative preferred width for @height for all rows which have been requested for the same said @height with this context.

After gtk_cell_area_context_reset() is called and/or before ever requesting the size of a #GtkCellArea, the returned values are -1.

class CellAreaContext
void
getPreferredWidthForHeight
(
int height
,
out int minimumWidth
,
out int naturalWidth
)

Parameters

height int

a proposed height for allocation

minimumWidth int

location to store the minimum width, or %NULL

naturalWidth int

location to store the natural width, or %NULL

Meta