Method
GObjectParamSpecPoollookup
Declaration [src]
GParamSpec*
g_param_spec_pool_lookup (
GParamSpecPool* pool,
const gchar* param_name,
GType owner_type,
gboolean walk_ancestors
)
Parameters
param_name-
Type:
const gchar*The name to look for.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. owner_type-
Type:
GTypeThe owner to look for.
walk_ancestors-
Type:
gbooleanIf
TRUE, also try to find aGParamSpecwithparam_nameowned by an ancestor ofowner_type.
Return value
Type: GParamSpec
The found GParamSpec, or NULL if no
matching GParamSpec was found.
| The returned data is owned by the instance. |
The return value can be NULL. |