|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Combo box issueHello 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.. _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Combo box issuesignal_changed() of Gtk::ComboBox for the case the user selects with the dropdown:
http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1ComboBox.html#d499b1a7834dae64f9b30f7b036c3321 Just btw if you want to automate the system like this is there a specific reason you're using a ComboBoxEntry(Text)? Just wondering in case you missed the API of the plain ComboBox :) -- Milosz
2008/7/12 Jamiil <arbolone@...>: Hello folks, -- ------------ Please note that according to the German law on data retention, information on every electronic information exchange with me is retained for a period of six months. [Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.] _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Combo box issueThanks man, for the help, I already knew the answer, but I was so tired and desperate to resolve this issue that I could not come up with it... I sure you are familiar with this problem too. Have a good one, but if you are going to have more than one give me a shout! Milosz Derezynski wrote: signal_changed() of Gtk::ComboBox for the case the user selects with the dropdown: -- 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.. _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
| Free Forum Powered by Nabble | Forum Help |