Virtual Method
Gtk.CellArea.get_preferred_width
Declaration [src]
void
get_preferred_width (
GtkCellArea* area,
GtkCellAreaContext* context,
GtkWidget* widget,
int* minimum_width,
int* natural_width
)
Description [src]
Retrieves a cell area’s initial minimum and natural width.
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_width and natural_width of this call but rather to
consult gtk_cell_area_context_get_preferred_width() 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_width |
int* |
location to store the minimum width, or |
|
| Direction: out | |
| Ownership of the data is transferred to the callee | |
natural_width |
int* |
location to store the natural width, or |
|
| Direction: out | |
| Ownership of the data is transferred to the callee |