Method

GtkWidgetget_clip

since: 3.14

Declaration [src]

void
gtk_widget_get_clip (
  GtkWidget* widget,
  GtkAllocation* clip
)

Description [src]

Retrieves the widget’s clip area.

The clip area is the area in which all of widgets drawing will happen. Other toolkits call it the bounding box.

Historically, in GTK+ the clip area has been equal to the allocation retrieved via gtk_widget_get_allocation().

Available since: 3.14

Parameters

clip

Type: GtkAllocation

A pointer to a GtkAllocation to copy to.

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