[Gtk-sharp-list] Loading Gtk.Combo from .glade file
Tue, 7 Sep 2004 18:57:01 +0200
Isn't the name you are requesting (comboboxentry1) only the Entry widget
part of the combobox?
The combobox itself is a larger widget that is built around it (inclusing
the popup menu and the arrow button).
Check your gui in glade... (Use the widgettree)
You probably want "combobox1" or something like that.
Hope this helps
----- Original Message -----
From: "Maxim Telegin" <firstname.lastname@example.org>
Sent: Tuesday, September 07, 2004 6:27 PM
Subject: [Gtk-sharp-list] Loading Gtk.Combo from .glade file
> 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",
> 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?
> Gtk-sharp-list maillist - Gtkemail@example.com