[pygtk] how to cut off the maximum button in the window?

holmes86 holmes86 at 163.com
Tue Oct 13 09:28:26 WST 2009


It works good,thanks very much





--

知其然,不知其所以然! 

在2009-10-13,"Dieter Verfaillie" <dieterv at optionexplicit.be> 写道:


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 <holmes86 at 163.com>:

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???????????????

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20091013/79ffcf56/attachment-0001.htm 


More information about the pygtk mailing list