Package: gtk

Function gtk:widget-intersect

Lambda List

gtk:widget-intersect (widget area)

Arguments

widget -- a gtk:widget object
area -- a gdk:rectangle instance

Return Value

Returns the intersection as a gdk:rectangle instance, if there was an intersection or nil.

Details

Computes the intersection of a widgets area and area, and returns the intersection as a rectangle if there was an intersection.
 

See also

#2023-3-8