[Pythonmac-SIG] Dock menu

Amrit Jassal ajassal at gmail.com
Thu Mar 1 14:36:23 CET 2007


I have a static dock menu created with Interface Builder (cocoa). Works
great.
I now have a requirement to add/remove items for this menu at run-time or
enable/disable menu items at run-time.

I cannot find a way to get a handle to the dock menu at run-time to get at
the menu items that I want to enable/disable. Can I somehow get a reference
to menu objects (NSMenu) at run-time?

Or I cannot wire up the menu using IB and need to create the menu at
run-time myself?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20070301/a17bf7ea/attachment.htm 


More information about the Pythonmac-SIG mailing list