summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/gir-1.2.rnc4
-rw-r--r--docs/website/annotations/giannotations.rst8
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc
index 0170d987..4244532e 100644
--- a/docs/gir-1.2.rnc
+++ b/docs/gir-1.2.rnc
@@ -347,6 +347,10 @@ grammar {
attribute construct { "0" | "1" }?,
## Binary attribute, true if the property can only be set upon construction
attribute construct-only { "0" | "1" }?,
+ ## The setter function for this property
+ attribute setter { xsd:string }?,
+ ## The getter function for this property
+ attribute getter { xsd:string }?,
# Define the transfer of ownership of the property element
TransferOwnership?,
diff --git a/docs/website/annotations/giannotations.rst b/docs/website/annotations/giannotations.rst
index 70534c92..10582739 100644
--- a/docs/website/annotations/giannotations.rst
+++ b/docs/website/annotations/giannotations.rst
@@ -105,6 +105,14 @@ Support for GObject objects
- identifier
- This function is a getter method for the given GObject property.
- :issue:`13`
+ * - ``(setter SYMBOL)``
+ - identifier
+ - This GObject property is accessed by the given setter function
+ - :issue:`13`
+ * - ``(getter SYMBOL)``
+ - identifier
+ - This GObject property is accessed by the given getter function
+ - :issue:`13`
Support for GObject closures