| View previous topic :: View next topic |
| Author |
Message |
filth
Joined: 02 Sep 2006 Posts: 5
|
Posted: Sat Sep 02, 2006 6:22 pm Post subject: is it possible to edit a GtkListStore entry |
|
|
I am making a simple application at present.
I am storing a table of data in a GtkListStore and woud like to edit 1 of the columns for a particular entry.
I know how to select and use the row I want but I have found no way to edit the data.
I have tried the following:-
| Code: | $this->liststore->set($iter, 2, $exp_date);
|
Which resulted in the following error:-
| Quote: | | Gtk-CRITICAL **: gtk_list_store_set_value: assertion `VALID_ITER (iter, list_store)' failed |
I am not 100% sure what this error message is telling me but I assume it is telling me the iter is invalid.
Can anyone guide me in the right direction? |
|
| Back to top |
|
 |
filth
Joined: 02 Sep 2006 Posts: 5
|
Posted: Mon Sep 04, 2006 6:35 pm Post subject: |
|
|
ok I feel a dumbass, not sure what I was doing wrong but got it working and is very simple  |
|
| Back to top |
|
 |
|