Cocoa object handles question
Posted: Tue Aug 21, 2012 10:15 am
@Fred,
The ...ID() commands are the only way to get to the underlaying objects PB uses.
Most of them make sense like WindowID() returning a subclass of NSWindow, ToolBarID() returning a subclass of NSToolbar etc.
For MenuID() this is not the case, it returns NSMutableArray instead. Would it be possible to return a NSMenu instead ?
The ...ID() commands are the only way to get to the underlaying objects PB uses.
Most of them make sense like WindowID() returning a subclass of NSWindow, ToolBarID() returning a subclass of NSToolbar etc.
For MenuID() this is not the case, it returns NSMutableArray instead. Would it be possible to return a NSMenu instead ?