Re: [Pythonmac-SIG] wxCocoa no top menu

2012-08-16 Thread Mark Livingstone
On 16 August 2012 15:57, Ronald Oussoren ronaldousso...@mac.com wrote:

 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.

Yes, that was it. Since my app has a spreadsheet-like grid as its UI,
I just did a frame.maximize() before the frame.Show() and it works
beautifully.

I presume that 32 bit Carbon wx 2.8.* must have started maximized as
standard, while wx 2.9.4 Cocoa 64 bit doesn't.

Since everyone has been following the saga, I can say that with a
small patch to py2app from Ronald, I have been able to successfully
create a salstat.app which, once I include a few minor modules (aui
constants IIRC) looks like it will work nicely under 64 bit wxCocoa
2.9.4 for Lion  Mountain Lion with py2.7, wxPython, PyQT, sip, pydoc,
PIL, matplotlib, bumpy, scipy, xlrd, xlwt, using Macports. This was
all done on my Mountain Lion machine. I haven't gotten back to the the
Python.org mess yet ;-) 32 bit Carbon still works fine from Source at
present other than the vanishing font dialog which is a known wx
won't fix - not a major issue!

Cheers,

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


Re: [Pythonmac-SIG] wxCocoa no top menu

2012-08-15 Thread Mark Livingstone
No ideas?

On 12 August 2012 13: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,

 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


Re: [Pythonmac-SIG] wxCocoa no top menu

2012-08-15 Thread Kevin Walzer
You may have better luck asking on a wxPython ML...

Sent from my iPhone

On Aug 15, 2012, at 12:24 PM, Mark Livingstone livingstonem...@gmail.com 
wrote:

 No ideas?
 
 On 12 August 2012 13: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,
 
 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
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


Re: [Pythonmac-SIG] wxCocoa no top menu

2012-08-15 Thread Ronald Oussoren

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



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


[Pythonmac-SIG] wxCocoa no top menu

2012-08-11 Thread Mark Livingstone
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,

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