[vala/0.40] manual: Update from wiki.gnome.org
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] manual: Update from wiki.gnome.org
- Date: Mon, 20 Aug 2018 08:57:55 +0000 (UTC)
commit d47564cd57f9b1abc646e1b4ced86a341f41b882
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Aug 18 10:59:47 2018 +0200
manual: Update from wiki.gnome.org
doc/manual/manual.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
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 @@
<section>
<title>Interface properties</title>
<para>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. </para>
-<para>Interfaces are not constructed, and so there is not concept of a construction property in an
interface. For more on properties in classes, see: <ulink
url="https://wiki.gnome.org/Projects/Vala/Manual/Export/Projects/Vala/Manual/Classes#Properties">Classes/Properties</ulink>.
</para><itemizedlist><listitem override="none">
+<para>Interfaces are not constructed so there is no concept of an interface construction property.
</para><itemizedlist><listitem override="none">
<para>interface-instance-property-declaration:</para><itemizedlist><listitem override="none">
<para>[ class-member-visibility-modifier ] [ class-method-type-modifier ] qualified-type-name property-name
<emphasis role="strong">{</emphasis> accessors [ default-value ] <emphasis role="strong">}</emphasis>
<emphasis role="strong">;</emphasis></para>
<para> [ class-member-visibility-modifier ] <emphasis role="strong">abstract</emphasis> qualified-type-name
property-name <emphasis role="strong">{</emphasis> automatic-accessors <emphasis role="strong">}</emphasis>
<emphasis role="strong">;</emphasis></para></listitem></itemizedlist></listitem></itemizedlist>
+<para>For properties in classes see <ulink
url="https://wiki.gnome.org/Projects/Vala/Manual/Export/Projects/Vala/Manual/Classes#Properties">Classes/Properties</ulink>.
</para>
</section>
<section>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]