[Gtk-sharp-list] Automatically updating via ListStore.RowChanged event? (beginning C#/Gtk# programming)
Jesper K. Pedersen
linux at famped.dk
Tue Feb 12 12:21:38 EST 2008
On Tue, 12 Feb 2008 09:02:31 -0500
Adam Tauno Williams <adam at morrison-ind.com> wrote:
> > I am making a small application using Gtk#/C# where I have a
> > collection of data stored in a ListStore.
> > What I am trying to get done is that when the ListStore content
> > change through user input via the GUI a backend datastore will
> > automatically update its data.
> > My ListStore is presented to the user in a TreeView and I can
> > enter/change my data without a problem.
> Wasn't this question & answered just asked a few days ago?
I am sorry for this double posting - this email had initially been sent through an email
account I didnt have registered for this list and I had received a
response from the mailing list that it was not released due to that so
I sent it through my registered account.
The question was commented on - but I did actually get the function to
work of calling my database update function on the background on
updating the data instead of being initiated by the frontend.
We dont agree completely if that is a good method - but I think it
makes more "object oriented" sense to have the data itself change it
backup storage instead of having this happen as a function of who
change it. The advantage I find in this approace is that nomatter
who/what/how the data is changed - the change is propagated to the
backend storage instead of needing an "update-backend" public method.
Thank you - and sorry for the doubleing of the original question.
More information about the Gtk-sharp-list