Method

GtkCellRendererget_preferred_width

since: 3.0

Declaration [src]

void
gtk_cell_renderer_get_preferred_width (
  GtkCellRenderer* cell,
  GtkWidget* widget,
  gint* minimum_size,
  gint* natural_size
)

Description [src]

Retreives a renderer’s natural size when rendered to widget.

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: gint*

Location to store the minimum size, or NULL.

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

Type: gint*

Location to store the natural size, or NULL.

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