[MacRuby-devel] NSTrackingArea
Thomas R. Koll
info at ananasblau.com
Wed Apr 27 09:10:46 PDT 2011
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
More information about the MacRuby-devel
mailing list