Method
GtkWidgetintersect
Declaration [src]
gboolean
gtk_widget_intersect (
GtkWidget* widget,
const GdkRectangle* area,
GdkRectangle* intersection
)
Description [src]
Computes the intersection of a widget’s area and area, storing
the intersection in intersection, and returns TRUE if there was
an intersection. intersection may be NULL if you’re only
interested in whether there was an intersection.
Parameters
area-
Type:
GdkRectangleA rectangle.
The data is owned by the caller of the method. intersection-
Type:
GdkRectangleRectangle to store intersection of
widgetandarea.The argument will be set by the function. The argument can be NULL.The returned data is owned by the instance.