[PyQt] how to get X info in qt
David Boddie
david at boddie.org.uk
Tue May 29 13:30:46 BST 2007
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
More information about the PyQt
mailing list