I added a simple menu to my application with so called
bookmarks. It works decently well. However I wanted to make it more like the
firefox or internet explorer favorites menu where each bookmark has an icon,
and can be right clicked on etc. It seems to me that that implementation is not
a standard menu but some form of windows explorer?
I basically want to be able to right click on menu items and
have another context menu popup. Here’s a screenshot for reference. Is
something like this possible in wxpython? I’m using Windows XP, Python
2.5, and wxpython 2.8.8.0
I added a simple menu to my application with so called bookmarks. It works
decently well. However I wanted to make it more like the firefox or internet
explorer favorites menu where each bookmark has an icon, and can be right
clicked on etc. It seems to me that that implementation is not a standard
menu but some form of windows explorer?
I basically want to be able to right click on menu items and have another
context menu popup. Here's a screenshot for reference. Is something like
this possible in wxpython? I'm using Windows XP, Python 2.5, and wxpython
2.8.8.0
I don't know if you can do everything you said with a standard
wx.Menu/wx.MenuBar (I have never tried it), but for sure you can do it
with FlatMenu:
It's basically a full custom-drawn wx.MenuBar/wx.Menu/wx.ToolBar which
has the same functionalities of wx.Menu plus some more enhancements.
As far as I understand, it doesn't work on the Mac as wx.PopupWindow
does not work there, but when wx.PopupWindow will be available on the
Mac it should work also there.
Thanks Andrea, I'll give it a shot. And I'm not too concerned with Mac
as my app doesn't support it
-Kyle Rickey
From:
wxpython-users-bounces+kyle.rickey=bakerhughes.com@lists.wxwidgets.org
[mailto:wxpython-users-bounces+kyle.rickey=bakerhughes.com@lists.wxwidge
ts.org] On Behalf Of Andrea Gavana
···
-----Original Message-----
Sent: Wednesday, January 14, 2009 3:19 AM
To: wxpython-users@lists.wxwidgets.org
Subject: Re: [wxpython-users] Bookmarks/Favorites Menu
Hi,
On Tue, Jan 13, 2009 at 5:25 PM, Rickey, Kyle W wrote:
I added a simple menu to my application with so called bookmarks. It
works
decently well. However I wanted to make it more like the firefox or
internet
explorer favorites menu where each bookmark has an icon, and can be
right
clicked on etc. It seems to me that that implementation is not a
standard
menu but some form of windows explorer?
I basically want to be able to right click on menu items and have
another
context menu popup. Here's a screenshot for reference. Is something
like
this possible in wxpython? I'm using Windows XP, Python 2.5, and
wxpython
2.8.8.0
I don't know if you can do everything you said with a standard
wx.Menu/wx.MenuBar (I have never tried it), but for sure you can do it
with FlatMenu:
It's basically a full custom-drawn wx.MenuBar/wx.Menu/wx.ToolBar which
has the same functionalities of wx.Menu plus some more enhancements.
As far as I understand, it doesn't work on the Mac as wx.PopupWindow
does not work there, but when wx.PopupWindow will be available on the
Mac it should work also there.
I added a simple menu to my application with so called bookmarks. It works decently well. However I wanted to make it more like the firefox or internet explorer favorites menu where each bookmark has an icon, and can be right clicked on etc. It seems to me that that implementation is not a standard menu but some form of windows explorer?
I basically want to be able to right click on menu items and have another context menu popup. Here’s a screenshot for reference. Is something like this possible in wxpython?
Not with the native menus. For the record firefox doesn't use native menus which is why they can do it. Interestingly the windows Start menu doesn't use native menus either, and neither does the Office products. It would have been nice if MS had enhanced the abilities of the stock native menu instead of abandoning it and going off in a different direction. Okay, I'll get off my soapbox now.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!