[gtkmm] ComboBoxText: Add warning about not confusing these.



commit 11decc65f8a57d265709da89147951dc7aea3551
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Feb 8 09:44:51 2011 +0100

    ComboBoxText: Add warning about not confusing these.
    
    * gtk/src/comboboxtext.hg: Add a doxygen comment warning people not to
    call set_model() on these or to pack more cells in.
    Bug #619656 (JimO, Kjell Ahlstedt)

 ChangeLog               |    8 ++++++++
 gtk/src/comboboxtext.hg |    4 +++-
 2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index eaa93d7..b9c7af9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-02-08  Murray Cumming  <murrayc murrayc com>
 
+	ComboBoxText: Add warning about not confusing these.
+
+	* gtk/src/comboboxtext.hg: Add a doxygen comment warning people not to 
+	call set_model() on these or to pack more cells in.
+	Bug #619656 (JimO, Kjell Ahlstedt)
+
+2011-02-08  Murray Cumming  <murrayc murrayc com>
+
 	ComboBox: Slight documentation improvements.
 
 	* gtk/src/combobox.hg:
diff --git a/gtk/src/comboboxtext.hg b/gtk/src/comboboxtext.hg
index ba4ffd8..e64fe3e 100644
--- a/gtk/src/comboboxtext.hg
+++ b/gtk/src/comboboxtext.hg
@@ -30,7 +30,9 @@ namespace Gtk
  * You can add items to a ComboBoxText with append(), insert() or prepend() and remove items with remove_text().
  *
  * If the ComboBoxText contains an entry (via the 'has_entry' property), its contents can be retrieved using 
- * get_active_text(). The entry itself can be accessed by calling ComboBox::get_entry() or ComboBox::get_entry_text(). 
+ * get_active_text(). The entry itself can be accessed by calling ComboBox::get_entry() or ComboBox::get_entry_text().
+ *
+ * You should not call set_model() or attempt to pack more cells into this combo box via its CellLayout base class.
  *
  * @ingroup Widgets
  */



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