The Fine Print: The following comments
are owned by whomever posted them.
( Reply )
|
Re: Gideon Development Update
by ? on Sunday 10/Jun/2001, @13:45
|
can anybody tell me how to get the window-geometry of a mainwindow + window decorations?
the QT docs
(e.g. file:/usr/lib/qt-2.3.0/doc/html/geometry.html )
say that frameGeometry()
is including the window frame
and geometry() is excluding it!
But
kmainwindow->frameGeometry().height- kmainwindow->geometry().height == 0
... frameGeometry() doesn't seem to include the window frame :((
|
[
Reply To This | View ]
|
Re: Gideon Development Update
by Bernd Gehrmann on Sunday 10/Jun/2001, @14:35
|
frameGeometry() is a QFrame (== client side) thing and has nothing to do with the frame drawn
by the window manager.
There is no way for an application to find out
the window manager frame geometry.
|
[
Reply To This | View ]
|
Re: Gideon Development Update
by AC on Tuesday 12/Jun/2001, @04:14
|
That's not true... "xwininfo -frame" will tell you.
|
[
Reply To This | View ]
|
Re: Gideon Development Update
by Bernd Gehrmann on Tuesday 12/Jun/2001, @08:03
|
That's unreliable. It depends on how the window
manager reparents windows. There are window
managers that create two nested windows and
reparent the client window into the inner one.
In that case you will get a wrong result.
|
[
Reply To This | View ]
|
|
The Fine Print: The previous
comments are owned by whomever posted them.
( Reply )
|