Re: Filtering GtkComboBoxEntry input
- From: Damien Caliste <damien caliste cea fr>
- To: gtk-app-devel-list gnome org
- Subject: Re: Filtering GtkComboBoxEntry input
- Date: Mon, 13 Aug 2007 09:40:45 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]