Re: [Vala] [Announce] xnoise - a media player written in vala

2010-06-20 Thread JM
The menu bar is optional. The screenshot is in compact mode (where the menubar is replaces by a button with a drop down menu). Also, the menu bar is almost never needed in xnoise, so we decided to offer this GUI version without the menu bar. Still the menu is available in the GUI and if you like a

[Vala] GBinding support?

2010-06-20 Thread Frederik
Hi, GLib/GObject 2.26 will add property binding [1]. The straightforward way to support this in Vala would be: Object.bind_property (foo, "x", bar, "y"); Object.bind_property (foo, "x", bar, "y", BindingFlags.BIDIRECTIONAL); However, this is not very type-safe. Would direct language support

Re: [Vala] GBinding support?

2010-06-20 Thread Fabian Deutsch
Hello, Am Sonntag, den 20.06.2010, 17:57 +0200 schrieb Frederik: > foo.x +> bar.y; // default > foo.x <+> bar.y; // bidirectional I'd suggest ~> or ->, because a change of a 'implies' a value change of b: foo.x ~> bar.y; // default foo.x <~> bar.y; // bidirectional

Re: [Vala] Adding my custom object to libGee.List...

2010-06-20 Thread Arkadi Viner
Thanks, that did the trick. On Sun, Jun 20, 2010 at 5:02 AM, Didier 'Ptitjes' wrote: > Hi, > > On 06/19/10 23:48, Arkadi Viner wrote: > > *so, the declaration look like this:* > > private Gee.List pdfDocuments = new Gee.ArrayList (); > > > > *and when I try to add some thing to it:* > >

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

2010-06-20 Thread Jürg Billeter
We are pleased to announce version 0.9.2 of Vala, a compiler for the GObject type system. Vala 0.9.2 is now available for download at: http://download.gnome.org/sources/vala/0.9/ Changes since 0.9.1 * Initial support for GDBus-based clients and servers. * Support implicit and explicit GVaria

Re: [Vala] Adding my custom object to libGee.List...

2010-06-20 Thread Arley Consuegra Rosello
I think that must be private Gee.List pdfDocuments = new Gee.ArrayList (); - Mensaje original - De: "Arkadi Viner" Para: vala-list@gnome.org Enviados: Sábado, 19 de Junio 2010 17:48:18 (GMT-0500) Auto-Detected Asunto: [Vala] Adding my custom object to libGee.List... Hi, In my program

Re: [Vala] Adding my custom object to libGee.List...

2010-06-20 Thread Arley Consuegra Rosello
Sorry I don´t have been see the answer that was posted before - Mensaje original - De: "Arley Consuegra Rosello" Para: "Arkadi Viner" CC: vala-list@gnome.org Enviados: Domingo, 20 de Junio 2010 22:13:45 (GMT-0500) Auto-Detected Asunto: Re: [Vala] Adding my custom object to libGee.List...

Re: [Vala] GBinding support?

2010-06-20 Thread Matias De la Puente
This stuff is great! very helpful for my project :) My suggestions: public class foo : Object { public int x { set; get; } public int y { set; get; } } public class bar : Object { private Foo foo = new Foo (); //One possibility public int x { set;