Is this possible to do a Firefox like window ?

Hi all,

As you can see below, latest versions of Firefox display a drop down menu and other graphical elements useful to manage tabs in the area that is normally dedicated to the window caption.

Is there a way to do the same thing with wxPython ?

Thanks,

Thierry.

Hi,

···

On Monday, July 30, 2012 2:49:15 AM UTC-5, Thierry wrote:

Hi all,

As you can see below, latest versions of Firefox display a drop down menu and other graphical elements useful to manage tabs in the area that is normally dedicated to the window caption.

Is there a way to do the same thing with wxPython ?

Thanks,

Thierry.

That’s because Firefox isn’t using native widgets. It’s drawing those itself or they’re included in XUL or whatever they’re using now. So a wx.Menu won’t work here. However, I think you could get a similar effect if you used FlatMenu or just created a custom widget.

  • Mike

Use the frame's styles to cause it to have no caption or borders, add appropriate mouse event handlers so the user can still move the window around, minimize it, etc., and add a paint event handler to draw whatever you want to use instead of the standard caption bar, etc.

···

On 7/30/12 12:49 AM, Thierry wrote:

Hi all,

As you can see below, latest versions of Firefox display a drop down
menu and other graphical elements useful to manage tabs in the area that
is normally dedicated to the window caption.

Is there a way to do the same thing with wxPython ?

--
Robin Dunn
Software Craftsman