[Gtk-sharp-list] Gtk.ComboBoxEntry issues with setting text...
Peter Johanson
peter at peterjohanson.com
Fri Mar 28 19:05:19 EDT 2008
On Fri, Mar 28, 2008 at 06:55:23PM -0400, Dennis Craven wrote:
> Hi list,
>
> I'm trying to use a ComboBoxEntry to show a list of strings. The model
> is of type ListStore. Once realized, the associated menu of available
> text
> selections drops down as expected, but when one is chosen, the given
> text does not appear in the ComboBoxEntry.Entry and the following
> assertion appears in the console:
>
> Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
See here:
http://library.gnome.org/devel/gtk/stable/GtkComboBoxEntry.html#id3858868
In particular, when using a Gtk.ComboBoxEntry, you must *always* have a
text column, and have the TextColumn property set to the column number
for the text column it should use.
-pete
More information about the Gtk-sharp-list
mailing list