> I have gtk.Window. It have some widgets, so it gains dimensions > calculated by gtk and it's sum of those widgets' dimensions. I want to > lock that default height, but make user still being able to change width. > > I think it will be something with gtk.Window.set_geometry_hints but I > don't know how to use it.
Hi, I think you can catch the resize event, set the wanted width and ignore the height change. Maybe you must return True, to signal that the event handling is done. The above solution is just a guess. I am not a pygtk expert. Thomas _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
