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

Томислав Марковски tome@users.ossm.org.mk
Wed, 08 Sep 2004 00:04:28 +0200


On п╡я┌п╬, 2004-09-07 at 18:27, Maxim Telegin wrote:

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

Define this:

[Glade.Widget]
Gtk.Combo comboboxentry1;

which will reference the combo in your gui after you load the glade
file.