From: Rico Tzschichholz Date: Sat, 18 Aug 2018 08:59:47 +0000 (+0200) Subject: manual: Update from wiki.gnome.org X-Git-Tag: 0.41.92~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb9dc347783018eb9f0386978f7e45958a3d75bb;p=thirdparty%2Fvala.git manual: Update from wiki.gnome.org --- diff --git a/doc/manual/manual.xml b/doc/manual/manual.xml index 4976566f0..b8251686a 100644 --- a/doc/manual/manual.xml +++ b/doc/manual/manual.xml @@ -1793,10 +1793,11 @@
Interface properties Interfaces can contain properties in a similar way to classes. As interfaces can not contain per instance data, interface properties cannot be created automatically. This means that all properties must either be declared abstract (and implemented by implementing classes,) or have explicit get and set clauses as appropriate. Vala does not allow an abstract property to be partially implemented, instead it should just define which actions (get, set or both) should be implemented. -Interfaces are not constructed, and so there is not concept of a construction property in an interface. For more on properties in classes, see: Classes/Properties. +Interfaces are not constructed so there is no concept of an interface construction property. interface-instance-property-declaration: [ class-member-visibility-modifier ] [ class-method-type-modifier ] qualified-type-name property-name { accessors [ default-value ] } ; [ class-member-visibility-modifier ] abstract qualified-type-name property-name { automatic-accessors } ; +For properties in classes see Classes/Properties.