Re: [Vala] ListStore and SQLite



2009/9/21 Nicolas <c r n a wanadoo fr>

Hi,
I made a simple program to fill a liststore with a sqlite db (name, age,
sex).
But, i have a problem, someone knows how to save in the db when user change
a cell ?


Just as you connect to the 'edited' signal of Gtk.CellRendererText, you need
to connect to the 'row-changed' and similar signals of Gtk.TreeModel.

http://library.gnome.org/devel/gtk/stable/GtkTreeModel.html#GtkTreeModel.signals

Simon


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]