[pygtk] how to cut off the maximum button in the window?
Dieter Verfaillie
dieterv at optionexplicit.be
Tue Oct 13 03:37:22 WST 2009
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???????????????[1]
Links:
------
[1] http://allyes.nie.163.com/main/adfclick?db=afanie&bid=1256,612,23&cid=146,4,1&sid=1353&show=ignore&url=http://tx2.163.com/fab.html
----------------------------------------------------------------
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/20091012/2c6bcce9/attachment.htm
More information about the pygtk
mailing list