Hi, 

You can disable the maximize button like this: 

import gtk
window = gtk.Window()
window.set_default_size(800, 600)
window.set_size_request(800, 600)
window.set_resizable(False)
window.show()
gtk.main()

hth,
Dieter

Quoting holmes86 <[email protected]>: 

> Hi,everyone
> I set window size 800x600,and I don't need window to maximum.So I want to 
> cutting off the maximum button in the window.How can do it?
> thanks very much
> 
>  
> --
> ???????????  
>  
> 
> 
> -------------------------
> ???????????3D???????????????[1] 



Links:
------
[1] 
http://allyes.nie.163.com/main/adfclick?db=afanie&amp;bid=1256,612,23&amp;cid=146,4,1&amp;sid=1353&amp;show=ignore&amp;url=http://tx2.163.com/fab.html


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
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