Combo box issue



Hello folks,
In a 'Gtk::ComboBoxEntryText' are four items that are set as 'prepend_text', [Fruit, Vegetable, Meat, Fish]. When the user select one of this items from the list the user thens move to another combo box that will display only the names of fruits or vegetables or meats or types of fish that are stored in a STL container [vector], depending on what the user has selected. What I would like to do is to , as soon as the cursor moves to the second pop up box, retrieve from the STL container all the instances of the user's selection [names of different fruits, veggies, meats or types of fish]. Now, how can I find out when the user has made a selection in the first combo box? Is there a signal send by 'Gtk::ComboBoxEntryText' that I should catch?

Thanks in advance

--
Happiness has many doors, and when one of them closes another opens, yet we spent so much time looking at the one that is shut that we don't see the one that just opened..



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