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

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to