[pygtk] Apportioning space when resizing a box
Miki
daily.cron at gmail.com
Thu Mar 1 16:34:49 WST 2007
Hi,
maybe the gtk.Alignment() should helps you:
http://www.pygtk.org/docs/pygtk/class-gtkalignment.html
Miki
On 3/1/07, Jeffrey Barish <jeff_barish at earthlink.net> wrote:
>
> Is there a way to apportion space when resizing a box? For example,
> suppose
> that you have two widgets in a hbox. Is there a way to specify that one
> should get 1/3 of the available width and the other 2/3? I'm looking for
> something like that the wxPython proportion parameter.
>
> Also, is there a concept of a spacer? You might have two widgets that you
> want spaced uniformly on a line. Specifying spacer | widget1 | spacer |
> widget2 | spacer and turning fill on for the spacers but not for the
> widgets would get the job done. Is there another way?
> --
> Jeffrey Barish
>
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20070301/7b48cb60/at=
tachment.htm
More information about the pygtk
mailing list