Thomas Mills Hinkle napisaĆ(a): > > On 11/2/06, *Marcin Lewandowski* <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > Hi, > > > > I tried many things but I can't do that. Anyone can write me a short > > example how to allow resizing only on horizontal axis? Y size would be > > calculated automatically and should remain. > > > > > > You'll have to be a lot more specific for us to know what you're talking > > about. What sort of widget are you trying to resize? > > > > In any case, it's likely that if you review the packing section of the > > tutorial, you'll find the answers you need: > > http://www.pygtk.org/pygtk2tutorial/ch-PackingWidgets.html
Thanks, I've read tutorial and I think I'm familiar (in general) with gtk/pygtk but I don't know how to solve that particular problem. I think documentation lacks of examples and docs are very unprecise in that topic. 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. Thanks, -- Marcin Lewandowski _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
