> 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 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? That isn't the method you want. That is for the contents of the ListStore notifying the application that something changed. You want the other way around. http://lists.ximian.com/pipermail/gtk-sharp-list/2008-February/008395.html "ListStore.RowChanged will not fire in the selection changed scenario above, and won't fire in the CellRenderer.Edited scenario until you post the changed value back to the ListStore." > 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. Nope.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
