Method

Gtk.CellAreaContext.get_preferred_width

Declaration [src]

void
gtk_cell_area_context_get_preferred_width (
  GtkCellAreaContext* context,
  int* minimum_width,
  int* natural_width
)

Description [src]

Gets the accumulative preferred width 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_width int*
 

location to store the minimum width, or NULL

 Direction: out
 Ownership of the data is transferred to the callee
natural_width int*
 

location to store the natural width, or NULL

 Direction: out
 Ownership of the data is transferred to the callee