On 12 Aug, 2012, at 5:31, Mark Livingstone <livingstonem...@gmail.com> wrote:

> Hi Guys,
> 
> I finally dragged myself kicking and screaming into the current
> millennium, and loaded Macports py27-wxpython-devel 2.9.4. on my
> Mountain Lion machine.
> 
> If I do a
> 
> frame.Show()
> 
> I get my program in a frame in the middle of the screen, and the usual
> top of screen menu. If I click the green LED, it resizes to take up
> most of the screen as expected. However, if I do
> 
> frame.ShowFullScreen(True,False)
> 
> I get the frame full screen, and I get the toolbar, but not the title
> bar with the 3 LEDs or the top menu.
> 
> Has anyone else come across this behaviour? Is this a bug, my
> misunderstanding, or the way it works?
> 
> I guess I could set the frame size to wx.DisplaySize() before showing
> it, but that seems messy unless it is the wxCocoa way of doing things?
> 
> Thanks in advance,

Looking at the documentation of wx I'd say this behavior is expected. When you 
click on the green led the window is maximized, and ShowFullScreen makes the 
window a full screen window (simular to the arrow icon's in the lefthand corner 
of Safari on recent OSX versions, and simular to how full-screen games work). 
Wx also has a Maximize method that does do the same thing as the green LED.

Ronald

> 
> MarkL
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to