GtkCombo, insert entry
- From: "Arno Dark" <dark-arno ifrance com>
- To: <gtk-app-devel-list gnome org>
- Subject: GtkCombo, insert entry
- Date: Mon, 18 Nov 2002 15:57:44 GMT
Hello,
I would like to insert in the GtkCombo list, an entry. So I do :
gtk_entry_set_text(GTK_ENTRY (GTK_COMBO (combo)->entry), filtre);
list = GTK_LIST (GTK_COMBO (combo)->list);
items = g_list_append(NULL, filtre);
gtk_list_insert_items(list, items, 1);
g_free(filtre);
But I have a segmentation fault. Could you help me ?
Also, I would like that when I insert a word in the entry of the
gtkcombo and when I press enter, it execute a function.
Thk
Arno
__________________________________________________
Modem offert : 150,92 euros remboursés sur le Pack eXtense de Wanadoo !
Haut débit à partir de 30 euros/mois : http://www.ifrance.com/_reloc/w
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]