[Glade-users] GtkComboBoxText assertion `text_column >= 0' failed



Hi List,

Glade3.10/Gtk3: For GtkComboBoxText, gtk_combo_box_text_append_text(
GTK_COMBO_BOX_TEXT(CPNamecombo), "TEXT");
fails with message Gtk-CRITICAL **: gtk_combo_box_text_insert:
assertion `text_column >= 0' failed

Which property do I set in Glade to satisfy 'text_column >=0?

Glade file code:

                          <object class="GtkComboBoxText" id="CPNamecombo">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="wrap_width">6</property>
                            <property name="row_span_column">6</property>
                            <property name="column_span_column">6</property>
                            <property name="has_entry">True</property>
                            <property name="entry_text_column">6</property>
                            <child internal-child="entry">
                              <object class="GtkEntry" id="comboboxtext-entry">
                                <property name="can_focus">False</property>
                              </object>
                            </child>
                          </object>


Thanks
Rajesh




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