this worked for me!
class TowerView < NSView
  def awakeFromNib
    tracking_area = NSTrackingArea.alloc.initWithRect self.bounds, 
                    options:(NSTrackingCursorUpdate | 
NSTrackingActiveInActiveApp), 
                      owner:self, 
                   userInfo:nil
    puts tracking_area.methods(true,true)
    self.addTrackingArea tracking_area
  end
end

> It's still the same and of course I have the cocoa framework loaded
> otherwise it wouldn't find the NSTrackingArea class.

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

Reply via email to