[Openmcl-devel] ns:ns-tracking-area not present in 32bit CCL

Arthur W Cater arthur.cater at ucd.ie
Mon Jun 8 18:32:36 UTC 2009


Use #/addTrackingRect:owner:userData:assumeInside: with
- the view
- its #/bounds
- a ns-object as target
- ccl::+null-ptr+
- #$NO

Then
(objc:define-objc-method ((:void :mouse-entered (:id event)) <theTargetClassYouUsed>) ...)

likewise :mouse-exited and :mouse-move

Arthur

----- Original Message -----
From: Ron Garret <ron at awun.net>
Date: Monday, June 8, 2009 6:12 pm
Subject: Re: [Openmcl-devel] ns:ns-tracking-area not present in 32bit CCL
To: Raffael Cavallaro <raffaelcavallaro at mac.com>
Cc: openmcl-devel <openmcl-devel at clozure.com>

> 
> On Jun 8, 2009, at 9:20 AM, Raffael Cavallaro wrote:
> 
> > This is under 10.5.7. Ron, I ran into this trying out your draggable
> > code.
> >
> > 64-bit:
> > ? ns::ns-tracking-area
> > #<OBJC:OBJC-CLASS NS:NS-TRACKING-AREA (#x7FFF7047B0C0)>
> >
> > 32-bit:
> > ? ns::ns-tracking-area
> >> Error: Unbound variable: NS:NS-TRACKING-AREA
> >
> > I realize that NSTrackingArea is available in 10.5 and later 
> only, but
> > people will be using the 32-bit CCL under 10.5, if only 
> because there
> > are things that don't work under the 64-bit runtime (QuickTime 
> plug-in
> > in WebKit for example).
> 
> Or PDFViews :-)
> 
> I think this is just a bug in the 32-bit CCL interfaces.  
> It works in  
> 32-bit objc.  I've filed a ticket.
> 
> But if someone can point me to a description of how to generate 
> mouse- 
> enter and mouse-leave events in <10.5 I'll add code to 
> support that as  
> well.
> 
> rg
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20090608/1d3915f3/attachment.html>


More information about the Openmcl-devel mailing list