Lines Matching refs:GParamSpec
19 * gparam.h: GParamSpec base class implementation
42 * @pspec: a valid #GParamSpec
44 * Casts a derived #GParamSpec object (e.g. of type #GParamSpecInt) into
45 * a #GParamSpec object.
47 #define G_PARAM_SPEC(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM, GParamSpec))
50 * @pspec: a #GParamSpec
52 * Checks whether @pspec "is a" valid #GParamSpec structure of type %G_TYPE_PARAM
73 * @pspec: a valid #GParamSpec
75 * Retrieves the #GParamSpecClass of a #GParamSpec.
83 * @pspec: a valid #GParamSpec
90 * @pspec: a valid #GParamSpec
97 * @pspec: a valid #GParamSpec
171 * Mask containing the bits of #GParamSpec.flags which are reserved for GLib.
178 * #GParamSpec.flags.
184 typedef struct _GParamSpec GParamSpec;
189 * GParamSpec:
196 * All other fields of the <structname>GParamSpec</structname> struct are private and
230 * The class structure for the <structname>GParamSpec</structname> type.
231 * Normally, <structname>GParamSpec</structname> classes are filled by
240 void (*finalize) (GParamSpec *pspec);
243 void (*value_set_default) (GParamSpec *pspec,
245 gboolean (*value_validate) (GParamSpec *pspec,
247 gint (*values_cmp) (GParamSpec *pspec,
269 GParamSpec* g_param_spec_ref (GParamSpec *pspec);
270 void g_param_spec_unref (GParamSpec *pspec);
271 void g_param_spec_sink (GParamSpec *pspec);
272 GParamSpec* g_param_spec_ref_sink (GParamSpec *pspec);
273 gpointer g_param_spec_get_qdata (GParamSpec *pspec,
275 void g_param_spec_set_qdata (GParamSpec *pspec,
278 void g_param_spec_set_qdata_full (GParamSpec *pspec,
282 gpointer g_param_spec_steal_qdata (GParamSpec *pspec,
284 GParamSpec* g_param_spec_get_redirect_target (GParamSpec *pspec);
286 void g_param_value_set_default (GParamSpec *pspec,
288 gboolean g_param_value_defaults (GParamSpec *pspec,
290 gboolean g_param_value_validate (GParamSpec *pspec,
292 gboolean g_param_value_convert (GParamSpec *pspec,
296 gint g_param_values_cmp (GParamSpec *pspec,
299 G_CONST_RETURN gchar* g_param_spec_get_name (GParamSpec *pspec);
300 G_CONST_RETURN gchar* g_param_spec_get_nick (GParamSpec *pspec);
301 G_CONST_RETURN gchar* g_param_spec_get_blurb (GParamSpec *pspec);
303 GParamSpec *param);
304 GParamSpec* g_value_get_param (const GValue *value);
305 GParamSpec* g_value_dup_param (const GValue *value);
309 GParamSpec *param);
312 GParamSpec *param);
322 * @value_type: The #GType of values conforming to this #GParamSpec
346 void (*instance_init) (GParamSpec *pspec); /* optional */
350 void (*finalize) (GParamSpec *pspec); /* optional */
351 void (*value_set_default) (GParamSpec *pspec, /* recommended */
353 gboolean (*value_validate) (GParamSpec *pspec, /* optional */
355 gint (*values_cmp) (GParamSpec *pspec, /* recommended */
376 GParamSpec *pspec,
379 GParamSpec *pspec);
380 GParamSpec* g_param_spec_pool_lookup (GParamSpecPool *pool,
386 GParamSpec** g_param_spec_pool_list (GParamSpecPool *pool,
394 * gboolean value_validate (GParamSpec *pspec,
401 * gint values_cmp (GParamSpec *pspec,