As gtkmm is the official C++ wrapper for gtk, I assumed that this would
be equivalent to gtk_combo_box_entry_get_active_text.  However, this is
not the case.

It appears that gtk_combo_box_entry_get_active_text gets the contents of
the entry widget.  However, Gtk::ComboBoxEntryText::get_active_text
returns the last selected row of the drop-down list (which is not the
same thing at all if the user has not selected a row or has edited the
value).

Is this intentional? If so it is very confusing. Similarly named
functions should surely behave identically. gtkmm can't really be
described as a gtk wrapper if it re-implements methods with different
semantics...

Peter Wainwright

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to