Re: Inserting in the middle of a hbox



>>>>> "E" == Etienne Grossmann <etienne@anonimo.isr.ist.utl.pt> writes:

 E>   Thank you for the tip. I guess I can find (in the docs) a way to
 E> have the widget displayed only after the reordering has happened.

That's what the test program did :)  It called show after the
reordering...and that's really all there is to it.

 E> Also, is there any way to delete an element from a hbox?
 >>  I can't think of one...and I don't think there is...it would
 >> probably cause all kinds of problems with the packing.

 E>   Uh, oh; do you think I could do the following instead :

 E>   - Get back the children of the hbox,
 E>   - create a new hbox with only the wanted children.

 E>   Does it sound possible (especially, the first step may not be
 E> permitted by gtk)?

Well, a quick test would show, wouldn't it ;)

You can get the children from the 'children' GList in the GtkBox
structure.

How well it would work, I dare not say.

	/mailund



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]