[pygtk] About Fullscreen libglade windows

Graham Ashton graham at effectif.com
Thu Sep 2 05:15:31 WST 2004


On Fri, 2004-08-27 at 21:48, Douglas Soares de Andrade wrote:
>
> How to make a form init the execution maximized using libglade. I already did 
> the window and it is work perfectly. 
> 
> The only thing left to do is make it start maximized.

Just call maximize() on the window before you enter the main loop.

I've no idea how you're getting hold of the window object from glade,
but the pure gtk code would look something like this:

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

You may not need the show() as glade shows things by default.

--
Graham



More information about the pygtk mailing list