diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-06-16 19:31:11 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-08-05 17:47:29 +0100 |
commit | 63eeaf114b3bf1e946671eaf28312e8c2d3cc891 (patch) | |
tree | 68935aba1d24096b706e64a0828c6eb4903b8151 /docs | |
parent | e39804f388e98992c0c5aaaa6de1295b08d6f7db (diff) | |
download | gobject-introspection-63eeaf114b3bf1e946671eaf28312e8c2d3cc891.tar.gz |
docs: Add the new accessors annotations
Mention them in the annotations list, and add the new attributes to the
GIR schema.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/gir-1.2.rnc | 5 | ||||
-rw-r--r-- | docs/website/annotations/giannotations.rst | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc index 6a39b20f..0170d987 100644 --- a/docs/gir-1.2.rnc +++ b/docs/gir-1.2.rnc @@ -593,6 +593,11 @@ grammar { element method { Callable.attrs, + ## The GObject property that is set by this method + attribute glib:set-property { xsd:string }?, + ## The GObject property that is retrieved by this method + attribute glib:get-property { xsd:string }?, + (Info.elements & Callable.params? & Callable.return?) diff --git a/docs/website/annotations/giannotations.rst b/docs/website/annotations/giannotations.rst index cacc20de..70534c92 100644 --- a/docs/website/annotations/giannotations.rst +++ b/docs/website/annotations/giannotations.rst @@ -97,6 +97,14 @@ Support for GObject objects - This function is the invoker for a virtual method. - :commit:`v0.6.3 <fdbe3cc3>` :bzbug:`557383` + * - ``(set-property NAME)`` + - identifier + - This function is a setter method for the given GObject property. + - :issue:`13` + * - ``(get-property NAME)`` + - identifier + - This function is a getter method for the given GObject property. + - :issue:`13` Support for GObject closures |