how do I make a wxpython window full screen displayed

How can I make a window(E.g. the right part of a splitter window) full screen displayed, I know there’s a method to make the frame shown as full-screen, but how to make one of the sub-window of the main-frame full-screened?

Best Regards,
Kevin

wx.TopLevelWindow.Maximize(bool maximize)

···

2008/11/12 jason zhang jason.gnu@gmail.com

How can I make a window(E.g. the right part of a splitter window) full screen displayed, I know there’s a method to make the frame shown as full-screen, but how to make one of the sub-window of the main-frame full-screened?

Best Regards,
Kevin


wxpython-users mailing list

wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

P.S. Sorry, too much hurry.

If you want to make full-screen only the right part of the splitter, you have first to use

wx.SplitterWindow::SetSashPosition(0, True)

and then

wx.TopLevelWindow::Maximize(True)

···

2008/11/12 jason zhang jason.gnu@gmail.com

How can I make a window(E.g. the right part of a splitter window) full screen displayed, I know there’s a method to make the frame shown as full-screen, but how to make one of the sub-window of the main-frame full-screened?

Best Regards,
Kevin


wxpython-users mailing list

wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

You can't do it directly, but you can either re-parent the window to a
new top level window and display that, or hide all the other windows
on your frame (unsplitting the other window in the splitter, and
hiding anything else) and then full screen the regular top level
window.

···

On Wed, Nov 12, 2008 at 12:08 PM, jason zhang <jason.gnu@gmail.com> wrote:

How can I make a window(E.g. the right part of a splitter window) full
screen displayed, I know there's a method to make the frame shown as
full-screen, but how to make one of the sub-window of the main-frame
full-screened?