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 Value

Type: bool

TRUE if there was an intersection