Re: [Vala] GBinding support?
- From: Matias De la Puente <mfpuente ar gmail com>
- To: Fabian Deutsch <fabian deutsch gmx de>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] GBinding support?
- Date: Mon, 21 Jun 2010 00:51:15 -0300
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; get; } as foo.x;
public int y { private set; get; } as foo.y; //one direction
//Another possibility
public int x { set; get; } bind foo.x;
public int y { private set; get; } bind foo.y; //one direction
}
Matias
El dom, 20-06-2010 a las 18:06 +0200, Fabian Deutsch escribió:
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
- fabian
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]