[Vala] [Announcement] Gtkaml 0.2.7

2009-06-01 Thread Vlad Grecescu
Gtkaml 0.2.7 requires glib-2.0, vala-1.0 >= 0.7.3, libxml-2.0, and gtk+-2.0 Changes: * upgraded to valacompiler 0.7.3 Gtkaml is an XML parser that extends the Vala.Parser and transforms your markup into a valid Gtk+ GUI class described in the Vala language. http://gtkaml.org/0.2";> F

[Vala] signal pepare

2009-06-01 Thread aconsuegra
The signal prepare in the Gtk.Assistant wait by a Widget, these say http://valadoc.org/?pkg=gtk+-2.0&element=Gtk.Assistant.prepare but when I try the next code don't work. rad_local is a RadioButton and credenciales is a Dialog ... [CCode(instance_pos=-1)] protected void obtener_

[Vala] (no subject)

2009-06-01 Thread Martin Olsson
Joss 4 wrote: > Jürg Billeter wrote: >> [1] http://valadoc.org/?pkg=gio-2.0&element=GLib.File.append_to >> [2] http://library.gnome.org/devel/gio/stable/GFile.html#g-file-append-to > Thank you Jurg, > I gave a little look at the links you post me, but I don't want only > append data but update ; I

Re: [Vala] Problems with virtual extern methods.

2009-06-01 Thread Yu Feng
On Mon, 2009-06-01 at 18:38 +0200, Jiří Zárevúcky wrote: > Dne 1. červen 2009 11:23 Yu Feng napsal(a): > > If the interface definition is written in VALA to take the advantages of > > Vala > > You lost me at this line. Is VALA something else then Vala? My bad grammars. VALA = vala = Vala. In t

Re: [Vala] Problems with virtual extern methods.

2009-06-01 Thread Yu Feng
On Mon, 2009-06-01 at 12:15 +0200, Jürg Billeter wrote: > On Mon, 2009-06-01 at 05:23 -0400, Yu Feng wrote: > > Think about implementing the GtkBuildable interface(the interface > > itself) with VALA. > > > > If the interface definition is written in VALA to take the advantages of > > Vala, sever

Re: [Vala] Problems with virtual extern methods.

2009-06-01 Thread Jiří Zárevúcky
Dne 1. červen 2009 11:23 Yu Feng napsal(a): > If the interface definition is written in VALA to take the advantages of > Vala You lost me at this line. Is VALA something else then Vala? ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.or

[Vala] Cairo.vapi patch

2009-06-01 Thread Харин Роман
Hi, all Little patch for Cairo.vapi This patch only fix some enum declarations. -- Харин Роман jabber://har...@jabber.ru --- /home/user/temp/valac/vala-0.7.3/vapi/cairo.vapi 2009-05-06 01:52:09.0 +0400 +++ cairo.vapi 2009-06-01 20:09:11.0 +0400 @@ -152,6 +152,7 @@ public void

Re: [Vala] Problems with virtual extern methods.

2009-06-01 Thread Jürg Billeter
On Mon, 2009-06-01 at 05:23 -0400, Yu Feng wrote: > Think about implementing the GtkBuildable interface(the interface > itself) with VALA. > > If the interface definition is written in VALA to take the advantages of > Vala, several of the accessor functions have to be supplied in C because > they

Re: [Vala] Problems with virtual extern methods.

2009-06-01 Thread Yu Feng
Hi Jiri, Why doesn't it make sense? extern is just saying the code is written somewhere else with another language. I guess you were thinking of extern in C++ or something? Think about implementing the GtkBuildable interface(the interface itself) with VALA. If the interface definition is written

Re: [Vala] Problems with virtual extern methods.

2009-06-01 Thread Jiří Zárevúcky
I don't really think virtual and extern should be possible to combine. It doesn't make much sense IMHO. ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] file.copy problem

2009-06-01 Thread Yu Feng
I guess it is a problem of GIO on Windows. You can catch the error with try { ... } catch(IOError.EXISTS e) { // trash the old file and copy again. } - Yu On Mon, 2009-06-01 at 10:12 +0200, Joss 4 wrote: > oops, sorry , I forgot part of the error line... > > Hi, > > I have got this pro

Re: [Vala] Ownership and strings

2009-06-01 Thread Jiří Zárevúcky
Wow... that's some throughout explanation. So all string literals are in fact owned by the heap, right? Now it all finally makes sense. Thank you very much :) By the way, these information should really be part of the tutorial ;) ___ Vala-list mailing lis

Re: [Vala] using liststore objects

2009-06-01 Thread Yu Feng
On Fri, 2009-05-29 at 09:49 +0200, Joss 4 wrote: > Hi Yu, > I believe you forgot to cc the message to me. :) > Thanks again, > With your post I began to understand something abou the name convention > and style settings. Now I try to do some test. > In order to set GTK properties do you think it

[Vala] file.copy problem

2009-06-01 Thread Joss 4
oops, sorry , I forgot part of the error line... Hi, I have got this problem on file.copy function using valide 4.0 on windows. this is the code : . . . . test.copy (destBkup, FileCopyFlags.OVERWRITE, null, null); // create backup . . . . When I launch the program I got this warning : Pro

[Vala] File. copy problem

2009-06-01 Thread Joss 4
Hi, I have got this problem on file.copy function using valide 4.0 on windows. this is the code : . . . . test.copy (destBkup, FileCopyFlags.OVERWRITE, null, null); // create backup . . . . When I launch the program I got this warning : CRITICAL **: file F:/Progetti_VALA/PetBeGone/main.vala.c

Re: [Vala] List problem in Valide

2009-06-01 Thread Yu Feng
On Sat, 2009-05-30 at 22:22 +0200, Nicolas Joseph wrote: > Hello, > > Your first problem is due to the '<' character, could you post an > issue so that I will not forget: > http://code.google.com/p/valide/issues/list > > libgee is now included in libvala-1.0.dll, you just add the vala-1.0 package