[Gtk-sharp-list] Paned

Ronaldo Nascimento sgtnasty at gmail.com
Tue Jul 21 14:22:20 EDT 2009


Awesome that worked!
Thanks so much

On Tue, Jul 21, 2009 at 2:12 PM, Andy Selvig<ajselvig at gmail.com> wrote:
> 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
>
>


More information about the Gtk-sharp-list mailing list