If you are running Windows, you can see this by dragging your taskbar to to the top of the screen. It is a little tricky to grab and drag the taskbar.
And then run:
import wx
app = wx.PySimpleApp()
frame = wx.Frame(None, -1, 'Center')
frame.Show()
frame.Center(wx.HORIZONTAL)
app.MainLoop()
I'm one of those rare people on Windows that puts their task bar on _top_ of the screen (betcha didn't even know you could drag it up there, didya?)
The moveable taskbar is overlooked by quite a few commercial products. When I launch DreamWeaver, it defaults to the top of the screen. Dreamweaver doesn't allow for the fact the taskbar is there, so it goes _under_ the task bar.
Because the Dreamweaver's titlebar is under the taskbar, it is hard to grab with a mouse. I have to access the system menu using the keyboard to move the Dreamweaver window down.
I have seen this with Excel also. And now with wx.Frame.
Windows also permits positioning the taskbar along the sides of the screen. I wonder if a Frame could be forced under a taskbar on the side as well?
You might find that having the taskbar on top is closer to eye level and more natural.
···
-------------
Win2000 SP4
ActiveState Python 2.3.3
wxPython 2.5.1.5