Re: [Vala] [Bug 590324] Syntax sugar for notifications
- From: Frederik <scumm_fredo gmx net>
- To: vala-list <vala-list gnome org>
- Subject: Re: [Vala] [Bug 590324] Syntax sugar for notifications
- Date: Sun, 30 Aug 2009 11:53:26 +0200
Maciej Piechotka wrote:
I tried to contact vala developers other ways but I guess I'm filtered
out by spam filters or something like that.
I'd like to propose a sugar syntax for notifications:
object.property::notify += ...
or
object.notify::property += ...
The second syntax will work with details of signals as well.
The bug report says: "Currently it's rather hard to subscibe to single
change notification."
The current syntax is:
object.notify["property"] += ... // deprecated
or
object.notify["property"].connect (...)
How is this hard?
Best regards,
Frederik
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]