[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Vala] Problem with notifications
- From: "Juerg Billeter" <j bitron ch>
- To: "Maciej Piechotka" <uzytkownik2 gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Problem with notifications
- Date: Wed, 4 Jun 2008 13:24:23 +0200 (CEST)
On Wed, June 4, 2008 13:12, Maciej Piechotka wrote:
> I have a read-only property. However in some cases it is changed within
> the class (by _property). How to send notification about it?
> To call notify I have to get ParamSpec which I can receive by
> find_property
> to which I need to access ObjectClass I don't know how to access.
I'd recommend you to only change the property directly, then, and declare
the property as follows:
[Notify]
public int foo { get; private set; }
Juerg
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]