[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent


Re: Gideon Development Update
by gunnar on Saturday 09/Jun/2001, @06:03
Great Stuff!
looks amazingly!
-gunnar
  Related Links
 ·   Articles on Developer
 ·   Also by gunnar
 ·   Contact author

Thread Threshold:

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 )

  "No fake - I'm a big fan of konqueror, and I use it for everything." -- Linus Torvalds
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]