Class method

GObjectObjectClassfind_property

Declaration

GParamSpec*
g_object_class_find_property (
  GObjectClass* oclass,
  const gchar* property_name
)

Description

Looks up the GParamSpec for a property of a class.

Parameters

property_name const gchar*
 

The name of the property to look up.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: GParamSpec
 

The GParamSpec for the property, or NULL if the class doesn’t have a property of that name.

 The data is owned by the instance.