Patch committed. An "hasentry flag" has been added to newcombo verb, allowing it to implement all types of text combos. readcombo verb should now work in all cases. Some old verbs (newcombotext, setcombotext) have been preserved for backward compatibility, even if no longer necessary. I've added some new verbs to get/set combo items.
Lorenzo bill lam-2 wrote: > > I also noticed this, some parts of gktide fail because of this, eg. the > find button in the FIF dialog. newcombo verb works because there are > conditional code for GTK3. readcombo verb should also be rewritten for > GTK3 > but unfortunately both Chris and I are too busy to write a patch at the > moment. > > Can you do it by yourself? I guess it may use gtk_combo_get_active to get > the index, and then obtain the path of the item in the liststore, and then > get the required text. (untest) > > Втр, 23 Авг 2011, L.Tomei писал(а): >> >> I'm playing with J and GTK3. >> I found some problems in gui/gtk about combo boxes, >> whose API are slightly different in GTK2 and GTK3. >> The newcombo verb (to create a combo box with entry) still works, >> but the readcombo verb (to read the active combo value) returns an error, >> because gtk_combo_box_get_active_text has been decommitted in GTK3. >> >> -- >> View this message in context: >> http://old.nabble.com/combo-box-in-GTK3-tp32318330s24193p32318330.html >> Sent from the J Programming mailing list archive at Nabble.com. >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- View this message in context: http://old.nabble.com/combo-box-in-GTK3-tp32318330s24193p32327985.html Sent from the J Programming mailing list archive at Nabble.com. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
