problem with gtk_list_store_set
- From: "Mrad James Deane" <xtremejames183 msn com>
- To: gtk-list gnome org
- Subject: problem with gtk_list_store_set
- Date: Thu, 27 Jul 2006 00:58:41 +0100
Hello , i got a little problem with this fuction , when i try to add a new
item to the list , it erase the last one , in final i got one item in my
list , and i want 5 items for example , this a piece of the code:
if(gtk_spin_button_get_value(GTK_SPIN_BUTTON(moy))>9.26)
{
strcpy(success,"Successed") ;
pass=TRUE;
}
else {
strcpy(success,"Dismissed");
pass=FALSE;
}
gtk_list_store_set(store,&iter,
STUDENT_COLUMN,gtk_entry_get_text(GTK_ENTRY(name)) ,
MOY_COLUMN,gtk_spin_button_get_value(GTK_SPIN_BUTTON(moy)),
PASS_COLUMN,pass,
MENTION_COLUMN,success,
-1);
Please help
_________________________________________________________________
Testez Windows Llive Mail Beta !
http://www.msn.fr/newhotmail/Default.asp?Ath=f
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]