I love the idea of mouse events being events rather than menu definitions, but I'm not keen on the idea of putting coordinates in the event definition itself.

The event definition should just contain the target and the type of event, eg:

On *:mouse:@win:move:{

}

Then you can carry on using $inrect etc as we do now. Would make existing code easier to copy/paste over to the new style too.

Nice idea.

Edit:

Sorry should've replied to the op.

Last edited by hixxy; 01/12/11 11:57 AM.