First off, yes this request can be approximated via a Table; that just
seems like overkill, however.

I need a Weighted Hbox.  By that, I mean that the pack_start and
pack_end methods would have a weight parameter, defaulting to 1 and
ignored unless expand is True.  Any child with a weight of 2 would
occupy twice the space of one with a width of 1.

Has anyone seen such a thing before?  If not, can anyone estimate how
difficult sub-classing Box or HBox would be (since I need to
manipulate the widths of the children), or should I just start at
Container and re-implement all of the Box functionality?

Thanks!
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to