Hi all.

First I would like to paste the simplistic example, highlighting the issue :

#################################################################
import gtk
import gobject

win = gtk.Window()
win.show()

print win.get_size()    # prints (200, 200)

win.resize(100, 346)
print win.get_size()    # still prints (200, 200) :-(

gobject.MainLoop().run()
#################################################################




As can be seen, the "get_size()" continues printing the older dimensions,
even after a  "resize()" has been done?


Is it expected? Is there a way I can get "(100, 346)" to be printed in the
second call to "print win.get_size()" ?
(note that the resizing graphical-effect takes place without any issues)




Regards,
Ajay
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to