[Gtk-sharp-list] Automatically updating via ListStore.RowChanged event? (beginning C#/Gtk# programming)
Jesper K. Pedersen
jesper at famped.dk
Mon Feb 4 12:18:15 EST 2008
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.
I cannot get the ListStore.RowChanged event to call my function that
will send the updated data back to the backend service.
I have tried limiting my "ListStore Changed" callback to just
containing a callout of a debug message to my log but nothing show up.
I have also tried adding a button that manually calls the
ListStore.EmitRowChanged method but my method is still not responding.
Anyone with an example of using the ListStore.RowChanged event?
I suspect that here is some sort of "interference" with the TreeView
use of the ListStore to keep the treeview updated but I have no clue of
how to get around that - or even if that is the case.
Any hints are greatly appreciated.
More information about the Gtk-sharp-list