Virtual Method

GtkCellRendererget_preferred_height_for_width

since: 3.0

Declaration [src]

void
get_preferred_height_for_width (
  GtkCellRenderer* cell,
  GtkWidget* widget,
  gint width,
  gint* minimum_height,
  gint* natural_height
)

Description [src]

Retreives a cell renderers’s minimum and natural height if it were rendered to widget with the specified width.

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 function.
width

Type: gint

The size which is available for allocation.

minimum_height

Type: gint*

Location for storing the minimum size, or NULL.

The argument will be set by the function.
The argument can be NULL.
natural_height

Type: gint*

Location for storing the preferred size, or NULL.

The argument will be set by the function.
The argument can be NULL.