newbie question regarding maximized windows

Hi,

I'm getting started again after not using wxPython for a while.

Right now I'm trying to get a window that fills the whole screen.

This is what I'm trying:

#!/usr/bin/pythonw -i
import wx

app = wx.PySimpleApp()
frame=wx.Frame(None,
         id=wx.ID_ANY,
         title="Yo")

frame.ShowFullScreen(True)
app.MainLoop()

System details:
  OS X 10.4
  Python 2.3.5 (#1, Jan 13 2006, 20:13:11)
  [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
  wx.__version__ : '2.5.3.1'

Now when I run this, the dock and menubar disappear, as if preparing
to show a full screen window. But the screen never appears. If I
change ShowFullScreen() to Show(), I see a normal sized window.

Regards
Mark
markrages@gmail

···

--
Mark Rages, Engineer
Midwest Telecine LLC
markrages@midwesttelecine.com

Replying to myself: This works if I add a frame.Show() after the
frame.ShowFullScreen(True).

I was mislead by this line
"Note that showing a window full screen also actually Show()s if it
hadn't been shown yet."

in the documentation here:
http://www.wxwidgets.org/manuals/2.6/wx_wxtoplevelwindow.html#wxtoplevelwindowshowfullscreen

Regards,
Mark
markrages@gmail

···

On 10/6/07, Mark Rages <markrages@gmail.com> wrote:

Hi,

I'm getting started again after not using wxPython for a while.

Right now I'm trying to get a window that fills the whole screen.

This is what I'm trying:

#!/usr/bin/pythonw -i
import wx

app = wx.PySimpleApp()
frame=wx.Frame(None,
               id=wx.ID_ANY,
               title="Yo")

frame.ShowFullScreen(True)
app.MainLoop()

--
Mark Rages, Engineer
Midwest Telecine LLC
markrages@midwesttelecine.com