28 Apr
2011
28 Apr
'11
3:42 a.m.
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.
5308
Age (days ago)
5308
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sean Mateus