[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

Re: [Vala] Hi, Is Vala what I am looking for?

2009-09-21 Thread Andrés G. Aragoneses
Thanks for all the insights Mike. Just one last question: Michael B. Trausch wrote: On Fri, 2009-09-18 at 08:54 -0400, Levi Bard wrote: It almost sounds to me like you want a C# compiler that targets real CPUs instead of targeting the CLI? You won't find that in Vala. Fortunately, mono

Re: [Vala] Hi, Is Vala what I am looking for?

2009-09-21 Thread Levi Bard
Would patches to create this C#-compat mode be accepted in Vala? If we must have this discussion yet again[0], can we at least not hijack Kratos's introduction thread? 0. http://markmail.org/message/5ckczur2yox4kjan -- http://homes.eff.org/~barlow/EconomyOfIdeas.html

Re: [Vala] Hi, Is Vala what I am looking for?

2009-09-21 Thread Andrés G. Aragoneses
Levi Bard wrote: Would patches to create this C#-compat mode be accepted in Vala? If we must have this discussion yet again[0], can we at least not Thank you, I didn't know about this thread. hijack Kratos's introduction thread? 0. http://markmail.org/message/5ckczur2yox4kjan However,

Re: [Vala] Hi, Is Vala what I am looking for?

2009-09-21 Thread Jiří Zárevúcky
On 09/21/2009 10:52 PM, Andrés G. Aragoneses wrote: [...] Of course, what I'm talking about is about adding one more user choice, not removal of Mono like the subject of the original thread is named (especially if you consider that I work for Novell on some Mono class libraries ;) ). At last,

[Vala] Final / Sealed classes in Vala

2009-09-21 Thread Treviño
Is it possible to define both in VAPIs and in a vala code a class which can not be extended? I mean something like final does for Java and sealed for C#... I think they could be useful for grouping static methods in virtual classes (I mean in a class which name has not a reference in a C

[Vala] Constructors in VAPI

2009-09-21 Thread Treviño
Hello, I've to define a constructor for a kind of virtual class that I'm defining in a VAPI. Practically I've some functions which can be applied to an int pointer, but I don't have a constructor (and I don't want to edit the C code), nor I want the developer to see that an int pointer is used as

Re: [Vala] Final / Sealed classes in Vala

2009-09-21 Thread Jan Hudec
On Tue, Sep 22, 2009 at 06:40:10 +0200, Marco Trevisan (Treviño) wrote: Is it possible to define both in VAPIs and in a vala code a class which can not be extended? I mean something like final does for Java and sealed for C#... I don't think so. Though some classes are not inheritable