Re: inserting widgets in the middle
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: gtkmm-list gnome org
- Subject: Re: inserting widgets in the middle
- Date: Sat, 2 Dec 2006 00:58:26 +0200
Kasper Peeters wrote:
> I am trying to insert a widget somewhere in the middle of an already
> populated VBox. [...]
As far as I can tell from available set of C functions, this is not
supported. However, if C++ does support it, that's cool.
There are two standard approaches: pack first part at start, second
part at end. Then you can pack additional widgets at start to
"insert between parts." Of course, this approach is not generic
and will not work for arbitrary box or for more than one insertion
point.
Alternatively, pack an (initially empty container, e.g. another box)
at insertion point and insert into it.
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]