Method

Gtk.CellRenderer.get_preferred_size

Declaration [src]

void
gtk_cell_renderer_get_preferred_size (
  GtkCellRenderer* cell,
  GtkWidget* widget,
  GtkRequisition* minimum_size,
  GtkRequisition* natural_size
)

Description [src]

Retrieves the minimum and natural size of a cell taking into account the widget’s preference for height-for-width management.

Parameters

widget GtkWidget
 

the GtkWidget this cell will be rendering to

 Ownership is not transferred to the callee
minimum_size GtkRequisition
 

location for storing the minimum size, or NULL

 Direction: out
 Ownership is not transferred to the callee
natural_size GtkRequisition
 

location for storing the natural size, or NULL

 Direction: out
 Ownership is not transferred to the callee