[Gtk-sharp-list] Dynamically inserting widgets
Rafael Teixeira
monoman at gmail.com
Sat Jun 24 11:29:55 EDT 2006
You don't need to.
You can export the widget to stetic and use it from the palette.
Simply create the widget with the new stetic-aware wizard/template,
and export it in the Project Options Dialog.
Hope it helps,
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.
>
> The main thing I am looking to do is place a custom widget (the one that
> Peter sent as a Boo example) on a window. I don't see anywhere in
> MD/Stetic to add a custom widget or to use a placeholder and replace it.
>
> Thanks,
>
> 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 |
> +----------------------------------------+
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
--
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw
More information about the Gtk-sharp-list
mailing list