Method

GtkCellAreaContextget_preferred_height

Declaration [src]

void
gtk_cell_area_context_get_preferred_height (
  GtkCellAreaContext* context,
  int* minimum_height,
  int* natural_height
)

Description [src]

Gets the accumulative preferred height for all rows which have been requested 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 0.

Parameters

minimum_height int*
 

Location to store the minimum height.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
natural_height int*
 

Location to store the natural height.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.