Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tray icon using tkinter

8 views
Skip to first unread message

Anoop P B

unread,
Jun 13, 2002, 2:44:47 AM6/13/02
to
hi,

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

John Popplewell

unread,
Jun 17, 2002, 7:30:57 PM6/17/02
to
Anoop P B <ano...@myrealbox.com> wrote in message news:<mailman.1023950718...@python.org>...


Have you had a look at "Tray It!" ?

http://www.teamcti.com/trayit/index.html

cheers,
John.

Ryan

unread,
Jun 18, 2002, 6:44:59 AM6/18/02
to
jo...@johnnypops.demon.co.uk (John Popplewell) wrote in message news:

> Anoop P B <ano...@myrealbox.com> wrote in message news:
> > 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)

Anoop P B

unread,
Jun 18, 2002, 3:41:51 PM6/18/02
to
thanks a lot for your help. appreciate it.

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

0 new messages