[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] how to get X info in qt
From: David Boddie <david () boddie ! org ! uk>
Date: 2007-05-29 12:30:46
Message-ID: 200705291430.46950.david () boddie ! org ! uk
[Download RAW message or body]
On Tuesday 29 May 2007 16:42:39 +0800, Marco wrote:
> In a Qt program, can I get the window size, colour depth, and
> another infomation?
On X11 systems, you can just call x11Info() on a QWidget to get some
information about the colour depth - see the QX11Info class documentation
for details.
The window size (including the window manager decorations) is found using
QWidget's frameGeometry() method.
David
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic