If it's a top-level window, you can do a:
toplevelwindow.get_window().x
toplevelwindow.get_window().y
Look at description.py in pygtk package. Then look at page 185 of
Havoc's book you can find online.
These two can be source of answers to all those kinds of questions.
H. Aurag
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 2/21/00, 9:54:43 PM, Randolph Fritz <[EMAIL PROTECTED]> wrote
regarding [pygtk] Finding the position of a window:
> Ok, ok, I surrender. How *do* I find the position of a gtk window on
> the desktop using pygtk? In gtk/gdk this is done by getting the
> handle of the associated gdk window and passing it to
> gdk_window_get_deskrelative_origin(), but that doesn't seem to exist
> in pygtk. Is this supported yet? Or have I just not found The Way.
> --
> Randolph Fritz
> Eugene, Oregon, USA
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]