Marcus Habermehl (BMH1980) wrote: > Peter Morgan schrieb: > > Is there a way to disable just the maximize "button" on a windows bar, > > leaving only the minimize/iconify and close ? > > > > Please searching but cannot find.. > > Do you searching for set_resizable(False)?
I also have this in a custom wrapper over gtk.Window: def make_only_horizontally_resizable (self): self.set_geometry_hints (self, max_width = sys.maxint, max_height = -1) It keeps window resizable, but only horizontally. Good for e.g. dialogs with entries only. Paul _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/