chickadee » qobischeme-ui » define-region

define-region x y width height methodprocedure

Any mouse presses in the given region of the display pane will result in calls to method with the x and y coordinates of the mouse press. Note that regions are not permanent, they need to be reset every redraw.