Re: Combo Box Entry



On Wed, 2006-01-11 at 16:52 +0100, N poleone wrote:
> Hi,
> I don't understand how to add element (or list of elements) to a Combo
> Box Entry.
> I thougth it was possible with set_popdown_strings, but this function
> isn't in Combo Box Entry... So, how can i do it???

set_popdown_strings went away. my utility equivalent:

void
Gtkmm2ext::set_popdown_strings (Gtk::ComboBoxText& cr, const
vector<string>& strings)
{
	cr.clear ();

	for (vector<string>::const_iterator i = strings.begin(); i !=
strings.end(); ++i) {
		cr.append_text (*i);
	}
}






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]