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)

hth

k
On Apr 27, 2011, at 8:39 AM, Thomas R. Koll wrote:

> tracking_area.initWithRect

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to