Method

GtkCellAreaContextget_allocation

since: 3.0

Declaration [src]

void
gtk_cell_area_context_get_allocation (
  GtkCellAreaContext* context,
  gint* width,
  gint* height
)

Description [src]

Fetches the current allocation size for context.

If the context was not allocated in width or height, or if the context was recently reset with gtk_cell_area_context_reset(), the returned value will be -1.

Available since: 3.0

Parameters

width

Type: gint*

Location to store the allocated width, or NULL.

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

Type: gint*

Location to store the allocated height, or NULL.

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