[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Pop-up Menu of a Graphics Image?

wolf_tracks

2/15/2008 3:55:00 PM

Is there a library that contains a pop-up menu class from a mouse click on a
graphics image?
--
Wayne Watson (Nevada City, CA)

Web Page: <speckledwithStars.net>
4 Answers

Jon \"Fluffy\" Saul

2/15/2008 4:30:00 PM

0

On Fri, Feb 15, 2008 at 9:55 AM, W. Watson <wolf_tracks@invalid.com> wrote:
> Is there a library that contains a pop-up menu class from a mouse click on a
> graphics image?
> --
> Wayne Watson (Nevada City, CA)
>
> Web Page: <speckledwithStars.net>
> --
> http://mail.python.org/mailman/listinfo/p...
>
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.

--
Push the envelope. Watch it bend.

wolf_tracks

2/15/2008 8:29:00 PM

0

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?

Jon "Fluffy" Saul wrote:
> On Fri, Feb 15, 2008 at 9:55 AM, W. Watson <wolf_tracks@invalid.com> wrote:
>> Is there a library that contains a pop-up menu class from a mouse click on a
>> graphics image?
>> --
>> Wayne Watson (Nevada City, CA)
>>
>> Web Page: <speckledwithStars.net>
>> --
>> http://mail.python.org/mailman/listinfo/p...
>>
> 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.
>

--
Wayne Watson (Nevada City, CA)

Web Page: <speckledwithStars.net>

Mike Driscoll

2/16/2008 6:02:00 PM

0

On Feb 15, 2:28 pm, "W. Watson" <wolf_tra...@invalid.com> wrote:
> 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?
>
>
>
> Jon "Fluffy" Saul wrote:
> > On Fri, Feb 15, 2008 at 9:55 AM, W. Watson <wolf_tra...@invalid.com> wrote:
> >> Is there a library that contains a pop-up menu class from a mouse click on a
> >> graphics image?
> >> --
> >> Wayne Watson (Nevada City, CA)
>
> >> Web Page: <speckledwithStars.net>
> >> --
> >> http://mail.python.org/mailman/listinfo/p...
>
> > 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.
>
> --
> Wayne Watson (Nevada City, CA)
>
> Web Page: <speckledwithStars.net>

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

wolf_tracks

2/18/2008 5:10:00 AM

0

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, ...

Mike Driscoll wrote:
> On Feb 15, 2:28 pm, "W. Watson" <wolf_tra...@invalid.com> wrote:
>> 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.
.... snip
>
> 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

--
Wayne Watson (Nevada City, CA)

Web Page: <speckledwithStars.net>