Hello,

> On a related note:  Is there an elegant way to directly set the text
> for the entry to some arbitrary text?
I've read in the API documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBoxEntry.html#gtk-combo-box-entry-new
that the combox_entry has an entry as child, so I access it like that:
GtkComboBoxEntry wd;
GTK_BIN(wd)->child...
Then you can use the entry methods to set the text:
gtk_entry_set_tex(GTK_ENTRY(GTK_BIN(wd)->child), "hello there");

Damien.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to