Method

GtkCellRendererget_preferred_size

since: 3.0

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.

Available since: 3.0

Parameters

widget

Type: GtkWidget

The GtkWidget this cell will be rendering to.

The data is owned by the caller of the method.
minimum_size

Type: GtkRequisition

Location for storing the minimum size, or NULL.

The argument will be set by the function.
The argument can be NULL.
The returned data is owned by the instance.
natural_size

Type: GtkRequisition

Location for storing the natural size, or NULL.

The argument will be set by the function.
The argument can be NULL.
The returned data is owned by the instance.