方法
GObjectParamSpecPoollookup
声明 [源代码]
GParamSpec*
g_param_spec_pool_lookup (
GParamSpecPool* pool,
const gchar* param_name,
GType owner_type,
gboolean walk_ancestors
)
参数
param_name-
类型:
const gchar*要查找的名称。
数据由方法调用者拥有。 值是一个以 NUL 结尾的 UTF-8 字符串。 owner_type-
类型:
GType要查找的所有者。
walk_ancestors-
类型:
gboolean如果
TRUE,还将尝试找到由owner_type的祖先拥有的具有param_name的GParamSpec。
返回值
类型: GParamSpec
找到的 GParamSpec,如果没有找到匹配的 GParamSpec,则为 NULL。
| 返回的数据由实例拥有。 |
返回值可以是 NULL。 |