[wxPython] show/hide status bar?

Hi,

How would one show/hide the status bar? I've tried the Show(true &
false) but they don't resize the rest of the window. Since it is
using it's own black magic to get itself in the frame I don't know how
to add or remove it from the sizer.

···

--
-Mike

Could try calling self.Layout()?

No other ideas,
Mike

···

-----Original Message-----
From: Mike Miller [mailto:Mike.G.Miller@disney.com]
Sent: Wednesday, May 02, 2001 22:04
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython] show/hide status bar?

Hi,

How would one show/hide the status bar? I've tried the Show(true &
false) but they don't resize the rest of the window. Since it is
using it's own black magic to get itself in the frame I don't know how
to add or remove it from the sizer.

--
-Mike

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

If that doesn't work you may have to force a size event to happen in order
for the frame to adjust its notion of what the client area is.

            evt = wxSizeEvent(self.GetSize())
            self.GetEventHandler().ProcessEvent(evt)

Robin

···

----- Original Message -----
From: "Mike C. Fletcher" <mcfletch@home.com>
To: <wxpython-users@lists.wxwindows.org>
Sent: Thursday, May 03, 2001 7:45 PM
Subject: RE: [wxPython] show/hide status bar?

Could try calling self.Layout()?

No other ideas,
Mike

-----Original Message-----
From: Mike Miller [mailto:Mike.G.Miller@disney.com]
Sent: Wednesday, May 02, 2001 22:04
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython] show/hide status bar?

Hi,

How would one show/hide the status bar? I've tried the Show(true &
false) but they don't resize the rest of the window. Since it is
using it's own black magic to get itself in the frame I don't know how
to add or remove it from the sizer.

--
-Mike

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users