From: shawn bright Date: 2007-08-09T01:26:21+09:00 Subject: Re: question about gtk.ComboBoxEntry ------=_Part_39390_30015906.1186590385164 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline thanks for the tip on the mailing list, joining now. thanks for the tips shawn On 8/8/07, Martin Portman wrote: > > shawn bright wrote: > > i cannot seem to find how to set the active text in a gtk.ComboBoxEntry. > > i can populate it with a list of items using the append_text(item) > method. > > but i cannot seem to find how to actually set the item i want to be > active. > > look in the superclass: > Gtk::ComboBox.set_active( index ) > > but you have to work out index yourself, rather than passing in > the text item. > > ruby-gnome2 has its own mailing list which is more suited for > questions like this: > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en > > martin. > > ------=_Part_39390_30015906.1186590385164--