You mean, like libgda[1]? I don't think there are vala bindings for it
already, but it shouldn't be too difficult to do since it's a gobject
based library.
Hi,
For libgda, take a look at:
https://bugzilla.gnome.org/show_bug.cgi?id=570372
Nicolas.
On Mon, 21 Sep 2009 14:10:34 +0200,
Nicolas c.r@wanadoo.fr wrote:
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 ?
Not an answer to your question... I was just wondering,
I wrote a GtkTreeModel that fronted SQLite years ago. I think Conduit still
uses a python prototype I made which is far more optimized than the original
prototype in C (EggSqliteStore). It might serve as a base however to get
you started.
http://audidude.com/dropbox/egg-sqlite-store/
--
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 ?
Thanks in adavance,
Nicolas.
This is my code:
using Gtk;
using Sqlite;
public TreeView treeview;
public ListStore
2009/9/21 Nicolas c.r@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