方法

GObjectParamSpecPoollist

声明 [源]

GParamSpec**
g_param_spec_pool_list (
  GParamSpecPool* pool,
  GType owner_type,
  guint* n_pspecs_p
)

描述 [源]

获取所有属于owner_type的池中GParamSpecs的数组。

参数

owner_type

类型: GType

要查找的所有者。

n_pspecs_p

类型: guint*

返回数组长度的位置。

该参数将由函数设置。

返回值

类型: GParamSpec*数组

一个新分配的数组,包含指向池中属于owner_type的所有GParamSpecs的指针。

数组的长度在n_pspecs_p参数中。
方法调用的调用者将拥有返回数据容器的所有权,但不拥有其中的数据。