Re: [Vala] ListStore and SQLite

2009-09-26 Thread Nicolas
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.

Re: [Vala] ListStore and SQLite

2009-09-22 Thread Magentus
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,

Re: [Vala] ListStore and SQLite

2009-09-22 Thread Christian Hergert
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/ --

[Vala] ListStore and SQLite

2009-09-21 Thread Nicolas
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

Re: [Vala] ListStore and SQLite

2009-09-21 Thread Simon Arnaud
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