Emmanuele Bassi 39d518267b Add new annotations for property accessors
We introduce two new annotations:

  - (set-property PROPERTY_NAME)
  - (get-property PROPERTY_NAME)

These annotations are valid inside function blocks for methods on
objects and interfaces, and define whether a function is a property
accessor, e.g.:

    /**
     * gtk_widget_set_name: (set-property name)
     * @self: ...
     * @name: ...
     *
     * ...
     */

    /**
     * gtk_widget_get_name: (get-property name)
     * @self: ...
     *
     * ...
     *
     * Returns: ...
     */

The annotations are transformed into the GIR data as attributes:

 - glib:set-property="PROPERTY_NAME"
 - glib:get-property="PROPERTY_NAME"

The underlying typelib data has had flags for setter and getter
functions for a while, but they have never been plugged into the GIR
data or the introspection scanner. Now they are; you can retrieve the
GIPropertyInfo from a GIFunctionInfo that has the GI_FUNCTION_IS_SETTER
or GI_FUNCTION_IS_GETTER flags set.

Fixes: #13
2021-08-05 17:47:29 +01:00
2012-10-16 10:58:08 -04:00
2021-08-05 16:24:23 +00:00
2021-06-24 18:17:56 +00:00
2021-08-05 16:24:23 +00:00
2021-08-05 16:24:23 +00:00
2018-07-29 18:57:03 +02:00
2012-02-03 13:42:56 -05:00
2013-10-10 16:48:51 -04:00
2012-02-03 13:42:56 -05:00
2012-02-03 13:42:56 -05:00
2021-08-05 16:24:23 +00:00
2012-10-16 10:58:08 -04:00
2018-07-29 18:57:03 +02:00
Description
Low-level core library that forms the basis for projects such as GTK+ and GNOME.
136 MiB
Languages
C 95.3%
Python 2.3%
Meson 1.3%
Objective-C 0.3%
Shell 0.2%
Other 0.5%