[Vala] bind_property BindingTransformFunc

2012-09-16 Thread David Boesner
Hi guys, I have to follwing code: var check_button = ... make instance of Gtk.CheckButton var my_combobox = ... make instance of Gtk.ComboBox check_button.bind_property( active, my_combobox, sensitive,

[Vala] Named arguments support

2012-09-16 Thread Ivo Kosir
Hi everyone, When I make a simple method with default arguments, and try to put named arguments like this: void bar () {     foo(c: 121); } void foo (int a = 5, int b = 5) {} valac outputs me an error: Named arguments are not supported yet, does this mean it will be supported any time soon?

Re: [Vala] https://live.gnome.org/Vala BITWISE_XOR, Commandline parse with GLib

2012-09-16 Thread Luca Bruno
On Sat, Sep 1, 2012 at 3:20 AM, Osamu Aoki os...@debian.org wrote: Hi, I found a typo and a suggestion for example code as follows. Thanks for the suggestion. The wiki is open, so feel free to register and modify the pages. Best regards, -- www.debian.org - The Universal Operating System

Re: [Vala] Named arguments support

2012-09-16 Thread Luca Bruno
On Sat, Sep 1, 2012 at 6:46 PM, Ivo Kosir ivoko...@yahoo.com wrote: Hi everyone, When I make a simple method with default arguments, and try to put named arguments like this: void bar () { foo(c: 121); } void foo (int a = 5, int b = 5) {} valac outputs me an error: Named arguments

[Vala] [ANNOUNCE] Vala 0.17.7 - Compiler for the GObject type system

2012-09-16 Thread Jürg Billeter
We are pleased to announce version 0.17.7 of Vala, a compiler for the GObject type system. Vala 0.17.7 is now available for download at: http://download.gnome.org/sources/vala/0.17/ Changes since 0.17.6 * Add libgnome-menu-3.0 bindings. * Bug fixes and binding updates. Vala is a

[Vala] ANNOUNCE : Vala 0.12.0 + GTK 3.4.2 for Win32

2012-09-16 Thread tarnyko
Hi folks, I just re-released a bundle containing Vala 0.12.0 and GTK+ 3.4.2 for Windows XP/Vista/7. This one contains GTK+ 2.20.0, too, so you can still compile older GTK+ programs without modification. Download here : http://www.tarnyko.net/en/?q=node/1 or here :

Re: [Vala] ANNOUNCE : Vala 0.12.0 + GTK 3.4.2 for Win32

2012-09-16 Thread tarnyko
Whoops, Despite the mail's subject, very close to Jürg's one, I'm not a member of the Vala developement team. Sorry for the similarity. Tarnyko. tarn...@tarnyko.net writes: Hi folks, I just re-released a bundle containing Vala 0.12.0 and GTK+ 3.4.2 for Windows XP/Vista/7. This one

Re: [Vala] ANNOUNCE : Vala 0.12.0 + GTK 3.4.2 for Win32

2012-09-16 Thread Luca Bruno
Thanks for your work, it's very appreciated. If you want I can publish this on http://valajournal.blogspot.it/ -- www.debian.org - The Universal Operating System ___ vala-list mailing list vala-list@gnome.org

Re: [Vala] ANNOUNCE : Vala 0.12.0 + GTK 3.4.2 for Win32

2012-09-16 Thread tarnyko
Hi Luca, Thank you ! You're very welcome to put it on the blog ; the more references it can get on the web, the better ^^. Luca Bruno writes: Thanks for your work, it's very appreciated. If you want I can publish this on http://valajournal.blogspot.it/ -- www.debian.org - The

[Vala] Emacs Mode and lambda indentation

2012-09-16 Thread David Gomes
I don't know how to write Emacs modes, and vala-mode seems to have a problem: cubes.foreach (() = { }); It doesn't indent those well. Basically, instead of indenting with 4 spaces (like it does on if's, for's and other stuff), vala-mode indents with 8 spaces on the content** and with 4