Method

GObjectParamSpecPoollookup

Declaration

GParamSpec*
g_param_spec_pool_lookup (
  GParamSpecPool* pool,
  const gchar* param_name,
  GType owner_type,
  gboolean walk_ancestors
)

Description

Looks up a GParamSpec in the pool.

Parameters

param_name const gchar*
 

The name to look for.

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

The owner to look for.

walk_ancestors gboolean
 

If TRUE, also try to find a GParamSpec with param_name owned by an ancestor of owner_type.

Return value

Returns: GParamSpec
 

The found GParamSpec, or NULL if no matching GParamSpec was found.

 The data is owned by the instance.
 The return value can be NULL.