Class method

GObjectObjectClasslist_properties

Declaration

GParamSpec**
g_object_class_list_properties (
  GObjectClass* oclass,
  guint* n_properties
)

Description

Get an array of GParamSpec* for all properties of a class.

Parameters

n_properties guint*
 

Return location for the length of the returned array.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.

Return value

Returns: An array of GParamSpec*
 

An array of GParamSpec* which should be freed after use.

 The length of the array is in the n_properties argument.
 The caller of the method takes ownership of the data container, but not the data inside it.