Re: [gtkmm] How can I obtain index of selection? (Gtk::Combo)
- From: "Daniel J. Lauk" <Daniel Lauk Student FH-Reutlingen de>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] How can I obtain index of selection? (Gtk::Combo)
- Date: Wed, 29 Sep 2004 11:33:01 +0200
Hi.
In case it is of interest to anybody: For the time being I use the following
workaround:
I keep a private std::map<Glib::ustring, int> and when I set up the combo box
items I also feed each item and its index to the map.
The index then is available via a call to my_map[my_combo->get_entry()->get_text()].
Best regards,
DJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]