tags:

views:

69

answers:

2

Essentially, what I want to do is have an icon that has different symbols for various programs at the bottom of it (for example, a python file might have a symbol for command prompt, a text editor, and a debugger, all little squares at the bottom of the icon), and when the user double clicks on one of these, that program is used to open it up.

How can I put these symbols there (do I have to make a special icon, or is there an easier way to do it) and how can I see if they double click on these? Also, how can I stop the normal program from running when they double click, so only the program I want will work?

Some background: I'm using Python 2.5 and I'm on a Windows Vista, but if possible I'd like for this to be able to run on XP or 7 as well.

+1  A: 

You use some GUI system, like GTK+ or wxPython or something.

Lennart Regebro
The "something" would be PyQt, surely ;-)
RedGlyph
That's "or something" :-)
Lennart Regebro
+1  A: 

Sounds like you want to write an extension to windows explorer. This would be a significant project and I'm not sure Python would be the best language (you'd be accessing the win32 api a lot).

danio