Widget.getClip

Retrieves the widget’s clip area.

The clip area is the area in which all of @widget's 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().

class Widget
void
getClip

Parameters

clip GtkAllocation

a pointer to a #GtkAllocation to copy to

Meta

Since

3.14