[Gtk-sharp-list] Loading Gtk.Combo from .glade file

Maxim Telegin aiker@rambler.ru
Tue, 07 Sep 2004 20:27:53 +0400


Hi, all!

I'm trying to get Gtk.Combo widget defined in .glade file. I'm using 
next code:

-----
Glade.Xml gxml = new Glade.XML (null, "gladesharp1.glade", "window1", 
null);
object obj = gxml.GetWidget("comboboxentry1");
------

But object returned by last line of code has Gtk.Bin type witch I 
cannot cast to Gtk.Combo. How I can get the Gtk.Combo widget?

Thanks.