[Gtk-sharp-list] Paned

Andy Selvig ajselvig at gmail.com
Tue Jul 21 14:12:23 EDT 2009


Remember to remove welcome_html before trying to add anything else to the
Paned. There should be a warning printed to the output if you don't.

On Tue, Jul 21, 2009 at 1:08 PM, Ronaldo Nascimento <sgtnasty at gmail.com>wrote:

> I am to dynamically provide a widget for the 2nd child of a HPaned
> widget. I am using the initial Add2 method, then later based on user
> interaction modify the child object with another one but I am not
> seeing the change in the interface at runtime.
>
> {
>    this.welcome_html = new HTML();
>    ...
>    this.hpaned3.Add2(this.welcome_html);
>    this.ShowAll();
> }
> // this works at the MainWindow constructor, the HTML widget shows
> properly in the 2nd child area of the HPaned object.
>
> // then later
> {
>    MyWidget w = new MyWidget();
>    ...
>    this.hpaned3.Add2(w);
>    this.ShowAll();
> }
> // however the initial HTML widget never gets replaced by the MyWidget
> object.
>
> Any help would be greatly appreciated.
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20090721/f3df84ba/attachment.html 


More information about the Gtk-sharp-list mailing list