is there a way that i can provide a tray icon ie. next to the clock (on
win32) for my program (using tkinter) ? i know that there is a way of
doing this in wxpython but i need to know whether its possible in tkinter.
thanks,
anoop
Have you had a look at "Tray It!" ?
http://www.teamcti.com/trayit/index.html
cheers,
John.
also look at the win32 extensions, I remember going through all the
demo code that there is a way to do it (MFC I think but don't know for
sure). It is simple to do a try except block around the import and
logic to use it since it will only be for windows. It is used for the
windows IDE also.
Also check out TKinter3000 at
http://www.pythonware.com/products/tkinter/tkinter3000.htm, they may
have something (or you can ship the one from win32 extensions with
your app)
actually, i havent done much tkinter or mfc before. i have been playing
with wxpython for a month. i didnt like the idea that i had so many
widget-ID numbers floating about in wxpython that i had to keep track
of. and i dont understand why the concept of widgetID numbers - why not
just link the widget-name with the handler?
anyways, so i decided to check out tkinter and see if i can write my
current project in tkinter instead. it appears as though i need to learn
mfc to do what i want (the tray icon). so, i am thinking i'd rather go
back to using wxpython.
the TrayIt thing suggested by John looks like a gr8 tool but wont serve
my purpose here since i want to also learn how to integrate this feature
into my python program. Besides, deployment on the client's machine will
be a problem. secondly, tkinter3000 seems to be in pre-alpha and the
tkinter3k docs that i could find on the net dont seem to have anything
on howto do the tray icon thing. or have i missed something there?
~anoop