[Openmcl-devel] Handling mouse events

Alexander Repenning ralex at cs.colorado.edu
Thu May 28 18:44:25 PDT 2009


some code here: http://code.google.com/p/xmlisp/source/browse/trunk/XMLisp/sources/Lisp%20User%20Interface/specific/Mac%20CCL/LUI%20Cocoa.lisp

alex


On May 28, 2009, at 4: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
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel

Prof. Alexander Repenning

University of Colorado
Computer Science Department
Boulder, CO 80309-430

vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20090528/2cfd65a1/attachment.htm>


More information about the Openmcl-devel mailing list