Bookmarks/Favorites Menu

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

image002.jpg

-Kyle Rickey

Hi,

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:

http://svn.wxwidgets.org/viewvc/wx/wxPython/3rdParty/AGW/agw/flatmenu.py?revision=56478&view=markup&sortby=date

Or (for older wxPython version):

http://xoomer.alice.it/infinity77/main/freeware.html#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.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

···

On Tue, Jan 13, 2009 at 5:25 PM, Rickey, Kyle W wrote:

Thanks Andrea, I'll give it a shot. And I'm not too concerned with Mac
as my app doesn't support it :stuck_out_tongue:

-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:

http://svn.wxwidgets.org/viewvc/wx/wxPython/3rdParty/AGW/agw/flatmenu.py
?revision=56478&view=markup&sortby=date

Or (for older wxPython version):

http://xoomer.alice.it/infinity77/main/freeware.html#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.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

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?

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!