how to get the screen size for an application

vronskij vronskij at gmail.com
Wed Jan 3 00:42:33 PST 2007


For centering the frame, there is a method called Centre(). You do not need
to calculate the screen size and the application size.

By the way to get the application size, we have GetSize() and GetSizeTuple()
methods.
To get the screen size, we have wx.GetDisplaySize() method.

have a look at http://www.wxpython.org/onlinedocs.php, a lot of the methods
described there are self-explaining.

- jan bodnar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200701=
03/cea9109b/attachment.htm


More information about the wxpython-users mailing list