Virtual Method
GtkCellAreaContextget_preferred_width_for_height
since: 3.0
Declaration [src]
void
get_preferred_width_for_height (
GtkCellAreaContext* context,
gint height,
gint* minimum_width,
gint* natural_width
)
Description [src]
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.
Available since: 3.0
Parameters
height
-
Type:
gint
A proposed height for allocation.
minimum_width
-
Type:
gint*
Location to store the minimum width, or
NULL
.The argument will be set by the function. The argument can be NULL
. natural_width
-
Type:
gint*
Location to store the natural width, or
NULL
.The argument will be set by the function. The argument can be NULL
.