Widget.intersect
bool intersect(gdk.rectangle.Rectangle area, out gdk.rectangle.Rectangle intersection)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 | a rectangle |
intersection | rectangle to store intersection of widget and area |
Returns
true if there was an intersection