gnope php gtk gui gnope.org  

is it possible to edit a GtkListStore entry

 
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners
View previous topic :: View next topic  
Author Message
filth



Joined: 02 Sep 2006
Posts: 5

PostPosted: Sat Sep 02, 2006 6:22 pm    Post subject: is it possible to edit a GtkListStore entry Reply with quote

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

PostPosted: Mon Sep 04, 2006 6:35 pm    Post subject: Reply with quote

ok I feel a dumbass, not sure what I was doing wrong but got it working and is very simple Embarassed
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.