Method
Gtk.CellArea.get_preferred_height
Declaration [src]
void
gtk_cell_area_get_preferred_height (
GtkCellArea* area,
GtkCellAreaContext* context,
GtkWidget* widget,
int* minimum_height,
int* natural_height
)
Description [src]
Retrieves a cell area’s initial minimum and natural height.
area
will store some geometrical information in context
along the way;
when requesting sizes over an arbitrary number of rows, it’s not important
to check the minimum_height
and natural_height
of this call but rather to
consult gtk_cell_area_context_get_preferred_height()
after a series of requests.
Parameters
context |
GtkCellAreaContext |
the |
|
Ownership is not transferred to the callee | |
widget |
GtkWidget |
the |
|
Ownership is not transferred to the callee | |
minimum_height |
int* |
location to store the minimum height, or |
|
Direction: out | |
Ownership of the data is transferred to the callee | |
natural_height |
int* |
location to store the natural height, or |
|
Direction: out | |
Ownership of the data is transferred to the callee |