On 21 June 2010 01:57, Frederik wrote:
> 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);
Would foo.x.bind_property b
I personally dislike the 'var' usage because it make the code harder to
understand.
On Mon, Jun 21, 2010 at 12:20 PM, Xavier Bestel wrote:
> On Sun, 2010-06-20 at 21:28 +0300, Arkadi Viner wrote:
> > Thanks, that did the trick.
> >
> > On Sun, Jun 20, 2010 at 5:02 AM, Didier 'Ptitjes'
> wrote:
On Sun, 2010-06-20 at 21:28 +0300, Arkadi Viner wrote:
> 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.A
On 06/21/10 11:20, Xavier Bestel wrote:
> On Sun, 2010-06-20 at 21:28 +0300, Arkadi Viner wrote:
>> 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:*
Am 21.06.2010 09:29, Fredderic Unpenstein wrote:
> On 21 June 2010 01:57, Frederik wrote:
>> 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", Bi
Am 21.06.2010 05:51, Matias De la Puente wrote:
> 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 Fo
Hi,
On Sun, 2010-06-20 at 17:57 +0200, Frederik wrote:
> 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);
>
> Ho