[gtkmm] ComboBoxText: Add append()/prepend()/insert overloads.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] ComboBoxText: Add append()/prepend()/insert overloads.
- Date: Fri, 3 Dec 2010 11:16:13 +0000 (UTC)
commit d14d58cdb26e42b920ba13019fca6a216f0f7b18
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Dec 3 12:15:52 2010 +0100
ComboBoxText: Add append()/prepend()/insert overloads.
* gtk/src/comboboxtext.hg: Rename append_text(), prepend_text() and
insert_text() to append(), prepend() and insert(). Add extra overloads that
also take an id, to wrap the new gtk_combo_box_text_append(),
gtk_combo_box_text_prepend() and gtk_combo_box_text_insert() functions.
ChangeLog | 9 +++++++++
gtk/src/comboboxtext.hg | 10 +++++++---
2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 372ecdc..d564de4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2010-12-03 Murray Cumming <murrayc murrayc com>
+ ComboBoxText: Add append()/prepend()/insert overloads.
+
+ * gtk/src/comboboxtext.hg: Rename append_text(), prepend_text() and
+ insert_text() to append(), prepend() and insert(). Add extra overloads that
+ also take an id, to wrap the new gtk_combo_box_text_append(),
+ gtk_combo_box_text_prepend() and gtk_combo_box_text_insert() functions.
+
+2010-12-03 Murray Cumming <murrayc murrayc com>
+
Widget: Remove the no_expose_event signal to fix the build.
* gtk/src/widget.hg: The signal was removed from GTK+.
diff --git a/gtk/src/comboboxtext.hg b/gtk/src/comboboxtext.hg
index 0dddd8a..adf9f60 100644
--- a/gtk/src/comboboxtext.hg
+++ b/gtk/src/comboboxtext.hg
@@ -50,9 +50,13 @@ public:
explicit ComboBoxText(const Glib::RefPtr<TreeModel>& model, bool has_entry = false);
_IGNORE(gtk_combo_box_text_new_with_model)
- _WRAP_METHOD(void append_text(const Glib::ustring& text), gtk_combo_box_text_append_text)
- _WRAP_METHOD(void insert_text(int position, const Glib::ustring& text), gtk_combo_box_text_insert_text)
- _WRAP_METHOD(void prepend_text(const Glib::ustring& text), gtk_combo_box_text_prepend_text)
+ _WRAP_METHOD(void append(const Glib::ustring& text), gtk_combo_box_text_append_text)
+ _WRAP_METHOD(void append(const Glib::ustring& id, const Glib::ustring& text), gtk_combo_box_text_append)
+ _WRAP_METHOD(void insert(int position, const Glib::ustring& text), gtk_combo_box_text_insert_text)
+ _WRAP_METHOD(void insert(int position, const Glib::ustring& id, const Glib::ustring& text), gtk_combo_box_text_insert)
+ _WRAP_METHOD(void prepend(const Glib::ustring& text), gtk_combo_box_text_prepend_text)
+ _WRAP_METHOD(void prepend(const Glib::ustring& id, const Glib::ustring& text), gtk_combo_box_text_prepend)
+
_WRAP_METHOD(void remove_text(int position), gtk_combo_box_text_remove)
_WRAP_METHOD(Glib::ustring get_active_text() const, gtk_combo_box_text_get_active_text)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]