Roger Binns
2004-02-27 05:24:33 UTC
I have found one tiny problem which is that wxWidgets (on Windows anyway)
doesn't know about multiple monitors. It only returns information about
the first monitor.
It also looks like wx.GetClientDisplayRect should be called to get the
area of the screen that isn't covered in start bars etc. For example
On Linux with a Gnome desktop, GetClientDisplayRect just returns the
same numbers as GetDisplaySize.
Maybe you want to use this in the heuristics for sizing and placement.
Roger
doesn't know about multiple monitors. It only returns information about
the first monitor.
It also looks like wx.GetClientDisplayRect should be called to get the
area of the screen that isn't covered in start bars etc. For example
wx.GetDisplaySize()
wxSize(1600, 1200)wx.GetClientDisplayRect() # taskbar at the bottom
wxRect(0, 0, 1600, 1168)wx.GetClientDisplayRect() # taskbar on right side
wxRect(0, 0, 1495, 1200)wx.GetClientDisplayRect() # on the top
wxRect(0, 32, 1600, 1168)On Linux with a Gnome desktop, GetClientDisplayRect just returns the
same numbers as GetDisplaySize.
Maybe you want to use this in the heuristics for sizing and placement.
Roger