Re: [Pythonmac-SIG] Dock menu

2007-03-01 Thread Dethe Elza
On 1-Mar-07, at 5:36 AM, Amrit Jassal wrote: > 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 do

[Pythonmac-SIG] Dock menu

2007-03-01 Thread Amrit Jassal
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

Re: [Pythonmac-SIG] Dock menu

2005-09-14 Thread Dethe Elza
Hi Simon, You can certainly add items to a dock menu in OS X using Python. For more info on the dock menu, see here: http://developer.apple.com/documentation/Carbon/Conceptual/ customizing_docktile/index.html?http://developer.apple.com/ documentation/Carbon/Conceptual/customizing_docktile/co

[Pythonmac-SIG] Dock menu

2005-09-14 Thread Simon Brunning
On Windows, I've got a few Python scripts that sit in the system tray - . It basically creates a system tray icon with a context menu. The menu is fefined in Python code, and each item has an associated callable that gets called when th