On Thu, Oct 8, 2009 at 8:43 PM, samwyse <[email protected]> wrote:

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

I dont think this is duable in HBox. Care to enlighten us why you wouldn't
use Tables for this instead and why you claimed that using Tables in this
scenario is overkill?

>
> 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!
>



-- 
b3rx

"Don't be trapped by dogma - which is living with the results of other
people's thinking. - Steve Jobs"

`There are only 10 types of people in the world — those who understand
binary, and those who don't.'
_______________________________________________
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