wx.DisplaySize()
Look at the ::wx* functions in the doc. On win there is also a function
returning the size without the panel, I do not remember the fct name.
Jean-Michel Fauth, Switzerland
wx.DisplaySize()
Look at the ::wx* functions in the doc. On win there is also a function
returning the size without the panel, I do not remember the fct name.
Jean-Michel Fauth, Switzerland
jmf wrote:
wx.DisplaySize()
Look at the ::wx* functions in the doc. On win there is also a function
returning the size without the panel, I do not remember the fct name.
wx.GetClientDisplayRect
Will McGugan
Will McGugan wrote:
jmf wrote:
wx.DisplaySize()
Look at the ::wx* functions in the doc. On win there is also a function
returning the size without the panel, I do not remember the fct name.wx.GetClientDisplayRect
Looks like wx.GetClientDisplayRect also works on GTK (but the size of the rect is equal to wx.DisaplySize()).
Thanks again.
Les
>> wx.DisplaySize()
>>
>> Look at the ::wx* functions in the doc. On win there is also a
>> function returning the size without the panel, I do not
remember the
>> fct name.
>
>
> wx.GetClientDisplayRectLooks like wx.GetClientDisplayRect also works on GTK (but the size of
the rect is equal to wx.DisaplySize()).
The distinction between the two, at least on Windows and Mac OS X, is that
the Windows Task Bar / OS X Dock area is left out of
wx.GetClientDisplayRect() so that the frame you create based on the settings
from this function won't conflict with these OS-specific elements on the
screen.
David