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 <[email protected]>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 - [email protected] > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list >
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
