yasuki_gui.services.hittest#

Functions

bounds_contains(bbox, x, y)

Return True if point (x,y) lies within bbox (x0,y0,x1,y1).

resolve_drop_target(view, x, y)

Resolve a drop target tag (a hand or province zone) given a view and point.

resolve_tag_at(view, event)

Return tag at event using view.find_withtag/gettags.