[Gtk-sharp-list] Problem with a ScrolledWindow
tapia
tapia at mcatalog.net
Mon May 16 06:41:08 EDT 2005
Hi.
I'm trying to switch some widgets in a ScrolledWindow. The idea is
extract the child widget, and insert another one. The new one is a gecko
WebControl, so I have to insert it with AddWithViewport.
The result I have is an empty scrolledwindow, and the WebControl showing
in another window!
This is the code:
itemShelf.Unparent ();
if (swItems.Child != null) {
swItems.Remove (swItems.Child);
}
swItems.AddWithViewport (itemShelf);
swItems.ShowAll();
Do you see something strange? Am I doing something wrong, or is it a
gtk# bug?
Thank you all.
C.
More information about the Gtk-sharp-list
mailing list