2006/12/17, Peter Morgan <[EMAIL PROTECTED]>:
Is there a way to disable just the maximize "button" on a windows bar,
leaving only the minimize/iconify and close ?
you can *try* to ask the window manager to do that
import gtk
w = gtk.Window()
w.connect("destroy", gtk.main_quit)
w.set_default_size(200, 300)
w.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG)
w.show()
gtk.main()
btw not all the WM will honor your request, and on windows for example
you will get only the close button, on my WM it does wok.
cheers
--
Gian Mario Tagliaretti
http://www.parafernalia.org/pygtk/
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/