Widget.intersect

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 gdk.rectangle.Rectangle

a rectangle

intersection gdk.rectangle.Rectangle

rectangle to store intersection of widget and area

Return Value

Type: bool

true if there was an intersection