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.

class Widget
bool
intersect

Parameters

area GdkRectangle*

a rectangle

intersection GdkRectangle*

rectangle to store intersection of @widget and @area

Return: %TRUE if there was an intersection

Meta