Rob Marino wrote:
Hi and xmas greetings to all.
Quick question. I'm writing an app in which I would like to store the
last position of the window on the screen in a config file.
I've tried calling window.get_position() on my gtk window,but this
always returns (0,0) regardless of the actual physical position of the
window. I'm developing on windows XP.
How does one get around this please?
Thanks.
Rob M.
window.window.get_root_origin() should work for position
window.get_size() for window size
Yann
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/