Directly accessing the NSPopupButtonCell of an NSPopupButton (Cocoa OSX) -
i know not recommended need access nspopupbuttoncell of nspopupbutton. there way this?
[mypopup cell]; kind of obvious, when think it. ;)
really, tho'; nspopupbutton : nsbutton : nscontrol; nscontrol has -[cell], nspopupbutton too.
i guess i'm trying say, is; if can't find method object looking @ must have, check superclasses. (or use text completion in xcode , few lucky guesses. ;)
Comments
Post a Comment