Have you tried calling self.ShowFullScreen(True) ?
Mike
self.ShowFullScreen(True) : show full screen is ok. and self.GetSize() is ok.
I need application start with max window. and self.GetSize()
return max window size.
When is use Maximize(), display as max window but self.GetSize()
return (400, 250).
I need self.GetSize() to calculator widget layout size.
Do your layout in the EVT_SIZE handler instead of in the __init__. There should be an EVT_SIZE when the window is first shown and also when it is maximized (by either method).
···
On 5/14/12 8:40 AM, luckrill wrote:
Mike Driscoll:
Have you tried calling self.ShowFullScreen(True) ?
- Mike
self.ShowFullScreen(True) : show full screen is ok. and self.GetSize()
is ok.
I need application start with max window. and self.GetSize() return max
window size.
When is use /Maximize/(), display as max window but self.GetSize()
return (400, 250).
I need self.GetSize() to calculator widget layout
size.
start app as max window is OS problem.
void Maximize(Bool maximize)
Maximizes the frame if maximize is TRUE, otherwise restores it (MS
Windows only).
with MS Windows: display as max window and self.GetSize() return value
is max window size.
with linux/GTK: display as max window but self.GetSize() return value
is (400, 250)
Don’t know how to avoid this OS problem.
Next I will try EVT_SIZE handler.