[MacRuby-devel] NSTrackingArea
Sean Mateus
seanlilmateus at googlemail.com
Wed Apr 27 20:42:03 PDT 2011
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.
More information about the MacRuby-devel
mailing list