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.Widget.getAllocation.

class Widget
void
getClip

Parameters

clip gtk.types.Allocation

a pointer to a #GtkAllocation to copy to