[MacRuby-devel] NSTrackingArea
Joshua Ballanco
jballanc at gmail.com
Wed Apr 27 09:49:42 PDT 2011
Thomas,
Are you still getting an undefined method error, or something new? Do you
have a "framework 'Cocoa'" line somewhere in your app?
- Josh
On Wed, Apr 27, 2011 at 12:10 PM, Thomas R. Koll <info at ananasblau.com>wrote:
>
>
> Nope, still no good.
>
> Am 27.04.2011 um 18:07 schrieb Kam Dahlin:
>
> > Hi,
> >
> >
> http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSTrackingArea_class/Reference/Reference.html
> >
> > Looks like the initializer is:
> >
> > – initWithRect:options:owner:userInfo:
> >
> > Try something like:
> >
> > tc = NSTrackingArea.alloc.initWithRect(self.bounds,
> options:(NSTrackingMouseEnteredAndExited | NSTrackingActiveAlways),
> owner:self, userInfo:nil)
>
>
> --
> Thomas R. "TomK32" Koll, Ruby/Rails freelancer
> http://ananasblau.com | http://github.com/TomK32
>
>
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110427/b0097e05/attachment.html>
More information about the MacRuby-devel
mailing list