Pop-up Menu of a Graphics Image?

W

W. Watson

Is there a library that contains a pop-up menu class from a mouse click on a
graphics image?
 
J

Jon \Fluffy\ Saul

Is there a library that contains a pop-up menu class from a mouse click on a
graphics image?
What exactly do you mean by "library that contains a pop-up menu class from a
mouse click on a graphics image"
If I deciphered the sentence correctly, then TKinter, win32 and GTK API's can do
what you want.
Probably others too.
 
W

W. Watson

I want to allow a user who is looking at a graphic to be able to right-click
on the graphic to produce a menu of choices.

Does the PIL have something, a class or whatever? What in Tkinter would be
useful for this purpose? GTK?
 
M

Mike Driscoll

I want to allow a user who is looking at a graphic to be able to right-click
on the graphic to produce a menu of choices.

Does the PIL have something, a class or whatever? What in Tkinter would be
useful for this purpose? GTK?

wxPython can do a right-click menu like that and I know that PIL has
been integrated into it as well. They have a Demo on the wxPython.org
website that shows off all the official widgets as well as some custom
scripts. If you run it, there is a tree control on the left. Go to the
Miscellaneous section and check out the FileHistory demo.

There are also a lot of graphics demos in there too under the Using
Images category.

Mike
 
W

W. Watson

Thanks. I'm just getting started in Python, so probably don't want to go far
off the main stream. Don't see Misc. I see things like Presentations, Search
this site, ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top