[Gtk-sharp-list] Dynamically inserting widgets
JimD
Jim at keeliegirl.dyndns.org
Sat Jun 24 16:48:08 EDT 2006
Michael Hutchinson wrote:
> 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.
What method would I use to replace the label widget with some other widget?
Jim
--
_\|/_
(o o)
+----oOO-{_}-OOo-------------------------+
| You roll an 18 in Dex and see if you |
| don't end up with a girlfriend |
| JimD - Central FL, USA, Earth, Sol |
+----------------------------------------+
More information about the Gtk-sharp-list
mailing list