[Gtk-sharp-list] Dynamically inserting widgets

Michael Hutchinson m.j.hutchinson at gmail.com
Sat Jun 24 11:53:24 EDT 2006

On 6/24/06, JimD <Jim at keeliegirl.dyndns.org> wrote:
> Is there a way to dynamically insert widgets at runtime with Gtk# when
> using Stetic?
> For example, with MD and Stetic I made a window with a VBox that has
> three areas/containers (what is the correct term for those in Gtk?).
> The first and last area/container I have added widgets while the middle
> one is empty.  At runtime I want to dynamically create a widget and
> insert it into the middle.  I only see a PackStart() and PackEnd() for VBox.

There's also the ReorderChild method, or you you could use some other
widget (e.g. a label) as a placeholder.

More information about the Gtk-sharp-list mailing list