[Gtk-sharp-list] How do I get the contents of a ComboBoxEntry?

Ben Motmans ben.motmans at gmail.com
Sat Aug 27 18:17:36 EDT 2005


On 8/27/05, Douglas Hammond <djhammond at allaroundit.com> wrote:
> How do I get the contents of a ComboBoxEntry?
> 
> ComboBoxEntry looks very confusing compared to Combo
> 
> i would like to use it as Combo is depricated.  An example would be nice.

if you have an up-to-date version of gtk-sharp, you can use the .Entry
property to get the Entry, otherwise you can use this little
work-around:
Entry e = someComboBoxEntry.Child as Entry;

-- Ben


More information about the Gtk-sharp-list mailing list