Hi all.

If a gtk.Window has been maximized, it seems that the "resize()" method
doesn't take effect thereafter.
I will illustrate with the following code snippets ::



a)
###################################################################
import gtk
import gobject

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

win.resize(683, 346)

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


When the above snippet is run, the window is resized as expected.






b)
###################################################################
import gtk
import gobject

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

win.maximize()   ### Culprit line :-(

win.resize(683, 346)

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



Here, once the window is maximized, the resize() stops working :-(




Is it expected? Is it a bug?
Is there anyway I can get the window to resize, AFTER calling
window.maximize() ?


Will be grateful for any pointers :)


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

Reply via email to