[Gtk-sharp-list] Gtk.ComboBoxEntry either Ridiculously designed, or i'm dumb!

Dan Winship danw at novell.com
Mon May 16 08:37:18 EDT 2005


On Sun, 2005-05-15 at 20:09 -0600, Phil Durand wrote:
> Ok, I'm using a Gtk.ComboBoxEntry (because the ComboBox is now
> obsolete) but I'm really finding it hard to use. I dont have an
> "entry" object in it, like the combobox had before, so I have no way
> of grabbing the text directly from the widget unless I play with
> Iters... its really becoming tedious.

I'm not sure it's currently mentioned anywhere in the gtk# docs, but the
entry is the child of the ComboBoxEntry. So you can say
"((Gtk.Entry)combo.Child).Text". We should probably add an "Entry"
property to ComboBoxEntry to make that less obscure...

-- Dan




More information about the Gtk-sharp-list mailing list