[pygtk] Resize only on X axis

Thomas Mills Hinkle tmhinkle at gmail.com
Thu Nov 2 21:51:18 WST 2006


On 11/2/06, Marcin Lewandowski <lists at saepia.net> 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

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20061102/9766533f/at=
tachment.htm


More information about the pygtk mailing list