[Openmcl-devel] Handling mouse events

Ron Garret ron at awun.net
Thu May 28 15:07:17 PDT 2009


That's great, thanks!

rg

On May 28, 2009, at 3:02 PM, Arthur W Cater wrote:

> Sorry I have no demo code for that, but I can tell you that  
> instances of easygui::drawing-view
> can be created with keyword arguments :mouse-enter   :mouse- 
> exit   :mouse-move
>    :mouse-down  and   :mouse-up. There's also :mouse-dragged.
> The values should be functions that like being called with an  
> easygui::view and further
> keyword arguments, notably :event.
> I have myself used :mouse-enter :mouse-exit and :mouse-down only.
> The code (in ccl/examples/cocoa/easygui/views.lisp) could do with  
> further improvement, feel free!
> There is demo code in ccl/examples/cocoa/easygui/example/extended- 
> demo.lisp which creates
> various nested easygui views, one of which is a drawing-view with  
> a :mouse-down initarg.
> Maybe that is a tiny help, I hope so.
>
> Arthur
>
> ----- Original Message -----
> From: Ron Garret <ron at awun.net>
> Date: Thursday, May 28, 2009 9:14 pm
> Subject: [Openmcl-devel] Handling mouse events
> To: Openmcl-devel Devel <openmcl-devel at clozure.com>
>
> > Before I go reinventing the wheel, does anyone have any demo
> > code that
> > handles mouse events, like maybe a little scribble window or
> > something
> > like that?
> >
> > Thanks,
> > rg
> >
> > _______________________________________________
> > Openmcl-devel mailing list
> > Openmcl-devel at clozure.com
> > http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list