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:
GdkRectangle
A rectangle.
The data is owned by the caller of the function. intersection
-
Type:
GdkRectangle
Rectangle to store intersection of
widget
andarea
.The argument will be set by the function. The argument can be NULL
.The data is owned by the caller of the function.