Method

GIRepositoryPropertyInfoget_setter

since: 2.80

Declaration

GIFunctionInfo*
gi_property_info_get_setter (
  GIPropertyInfo* info
)

Description

Obtains the setter function associated with this GIPropertyInfo.

The setter is only available for G_PARAM_WRITABLE properties that are also not G_PARAM_CONSTRUCT_ONLY.

Available since: 2.80

Return value

Type: GIFunctionInfo

The function info, or NULL if not set. Free it with gi_base_info_unref() when done.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.