1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
<title>Parameters and Values</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
<link rel="start" href="index.html" title="GObject Reference Manual">
8
<link rel="up" href="rn01.html" title="API Reference">
9
<link rel="prev" href="gobject-Generic-values.html" title="Generic Values">
10
<link rel="next" href="gobject-Varargs-Value-Collection.html" title="Varargs Value Collection">
11
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="preface" href="pr01.html" title="Introduction">
14
<link rel="part" href="pt01.html" title="Part I. Concepts">
15
<link rel="chapter" href="ch01.html" title="Background">
16
<link rel="chapter" href="ch02.html" title="The Glib Dynamic Type System">
17
<link rel="chapter" href="chapter-gobject.html" title="The GObject base class">
18
<link rel="chapter" href="chapter-signal.html" title="The GObject messaging system">
19
<link rel="reference" href="rn01.html" title="API Reference">
20
<link rel="reference" href="rn02.html" title="Tools Reference">
21
<link rel="part" href="pt02.html" title="Part IV. Tutorial">
22
<link rel="chapter" href="howto-gobject.html" title="How To define and implement a new GObject?">
23
<link rel="chapter" href="howto-interface.html" title="How To define and implement Interfaces?">
24
<link rel="chapter" href="howto-signals.html" title="Howto create and use signals">
25
<link rel="part" href="pt03.html" title="Part V. Related Tools">
26
<link rel="chapter" href="tools-gob.html" title="GObject builder">
27
<link rel="chapter" href="tools-ginspector.html" title="Graphical inspection of Gobjects">
28
<link rel="chapter" href="tools-refdb.html" title="Debugging reference count problems">
29
<link rel="chapter" href="tools-gtkdoc.html" title="Writing API docs">
30
<link rel="index" href="ix01.html" title="Index">
31
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
32
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
33
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
34
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
35
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
36
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
37
<link rel="index" href="ix08.html" title="Index of new symbols in 2.12">
39
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
40
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
42
<td><a accesskey="p" href="gobject-Generic-values.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
43
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
44
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
45
<th width="100%" align="center">GObject Reference Manual</th>
46
<td><a accesskey="n" href="gobject-Varargs-Value-Collection.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
48
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3094195" class="shortcut">Top</a>
50
<a href="#id3097962" class="shortcut">Description</a></nobr></td></tr>
52
<div class="refentry" lang="en">
53
<a name="gobject-Standard-Parameter-and-Value-Types"></a><div class="titlepage"></div>
54
<div class="refnamediv"><table width="100%"><tr>
57
<a name="id3094195"></a><span class="refentrytitle">Parameters and Values</span>
59
<p>Parameters and Values — Standard Parameter and Value Types</p>
61
<td valign="top" align="right"></td>
63
<div class="refsynopsisdiv">
65
<pre class="synopsis">
67
#include <glib-object.h>
71
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOOLEAN:CAPS">G_IS_PARAM_SPEC_BOOLEAN</a> (pspec)
72
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOOLEAN:CAPS">G_PARAM_SPEC_BOOLEAN</a> (pspec)
73
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOOLEAN:CAPS">G_VALUE_HOLDS_BOOLEAN</a> (value)
74
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOOLEAN:CAPS">G_TYPE_PARAM_BOOLEAN</a>
75
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean">GParamSpecBoolean</a>;
76
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boolean">g_param_spec_boolean</a> (const <a
77
href="../glib/glib-Basic-Types.html#gchar"
80
href="../glib/glib-Basic-Types.html#gchar"
83
href="../glib/glib-Basic-Types.html#gchar"
86
href="../glib/glib-Basic-Types.html#gboolean"
87
>gboolean</a> default_value,
88
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
89
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boolean">g_value_set_boolean</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
91
href="../glib/glib-Basic-Types.html#gboolean"
92
>gboolean</a> v_boolean);
94
href="../glib/glib-Basic-Types.html#gboolean"
95
>gboolean</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boolean">g_value_get_boolean</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
97
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-CHAR:CAPS">G_IS_PARAM_SPEC_CHAR</a> (pspec)
98
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-CHAR:CAPS">G_PARAM_SPEC_CHAR</a> (pspec)
99
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-CHAR:CAPS">G_VALUE_HOLDS_CHAR</a> (value)
100
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-CHAR:CAPS">G_TYPE_PARAM_CHAR</a>
101
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar">GParamSpecChar</a>;
102
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-char">g_param_spec_char</a> (const <a
103
href="../glib/glib-Basic-Types.html#gchar"
106
href="../glib/glib-Basic-Types.html#gchar"
109
href="../glib/glib-Basic-Types.html#gchar"
112
href="../glib/glib-Basic-Types.html#gint8"
115
href="../glib/glib-Basic-Types.html#gint8"
118
href="../glib/glib-Basic-Types.html#gint8"
119
>gint8</a> default_value,
120
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
121
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-char">g_value_set_char</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
123
href="../glib/glib-Basic-Types.html#gchar"
126
href="../glib/glib-Basic-Types.html#gchar"
127
>gchar</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-char">g_value_get_char</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
129
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UCHAR:CAPS">G_IS_PARAM_SPEC_UCHAR</a> (pspec)
130
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UCHAR:CAPS">G_PARAM_SPEC_UCHAR</a> (pspec)
131
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UCHAR:CAPS">G_VALUE_HOLDS_UCHAR</a> (value)
132
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UCHAR:CAPS">G_TYPE_PARAM_UCHAR</a>
133
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar">GParamSpecUChar</a>;
134
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uchar">g_param_spec_uchar</a> (const <a
135
href="../glib/glib-Basic-Types.html#gchar"
138
href="../glib/glib-Basic-Types.html#gchar"
141
href="../glib/glib-Basic-Types.html#gchar"
144
href="../glib/glib-Basic-Types.html#guint8"
147
href="../glib/glib-Basic-Types.html#guint8"
150
href="../glib/glib-Basic-Types.html#guint8"
151
>guint8</a> default_value,
152
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
153
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uchar">g_value_set_uchar</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
155
href="../glib/glib-Basic-Types.html#guchar"
156
>guchar</a> v_uchar);
158
href="../glib/glib-Basic-Types.html#guchar"
159
>guchar</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uchar">g_value_get_uchar</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
161
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT:CAPS">G_IS_PARAM_SPEC_INT</a> (pspec)
162
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT:CAPS">G_PARAM_SPEC_INT</a> (pspec)
163
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT:CAPS">G_VALUE_HOLDS_INT</a> (value)
164
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT:CAPS">G_TYPE_PARAM_INT</a>
165
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt">GParamSpecInt</a>;
166
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int">g_param_spec_int</a> (const <a
167
href="../glib/glib-Basic-Types.html#gchar"
170
href="../glib/glib-Basic-Types.html#gchar"
173
href="../glib/glib-Basic-Types.html#gchar"
176
href="../glib/glib-Basic-Types.html#gint"
179
href="../glib/glib-Basic-Types.html#gint"
182
href="../glib/glib-Basic-Types.html#gint"
183
>gint</a> default_value,
184
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
185
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int">g_value_set_int</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
187
href="../glib/glib-Basic-Types.html#gint"
190
href="../glib/glib-Basic-Types.html#gint"
191
>gint</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int">g_value_get_int</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
193
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT:CAPS">G_IS_PARAM_SPEC_UINT</a> (pspec)
194
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT:CAPS">G_PARAM_SPEC_UINT</a> (pspec)
195
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT:CAPS">G_VALUE_HOLDS_UINT</a> (value)
196
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT:CAPS">G_TYPE_PARAM_UINT</a>
197
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt">GParamSpecUInt</a>;
198
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint">g_param_spec_uint</a> (const <a
199
href="../glib/glib-Basic-Types.html#gchar"
202
href="../glib/glib-Basic-Types.html#gchar"
205
href="../glib/glib-Basic-Types.html#gchar"
208
href="../glib/glib-Basic-Types.html#guint"
211
href="../glib/glib-Basic-Types.html#guint"
214
href="../glib/glib-Basic-Types.html#guint"
215
>guint</a> default_value,
216
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
217
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint">g_value_set_uint</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
219
href="../glib/glib-Basic-Types.html#guint"
222
href="../glib/glib-Basic-Types.html#guint"
223
>guint</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint">g_value_get_uint</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
225
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-LONG:CAPS">G_IS_PARAM_SPEC_LONG</a> (pspec)
226
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-LONG:CAPS">G_PARAM_SPEC_LONG</a> (pspec)
227
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-LONG:CAPS">G_VALUE_HOLDS_LONG</a> (value)
228
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-LONG:CAPS">G_TYPE_PARAM_LONG</a>
229
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong">GParamSpecLong</a>;
230
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-long">g_param_spec_long</a> (const <a
231
href="../glib/glib-Basic-Types.html#gchar"
234
href="../glib/glib-Basic-Types.html#gchar"
237
href="../glib/glib-Basic-Types.html#gchar"
240
href="../glib/glib-Basic-Types.html#glong"
243
href="../glib/glib-Basic-Types.html#glong"
246
href="../glib/glib-Basic-Types.html#glong"
247
>glong</a> default_value,
248
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
249
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-long">g_value_set_long</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
251
href="../glib/glib-Basic-Types.html#glong"
254
href="../glib/glib-Basic-Types.html#glong"
255
>glong</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-long">g_value_get_long</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
257
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ULONG:CAPS">G_IS_PARAM_SPEC_ULONG</a> (pspec)
258
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ULONG:CAPS">G_PARAM_SPEC_ULONG</a> (pspec)
259
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ULONG:CAPS">G_VALUE_HOLDS_ULONG</a> (value)
260
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ULONG:CAPS">G_TYPE_PARAM_ULONG</a>
261
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong">GParamSpecULong</a>;
262
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-ulong">g_param_spec_ulong</a> (const <a
263
href="../glib/glib-Basic-Types.html#gchar"
266
href="../glib/glib-Basic-Types.html#gchar"
269
href="../glib/glib-Basic-Types.html#gchar"
272
href="../glib/glib-Basic-Types.html#gulong"
275
href="../glib/glib-Basic-Types.html#gulong"
278
href="../glib/glib-Basic-Types.html#gulong"
279
>gulong</a> default_value,
280
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
281
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-ulong">g_value_set_ulong</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
283
href="../glib/glib-Basic-Types.html#gulong"
284
>gulong</a> v_ulong);
286
href="../glib/glib-Basic-Types.html#gulong"
287
>gulong</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-ulong">g_value_get_ulong</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
289
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT64:CAPS">G_IS_PARAM_SPEC_INT64</a> (pspec)
290
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT64:CAPS">G_PARAM_SPEC_INT64</a> (pspec)
291
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT64:CAPS">G_VALUE_HOLDS_INT64</a> (value)
292
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT64:CAPS">G_TYPE_PARAM_INT64</a>
293
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64">GParamSpecInt64</a>;
294
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int64">g_param_spec_int64</a> (const <a
295
href="../glib/glib-Basic-Types.html#gchar"
298
href="../glib/glib-Basic-Types.html#gchar"
301
href="../glib/glib-Basic-Types.html#gchar"
304
href="../glib/glib-Basic-Types.html#gint64"
307
href="../glib/glib-Basic-Types.html#gint64"
310
href="../glib/glib-Basic-Types.html#gint64"
311
>gint64</a> default_value,
312
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
313
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int64">g_value_set_int64</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
315
href="../glib/glib-Basic-Types.html#gint64"
316
>gint64</a> v_int64);
318
href="../glib/glib-Basic-Types.html#gint64"
319
>gint64</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int64">g_value_get_int64</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
321
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT64:CAPS">G_IS_PARAM_SPEC_UINT64</a> (pspec)
322
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT64:CAPS">G_PARAM_SPEC_UINT64</a> (pspec)
323
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT64:CAPS">G_VALUE_HOLDS_UINT64</a> (value)
324
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT64:CAPS">G_TYPE_PARAM_UINT64</a>
325
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64">GParamSpecUInt64</a>;
326
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint64">g_param_spec_uint64</a> (const <a
327
href="../glib/glib-Basic-Types.html#gchar"
330
href="../glib/glib-Basic-Types.html#gchar"
333
href="../glib/glib-Basic-Types.html#gchar"
336
href="../glib/glib-Basic-Types.html#guint64"
337
>guint64</a> minimum,
339
href="../glib/glib-Basic-Types.html#guint64"
340
>guint64</a> maximum,
342
href="../glib/glib-Basic-Types.html#guint64"
343
>guint64</a> default_value,
344
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
345
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint64">g_value_set_uint64</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
347
href="../glib/glib-Basic-Types.html#guint64"
348
>guint64</a> v_uint64);
350
href="../glib/glib-Basic-Types.html#guint64"
351
>guint64</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint64">g_value_get_uint64</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
353
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLOAT:CAPS">G_IS_PARAM_SPEC_FLOAT</a> (pspec)
354
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLOAT:CAPS">G_PARAM_SPEC_FLOAT</a> (pspec)
355
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLOAT:CAPS">G_VALUE_HOLDS_FLOAT</a> (value)
356
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLOAT:CAPS">G_TYPE_PARAM_FLOAT</a>
357
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat">GParamSpecFloat</a>;
358
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-float">g_param_spec_float</a> (const <a
359
href="../glib/glib-Basic-Types.html#gchar"
362
href="../glib/glib-Basic-Types.html#gchar"
365
href="../glib/glib-Basic-Types.html#gchar"
368
href="../glib/glib-Basic-Types.html#gfloat"
371
href="../glib/glib-Basic-Types.html#gfloat"
374
href="../glib/glib-Basic-Types.html#gfloat"
375
>gfloat</a> default_value,
376
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
377
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-float">g_value_set_float</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
379
href="../glib/glib-Basic-Types.html#gfloat"
380
>gfloat</a> v_float);
382
href="../glib/glib-Basic-Types.html#gfloat"
383
>gfloat</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-float">g_value_get_float</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
385
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-DOUBLE:CAPS">G_IS_PARAM_SPEC_DOUBLE</a> (pspec)
386
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-DOUBLE:CAPS">G_PARAM_SPEC_DOUBLE</a> (pspec)
387
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-DOUBLE:CAPS">G_VALUE_HOLDS_DOUBLE</a> (value)
388
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-DOUBLE:CAPS">G_TYPE_PARAM_DOUBLE</a>
389
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble">GParamSpecDouble</a>;
390
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-double">g_param_spec_double</a> (const <a
391
href="../glib/glib-Basic-Types.html#gchar"
394
href="../glib/glib-Basic-Types.html#gchar"
397
href="../glib/glib-Basic-Types.html#gchar"
400
href="../glib/glib-Basic-Types.html#gdouble"
401
>gdouble</a> minimum,
403
href="../glib/glib-Basic-Types.html#gdouble"
404
>gdouble</a> maximum,
406
href="../glib/glib-Basic-Types.html#gdouble"
407
>gdouble</a> default_value,
408
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
409
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-double">g_value_set_double</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
411
href="../glib/glib-Basic-Types.html#gdouble"
412
>gdouble</a> v_double);
414
href="../glib/glib-Basic-Types.html#gdouble"
415
>gdouble</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-double">g_value_get_double</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
417
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ENUM:CAPS">G_IS_PARAM_SPEC_ENUM</a> (pspec)
418
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ENUM:CAPS">G_PARAM_SPEC_ENUM</a> (pspec)
419
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ENUM:CAPS">G_VALUE_HOLDS_ENUM</a> (value)
420
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ENUM:CAPS">G_TYPE_PARAM_ENUM</a>
421
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum">GParamSpecEnum</a>;
422
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-enum">g_param_spec_enum</a> (const <a
423
href="../glib/glib-Basic-Types.html#gchar"
426
href="../glib/glib-Basic-Types.html#gchar"
429
href="../glib/glib-Basic-Types.html#gchar"
431
<a href="gobject-Type-Information.html#GType">GType</a> enum_type,
433
href="../glib/glib-Basic-Types.html#gint"
434
>gint</a> default_value,
435
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
436
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-enum">g_value_set_enum</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
438
href="../glib/glib-Basic-Types.html#gint"
441
href="../glib/glib-Basic-Types.html#gint"
442
>gint</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-enum">g_value_get_enum</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
444
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLAGS:CAPS">G_IS_PARAM_SPEC_FLAGS</a> (pspec)
445
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLAGS:CAPS">G_PARAM_SPEC_FLAGS</a> (pspec)
446
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLAGS:CAPS">G_VALUE_HOLDS_FLAGS</a> (value)
447
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLAGS:CAPS">G_TYPE_PARAM_FLAGS</a>
448
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags">GParamSpecFlags</a>;
449
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-flags">g_param_spec_flags</a> (const <a
450
href="../glib/glib-Basic-Types.html#gchar"
453
href="../glib/glib-Basic-Types.html#gchar"
456
href="../glib/glib-Basic-Types.html#gchar"
458
<a href="gobject-Type-Information.html#GType">GType</a> flags_type,
460
href="../glib/glib-Basic-Types.html#guint"
461
>guint</a> default_value,
462
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
463
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-flags">g_value_set_flags</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
465
href="../glib/glib-Basic-Types.html#guint"
468
href="../glib/glib-Basic-Types.html#guint"
469
>guint</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-flags">g_value_get_flags</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
471
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-STRING:CAPS">G_IS_PARAM_SPEC_STRING</a> (pspec)
472
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-STRING:CAPS">G_PARAM_SPEC_STRING</a> (pspec)
473
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-STRING:CAPS">G_VALUE_HOLDS_STRING</a> (value)
474
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-STRING:CAPS">G_TYPE_PARAM_STRING</a>
475
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString">GParamSpecString</a>;
476
typedef <a href="gobject-Standard-Parameter-and-Value-Types.html#gchararray">gchararray</a>;
477
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-string">g_param_spec_string</a> (const <a
478
href="../glib/glib-Basic-Types.html#gchar"
481
href="../glib/glib-Basic-Types.html#gchar"
484
href="../glib/glib-Basic-Types.html#gchar"
487
href="../glib/glib-Basic-Types.html#gchar"
488
>gchar</a> *default_value,
489
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
490
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string">g_value_set_string</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
492
href="../glib/glib-Basic-Types.html#gchar"
493
>gchar</a> *v_string);
494
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-string">g_value_set_static_string</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
496
href="../glib/glib-Basic-Types.html#gchar"
497
>gchar</a> *v_string);
498
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-string">g_value_take_string</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
500
href="../glib/glib-Basic-Types.html#gchar"
501
>gchar</a> *v_string);
502
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string-take-ownership">g_value_set_string_take_ownership</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
504
href="../glib/glib-Basic-Types.html#gchar"
505
>gchar</a> *v_string);
507
href="../glib/glib-Basic-Types.html#gchar"
508
>gchar</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-string">g_value_get_string</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
510
href="../glib/glib-Basic-Types.html#gchar"
511
>gchar</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-string">g_value_dup_string</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
513
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-PARAM:CAPS">G_IS_PARAM_SPEC_PARAM</a> (pspec)
514
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-PARAM:CAPS">G_PARAM_SPEC_PARAM</a> (pspec)
515
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-PARAM:CAPS">G_VALUE_HOLDS_PARAM</a> (value)
516
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-PARAM:CAPS">G_TYPE_PARAM_PARAM</a>
517
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam">GParamSpecParam</a>;
518
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-param">g_param_spec_param</a> (const <a
519
href="../glib/glib-Basic-Types.html#gchar"
522
href="../glib/glib-Basic-Types.html#gchar"
525
href="../glib/glib-Basic-Types.html#gchar"
527
<a href="gobject-Type-Information.html#GType">GType</a> param_type,
528
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
529
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param">g_value_set_param</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
530
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> *param);
531
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-param">g_value_take_param</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
532
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> *param);
533
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param-take-ownership">g_value_set_param_take_ownership</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
534
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> *param);
535
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-param">g_value_get_param</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
536
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-param">g_value_dup_param</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
538
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOXED:CAPS">G_IS_PARAM_SPEC_BOXED</a> (pspec)
539
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOXED:CAPS">G_PARAM_SPEC_BOXED</a> (pspec)
540
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOXED:CAPS">G_VALUE_HOLDS_BOXED</a> (value)
541
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOXED:CAPS">G_TYPE_PARAM_BOXED</a>
542
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed">GParamSpecBoxed</a>;
543
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boxed">g_param_spec_boxed</a> (const <a
544
href="../glib/glib-Basic-Types.html#gchar"
547
href="../glib/glib-Basic-Types.html#gchar"
550
href="../glib/glib-Basic-Types.html#gchar"
552
<a href="gobject-Type-Information.html#GType">GType</a> boxed_type,
553
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
554
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed">g_value_set_boxed</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
556
href="../glib/glib-Basic-Types.html#gconstpointer"
557
>gconstpointer</a> v_boxed);
558
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-boxed">g_value_set_static_boxed</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
560
href="../glib/glib-Basic-Types.html#gconstpointer"
561
>gconstpointer</a> v_boxed);
562
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-boxed">g_value_take_boxed</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
564
href="../glib/glib-Basic-Types.html#gconstpointer"
565
>gconstpointer</a> v_boxed);
566
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed-take-ownership">g_value_set_boxed_take_ownership</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
568
href="../glib/glib-Basic-Types.html#gconstpointer"
569
>gconstpointer</a> v_boxed);
571
href="../glib/glib-Basic-Types.html#gpointer"
572
>gpointer</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boxed">g_value_get_boxed</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
574
href="../glib/glib-Basic-Types.html#gpointer"
575
>gpointer</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-boxed">g_value_dup_boxed</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
577
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-POINTER:CAPS">G_IS_PARAM_SPEC_POINTER</a> (pspec)
578
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-POINTER:CAPS">G_PARAM_SPEC_POINTER</a> (pspec)
579
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-POINTER:CAPS">G_VALUE_HOLDS_POINTER</a> (value)
580
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-POINTER:CAPS">G_TYPE_PARAM_POINTER</a>
581
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer">GParamSpecPointer</a>;
582
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-pointer">g_param_spec_pointer</a> (const <a
583
href="../glib/glib-Basic-Types.html#gchar"
586
href="../glib/glib-Basic-Types.html#gchar"
589
href="../glib/glib-Basic-Types.html#gchar"
591
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
592
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-pointer">g_value_set_pointer</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
594
href="../glib/glib-Basic-Types.html#gpointer"
595
>gpointer</a> v_pointer);
597
href="../glib/glib-Basic-Types.html#gpointer"
598
>gpointer</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-pointer">g_value_get_pointer</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
600
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OBJECT:CAPS">G_IS_PARAM_SPEC_OBJECT</a> (pspec)
601
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OBJECT:CAPS">G_PARAM_SPEC_OBJECT</a> (pspec)
602
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-OBJECT:CAPS">G_VALUE_HOLDS_OBJECT</a> (value)
603
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OBJECT:CAPS">G_TYPE_PARAM_OBJECT</a>
604
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject">GParamSpecObject</a>;
605
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-object">g_param_spec_object</a> (const <a
606
href="../glib/glib-Basic-Types.html#gchar"
609
href="../glib/glib-Basic-Types.html#gchar"
612
href="../glib/glib-Basic-Types.html#gchar"
614
<a href="gobject-Type-Information.html#GType">GType</a> object_type,
615
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
616
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object">g_value_set_object</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
618
href="../glib/glib-Basic-Types.html#gpointer"
619
>gpointer</a> v_object);
620
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object">g_value_take_object</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
622
href="../glib/glib-Basic-Types.html#gpointer"
623
>gpointer</a> v_object);
624
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object-take-ownership">g_value_set_object_take_ownership</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
626
href="../glib/glib-Basic-Types.html#gpointer"
627
>gpointer</a> v_object);
629
href="../glib/glib-Basic-Types.html#gpointer"
630
>gpointer</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-object">g_value_get_object</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
631
<a href="gobject-The-Base-Object-Type.html#GObject">GObject</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-object">g_value_dup_object</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
633
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UNICHAR:CAPS">G_IS_PARAM_SPEC_UNICHAR</a> (pspec)
634
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UNICHAR:CAPS">G_PARAM_SPEC_UNICHAR</a> (pspec)
635
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UNICHAR:CAPS">G_TYPE_PARAM_UNICHAR</a>
636
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar">GParamSpecUnichar</a>;
637
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-unichar">g_param_spec_unichar</a> (const <a
638
href="../glib/glib-Basic-Types.html#gchar"
641
href="../glib/glib-Basic-Types.html#gchar"
644
href="../glib/glib-Basic-Types.html#gchar"
647
href="../glib/glib-Unicode-Manipulation.html#gunichar"
648
>gunichar</a> default_value,
649
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
651
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VALUE-ARRAY:CAPS">G_IS_PARAM_SPEC_VALUE_ARRAY</a> (pspec)
652
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VALUE-ARRAY:CAPS">G_PARAM_SPEC_VALUE_ARRAY</a> (pspec)
653
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VALUE-ARRAY:CAPS">G_TYPE_PARAM_VALUE_ARRAY</a>
654
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray">GParamSpecValueArray</a>;
655
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-value-array">g_param_spec_value_array</a> (const <a
656
href="../glib/glib-Basic-Types.html#gchar"
659
href="../glib/glib-Basic-Types.html#gchar"
662
href="../glib/glib-Basic-Types.html#gchar"
664
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> *element_spec,
665
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
667
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OVERRIDE:CAPS">G_IS_PARAM_SPEC_OVERRIDE</a> (pspec)
668
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OVERRIDE:CAPS">G_PARAM_SPEC_OVERRIDE</a> (pspec)
669
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OVERRIDE:CAPS">G_TYPE_PARAM_OVERRIDE</a>
670
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride">GParamSpecOverride</a>;
671
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-override">g_param_spec_override</a> (const <a
672
href="../glib/glib-Basic-Types.html#gchar"
674
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> *overridden);
676
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-GTYPE:CAPS">G_IS_PARAM_SPEC_GTYPE</a> (pspec)
677
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-GTYPE:CAPS">G_PARAM_SPEC_GTYPE</a> (pspec)
678
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-GTYPE:CAPS">G_VALUE_HOLDS_GTYPE</a> (value)
679
#define <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-GTYPE:CAPS">G_TYPE_PARAM_GTYPE</a>
680
<a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType">GParamSpecGType</a>;
681
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* <a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-gtype">g_param_spec_gtype</a> (const <a
682
href="../glib/glib-Basic-Types.html#gchar"
685
href="../glib/glib-Basic-Types.html#gchar"
688
href="../glib/glib-Basic-Types.html#gchar"
690
<a href="gobject-Type-Information.html#GType">GType</a> is_a_type,
691
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);
692
<a href="gobject-Type-Information.html#GType">GType</a> <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-gtype">g_value_get_gtype</a> (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);
693
void <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-gtype">g_value_set_gtype</a> (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
694
<a href="gobject-Type-Information.html#GType">GType</a> v_gtype);
698
<div class="refsect1" lang="en">
699
<a name="id3097962"></a><h2>Description</h2>
701
<a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> provides an abstract container structure which can be copied,
702
transformed and compared while holding a value of any (derived) type, which
703
is registered as a <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> with a <a href="gobject-Type-Information.html#GTypeValueTable"><span class="type">GTypeValueTable</span></a> in its <a href="gobject-Type-Information.html#GTypeInfo"><span class="type">GTypeInfo</span></a> structure.
704
Parameter specifications for most value types can be created as
705
<a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived instances, to implement e.g. <a href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> properties which
706
operate on <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> containers.
709
Parameter names need to start with a letter (a-z or A-Z). Subsequent
710
characters can be letters, numbers or a '-'.
711
All other characters are replaced by a '-' during construction.
714
<div class="refsect1" lang="en">
715
<a name="id3098043"></a><h2>Details</h2>
716
<div class="refsect2" lang="en">
717
<a name="id3098053"></a><h3>
718
<a name="G-IS-PARAM-SPEC-BOOLEAN:CAPS"></a>G_IS_PARAM_SPEC_BOOLEAN()</h3>
719
<a class="indexterm" name="id3098067"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOOLEAN))
722
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOOLEAN:CAPS"><code class="literal">G_TYPE_PARAM_BOOLEAN</code></a>.
724
<div class="variablelist"><table border="0">
725
<col align="left" valign="top">
727
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
728
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
736
<div class="refsect2" lang="en">
737
<a name="id3098129"></a><h3>
738
<a name="G-PARAM-SPEC-BOOLEAN:CAPS"></a>G_PARAM_SPEC_BOOLEAN()</h3>
739
<a class="indexterm" name="id3098142"></a><pre class="programlisting">#define G_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOOLEAN, GParamSpecBoolean))
742
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean"><span class="type">GParamSpecBoolean</span></a>.
744
<div class="variablelist"><table border="0">
745
<col align="left" valign="top">
747
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
748
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
756
<div class="refsect2" lang="en">
757
<a name="id3098202"></a><h3>
758
<a name="G-VALUE-HOLDS-BOOLEAN:CAPS"></a>G_VALUE_HOLDS_BOOLEAN()</h3>
759
<a class="indexterm" name="id3098215"></a><pre class="programlisting">#define G_VALUE_HOLDS_BOOLEAN(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_BOOLEAN))
762
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS"><code class="literal">G_TYPE_BOOLEAN</code></a>.
764
<div class="variablelist"><table border="0">
765
<col align="left" valign="top">
767
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
768
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
776
<div class="refsect2" lang="en">
777
<a name="id3098277"></a><h3>
778
<a name="G-TYPE-PARAM-BOOLEAN:CAPS"></a>G_TYPE_PARAM_BOOLEAN</h3>
779
<a class="indexterm" name="id3098290"></a><pre class="programlisting">#define G_TYPE_PARAM_BOOLEAN (g_param_spec_types[2])
782
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean"><span class="type">GParamSpecBoolean</span></a>.
786
<div class="refsect2" lang="en">
787
<a name="id3098322"></a><h3>
788
<a name="GParamSpecBoolean"></a>GParamSpecBoolean</h3>
789
<a class="indexterm" name="id3098335"></a><pre class="programlisting">typedef struct {
790
GParamSpec parent_instance;
792
gboolean default_value;
796
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for boolean properties.
798
<div class="variablelist"><table border="0">
799
<col align="left" valign="top">
802
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
803
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
807
<td><span class="term"><a
808
href="../glib/glib-Basic-Types.html#gboolean"
809
>gboolean</a> <em class="structfield"><code>default_value</code></em>;</span></td>
810
<td> default value for the property specified
818
<div class="refsect2" lang="en">
819
<a name="id3098414"></a><h3>
820
<a name="g-param-spec-boolean"></a>g_param_spec_boolean ()</h3>
821
<a class="indexterm" name="id3098428"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_boolean (const <a
822
href="../glib/glib-Basic-Types.html#gchar"
825
href="../glib/glib-Basic-Types.html#gchar"
828
href="../glib/glib-Basic-Types.html#gchar"
831
href="../glib/glib-Basic-Types.html#gboolean"
832
>gboolean</a> default_value,
833
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
835
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean"><span class="type">GParamSpecBoolean</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS"><code class="literal">G_TYPE_BOOLEAN</code></a>
839
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
841
<div class="variablelist"><table border="0">
842
<col align="left" valign="top">
845
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
846
<td> canonical name of the property specified
850
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
851
<td> nick name for the property specified
855
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
856
<td> description of the property specified
860
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
861
<td>default value for the property specified
865
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
866
<td> flags for the property specified
870
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
871
<td>a newly created parameter specification
880
<div class="refsect2" lang="en">
881
<a name="id3098611"></a><h3>
882
<a name="g-value-set-boolean"></a>g_value_set_boolean ()</h3>
883
<a class="indexterm" name="id3098624"></a><pre class="programlisting">void g_value_set_boolean (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
885
href="../glib/glib-Basic-Types.html#gboolean"
886
>gboolean</a> v_boolean);</pre>
888
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS"><code class="literal">G_TYPE_BOOLEAN</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boolean</code></em>.
890
<div class="variablelist"><table border="0">
891
<col align="left" valign="top">
894
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
895
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS"><code class="literal">G_TYPE_BOOLEAN</code></a>
899
<td><span class="term"><em class="parameter"><code>v_boolean</code></em> :</span></td>
900
<td>boolean value to be set
909
<div class="refsect2" lang="en">
910
<a name="id3098736"></a><h3>
911
<a name="g-value-get-boolean"></a>g_value_get_boolean ()</h3>
912
<a class="indexterm" name="id3098749"></a><pre class="programlisting"><a
913
href="../glib/glib-Basic-Types.html#gboolean"
914
>gboolean</a> g_value_get_boolean (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
916
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS"><code class="literal">G_TYPE_BOOLEAN</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
918
<div class="variablelist"><table border="0">
919
<col align="left" valign="top">
922
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
923
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS"><code class="literal">G_TYPE_BOOLEAN</code></a>
927
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
928
<td>boolean contents of <em class="parameter"><code>value</code></em>
937
<div class="refsect2" lang="en">
938
<a name="id3098848"></a><h3>
939
<a name="G-IS-PARAM-SPEC-CHAR:CAPS"></a>G_IS_PARAM_SPEC_CHAR()</h3>
940
<a class="indexterm" name="id3098862"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_CHAR))
943
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-CHAR:CAPS"><code class="literal">G_TYPE_PARAM_CHAR</code></a>.
945
<div class="variablelist"><table border="0">
946
<col align="left" valign="top">
948
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
949
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
957
<div class="refsect2" lang="en">
958
<a name="id3098925"></a><h3>
959
<a name="G-PARAM-SPEC-CHAR:CAPS"></a>G_PARAM_SPEC_CHAR()</h3>
960
<a class="indexterm" name="id3098938"></a><pre class="programlisting">#define G_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_CHAR, GParamSpecChar))
963
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar"><span class="type">GParamSpecChar</span></a>.
965
<div class="variablelist"><table border="0">
966
<col align="left" valign="top">
968
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
969
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
977
<div class="refsect2" lang="en">
978
<a name="id3098997"></a><h3>
979
<a name="G-VALUE-HOLDS-CHAR:CAPS"></a>G_VALUE_HOLDS_CHAR()</h3>
980
<a class="indexterm" name="id3099010"></a><pre class="programlisting">#define G_VALUE_HOLDS_CHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_CHAR))
983
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS"><code class="literal">G_TYPE_CHAR</code></a>.
985
<div class="variablelist"><table border="0">
986
<col align="left" valign="top">
988
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
989
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
997
<div class="refsect2" lang="en">
998
<a name="id3099071"></a><h3>
999
<a name="G-TYPE-PARAM-CHAR:CAPS"></a>G_TYPE_PARAM_CHAR</h3>
1000
<a class="indexterm" name="id3099085"></a><pre class="programlisting">#define G_TYPE_PARAM_CHAR (g_param_spec_types[0])
1003
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar"><span class="type">GParamSpecChar</span></a>.
1007
<div class="refsect2" lang="en">
1008
<a name="id3099117"></a><h3>
1009
<a name="GParamSpecChar"></a>GParamSpecChar</h3>
1010
<a class="indexterm" name="id3099130"></a><pre class="programlisting">typedef struct {
1011
GParamSpec parent_instance;
1015
gint8 default_value;
1019
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for character properties.
1021
<div class="variablelist"><table border="0">
1022
<col align="left" valign="top">
1025
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
1026
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
1030
<td><span class="term"><a
1031
href="../glib/glib-Basic-Types.html#gint8"
1032
>gint8</a> <em class="structfield"><code>minimum</code></em>;</span></td>
1033
<td> minimum value for the property specified
1037
<td><span class="term"><a
1038
href="../glib/glib-Basic-Types.html#gint8"
1039
>gint8</a> <em class="structfield"><code>maximum</code></em>;</span></td>
1040
<td> maximum value for the property specified
1044
<td><span class="term"><a
1045
href="../glib/glib-Basic-Types.html#gint8"
1046
>gint8</a> <em class="structfield"><code>default_value</code></em>;</span></td>
1047
<td> default value for the property specified
1055
<div class="refsect2" lang="en">
1056
<a name="id3099252"></a><h3>
1057
<a name="g-param-spec-char"></a>g_param_spec_char ()</h3>
1058
<a class="indexterm" name="id3099265"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_char (const <a
1059
href="../glib/glib-Basic-Types.html#gchar"
1062
href="../glib/glib-Basic-Types.html#gchar"
1065
href="../glib/glib-Basic-Types.html#gchar"
1068
href="../glib/glib-Basic-Types.html#gint8"
1071
href="../glib/glib-Basic-Types.html#gint8"
1074
href="../glib/glib-Basic-Types.html#gint8"
1075
>gint8</a> default_value,
1076
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
1078
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar"><span class="type">GParamSpecChar</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS"><code class="literal">G_TYPE_CHAR</code></a> property.
1080
<div class="variablelist"><table border="0">
1081
<col align="left" valign="top">
1084
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1085
<td> canonical name of the property specified
1089
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
1090
<td> nick name for the property specified
1094
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
1095
<td> description of the property specified
1099
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
1100
<td> minimum value for the property specified
1104
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
1105
<td> maximum value for the property specified
1109
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
1110
<td>default value for the property specified
1114
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
1115
<td> flags for the property specified
1119
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1120
<td>a newly created parameter specification
1129
<div class="refsect2" lang="en">
1130
<a name="id3099476"></a><h3>
1131
<a name="g-value-set-char"></a>g_value_set_char ()</h3>
1132
<a class="indexterm" name="id3099489"></a><pre class="programlisting">void g_value_set_char (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
1134
href="../glib/glib-Basic-Types.html#gchar"
1135
>gchar</a> v_char);</pre>
1137
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS"><code class="literal">G_TYPE_CHAR</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_char</code></em>.
1139
<div class="variablelist"><table border="0">
1140
<col align="left" valign="top">
1143
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1144
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS"><code class="literal">G_TYPE_CHAR</code></a>
1148
<td><span class="term"><em class="parameter"><code>v_char</code></em> :</span></td>
1149
<td>character value to be set
1158
<div class="refsect2" lang="en">
1159
<a name="id3099601"></a><h3>
1160
<a name="g-value-get-char"></a>g_value_get_char ()</h3>
1161
<a class="indexterm" name="id3099613"></a><pre class="programlisting"><a
1162
href="../glib/glib-Basic-Types.html#gchar"
1163
>gchar</a> g_value_get_char (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
1165
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS"><code class="literal">G_TYPE_CHAR</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
1167
<div class="variablelist"><table border="0">
1168
<col align="left" valign="top">
1171
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1172
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS"><code class="literal">G_TYPE_CHAR</code></a>
1176
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1177
<td>character contents of <em class="parameter"><code>value</code></em>
1186
<div class="refsect2" lang="en">
1187
<a name="id3099713"></a><h3>
1188
<a name="G-IS-PARAM-SPEC-UCHAR:CAPS"></a>G_IS_PARAM_SPEC_UCHAR()</h3>
1189
<a class="indexterm" name="id3099727"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UCHAR))
1192
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UCHAR:CAPS"><code class="literal">G_TYPE_PARAM_UCHAR</code></a>.
1194
<div class="variablelist"><table border="0">
1195
<col align="left" valign="top">
1197
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
1198
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
1206
<div class="refsect2" lang="en">
1207
<a name="id3099789"></a><h3>
1208
<a name="G-PARAM-SPEC-UCHAR:CAPS"></a>G_PARAM_SPEC_UCHAR()</h3>
1209
<a class="indexterm" name="id3099802"></a><pre class="programlisting">#define G_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UCHAR, GParamSpecUChar))
1212
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar"><span class="type">GParamSpecUChar</span></a>.
1214
<div class="variablelist"><table border="0">
1215
<col align="left" valign="top">
1217
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
1218
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
1226
<div class="refsect2" lang="en">
1227
<a name="id3099861"></a><h3>
1228
<a name="G-VALUE-HOLDS-UCHAR:CAPS"></a>G_VALUE_HOLDS_UCHAR()</h3>
1229
<a class="indexterm" name="id3099875"></a><pre class="programlisting">#define G_VALUE_HOLDS_UCHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UCHAR))
1232
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS"><code class="literal">G_TYPE_UCHAR</code></a>.
1234
<div class="variablelist"><table border="0">
1235
<col align="left" valign="top">
1237
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1238
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
1246
<div class="refsect2" lang="en">
1247
<a name="id3099936"></a><h3>
1248
<a name="G-TYPE-PARAM-UCHAR:CAPS"></a>G_TYPE_PARAM_UCHAR</h3>
1249
<a class="indexterm" name="id3099950"></a><pre class="programlisting">#define G_TYPE_PARAM_UCHAR (g_param_spec_types[1])
1252
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar"><span class="type">GParamSpecUChar</span></a>.
1256
<div class="refsect2" lang="en">
1257
<a name="id3099982"></a><h3>
1258
<a name="GParamSpecUChar"></a>GParamSpecUChar</h3>
1259
<a class="indexterm" name="id3099995"></a><pre class="programlisting">typedef struct {
1260
GParamSpec parent_instance;
1264
guint8 default_value;
1268
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned character properties.
1270
<div class="variablelist"><table border="0">
1271
<col align="left" valign="top">
1274
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
1275
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
1279
<td><span class="term"><a
1280
href="../glib/glib-Basic-Types.html#guint8"
1281
>guint8</a> <em class="structfield"><code>minimum</code></em>;</span></td>
1282
<td> minimum value for the property specified
1286
<td><span class="term"><a
1287
href="../glib/glib-Basic-Types.html#guint8"
1288
>guint8</a> <em class="structfield"><code>maximum</code></em>;</span></td>
1289
<td> maximum value for the property specified
1293
<td><span class="term"><a
1294
href="../glib/glib-Basic-Types.html#guint8"
1295
>guint8</a> <em class="structfield"><code>default_value</code></em>;</span></td>
1296
<td> default value for the property specified
1304
<div class="refsect2" lang="en">
1305
<a name="id3100117"></a><h3>
1306
<a name="g-param-spec-uchar"></a>g_param_spec_uchar ()</h3>
1307
<a class="indexterm" name="id3100130"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_uchar (const <a
1308
href="../glib/glib-Basic-Types.html#gchar"
1311
href="../glib/glib-Basic-Types.html#gchar"
1314
href="../glib/glib-Basic-Types.html#gchar"
1317
href="../glib/glib-Basic-Types.html#guint8"
1318
>guint8</a> minimum,
1320
href="../glib/glib-Basic-Types.html#guint8"
1321
>guint8</a> maximum,
1323
href="../glib/glib-Basic-Types.html#guint8"
1324
>guint8</a> default_value,
1325
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
1327
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar"><span class="type">GParamSpecUChar</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS"><code class="literal">G_TYPE_UCHAR</code></a> property.
1329
<div class="variablelist"><table border="0">
1330
<col align="left" valign="top">
1333
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1334
<td> canonical name of the property specified
1338
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
1339
<td> nick name for the property specified
1343
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
1344
<td> description of the property specified
1348
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
1349
<td> minimum value for the property specified
1353
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
1354
<td> maximum value for the property specified
1358
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
1359
<td>default value for the property specified
1363
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
1364
<td> flags for the property specified
1368
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1369
<td>a newly created parameter specification
1378
<div class="refsect2" lang="en">
1379
<a name="id3100341"></a><h3>
1380
<a name="g-value-set-uchar"></a>g_value_set_uchar ()</h3>
1381
<a class="indexterm" name="id3100355"></a><pre class="programlisting">void g_value_set_uchar (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
1383
href="../glib/glib-Basic-Types.html#guchar"
1384
>guchar</a> v_uchar);</pre>
1386
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS"><code class="literal">G_TYPE_UCHAR</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_uchar</code></em>.
1388
<div class="variablelist"><table border="0">
1389
<col align="left" valign="top">
1392
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1393
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS"><code class="literal">G_TYPE_UCHAR</code></a>
1397
<td><span class="term"><em class="parameter"><code>v_uchar</code></em> :</span></td>
1398
<td>unsigned character value to be set
1407
<div class="refsect2" lang="en">
1408
<a name="id3100466"></a><h3>
1409
<a name="g-value-get-uchar"></a>g_value_get_uchar ()</h3>
1410
<a class="indexterm" name="id3100479"></a><pre class="programlisting"><a
1411
href="../glib/glib-Basic-Types.html#guchar"
1412
>guchar</a> g_value_get_uchar (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
1414
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS"><code class="literal">G_TYPE_UCHAR</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
1416
<div class="variablelist"><table border="0">
1417
<col align="left" valign="top">
1420
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1421
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS"><code class="literal">G_TYPE_UCHAR</code></a>
1425
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1426
<td>unsigned character contents of <em class="parameter"><code>value</code></em>
1435
<div class="refsect2" lang="en">
1436
<a name="id3100579"></a><h3>
1437
<a name="G-IS-PARAM-SPEC-INT:CAPS"></a>G_IS_PARAM_SPEC_INT()</h3>
1438
<a class="indexterm" name="id3100592"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT))
1441
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT:CAPS"><code class="literal">G_TYPE_PARAM_INT</code></a>.
1443
<div class="variablelist"><table border="0">
1444
<col align="left" valign="top">
1446
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
1447
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
1455
<div class="refsect2" lang="en">
1456
<a name="id3100655"></a><h3>
1457
<a name="G-PARAM-SPEC-INT:CAPS"></a>G_PARAM_SPEC_INT()</h3>
1458
<a class="indexterm" name="id3100668"></a><pre class="programlisting">#define G_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT, GParamSpecInt))
1461
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt"><span class="type">GParamSpecInt</span></a>.
1463
<div class="variablelist"><table border="0">
1464
<col align="left" valign="top">
1466
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
1467
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
1475
<div class="refsect2" lang="en">
1476
<a name="id3100727"></a><h3>
1477
<a name="G-VALUE-HOLDS-INT:CAPS"></a>G_VALUE_HOLDS_INT()</h3>
1478
<a class="indexterm" name="id3100740"></a><pre class="programlisting">#define G_VALUE_HOLDS_INT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_INT))
1481
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a>.
1483
<div class="variablelist"><table border="0">
1484
<col align="left" valign="top">
1486
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1487
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
1495
<div class="refsect2" lang="en">
1496
<a name="id3100801"></a><h3>
1497
<a name="G-TYPE-PARAM-INT:CAPS"></a>G_TYPE_PARAM_INT</h3>
1498
<a class="indexterm" name="id3100814"></a><pre class="programlisting">#define G_TYPE_PARAM_INT (g_param_spec_types[3])
1501
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt"><span class="type">GParamSpecInt</span></a>.
1505
<div class="refsect2" lang="en">
1506
<a name="id3100846"></a><h3>
1507
<a name="GParamSpecInt"></a>GParamSpecInt</h3>
1508
<a class="indexterm" name="id3100859"></a><pre class="programlisting">typedef struct {
1509
GParamSpec parent_instance;
1517
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for integer properties.
1519
<div class="variablelist"><table border="0">
1520
<col align="left" valign="top">
1523
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
1524
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
1528
<td><span class="term"><a
1529
href="../glib/glib-Basic-Types.html#gint"
1530
>gint</a> <em class="structfield"><code>minimum</code></em>;</span></td>
1531
<td> minimum value for the property specified
1535
<td><span class="term"><a
1536
href="../glib/glib-Basic-Types.html#gint"
1537
>gint</a> <em class="structfield"><code>maximum</code></em>;</span></td>
1538
<td> maximum value for the property specified
1542
<td><span class="term"><a
1543
href="../glib/glib-Basic-Types.html#gint"
1544
>gint</a> <em class="structfield"><code>default_value</code></em>;</span></td>
1545
<td> default value for the property specified
1553
<div class="refsect2" lang="en">
1554
<a name="id3100981"></a><h3>
1555
<a name="g-param-spec-int"></a>g_param_spec_int ()</h3>
1556
<a class="indexterm" name="id3100994"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_int (const <a
1557
href="../glib/glib-Basic-Types.html#gchar"
1560
href="../glib/glib-Basic-Types.html#gchar"
1563
href="../glib/glib-Basic-Types.html#gchar"
1566
href="../glib/glib-Basic-Types.html#gint"
1569
href="../glib/glib-Basic-Types.html#gint"
1572
href="../glib/glib-Basic-Types.html#gint"
1573
>gint</a> default_value,
1574
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
1576
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt"><span class="type">GParamSpecInt</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a> property.
1579
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
1581
<div class="variablelist"><table border="0">
1582
<col align="left" valign="top">
1585
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1586
<td> canonical name of the property specified
1590
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
1591
<td> nick name for the property specified
1595
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
1596
<td> description of the property specified
1600
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
1601
<td> minimum value for the property specified
1605
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
1606
<td> maximum value for the property specified
1610
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
1611
<td>default value for the property specified
1615
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
1616
<td> flags for the property specified
1620
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1621
<td>a newly created parameter specification
1630
<div class="refsect2" lang="en">
1631
<a name="id3101220"></a><h3>
1632
<a name="g-value-set-int"></a>g_value_set_int ()</h3>
1633
<a class="indexterm" name="id3101233"></a><pre class="programlisting">void g_value_set_int (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
1635
href="../glib/glib-Basic-Types.html#gint"
1636
>gint</a> v_int);</pre>
1638
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_int</code></em>.
1640
<div class="variablelist"><table border="0">
1641
<col align="left" valign="top">
1644
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1645
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a>
1649
<td><span class="term"><em class="parameter"><code>v_int</code></em> :</span></td>
1650
<td>integer value to be set
1659
<div class="refsect2" lang="en">
1660
<a name="id3101345"></a><h3>
1661
<a name="g-value-get-int"></a>g_value_get_int ()</h3>
1662
<a class="indexterm" name="id3101357"></a><pre class="programlisting"><a
1663
href="../glib/glib-Basic-Types.html#gint"
1664
>gint</a> g_value_get_int (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
1666
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
1668
<div class="variablelist"><table border="0">
1669
<col align="left" valign="top">
1672
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1673
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a>
1677
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1678
<td>integer contents of <em class="parameter"><code>value</code></em>
1687
<div class="refsect2" lang="en">
1688
<a name="id3101457"></a><h3>
1689
<a name="G-IS-PARAM-SPEC-UINT:CAPS"></a>G_IS_PARAM_SPEC_UINT()</h3>
1690
<a class="indexterm" name="id3101471"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT))
1693
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT:CAPS"><code class="literal">G_TYPE_PARAM_UINT</code></a>.
1695
<div class="variablelist"><table border="0">
1696
<col align="left" valign="top">
1698
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
1699
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
1707
<div class="refsect2" lang="en">
1708
<a name="id3101533"></a><h3>
1709
<a name="G-PARAM-SPEC-UINT:CAPS"></a>G_PARAM_SPEC_UINT()</h3>
1710
<a class="indexterm" name="id3101546"></a><pre class="programlisting">#define G_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT, GParamSpecUInt))
1713
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt"><span class="type">GParamSpecUInt</span></a>.
1715
<div class="variablelist"><table border="0">
1716
<col align="left" valign="top">
1718
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
1719
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
1727
<div class="refsect2" lang="en">
1728
<a name="id3101606"></a><h3>
1729
<a name="G-VALUE-HOLDS-UINT:CAPS"></a>G_VALUE_HOLDS_UINT()</h3>
1730
<a class="indexterm" name="id3101619"></a><pre class="programlisting">#define G_VALUE_HOLDS_UINT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UINT))
1733
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-UINT:CAPS"><code class="literal">G_TYPE_UINT</code></a>.
1735
<div class="variablelist"><table border="0">
1736
<col align="left" valign="top">
1738
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1739
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
1747
<div class="refsect2" lang="en">
1748
<a name="id3101680"></a><h3>
1749
<a name="G-TYPE-PARAM-UINT:CAPS"></a>G_TYPE_PARAM_UINT</h3>
1750
<a class="indexterm" name="id3101694"></a><pre class="programlisting">#define G_TYPE_PARAM_UINT (g_param_spec_types[4])
1753
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt"><span class="type">GParamSpecUInt</span></a>.
1757
<div class="refsect2" lang="en">
1758
<a name="id3101726"></a><h3>
1759
<a name="GParamSpecUInt"></a>GParamSpecUInt</h3>
1760
<a class="indexterm" name="id3101738"></a><pre class="programlisting">typedef struct {
1761
GParamSpec parent_instance;
1765
guint default_value;
1769
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned integer properties.
1771
<div class="variablelist"><table border="0">
1772
<col align="left" valign="top">
1775
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
1776
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
1780
<td><span class="term"><a
1781
href="../glib/glib-Basic-Types.html#guint"
1782
>guint</a> <em class="structfield"><code>minimum</code></em>;</span></td>
1783
<td> minimum value for the property specified
1787
<td><span class="term"><a
1788
href="../glib/glib-Basic-Types.html#guint"
1789
>guint</a> <em class="structfield"><code>maximum</code></em>;</span></td>
1790
<td> maximum value for the property specified
1794
<td><span class="term"><a
1795
href="../glib/glib-Basic-Types.html#guint"
1796
>guint</a> <em class="structfield"><code>default_value</code></em>;</span></td>
1797
<td> default value for the property specified
1805
<div class="refsect2" lang="en">
1806
<a name="id3101860"></a><h3>
1807
<a name="g-param-spec-uint"></a>g_param_spec_uint ()</h3>
1808
<a class="indexterm" name="id3101874"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_uint (const <a
1809
href="../glib/glib-Basic-Types.html#gchar"
1812
href="../glib/glib-Basic-Types.html#gchar"
1815
href="../glib/glib-Basic-Types.html#gchar"
1818
href="../glib/glib-Basic-Types.html#guint"
1821
href="../glib/glib-Basic-Types.html#guint"
1824
href="../glib/glib-Basic-Types.html#guint"
1825
>guint</a> default_value,
1826
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
1828
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt"><span class="type">GParamSpecUInt</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-UINT:CAPS"><code class="literal">G_TYPE_UINT</code></a> property.
1831
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
1833
<div class="variablelist"><table border="0">
1834
<col align="left" valign="top">
1837
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1838
<td> canonical name of the property specified
1842
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
1843
<td> nick name for the property specified
1847
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
1848
<td> description of the property specified
1852
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
1853
<td> minimum value for the property specified
1857
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
1858
<td> maximum value for the property specified
1862
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
1863
<td>default value for the property specified
1867
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
1868
<td> flags for the property specified
1872
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1873
<td> a newly created parameter specification
1882
<div class="refsect2" lang="en">
1883
<a name="id3102100"></a><h3>
1884
<a name="g-value-set-uint"></a>g_value_set_uint ()</h3>
1885
<a class="indexterm" name="id3102113"></a><pre class="programlisting">void g_value_set_uint (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
1887
href="../glib/glib-Basic-Types.html#guint"
1888
>guint</a> v_uint);</pre>
1890
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-UINT:CAPS"><code class="literal">G_TYPE_UINT</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_uint</code></em>.
1892
<div class="variablelist"><table border="0">
1893
<col align="left" valign="top">
1896
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1897
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-UINT:CAPS"><code class="literal">G_TYPE_UINT</code></a>
1901
<td><span class="term"><em class="parameter"><code>v_uint</code></em> :</span></td>
1902
<td>unsigned integer value to be set
1911
<div class="refsect2" lang="en">
1912
<a name="id3102224"></a><h3>
1913
<a name="g-value-get-uint"></a>g_value_get_uint ()</h3>
1914
<a class="indexterm" name="id3102237"></a><pre class="programlisting"><a
1915
href="../glib/glib-Basic-Types.html#guint"
1916
>guint</a> g_value_get_uint (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
1918
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-UINT:CAPS"><code class="literal">G_TYPE_UINT</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
1920
<div class="variablelist"><table border="0">
1921
<col align="left" valign="top">
1924
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1925
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-UINT:CAPS"><code class="literal">G_TYPE_UINT</code></a>
1929
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1930
<td>unsigned integer contents of <em class="parameter"><code>value</code></em>
1939
<div class="refsect2" lang="en">
1940
<a name="id3102337"></a><h3>
1941
<a name="G-IS-PARAM-SPEC-LONG:CAPS"></a>G_IS_PARAM_SPEC_LONG()</h3>
1942
<a class="indexterm" name="id3102350"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_LONG))
1945
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-LONG:CAPS"><code class="literal">G_TYPE_PARAM_LONG</code></a>.
1947
<div class="variablelist"><table border="0">
1948
<col align="left" valign="top">
1950
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
1951
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
1959
<div class="refsect2" lang="en">
1960
<a name="id3102412"></a><h3>
1961
<a name="G-PARAM-SPEC-LONG:CAPS"></a>G_PARAM_SPEC_LONG()</h3>
1962
<a class="indexterm" name="id3102425"></a><pre class="programlisting">#define G_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_LONG, GParamSpecLong))
1965
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong"><span class="type">GParamSpecLong</span></a>.
1967
<div class="variablelist"><table border="0">
1968
<col align="left" valign="top">
1970
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
1971
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
1979
<div class="refsect2" lang="en">
1980
<a name="id3102485"></a><h3>
1981
<a name="G-VALUE-HOLDS-LONG:CAPS"></a>G_VALUE_HOLDS_LONG()</h3>
1982
<a class="indexterm" name="id3102497"></a><pre class="programlisting">#define G_VALUE_HOLDS_LONG(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_LONG))
1985
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-LONG:CAPS"><code class="literal">G_TYPE_LONG</code></a>.
1987
<div class="variablelist"><table border="0">
1988
<col align="left" valign="top">
1990
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1991
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
1999
<div class="refsect2" lang="en">
2000
<a name="id3102559"></a><h3>
2001
<a name="G-TYPE-PARAM-LONG:CAPS"></a>G_TYPE_PARAM_LONG</h3>
2002
<a class="indexterm" name="id3102572"></a><pre class="programlisting">#define G_TYPE_PARAM_LONG (g_param_spec_types[5])
2005
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong"><span class="type">GParamSpecLong</span></a>.
2009
<div class="refsect2" lang="en">
2010
<a name="id3102605"></a><h3>
2011
<a name="GParamSpecLong"></a>GParamSpecLong</h3>
2012
<a class="indexterm" name="id3102617"></a><pre class="programlisting">typedef struct {
2013
GParamSpec parent_instance;
2017
glong default_value;
2021
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for long integer properties.
2023
<div class="variablelist"><table border="0">
2024
<col align="left" valign="top">
2027
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
2028
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
2032
<td><span class="term"><a
2033
href="../glib/glib-Basic-Types.html#glong"
2034
>glong</a> <em class="structfield"><code>minimum</code></em>;</span></td>
2035
<td> minimum value for the property specified
2039
<td><span class="term"><a
2040
href="../glib/glib-Basic-Types.html#glong"
2041
>glong</a> <em class="structfield"><code>maximum</code></em>;</span></td>
2042
<td> maximum value for the property specified
2046
<td><span class="term"><a
2047
href="../glib/glib-Basic-Types.html#glong"
2048
>glong</a> <em class="structfield"><code>default_value</code></em>;</span></td>
2049
<td> default value for the property specified
2057
<div class="refsect2" lang="en">
2058
<a name="id3102739"></a><h3>
2059
<a name="g-param-spec-long"></a>g_param_spec_long ()</h3>
2060
<a class="indexterm" name="id3102753"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_long (const <a
2061
href="../glib/glib-Basic-Types.html#gchar"
2064
href="../glib/glib-Basic-Types.html#gchar"
2067
href="../glib/glib-Basic-Types.html#gchar"
2070
href="../glib/glib-Basic-Types.html#glong"
2073
href="../glib/glib-Basic-Types.html#glong"
2076
href="../glib/glib-Basic-Types.html#glong"
2077
>glong</a> default_value,
2078
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
2080
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong"><span class="type">GParamSpecLong</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-LONG:CAPS"><code class="literal">G_TYPE_LONG</code></a> property.
2083
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
2085
<div class="variablelist"><table border="0">
2086
<col align="left" valign="top">
2089
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
2090
<td> canonical name of the property specified
2094
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
2095
<td> nick name for the property specified
2099
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
2100
<td> description of the property specified
2104
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
2105
<td> minimum value for the property specified
2109
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
2110
<td> maximum value for the property specified
2114
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
2115
<td>default value for the property specified
2119
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
2120
<td> flags for the property specified
2124
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
2125
<td>a newly created parameter specification
2134
<div class="refsect2" lang="en">
2135
<a name="id3102979"></a><h3>
2136
<a name="g-value-set-long"></a>g_value_set_long ()</h3>
2137
<a class="indexterm" name="id3102992"></a><pre class="programlisting">void g_value_set_long (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
2139
href="../glib/glib-Basic-Types.html#glong"
2140
>glong</a> v_long);</pre>
2142
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-LONG:CAPS"><code class="literal">G_TYPE_LONG</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_long</code></em>.
2144
<div class="variablelist"><table border="0">
2145
<col align="left" valign="top">
2148
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
2149
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-LONG:CAPS"><code class="literal">G_TYPE_LONG</code></a>
2153
<td><span class="term"><em class="parameter"><code>v_long</code></em> :</span></td>
2154
<td>long integer value to be set
2163
<div class="refsect2" lang="en">
2164
<a name="id3103103"></a><h3>
2165
<a name="g-value-get-long"></a>g_value_get_long ()</h3>
2166
<a class="indexterm" name="id3103116"></a><pre class="programlisting"><a
2167
href="../glib/glib-Basic-Types.html#glong"
2168
>glong</a> g_value_get_long (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
2170
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-LONG:CAPS"><code class="literal">G_TYPE_LONG</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
2172
<div class="variablelist"><table border="0">
2173
<col align="left" valign="top">
2176
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
2177
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-LONG:CAPS"><code class="literal">G_TYPE_LONG</code></a>
2181
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
2182
<td>long integer contents of <em class="parameter"><code>value</code></em>
2191
<div class="refsect2" lang="en">
2192
<a name="id3103216"></a><h3>
2193
<a name="G-IS-PARAM-SPEC-ULONG:CAPS"></a>G_IS_PARAM_SPEC_ULONG()</h3>
2194
<a class="indexterm" name="id3103229"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ULONG))
2197
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ULONG:CAPS"><code class="literal">G_TYPE_PARAM_ULONG</code></a>.
2199
<div class="variablelist"><table border="0">
2200
<col align="left" valign="top">
2202
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
2203
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
2211
<div class="refsect2" lang="en">
2212
<a name="id3103291"></a><h3>
2213
<a name="G-PARAM-SPEC-ULONG:CAPS"></a>G_PARAM_SPEC_ULONG()</h3>
2214
<a class="indexterm" name="id3103304"></a><pre class="programlisting">#define G_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ULONG, GParamSpecULong))
2217
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong"><span class="type">GParamSpecULong</span></a>.
2219
<div class="variablelist"><table border="0">
2220
<col align="left" valign="top">
2222
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
2223
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
2231
<div class="refsect2" lang="en">
2232
<a name="id3103363"></a><h3>
2233
<a name="G-VALUE-HOLDS-ULONG:CAPS"></a>G_VALUE_HOLDS_ULONG()</h3>
2234
<a class="indexterm" name="id3103377"></a><pre class="programlisting">#define G_VALUE_HOLDS_ULONG(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ULONG))
2237
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS"><code class="literal">G_TYPE_ULONG</code></a>.
2239
<div class="variablelist"><table border="0">
2240
<col align="left" valign="top">
2242
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
2243
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
2251
<div class="refsect2" lang="en">
2252
<a name="id3103438"></a><h3>
2253
<a name="G-TYPE-PARAM-ULONG:CAPS"></a>G_TYPE_PARAM_ULONG</h3>
2254
<a class="indexterm" name="id3103452"></a><pre class="programlisting">#define G_TYPE_PARAM_ULONG (g_param_spec_types[6])
2257
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong"><span class="type">GParamSpecULong</span></a>.
2261
<div class="refsect2" lang="en">
2262
<a name="id3103484"></a><h3>
2263
<a name="GParamSpecULong"></a>GParamSpecULong</h3>
2264
<a class="indexterm" name="id3103496"></a><pre class="programlisting">typedef struct {
2265
GParamSpec parent_instance;
2269
gulong default_value;
2273
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned long integer properties.
2275
<div class="variablelist"><table border="0">
2276
<col align="left" valign="top">
2279
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
2280
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
2284
<td><span class="term"><a
2285
href="../glib/glib-Basic-Types.html#gulong"
2286
>gulong</a> <em class="structfield"><code>minimum</code></em>;</span></td>
2287
<td> minimum value for the property specified
2291
<td><span class="term"><a
2292
href="../glib/glib-Basic-Types.html#gulong"
2293
>gulong</a> <em class="structfield"><code>maximum</code></em>;</span></td>
2294
<td> maximum value for the property specified
2298
<td><span class="term"><a
2299
href="../glib/glib-Basic-Types.html#gulong"
2300
>gulong</a> <em class="structfield"><code>default_value</code></em>;</span></td>
2301
<td> default value for the property specified
2309
<div class="refsect2" lang="en">
2310
<a name="id3103619"></a><h3>
2311
<a name="g-param-spec-ulong"></a>g_param_spec_ulong ()</h3>
2312
<a class="indexterm" name="id3103632"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_ulong (const <a
2313
href="../glib/glib-Basic-Types.html#gchar"
2316
href="../glib/glib-Basic-Types.html#gchar"
2319
href="../glib/glib-Basic-Types.html#gchar"
2322
href="../glib/glib-Basic-Types.html#gulong"
2323
>gulong</a> minimum,
2325
href="../glib/glib-Basic-Types.html#gulong"
2326
>gulong</a> maximum,
2328
href="../glib/glib-Basic-Types.html#gulong"
2329
>gulong</a> default_value,
2330
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
2332
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong"><span class="type">GParamSpecULong</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS"><code class="literal">G_TYPE_ULONG</code></a> property.
2335
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
2337
<div class="variablelist"><table border="0">
2338
<col align="left" valign="top">
2341
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
2342
<td> canonical name of the property specified
2346
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
2347
<td> nick name for the property specified
2351
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
2352
<td> description of the property specified
2356
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
2357
<td> minimum value for the property specified
2361
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
2362
<td> maximum value for the property specified
2366
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
2367
<td>default value for the property specified
2371
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
2372
<td> flags for the property specified
2376
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
2377
<td> a newly created parameter specification
2386
<div class="refsect2" lang="en">
2387
<a name="id3103858"></a><h3>
2388
<a name="g-value-set-ulong"></a>g_value_set_ulong ()</h3>
2389
<a class="indexterm" name="id3103871"></a><pre class="programlisting">void g_value_set_ulong (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
2391
href="../glib/glib-Basic-Types.html#gulong"
2392
>gulong</a> v_ulong);</pre>
2394
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS"><code class="literal">G_TYPE_ULONG</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_ulong</code></em>.
2396
<div class="variablelist"><table border="0">
2397
<col align="left" valign="top">
2400
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
2401
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS"><code class="literal">G_TYPE_ULONG</code></a>
2405
<td><span class="term"><em class="parameter"><code>v_ulong</code></em> :</span></td>
2406
<td>unsigned long integer value to be set
2415
<div class="refsect2" lang="en">
2416
<a name="id3103982"></a><h3>
2417
<a name="g-value-get-ulong"></a>g_value_get_ulong ()</h3>
2418
<a class="indexterm" name="id3103995"></a><pre class="programlisting"><a
2419
href="../glib/glib-Basic-Types.html#gulong"
2420
>gulong</a> g_value_get_ulong (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
2422
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS"><code class="literal">G_TYPE_ULONG</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
2424
<div class="variablelist"><table border="0">
2425
<col align="left" valign="top">
2428
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
2429
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS"><code class="literal">G_TYPE_ULONG</code></a>
2433
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
2434
<td>unsigned long integer contents of <em class="parameter"><code>value</code></em>
2443
<div class="refsect2" lang="en">
2444
<a name="id3104095"></a><h3>
2445
<a name="G-IS-PARAM-SPEC-INT64:CAPS"></a>G_IS_PARAM_SPEC_INT64()</h3>
2446
<a class="indexterm" name="id3104108"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT64))
2449
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT64:CAPS"><code class="literal">G_TYPE_PARAM_INT64</code></a>.
2451
<div class="variablelist"><table border="0">
2452
<col align="left" valign="top">
2454
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
2455
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
2463
<div class="refsect2" lang="en">
2464
<a name="id3104171"></a><h3>
2465
<a name="G-PARAM-SPEC-INT64:CAPS"></a>G_PARAM_SPEC_INT64()</h3>
2466
<a class="indexterm" name="id3104184"></a><pre class="programlisting">#define G_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT64, GParamSpecInt64))
2469
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64"><span class="type">GParamSpecInt64</span></a>.
2471
<div class="variablelist"><table border="0">
2472
<col align="left" valign="top">
2474
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
2475
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
2483
<div class="refsect2" lang="en">
2484
<a name="id3104244"></a><h3>
2485
<a name="G-VALUE-HOLDS-INT64:CAPS"></a>G_VALUE_HOLDS_INT64()</h3>
2486
<a class="indexterm" name="id3104257"></a><pre class="programlisting">#define G_VALUE_HOLDS_INT64(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_INT64))
2489
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-INT64:CAPS"><code class="literal">G_TYPE_INT64</code></a>.
2491
<div class="variablelist"><table border="0">
2492
<col align="left" valign="top">
2494
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
2495
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
2503
<div class="refsect2" lang="en">
2504
<a name="id3104319"></a><h3>
2505
<a name="G-TYPE-PARAM-INT64:CAPS"></a>G_TYPE_PARAM_INT64</h3>
2506
<a class="indexterm" name="id3104332"></a><pre class="programlisting">#define G_TYPE_PARAM_INT64 (g_param_spec_types[7])
2509
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64"><span class="type">GParamSpecInt64</span></a>.
2513
<div class="refsect2" lang="en">
2514
<a name="id3104364"></a><h3>
2515
<a name="GParamSpecInt64"></a>GParamSpecInt64</h3>
2516
<a class="indexterm" name="id3104377"></a><pre class="programlisting">typedef struct {
2517
GParamSpec parent_instance;
2521
gint64 default_value;
2525
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for 64bit integer properties.
2527
<div class="variablelist"><table border="0">
2528
<col align="left" valign="top">
2531
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
2532
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
2536
<td><span class="term"><a
2537
href="../glib/glib-Basic-Types.html#gint64"
2538
>gint64</a> <em class="structfield"><code>minimum</code></em>;</span></td>
2539
<td> minimum value for the property specified
2543
<td><span class="term"><a
2544
href="../glib/glib-Basic-Types.html#gint64"
2545
>gint64</a> <em class="structfield"><code>maximum</code></em>;</span></td>
2546
<td> maximum value for the property specified
2550
<td><span class="term"><a
2551
href="../glib/glib-Basic-Types.html#gint64"
2552
>gint64</a> <em class="structfield"><code>default_value</code></em>;</span></td>
2553
<td> default value for the property specified
2561
<div class="refsect2" lang="en">
2562
<a name="id3104499"></a><h3>
2563
<a name="g-param-spec-int64"></a>g_param_spec_int64 ()</h3>
2564
<a class="indexterm" name="id3104513"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_int64 (const <a
2565
href="../glib/glib-Basic-Types.html#gchar"
2568
href="../glib/glib-Basic-Types.html#gchar"
2571
href="../glib/glib-Basic-Types.html#gchar"
2574
href="../glib/glib-Basic-Types.html#gint64"
2575
>gint64</a> minimum,
2577
href="../glib/glib-Basic-Types.html#gint64"
2578
>gint64</a> maximum,
2580
href="../glib/glib-Basic-Types.html#gint64"
2581
>gint64</a> default_value,
2582
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
2584
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64"><span class="type">GParamSpecInt64</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-INT64:CAPS"><code class="literal">G_TYPE_INT64</code></a> property.
2587
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
2589
<div class="variablelist"><table border="0">
2590
<col align="left" valign="top">
2593
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
2594
<td> canonical name of the property specified
2598
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
2599
<td> nick name for the property specified
2603
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
2604
<td> description of the property specified
2608
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
2609
<td> minimum value for the property specified
2613
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
2614
<td> maximum value for the property specified
2618
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
2619
<td>default value for the property specified
2623
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
2624
<td> flags for the property specified
2628
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
2629
<td>a newly created parameter specification
2638
<div class="refsect2" lang="en">
2639
<a name="id3104739"></a><h3>
2640
<a name="g-value-set-int64"></a>g_value_set_int64 ()</h3>
2641
<a class="indexterm" name="id3104752"></a><pre class="programlisting">void g_value_set_int64 (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
2643
href="../glib/glib-Basic-Types.html#gint64"
2644
>gint64</a> v_int64);</pre>
2646
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-INT64:CAPS"><code class="literal">G_TYPE_INT64</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_int64</code></em>.
2648
<div class="variablelist"><table border="0">
2649
<col align="left" valign="top">
2652
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
2653
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-INT64:CAPS"><code class="literal">G_TYPE_INT64</code></a>
2657
<td><span class="term"><em class="parameter"><code>v_int64</code></em> :</span></td>
2658
<td>64bit integer value to be set
2667
<div class="refsect2" lang="en">
2668
<a name="id3104863"></a><h3>
2669
<a name="g-value-get-int64"></a>g_value_get_int64 ()</h3>
2670
<a class="indexterm" name="id3104876"></a><pre class="programlisting"><a
2671
href="../glib/glib-Basic-Types.html#gint64"
2672
>gint64</a> g_value_get_int64 (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
2674
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-INT64:CAPS"><code class="literal">G_TYPE_INT64</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
2676
<div class="variablelist"><table border="0">
2677
<col align="left" valign="top">
2680
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
2681
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-INT64:CAPS"><code class="literal">G_TYPE_INT64</code></a>
2685
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
2686
<td>64bit integer contents of <em class="parameter"><code>value</code></em>
2695
<div class="refsect2" lang="en">
2696
<a name="id3104976"></a><h3>
2697
<a name="G-IS-PARAM-SPEC-UINT64:CAPS"></a>G_IS_PARAM_SPEC_UINT64()</h3>
2698
<a class="indexterm" name="id3104989"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT64))
2701
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT64:CAPS"><code class="literal">G_TYPE_PARAM_UINT64</code></a>.
2703
<div class="variablelist"><table border="0">
2704
<col align="left" valign="top">
2706
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
2707
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
2715
<div class="refsect2" lang="en">
2716
<a name="id3105052"></a><h3>
2717
<a name="G-PARAM-SPEC-UINT64:CAPS"></a>G_PARAM_SPEC_UINT64()</h3>
2718
<a class="indexterm" name="id3105064"></a><pre class="programlisting">#define G_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT64, GParamSpecUInt64))
2721
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64"><span class="type">GParamSpecUInt64</span></a>.
2723
<div class="variablelist"><table border="0">
2724
<col align="left" valign="top">
2726
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
2727
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
2735
<div class="refsect2" lang="en">
2736
<a name="id3105124"></a><h3>
2737
<a name="G-VALUE-HOLDS-UINT64:CAPS"></a>G_VALUE_HOLDS_UINT64()</h3>
2738
<a class="indexterm" name="id3105137"></a><pre class="programlisting">#define G_VALUE_HOLDS_UINT64(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UINT64))
2741
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS"><code class="literal">G_TYPE_UINT64</code></a>.
2743
<div class="variablelist"><table border="0">
2744
<col align="left" valign="top">
2746
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
2747
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
2755
<div class="refsect2" lang="en">
2756
<a name="id3105199"></a><h3>
2757
<a name="G-TYPE-PARAM-UINT64:CAPS"></a>G_TYPE_PARAM_UINT64</h3>
2758
<a class="indexterm" name="id3105213"></a><pre class="programlisting">#define G_TYPE_PARAM_UINT64 (g_param_spec_types[8])
2761
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64"><span class="type">GParamSpecUInt64</span></a>.
2765
<div class="refsect2" lang="en">
2766
<a name="id3105245"></a><h3>
2767
<a name="GParamSpecUInt64"></a>GParamSpecUInt64</h3>
2768
<a class="indexterm" name="id3105257"></a><pre class="programlisting">typedef struct {
2769
GParamSpec parent_instance;
2773
guint64 default_value;
2777
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned 64bit integer properties.
2779
<div class="variablelist"><table border="0">
2780
<col align="left" valign="top">
2783
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
2784
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
2788
<td><span class="term"><a
2789
href="../glib/glib-Basic-Types.html#guint64"
2790
>guint64</a> <em class="structfield"><code>minimum</code></em>;</span></td>
2791
<td> minimum value for the property specified
2795
<td><span class="term"><a
2796
href="../glib/glib-Basic-Types.html#guint64"
2797
>guint64</a> <em class="structfield"><code>maximum</code></em>;</span></td>
2798
<td> maximum value for the property specified
2802
<td><span class="term"><a
2803
href="../glib/glib-Basic-Types.html#guint64"
2804
>guint64</a> <em class="structfield"><code>default_value</code></em>;</span></td>
2805
<td> default value for the property specified
2813
<div class="refsect2" lang="en">
2814
<a name="id3105380"></a><h3>
2815
<a name="g-param-spec-uint64"></a>g_param_spec_uint64 ()</h3>
2816
<a class="indexterm" name="id3105393"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_uint64 (const <a
2817
href="../glib/glib-Basic-Types.html#gchar"
2820
href="../glib/glib-Basic-Types.html#gchar"
2823
href="../glib/glib-Basic-Types.html#gchar"
2826
href="../glib/glib-Basic-Types.html#guint64"
2827
>guint64</a> minimum,
2829
href="../glib/glib-Basic-Types.html#guint64"
2830
>guint64</a> maximum,
2832
href="../glib/glib-Basic-Types.html#guint64"
2833
>guint64</a> default_value,
2834
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
2836
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64"><span class="type">GParamSpecUInt64</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS"><code class="literal">G_TYPE_UINT64</code></a>
2840
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
2842
<div class="variablelist"><table border="0">
2843
<col align="left" valign="top">
2846
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
2847
<td> canonical name of the property specified
2851
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
2852
<td> nick name for the property specified
2856
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
2857
<td> description of the property specified
2861
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
2862
<td> minimum value for the property specified
2866
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
2867
<td> maximum value for the property specified
2871
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
2872
<td>default value for the property specified
2876
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
2877
<td> flags for the property specified
2881
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
2882
<td>a newly created parameter specification
2891
<div class="refsect2" lang="en">
2892
<a name="id3105619"></a><h3>
2893
<a name="g-value-set-uint64"></a>g_value_set_uint64 ()</h3>
2894
<a class="indexterm" name="id3105633"></a><pre class="programlisting">void g_value_set_uint64 (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
2896
href="../glib/glib-Basic-Types.html#guint64"
2897
>guint64</a> v_uint64);</pre>
2899
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS"><code class="literal">G_TYPE_UINT64</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_uint64</code></em>.
2901
<div class="variablelist"><table border="0">
2902
<col align="left" valign="top">
2905
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
2906
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS"><code class="literal">G_TYPE_UINT64</code></a>
2910
<td><span class="term"><em class="parameter"><code>v_uint64</code></em> :</span></td>
2911
<td>unsigned 64bit integer value to be set
2920
<div class="refsect2" lang="en">
2921
<a name="id3105744"></a><h3>
2922
<a name="g-value-get-uint64"></a>g_value_get_uint64 ()</h3>
2923
<a class="indexterm" name="id3105757"></a><pre class="programlisting"><a
2924
href="../glib/glib-Basic-Types.html#guint64"
2925
>guint64</a> g_value_get_uint64 (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
2927
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS"><code class="literal">G_TYPE_UINT64</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
2929
<div class="variablelist"><table border="0">
2930
<col align="left" valign="top">
2933
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
2934
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS"><code class="literal">G_TYPE_UINT64</code></a>
2938
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
2939
<td>unsigned 64bit integer contents of <em class="parameter"><code>value</code></em>
2948
<div class="refsect2" lang="en">
2949
<a name="id3105857"></a><h3>
2950
<a name="G-IS-PARAM-SPEC-FLOAT:CAPS"></a>G_IS_PARAM_SPEC_FLOAT()</h3>
2951
<a class="indexterm" name="id3105870"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLOAT))
2954
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLOAT:CAPS"><code class="literal">G_TYPE_PARAM_FLOAT</code></a>.
2956
<div class="variablelist"><table border="0">
2957
<col align="left" valign="top">
2959
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
2960
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
2968
<div class="refsect2" lang="en">
2969
<a name="id3105933"></a><h3>
2970
<a name="G-PARAM-SPEC-FLOAT:CAPS"></a>G_PARAM_SPEC_FLOAT()</h3>
2971
<a class="indexterm" name="id3105945"></a><pre class="programlisting">#define G_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLOAT, GParamSpecFloat))
2974
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat"><span class="type">GParamSpecFloat</span></a>.
2976
<div class="variablelist"><table border="0">
2977
<col align="left" valign="top">
2979
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
2980
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
2988
<div class="refsect2" lang="en">
2989
<a name="id3106004"></a><h3>
2990
<a name="G-VALUE-HOLDS-FLOAT:CAPS"></a>G_VALUE_HOLDS_FLOAT()</h3>
2991
<a class="indexterm" name="id3106017"></a><pre class="programlisting">#define G_VALUE_HOLDS_FLOAT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLOAT))
2994
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS"><code class="literal">G_TYPE_FLOAT</code></a>.
2996
<div class="variablelist"><table border="0">
2997
<col align="left" valign="top">
2999
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3000
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
3008
<div class="refsect2" lang="en">
3009
<a name="id3106079"></a><h3>
3010
<a name="G-TYPE-PARAM-FLOAT:CAPS"></a>G_TYPE_PARAM_FLOAT</h3>
3011
<a class="indexterm" name="id3106093"></a><pre class="programlisting">#define G_TYPE_PARAM_FLOAT (g_param_spec_types[12])
3014
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat"><span class="type">GParamSpecFloat</span></a>.
3018
<div class="refsect2" lang="en">
3019
<a name="id3106125"></a><h3>
3020
<a name="GParamSpecFloat"></a>GParamSpecFloat</h3>
3021
<a class="indexterm" name="id3106137"></a><pre class="programlisting">typedef struct {
3022
GParamSpec parent_instance;
3026
gfloat default_value;
3031
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for float properties.
3033
<div class="variablelist"><table border="0">
3034
<col align="left" valign="top">
3037
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
3038
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
3042
<td><span class="term"><a
3043
href="../glib/glib-Basic-Types.html#gfloat"
3044
>gfloat</a> <em class="structfield"><code>minimum</code></em>;</span></td>
3045
<td> minimum value for the property specified
3049
<td><span class="term"><a
3050
href="../glib/glib-Basic-Types.html#gfloat"
3051
>gfloat</a> <em class="structfield"><code>maximum</code></em>;</span></td>
3052
<td> maximum value for the property specified
3056
<td><span class="term"><a
3057
href="../glib/glib-Basic-Types.html#gfloat"
3058
>gfloat</a> <em class="structfield"><code>default_value</code></em>;</span></td>
3059
<td> default value for the property specified
3063
<td><span class="term"><a
3064
href="../glib/glib-Basic-Types.html#gfloat"
3065
>gfloat</a> <em class="structfield"><code>epsilon</code></em>;</span></td>
3066
<td> values closer than <em class="parameter"><code>epsilon</code></em> will be considered identical
3067
by <a href="gobject-GParamSpec.html#g-param-values-cmp"><code class="function">g_param_values_cmp()</code></a>; the default value is 1e-30.
3075
<div class="refsect2" lang="en">
3076
<a name="id3106299"></a><h3>
3077
<a name="g-param-spec-float"></a>g_param_spec_float ()</h3>
3078
<a class="indexterm" name="id3106312"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_float (const <a
3079
href="../glib/glib-Basic-Types.html#gchar"
3082
href="../glib/glib-Basic-Types.html#gchar"
3085
href="../glib/glib-Basic-Types.html#gchar"
3088
href="../glib/glib-Basic-Types.html#gfloat"
3089
>gfloat</a> minimum,
3091
href="../glib/glib-Basic-Types.html#gfloat"
3092
>gfloat</a> maximum,
3094
href="../glib/glib-Basic-Types.html#gfloat"
3095
>gfloat</a> default_value,
3096
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
3098
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat"><span class="type">GParamSpecFloat</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS"><code class="literal">G_TYPE_FLOAT</code></a> property.
3101
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
3103
<div class="variablelist"><table border="0">
3104
<col align="left" valign="top">
3107
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
3108
<td> canonical name of the property specified
3112
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
3113
<td> nick name for the property specified
3117
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
3118
<td> description of the property specified
3122
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
3123
<td> minimum value for the property specified
3127
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
3128
<td> maximum value for the property specified
3132
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
3133
<td>default value for the property specified
3137
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
3138
<td> flags for the property specified
3142
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
3143
<td>a newly created parameter specification
3152
<div class="refsect2" lang="en">
3153
<a name="id3106539"></a><h3>
3154
<a name="g-value-set-float"></a>g_value_set_float ()</h3>
3155
<a class="indexterm" name="id3106552"></a><pre class="programlisting">void g_value_set_float (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
3157
href="../glib/glib-Basic-Types.html#gfloat"
3158
>gfloat</a> v_float);</pre>
3160
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS"><code class="literal">G_TYPE_FLOAT</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_float</code></em>.
3162
<div class="variablelist"><table border="0">
3163
<col align="left" valign="top">
3166
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3167
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS"><code class="literal">G_TYPE_FLOAT</code></a>
3171
<td><span class="term"><em class="parameter"><code>v_float</code></em> :</span></td>
3172
<td>float value to be set
3181
<div class="refsect2" lang="en">
3182
<a name="id3106663"></a><h3>
3183
<a name="g-value-get-float"></a>g_value_get_float ()</h3>
3184
<a class="indexterm" name="id3106676"></a><pre class="programlisting"><a
3185
href="../glib/glib-Basic-Types.html#gfloat"
3186
>gfloat</a> g_value_get_float (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
3188
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS"><code class="literal">G_TYPE_FLOAT</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
3190
<div class="variablelist"><table border="0">
3191
<col align="left" valign="top">
3194
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3195
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS"><code class="literal">G_TYPE_FLOAT</code></a>
3199
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
3200
<td>float contents of <em class="parameter"><code>value</code></em>
3209
<div class="refsect2" lang="en">
3210
<a name="id3106775"></a><h3>
3211
<a name="G-IS-PARAM-SPEC-DOUBLE:CAPS"></a>G_IS_PARAM_SPEC_DOUBLE()</h3>
3212
<a class="indexterm" name="id3106788"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_DOUBLE))
3215
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-DOUBLE:CAPS"><code class="literal">G_TYPE_PARAM_DOUBLE</code></a>.
3217
<div class="variablelist"><table border="0">
3218
<col align="left" valign="top">
3220
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
3221
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
3229
<div class="refsect2" lang="en">
3230
<a name="id3106851"></a><h3>
3231
<a name="G-PARAM-SPEC-DOUBLE:CAPS"></a>G_PARAM_SPEC_DOUBLE()</h3>
3232
<a class="indexterm" name="id3106864"></a><pre class="programlisting">#define G_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_DOUBLE, GParamSpecDouble))
3235
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble"><span class="type">GParamSpecDouble</span></a>.
3237
<div class="variablelist"><table border="0">
3238
<col align="left" valign="top">
3240
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
3241
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
3249
<div class="refsect2" lang="en">
3250
<a name="id3106923"></a><h3>
3251
<a name="G-VALUE-HOLDS-DOUBLE:CAPS"></a>G_VALUE_HOLDS_DOUBLE()</h3>
3252
<a class="indexterm" name="id3106937"></a><pre class="programlisting">#define G_VALUE_HOLDS_DOUBLE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_DOUBLE))
3255
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"><code class="literal">G_TYPE_DOUBLE</code></a>.
3257
<div class="variablelist"><table border="0">
3258
<col align="left" valign="top">
3260
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3261
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
3269
<div class="refsect2" lang="en">
3270
<a name="id3106999"></a><h3>
3271
<a name="G-TYPE-PARAM-DOUBLE:CAPS"></a>G_TYPE_PARAM_DOUBLE</h3>
3272
<a class="indexterm" name="id3107012"></a><pre class="programlisting">#define G_TYPE_PARAM_DOUBLE (g_param_spec_types[13])
3275
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble"><span class="type">GParamSpecDouble</span></a>.
3279
<div class="refsect2" lang="en">
3280
<a name="id3107044"></a><h3>
3281
<a name="GParamSpecDouble"></a>GParamSpecDouble</h3>
3282
<a class="indexterm" name="id3107057"></a><pre class="programlisting">typedef struct {
3283
GParamSpec parent_instance;
3287
gdouble default_value;
3292
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for double properties.
3294
<div class="variablelist"><table border="0">
3295
<col align="left" valign="top">
3298
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
3299
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
3303
<td><span class="term"><a
3304
href="../glib/glib-Basic-Types.html#gdouble"
3305
>gdouble</a> <em class="structfield"><code>minimum</code></em>;</span></td>
3306
<td> minimum value for the property specified
3310
<td><span class="term"><a
3311
href="../glib/glib-Basic-Types.html#gdouble"
3312
>gdouble</a> <em class="structfield"><code>maximum</code></em>;</span></td>
3313
<td> maximum value for the property specified
3317
<td><span class="term"><a
3318
href="../glib/glib-Basic-Types.html#gdouble"
3319
>gdouble</a> <em class="structfield"><code>default_value</code></em>;</span></td>
3320
<td> default value for the property specified
3324
<td><span class="term"><a
3325
href="../glib/glib-Basic-Types.html#gdouble"
3326
>gdouble</a> <em class="structfield"><code>epsilon</code></em>;</span></td>
3327
<td> values closer than <em class="parameter"><code>epsilon</code></em> will be considered identical
3328
by <a href="gobject-GParamSpec.html#g-param-values-cmp"><code class="function">g_param_values_cmp()</code></a>; the default value is 1e-90.
3336
<div class="refsect2" lang="en">
3337
<a name="id3107218"></a><h3>
3338
<a name="g-param-spec-double"></a>g_param_spec_double ()</h3>
3339
<a class="indexterm" name="id3107231"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_double (const <a
3340
href="../glib/glib-Basic-Types.html#gchar"
3343
href="../glib/glib-Basic-Types.html#gchar"
3346
href="../glib/glib-Basic-Types.html#gchar"
3349
href="../glib/glib-Basic-Types.html#gdouble"
3350
>gdouble</a> minimum,
3352
href="../glib/glib-Basic-Types.html#gdouble"
3353
>gdouble</a> maximum,
3355
href="../glib/glib-Basic-Types.html#gdouble"
3356
>gdouble</a> default_value,
3357
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
3359
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble"><span class="type">GParamSpecDouble</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"><code class="literal">G_TYPE_DOUBLE</code></a>
3363
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
3365
<div class="variablelist"><table border="0">
3366
<col align="left" valign="top">
3369
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
3370
<td> canonical name of the property specified
3374
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
3375
<td> nick name for the property specified
3379
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
3380
<td> description of the property specified
3384
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
3385
<td> minimum value for the property specified
3389
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
3390
<td> maximum value for the property specified
3394
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
3395
<td>default value for the property specified
3399
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
3400
<td> flags for the property specified
3404
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
3405
<td> a newly created parameter specification
3414
<div class="refsect2" lang="en">
3415
<a name="id3107457"></a><h3>
3416
<a name="g-value-set-double"></a>g_value_set_double ()</h3>
3417
<a class="indexterm" name="id3107471"></a><pre class="programlisting">void g_value_set_double (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
3419
href="../glib/glib-Basic-Types.html#gdouble"
3420
>gdouble</a> v_double);</pre>
3422
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"><code class="literal">G_TYPE_DOUBLE</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_double</code></em>.
3424
<div class="variablelist"><table border="0">
3425
<col align="left" valign="top">
3428
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3429
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"><code class="literal">G_TYPE_DOUBLE</code></a>
3433
<td><span class="term"><em class="parameter"><code>v_double</code></em> :</span></td>
3434
<td>double value to be set
3443
<div class="refsect2" lang="en">
3444
<a name="id3107582"></a><h3>
3445
<a name="g-value-get-double"></a>g_value_get_double ()</h3>
3446
<a class="indexterm" name="id3107595"></a><pre class="programlisting"><a
3447
href="../glib/glib-Basic-Types.html#gdouble"
3448
>gdouble</a> g_value_get_double (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
3450
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"><code class="literal">G_TYPE_DOUBLE</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
3452
<div class="variablelist"><table border="0">
3453
<col align="left" valign="top">
3456
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3457
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"><code class="literal">G_TYPE_DOUBLE</code></a>
3461
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
3462
<td>double contents of <em class="parameter"><code>value</code></em>
3471
<div class="refsect2" lang="en">
3472
<a name="id3107695"></a><h3>
3473
<a name="G-IS-PARAM-SPEC-ENUM:CAPS"></a>G_IS_PARAM_SPEC_ENUM()</h3>
3474
<a class="indexterm" name="id3107708"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ENUM))
3477
Returns whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ENUM:CAPS"><code class="literal">G_TYPE_PARAM_ENUM</code></a>.
3479
<div class="variablelist"><table border="0">
3480
<col align="left" valign="top">
3482
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
3483
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
3491
<div class="refsect2" lang="en">
3492
<a name="id3107771"></a><h3>
3493
<a name="G-PARAM-SPEC-ENUM:CAPS"></a>G_PARAM_SPEC_ENUM()</h3>
3494
<a class="indexterm" name="id3107784"></a><pre class="programlisting">#define G_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ENUM, GParamSpecEnum))
3497
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum"><span class="type">GParamSpecEnum</span></a>.
3499
<div class="variablelist"><table border="0">
3500
<col align="left" valign="top">
3502
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
3503
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
3511
<div class="refsect2" lang="en">
3512
<a name="id3107844"></a><h3>
3513
<a name="G-VALUE-HOLDS-ENUM:CAPS"></a>G_VALUE_HOLDS_ENUM()</h3>
3514
<a class="indexterm" name="id3107856"></a><pre class="programlisting">#define G_VALUE_HOLDS_ENUM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ENUM))
3517
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values derived from type <a href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS"><code class="literal">G_TYPE_ENUM</code></a>.
3519
<div class="variablelist"><table border="0">
3520
<col align="left" valign="top">
3522
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3523
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
3531
<div class="refsect2" lang="en">
3532
<a name="id3107918"></a><h3>
3533
<a name="G-TYPE-PARAM-ENUM:CAPS"></a>G_TYPE_PARAM_ENUM</h3>
3534
<a class="indexterm" name="id3107932"></a><pre class="programlisting">#define G_TYPE_PARAM_ENUM (g_param_spec_types[10])
3537
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum"><span class="type">GParamSpecEnum</span></a>.
3541
<div class="refsect2" lang="en">
3542
<a name="id3107964"></a><h3>
3543
<a name="GParamSpecEnum"></a>GParamSpecEnum</h3>
3544
<a class="indexterm" name="id3107976"></a><pre class="programlisting">typedef struct {
3545
GParamSpec parent_instance;
3547
GEnumClass *enum_class;
3552
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for enum
3555
<div class="variablelist"><table border="0">
3556
<col align="left" valign="top">
3559
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
3560
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
3564
<td><span class="term"><a href="gobject-Enumeration-and-Flag-Types.html#GEnumClass">GEnumClass</a> *<em class="structfield"><code>enum_class</code></em>;</span></td>
3565
<td>the <a href="gobject-Enumeration-and-Flag-Types.html#GEnumClass"><span class="type">GEnumClass</span></a> for the enum
3569
<td><span class="term"><a
3570
href="../glib/glib-Basic-Types.html#gint"
3571
>gint</a> <em class="structfield"><code>default_value</code></em>;</span></td>
3572
<td> default value for the property specified
3580
<div class="refsect2" lang="en">
3581
<a name="id3108085"></a><h3>
3582
<a name="g-param-spec-enum"></a>g_param_spec_enum ()</h3>
3583
<a class="indexterm" name="id3108098"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_enum (const <a
3584
href="../glib/glib-Basic-Types.html#gchar"
3587
href="../glib/glib-Basic-Types.html#gchar"
3590
href="../glib/glib-Basic-Types.html#gchar"
3592
<a href="gobject-Type-Information.html#GType">GType</a> enum_type,
3594
href="../glib/glib-Basic-Types.html#gint"
3595
>gint</a> default_value,
3596
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
3598
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum"><span class="type">GParamSpecEnum</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS"><code class="literal">G_TYPE_ENUM</code></a>
3602
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
3604
<div class="variablelist"><table border="0">
3605
<col align="left" valign="top">
3608
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
3609
<td> canonical name of the property specified
3613
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
3614
<td> nick name for the property specified
3618
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
3619
<td> description of the property specified
3623
<td><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></td>
3624
<td> a <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> derived from <a href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS"><code class="literal">G_TYPE_ENUM</code></a>
3628
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
3629
<td>default value for the property specified
3633
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
3634
<td> flags for the property specified
3638
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
3639
<td> a newly created parameter specification
3648
<div class="refsect2" lang="en">
3649
<a name="id3108320"></a><h3>
3650
<a name="g-value-set-enum"></a>g_value_set_enum ()</h3>
3651
<a class="indexterm" name="id3108333"></a><pre class="programlisting">void g_value_set_enum (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
3653
href="../glib/glib-Basic-Types.html#gint"
3654
>gint</a> v_enum);</pre>
3656
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS"><code class="literal">G_TYPE_ENUM</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_enum</code></em>.
3658
<div class="variablelist"><table border="0">
3659
<col align="left" valign="top">
3662
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3663
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS"><code class="literal">G_TYPE_ENUM</code></a>
3667
<td><span class="term"><em class="parameter"><code>v_enum</code></em> :</span></td>
3668
<td>enum value to be set
3677
<div class="refsect2" lang="en">
3678
<a name="id3108445"></a><h3>
3679
<a name="g-value-get-enum"></a>g_value_get_enum ()</h3>
3680
<a class="indexterm" name="id3108457"></a><pre class="programlisting"><a
3681
href="../glib/glib-Basic-Types.html#gint"
3682
>gint</a> g_value_get_enum (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
3684
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS"><code class="literal">G_TYPE_ENUM</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
3686
<div class="variablelist"><table border="0">
3687
<col align="left" valign="top">
3690
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3691
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS"><code class="literal">G_TYPE_ENUM</code></a>
3695
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
3696
<td>enum contents of <em class="parameter"><code>value</code></em>
3705
<div class="refsect2" lang="en">
3706
<a name="id3108557"></a><h3>
3707
<a name="G-IS-PARAM-SPEC-FLAGS:CAPS"></a>G_IS_PARAM_SPEC_FLAGS()</h3>
3708
<a class="indexterm" name="id3108570"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLAGS))
3711
Returns whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLAGS:CAPS"><code class="literal">G_TYPE_PARAM_FLAGS</code></a>.
3713
<div class="variablelist"><table border="0">
3714
<col align="left" valign="top">
3716
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
3717
<td> a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
3725
<div class="refsect2" lang="en">
3726
<a name="id3108633"></a><h3>
3727
<a name="G-PARAM-SPEC-FLAGS:CAPS"></a>G_PARAM_SPEC_FLAGS()</h3>
3728
<a class="indexterm" name="id3108645"></a><pre class="programlisting">#define G_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLAGS, GParamSpecFlags))
3731
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags"><span class="type">GParamSpecFlags</span></a>.
3733
<div class="variablelist"><table border="0">
3734
<col align="left" valign="top">
3736
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
3737
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
3745
<div class="refsect2" lang="en">
3746
<a name="id3108704"></a><h3>
3747
<a name="G-VALUE-HOLDS-FLAGS:CAPS"></a>G_VALUE_HOLDS_FLAGS()</h3>
3748
<a class="indexterm" name="id3108718"></a><pre class="programlisting">#define G_VALUE_HOLDS_FLAGS(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLAGS))
3751
Returns whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values derived from type <a href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS"><code class="literal">G_TYPE_FLAGS</code></a>.
3753
<div class="variablelist"><table border="0">
3754
<col align="left" valign="top">
3756
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3757
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
3765
<div class="refsect2" lang="en">
3766
<a name="id3108780"></a><h3>
3767
<a name="G-TYPE-PARAM-FLAGS:CAPS"></a>G_TYPE_PARAM_FLAGS</h3>
3768
<a class="indexterm" name="id3108793"></a><pre class="programlisting">#define G_TYPE_PARAM_FLAGS (g_param_spec_types[11])
3771
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags"><span class="type">GParamSpecFlags</span></a>.
3775
<div class="refsect2" lang="en">
3776
<a name="id3108826"></a><h3>
3777
<a name="GParamSpecFlags"></a>GParamSpecFlags</h3>
3778
<a class="indexterm" name="id3108838"></a><pre class="programlisting">typedef struct {
3779
GParamSpec parent_instance;
3781
GFlagsClass *flags_class;
3782
guint default_value;
3786
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for flags
3789
<div class="variablelist"><table border="0">
3790
<col align="left" valign="top">
3793
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
3794
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
3798
<td><span class="term"><a href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass">GFlagsClass</a> *<em class="structfield"><code>flags_class</code></em>;</span></td>
3799
<td>the <a href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass"><span class="type">GFlagsClass</span></a> for the flags
3803
<td><span class="term"><a
3804
href="../glib/glib-Basic-Types.html#guint"
3805
>guint</a> <em class="structfield"><code>default_value</code></em>;</span></td>
3806
<td> default value for the property specified
3814
<div class="refsect2" lang="en">
3815
<a name="id3108946"></a><h3>
3816
<a name="g-param-spec-flags"></a>g_param_spec_flags ()</h3>
3817
<a class="indexterm" name="id3108960"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_flags (const <a
3818
href="../glib/glib-Basic-Types.html#gchar"
3821
href="../glib/glib-Basic-Types.html#gchar"
3824
href="../glib/glib-Basic-Types.html#gchar"
3826
<a href="gobject-Type-Information.html#GType">GType</a> flags_type,
3828
href="../glib/glib-Basic-Types.html#guint"
3829
>guint</a> default_value,
3830
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
3832
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum"><span class="type">GParamSpecEnum</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS"><code class="literal">G_TYPE_FLAGS</code></a>
3836
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
3838
<div class="variablelist"><table border="0">
3839
<col align="left" valign="top">
3842
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
3843
<td> canonical name of the property specified
3847
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
3848
<td> nick name for the property specified
3852
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
3853
<td> description of the property specified
3857
<td><span class="term"><em class="parameter"><code>flags_type</code></em> :</span></td>
3858
<td> a <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> derived from <a href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS"><code class="literal">G_TYPE_FLAGS</code></a>
3862
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
3863
<td>default value for the property specified
3867
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
3868
<td> flags for the property specified
3872
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
3873
<td> a newly created parameter specification
3882
<div class="refsect2" lang="en">
3883
<a name="id3109182"></a><h3>
3884
<a name="g-value-set-flags"></a>g_value_set_flags ()</h3>
3885
<a class="indexterm" name="id3109195"></a><pre class="programlisting">void g_value_set_flags (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
3887
href="../glib/glib-Basic-Types.html#guint"
3888
>guint</a> v_flags);</pre>
3890
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS"><code class="literal">G_TYPE_FLAGS</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_flags</code></em>.
3892
<div class="variablelist"><table border="0">
3893
<col align="left" valign="top">
3896
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3897
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS"><code class="literal">G_TYPE_FLAGS</code></a>
3901
<td><span class="term"><em class="parameter"><code>v_flags</code></em> :</span></td>
3902
<td>flags value to be set
3911
<div class="refsect2" lang="en">
3912
<a name="id3109306"></a><h3>
3913
<a name="g-value-get-flags"></a>g_value_get_flags ()</h3>
3914
<a class="indexterm" name="id3109319"></a><pre class="programlisting"><a
3915
href="../glib/glib-Basic-Types.html#guint"
3916
>guint</a> g_value_get_flags (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
3918
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS"><code class="literal">G_TYPE_FLAGS</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
3920
<div class="variablelist"><table border="0">
3921
<col align="left" valign="top">
3924
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3925
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS"><code class="literal">G_TYPE_FLAGS</code></a>
3929
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
3930
<td>flags contents of <em class="parameter"><code>value</code></em>
3939
<div class="refsect2" lang="en">
3940
<a name="id3109419"></a><h3>
3941
<a name="G-IS-PARAM-SPEC-STRING:CAPS"></a>G_IS_PARAM_SPEC_STRING()</h3>
3942
<a class="indexterm" name="id3109432"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_STRING))
3945
Returns whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-STRING:CAPS"><code class="literal">G_TYPE_PARAM_STRING</code></a>.
3947
<div class="variablelist"><table border="0">
3948
<col align="left" valign="top">
3950
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
3951
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
3959
<div class="refsect2" lang="en">
3960
<a name="id3109495"></a><h3>
3961
<a name="G-PARAM-SPEC-STRING:CAPS"></a>G_PARAM_SPEC_STRING()</h3>
3962
<a class="indexterm" name="id3109508"></a><pre class="programlisting">#define G_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_STRING, GParamSpecString))
3965
Casts a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString"><span class="type">GParamSpecString</span></a>.
3967
<div class="variablelist"><table border="0">
3968
<col align="left" valign="top">
3970
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
3971
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
3979
<div class="refsect2" lang="en">
3980
<a name="id3109568"></a><h3>
3981
<a name="G-VALUE-HOLDS-STRING:CAPS"></a>G_VALUE_HOLDS_STRING()</h3>
3982
<a class="indexterm" name="id3109581"></a><pre class="programlisting">#define G_VALUE_HOLDS_STRING(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_STRING))
3985
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>.
3987
<div class="variablelist"><table border="0">
3988
<col align="left" valign="top">
3990
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
3991
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
3999
<div class="refsect2" lang="en">
4000
<a name="id3109643"></a><h3>
4001
<a name="G-TYPE-PARAM-STRING:CAPS"></a>G_TYPE_PARAM_STRING</h3>
4002
<a class="indexterm" name="id3109657"></a><pre class="programlisting">#define G_TYPE_PARAM_STRING (g_param_spec_types[14])
4005
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString"><span class="type">GParamSpecString</span></a>.
4009
<div class="refsect2" lang="en">
4010
<a name="id3109689"></a><h3>
4011
<a name="GParamSpecString"></a>GParamSpecString</h3>
4012
<a class="indexterm" name="id3109701"></a><pre class="programlisting">typedef struct {
4013
GParamSpec parent_instance;
4015
gchar *default_value;
4019
guint null_fold_if_empty : 1;
4020
guint ensure_non_null : 1;
4024
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for string
4027
<div class="variablelist"><table border="0">
4028
<col align="left" valign="top">
4031
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
4032
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
4036
<td><span class="term"><a
4037
href="../glib/glib-Basic-Types.html#gchar"
4038
>gchar</a> *<em class="structfield"><code>default_value</code></em>;</span></td>
4039
<td> default value for the property specified
4043
<td><span class="term"><a
4044
href="../glib/glib-Basic-Types.html#gchar"
4045
>gchar</a> *<em class="structfield"><code>cset_first</code></em>;</span></td>
4046
<td>a string containing the allowed values for the first byte
4050
<td><span class="term"><a
4051
href="../glib/glib-Basic-Types.html#gchar"
4052
>gchar</a> *<em class="structfield"><code>cset_nth</code></em>;</span></td>
4053
<td>a string containing the allowed values for the subsequent bytes
4057
<td><span class="term"><a
4058
href="../glib/glib-Basic-Types.html#gchar"
4059
>gchar</a> <em class="structfield"><code>substitutor</code></em>;</span></td>
4060
<td>the replacement byte for bytes which don't match <em class="parameter"><code>cset_first</code></em> or <em class="parameter"><code>cset_nth</code></em>.
4064
<td><span class="term"><a
4065
href="../glib/glib-Basic-Types.html#guint"
4066
>guint</a> <em class="structfield"><code>null_fold_if_empty</code></em> : 1;</span></td>
4067
<td>replace empty string by <a
4068
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
4069
><code class="literal">NULL</code></a>
4073
<td><span class="term"><a
4074
href="../glib/glib-Basic-Types.html#guint"
4075
>guint</a> <em class="structfield"><code>ensure_non_null</code></em> : 1;</span></td>
4077
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
4078
><code class="literal">NULL</code></a> strings by an empty string
4086
<div class="refsect2" lang="en">
4087
<a name="id3109920"></a><h3>
4088
<a name="gchararray"></a>gchararray</h3>
4089
<a class="indexterm" name="id3109933"></a><pre class="programlisting">typedef gchar* gchararray;
4092
A C representable type name for <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><span class="type">G_TYPE_STRING</span></a>.
4096
<div class="refsect2" lang="en">
4097
<a name="id3109957"></a><h3>
4098
<a name="g-param-spec-string"></a>g_param_spec_string ()</h3>
4099
<a class="indexterm" name="id3109970"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_string (const <a
4100
href="../glib/glib-Basic-Types.html#gchar"
4103
href="../glib/glib-Basic-Types.html#gchar"
4106
href="../glib/glib-Basic-Types.html#gchar"
4109
href="../glib/glib-Basic-Types.html#gchar"
4110
>gchar</a> *default_value,
4111
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
4113
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString"><span class="type">GParamSpecString</span></a> instance.
4116
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
4118
<div class="variablelist"><table border="0">
4119
<col align="left" valign="top">
4122
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
4123
<td> canonical name of the property specified
4127
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
4128
<td> nick name for the property specified
4132
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
4133
<td> description of the property specified
4137
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
4138
<td>default value for the property specified
4142
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
4143
<td> flags for the property specified
4147
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
4148
<td> a newly created parameter specification
4157
<div class="refsect2" lang="en">
4158
<a name="id3110141"></a><h3>
4159
<a name="g-value-set-string"></a>g_value_set_string ()</h3>
4160
<a class="indexterm" name="id3110154"></a><pre class="programlisting">void g_value_set_string (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
4162
href="../glib/glib-Basic-Types.html#gchar"
4163
>gchar</a> *v_string);</pre>
4165
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_string</code></em>.
4167
<div class="variablelist"><table border="0">
4168
<col align="left" valign="top">
4171
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4172
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>
4176
<td><span class="term"><em class="parameter"><code>v_string</code></em> :</span></td>
4177
<td>string to be set
4186
<div class="refsect2" lang="en">
4187
<a name="id3110266"></a><h3>
4188
<a name="g-value-set-static-string"></a>g_value_set_static_string ()</h3>
4189
<a class="indexterm" name="id3110280"></a><pre class="programlisting">void g_value_set_static_string (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
4191
href="../glib/glib-Basic-Types.html#gchar"
4192
>gchar</a> *v_string);</pre>
4194
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_string</code></em>.
4195
The string is assumed to be static, and is thus not duplicated
4196
when setting the <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
4198
<div class="variablelist"><table border="0">
4199
<col align="left" valign="top">
4202
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4203
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>
4207
<td><span class="term"><em class="parameter"><code>v_string</code></em> :</span></td>
4208
<td>static string to be set
4217
<div class="refsect2" lang="en">
4218
<a name="id3110400"></a><h3>
4219
<a name="g-value-take-string"></a>g_value_take_string ()</h3>
4220
<a class="indexterm" name="id3110415"></a><pre class="programlisting">void g_value_take_string (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
4222
href="../glib/glib-Basic-Types.html#gchar"
4223
>gchar</a> *v_string);</pre>
4225
Sets the contents of a <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_string</code></em>.
4227
<div class="variablelist"><table border="0">
4228
<col align="left" valign="top">
4231
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4232
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>
4236
<td><span class="term"><em class="parameter"><code>v_string</code></em> :</span></td>
4237
<td>duplicated unowned string to be set
4242
<p class="since">Since 2.4
4248
<div class="refsect2" lang="en">
4249
<a name="id3110533"></a><h3>
4250
<a name="g-value-set-string-take-ownership"></a>g_value_set_string_take_ownership ()</h3>
4251
<a class="indexterm" name="id3110551"></a><pre class="programlisting">void g_value_set_string_take_ownership (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
4253
href="../glib/glib-Basic-Types.html#gchar"
4254
>gchar</a> *v_string);</pre>
4255
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
4256
<h3 class="title">Warning</h3>
4257
<p><code class="literal">g_value_set_string_take_ownership</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-string"><code class="function">g_value_take_string()</code></a> instead.</p>
4260
This is an internal function introduced mainly for C marshallers.
4262
<div class="variablelist"><table border="0">
4263
<col align="left" valign="top">
4266
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4267
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>
4271
<td><span class="term"><em class="parameter"><code>v_string</code></em> :</span></td>
4272
<td>duplicated unowned string to be set
4279
<div class="refsect2" lang="en">
4280
<a name="id3110663"></a><h3>
4281
<a name="g-value-get-string"></a>g_value_get_string ()</h3>
4282
<a class="indexterm" name="id3110676"></a><pre class="programlisting">const <a
4283
href="../glib/glib-Basic-Types.html#gchar"
4284
>gchar</a>* g_value_get_string (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
4286
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
4288
<div class="variablelist"><table border="0">
4289
<col align="left" valign="top">
4292
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4293
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>
4297
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
4298
<td>string content of <em class="parameter"><code>value</code></em>
4307
<div class="refsect2" lang="en">
4308
<a name="id3110777"></a><h3>
4309
<a name="g-value-dup-string"></a>g_value_dup_string ()</h3>
4310
<a class="indexterm" name="id3110790"></a><pre class="programlisting"><a
4311
href="../glib/glib-Basic-Types.html#gchar"
4312
>gchar</a>* g_value_dup_string (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
4314
Get a copy the contents of a <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
4316
<div class="variablelist"><table border="0">
4317
<col align="left" valign="top">
4320
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4321
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>
4325
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
4326
<td>a newly allocated copy of the string content of <em class="parameter"><code>value</code></em>
4335
<div class="refsect2" lang="en">
4336
<a name="id3110890"></a><h3>
4337
<a name="G-IS-PARAM-SPEC-PARAM:CAPS"></a>G_IS_PARAM_SPEC_PARAM()</h3>
4338
<a class="indexterm" name="id3110904"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_PARAM))
4341
Returns whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-PARAM:CAPS"><code class="literal">G_TYPE_PARAM_PARAM</code></a>.
4343
<div class="variablelist"><table border="0">
4344
<col align="left" valign="top">
4346
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
4347
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
4355
<div class="refsect2" lang="en">
4356
<a name="id3110966"></a><h3>
4357
<a name="G-PARAM-SPEC-PARAM:CAPS"></a>G_PARAM_SPEC_PARAM()</h3>
4358
<a class="indexterm" name="id3110979"></a><pre class="programlisting">#define G_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_PARAM, GParamSpecParam))
4361
Casts a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam"><span class="type">GParamSpecParam</span></a>.
4363
<div class="variablelist"><table border="0">
4364
<col align="left" valign="top">
4366
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
4367
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
4375
<div class="refsect2" lang="en">
4376
<a name="id3111038"></a><h3>
4377
<a name="G-VALUE-HOLDS-PARAM:CAPS"></a>G_VALUE_HOLDS_PARAM()</h3>
4378
<a class="indexterm" name="id3111052"></a><pre class="programlisting">#define G_VALUE_HOLDS_PARAM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_PARAM))
4381
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values derived from type <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a>.
4383
<div class="variablelist"><table border="0">
4384
<col align="left" valign="top">
4386
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4387
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
4395
<div class="refsect2" lang="en">
4396
<a name="id3111113"></a><h3>
4397
<a name="G-TYPE-PARAM-PARAM:CAPS"></a>G_TYPE_PARAM_PARAM</h3>
4398
<a class="indexterm" name="id3111127"></a><pre class="programlisting">#define G_TYPE_PARAM_PARAM (g_param_spec_types[15])
4401
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam"><span class="type">GParamSpecParam</span></a>.
4405
<div class="refsect2" lang="en">
4406
<a name="id3111159"></a><h3>
4407
<a name="GParamSpecParam"></a>GParamSpecParam</h3>
4408
<a class="indexterm" name="id3111172"></a><pre class="programlisting">typedef struct {
4409
GParamSpec parent_instance;
4413
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a>
4416
<div class="variablelist"><table border="0">
4417
<col align="left" valign="top">
4419
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
4420
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
4427
<div class="refsect2" lang="en">
4428
<a name="id3111240"></a><h3>
4429
<a name="g-param-spec-param"></a>g_param_spec_param ()</h3>
4430
<a class="indexterm" name="id3111253"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_param (const <a
4431
href="../glib/glib-Basic-Types.html#gchar"
4434
href="../glib/glib-Basic-Types.html#gchar"
4437
href="../glib/glib-Basic-Types.html#gchar"
4439
<a href="gobject-Type-Information.html#GType">GType</a> param_type,
4440
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
4442
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam"><span class="type">GParamSpecParam</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a>
4446
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
4448
<div class="variablelist"><table border="0">
4449
<col align="left" valign="top">
4452
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
4453
<td> canonical name of the property specified
4457
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
4458
<td> nick name for the property specified
4462
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
4463
<td> description of the property specified
4467
<td><span class="term"><em class="parameter"><code>param_type</code></em> :</span></td>
4468
<td> a <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> derived from <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a>
4472
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
4473
<td> flags for the property specified
4477
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
4478
<td> a newly created parameter specification
4485
<div class="refsect2" lang="en">
4486
<a name="id3111453"></a><h3>
4487
<a name="g-value-set-param"></a>g_value_set_param ()</h3>
4488
<a class="indexterm" name="id3111466"></a><pre class="programlisting">void g_value_set_param (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
4489
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> *param);</pre>
4491
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>param</code></em>.
4493
<div class="variablelist"><table border="0">
4494
<col align="left" valign="top">
4497
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4498
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a>
4502
<td><span class="term"><em class="parameter"><code>param</code></em> :</span></td>
4503
<td>the <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> to be set
4512
<div class="refsect2" lang="en">
4513
<a name="id3111585"></a><h3>
4514
<a name="g-value-take-param"></a>g_value_take_param ()</h3>
4515
<a class="indexterm" name="id3111601"></a><pre class="programlisting">void g_value_take_param (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
4516
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> *param);</pre>
4518
Sets the contents of a <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>param</code></em> and
4519
takes over the ownership of the callers reference to <em class="parameter"><code>param</code></em>;
4520
the caller doesn't have to unref it any more.
4522
<div class="variablelist"><table border="0">
4523
<col align="left" valign="top">
4526
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4527
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a>
4531
<td><span class="term"><em class="parameter"><code>param</code></em> :</span></td>
4532
<td>the <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> to be set
4537
<p class="since">Since 2.4
4543
<div class="refsect2" lang="en">
4544
<a name="id3111734"></a><h3>
4545
<a name="g-value-set-param-take-ownership"></a>g_value_set_param_take_ownership ()</h3>
4546
<a class="indexterm" name="id3111751"></a><pre class="programlisting">void g_value_set_param_take_ownership (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
4547
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> *param);</pre>
4548
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
4549
<h3 class="title">Warning</h3>
4550
<p><code class="literal">g_value_set_param_take_ownership</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-param"><code class="function">g_value_take_param()</code></a> instead.</p>
4553
This is an internal function introduced mainly for C marshallers.
4555
<div class="variablelist"><table border="0">
4556
<col align="left" valign="top">
4559
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4560
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a>
4564
<td><span class="term"><em class="parameter"><code>param</code></em> :</span></td>
4565
<td>the <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> to be set
4572
<div class="refsect2" lang="en">
4573
<a name="id3111871"></a><h3>
4574
<a name="g-value-get-param"></a>g_value_get_param ()</h3>
4575
<a class="indexterm" name="id3111884"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_value_get_param (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
4577
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
4579
<div class="variablelist"><table border="0">
4580
<col align="left" valign="top">
4583
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4584
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a>
4588
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
4590
<a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> content of <em class="parameter"><code>value</code></em>
4599
<div class="refsect2" lang="en">
4600
<a name="id3111990"></a><h3>
4601
<a name="g-value-dup-param"></a>g_value_dup_param ()</h3>
4602
<a class="indexterm" name="id3112003"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_value_dup_param (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
4604
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>, increasing its reference count.
4606
<div class="variablelist"><table border="0">
4607
<col align="left" valign="top">
4610
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4611
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"><code class="literal">G_TYPE_PARAM</code></a>
4615
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
4617
<a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> content of <em class="parameter"><code>value</code></em>, should be unreferenced when no longer needed.
4626
<div class="refsect2" lang="en">
4627
<a name="id3112111"></a><h3>
4628
<a name="G-IS-PARAM-SPEC-BOXED:CAPS"></a>G_IS_PARAM_SPEC_BOXED()</h3>
4629
<a class="indexterm" name="id3112124"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOXED))
4632
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOXED:CAPS"><code class="literal">G_TYPE_PARAM_BOXED</code></a>.
4634
<div class="variablelist"><table border="0">
4635
<col align="left" valign="top">
4637
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
4638
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
4646
<div class="refsect2" lang="en">
4647
<a name="id3112186"></a><h3>
4648
<a name="G-PARAM-SPEC-BOXED:CAPS"></a>G_PARAM_SPEC_BOXED()</h3>
4649
<a class="indexterm" name="id3112199"></a><pre class="programlisting">#define G_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOXED, GParamSpecBoxed))
4652
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a>.
4654
<div class="variablelist"><table border="0">
4655
<col align="left" valign="top">
4657
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
4658
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
4666
<div class="refsect2" lang="en">
4667
<a name="id3112259"></a><h3>
4668
<a name="G-VALUE-HOLDS-BOXED:CAPS"></a>G_VALUE_HOLDS_BOXED()</h3>
4669
<a class="indexterm" name="id3112272"></a><pre class="programlisting">#define G_VALUE_HOLDS_BOXED(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_BOXED))
4672
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values derived from type <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a>.
4674
<div class="variablelist"><table border="0">
4675
<col align="left" valign="top">
4677
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4678
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
4686
<div class="refsect2" lang="en">
4687
<a name="id3112334"></a><h3>
4688
<a name="G-TYPE-PARAM-BOXED:CAPS"></a>G_TYPE_PARAM_BOXED</h3>
4689
<a class="indexterm" name="id3112348"></a><pre class="programlisting">#define G_TYPE_PARAM_BOXED (g_param_spec_types[16])
4692
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a>.
4696
<div class="refsect2" lang="en">
4697
<a name="id3112380"></a><h3>
4698
<a name="GParamSpecBoxed"></a>GParamSpecBoxed</h3>
4699
<a class="indexterm" name="id3112392"></a><pre class="programlisting">typedef struct {
4700
GParamSpec parent_instance;
4704
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for boxed properties.
4706
<div class="variablelist"><table border="0">
4707
<col align="left" valign="top">
4709
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
4710
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
4717
<div class="refsect2" lang="en">
4718
<a name="id3112450"></a><h3>
4719
<a name="g-param-spec-boxed"></a>g_param_spec_boxed ()</h3>
4720
<a class="indexterm" name="id3112464"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_boxed (const <a
4721
href="../glib/glib-Basic-Types.html#gchar"
4724
href="../glib/glib-Basic-Types.html#gchar"
4727
href="../glib/glib-Basic-Types.html#gchar"
4729
<a href="gobject-Type-Information.html#GType">GType</a> boxed_type,
4730
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
4732
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a>
4736
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
4738
<div class="variablelist"><table border="0">
4739
<col align="left" valign="top">
4742
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
4743
<td> canonical name of the property specified
4747
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
4748
<td> nick name for the property specified
4752
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
4753
<td> description of the property specified
4757
<td><span class="term"><em class="parameter"><code>boxed_type</code></em> :</span></td>
4758
<td> <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived type of this property
4762
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
4763
<td> flags for the property specified
4767
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
4768
<td>a newly created parameter specification
4777
<div class="refsect2" lang="en">
4778
<a name="id3112656"></a><h3>
4779
<a name="g-value-set-boxed"></a>g_value_set_boxed ()</h3>
4780
<a class="indexterm" name="id3112670"></a><pre class="programlisting">void g_value_set_boxed (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
4782
href="../glib/glib-Basic-Types.html#gconstpointer"
4783
>gconstpointer</a> v_boxed);</pre>
4785
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boxed</code></em>.
4787
<div class="variablelist"><table border="0">
4788
<col align="left" valign="top">
4791
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4792
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived type
4796
<td><span class="term"><em class="parameter"><code>v_boxed</code></em> :</span></td>
4797
<td>boxed value to be set
4806
<div class="refsect2" lang="en">
4807
<a name="id3112782"></a><h3>
4808
<a name="g-value-set-static-boxed"></a>g_value_set_static_boxed ()</h3>
4809
<a class="indexterm" name="id3112795"></a><pre class="programlisting">void g_value_set_static_boxed (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
4811
href="../glib/glib-Basic-Types.html#gconstpointer"
4812
>gconstpointer</a> v_boxed);</pre>
4814
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boxed</code></em>.
4815
The boxed value is assumed to be static, and is thus not duplicated
4816
when setting the <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
4818
<div class="variablelist"><table border="0">
4819
<col align="left" valign="top">
4822
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4823
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived type
4827
<td><span class="term"><em class="parameter"><code>v_boxed</code></em> :</span></td>
4828
<td>static boxed value to be set
4837
<div class="refsect2" lang="en">
4838
<a name="id3112917"></a><h3>
4839
<a name="g-value-take-boxed"></a>g_value_take_boxed ()</h3>
4840
<a class="indexterm" name="id3112933"></a><pre class="programlisting">void g_value_take_boxed (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
4842
href="../glib/glib-Basic-Types.html#gconstpointer"
4843
>gconstpointer</a> v_boxed);</pre>
4845
Sets the contents of a <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boxed</code></em> and
4846
takes over the ownership of the callers reference to <em class="parameter"><code>v_boxed</code></em>;
4847
the caller doesn't have to unref it any more.
4849
<div class="variablelist"><table border="0">
4850
<col align="left" valign="top">
4853
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4854
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived type
4858
<td><span class="term"><em class="parameter"><code>v_boxed</code></em> :</span></td>
4859
<td>duplicated unowned boxed value to be set
4864
<p class="since">Since 2.4
4870
<div class="refsect2" lang="en">
4871
<a name="id3113059"></a><h3>
4872
<a name="g-value-set-boxed-take-ownership"></a>g_value_set_boxed_take_ownership ()</h3>
4873
<a class="indexterm" name="id3113076"></a><pre class="programlisting">void g_value_set_boxed_take_ownership (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
4875
href="../glib/glib-Basic-Types.html#gconstpointer"
4876
>gconstpointer</a> v_boxed);</pre>
4877
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
4878
<h3 class="title">Warning</h3>
4879
<p><code class="literal">g_value_set_boxed_take_ownership</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-boxed"><code class="function">g_value_take_boxed()</code></a> instead.</p>
4882
This is an internal function introduced mainly for C marshallers.
4884
<div class="variablelist"><table border="0">
4885
<col align="left" valign="top">
4888
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4889
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived type
4893
<td><span class="term"><em class="parameter"><code>v_boxed</code></em> :</span></td>
4894
<td>duplicated unowned boxed value to be set
4901
<div class="refsect2" lang="en">
4902
<a name="id3113189"></a><h3>
4903
<a name="g-value-get-boxed"></a>g_value_get_boxed ()</h3>
4904
<a class="indexterm" name="id3113203"></a><pre class="programlisting"><a
4905
href="../glib/glib-Basic-Types.html#gpointer"
4906
>gpointer</a> g_value_get_boxed (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
4908
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
4910
<div class="variablelist"><table border="0">
4911
<col align="left" valign="top">
4914
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4915
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived type
4919
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
4920
<td>boxed contents of <em class="parameter"><code>value</code></em>
4929
<div class="refsect2" lang="en">
4930
<a name="id3113303"></a><h3>
4931
<a name="g-value-dup-boxed"></a>g_value_dup_boxed ()</h3>
4932
<a class="indexterm" name="id3113316"></a><pre class="programlisting"><a
4933
href="../glib/glib-Basic-Types.html#gpointer"
4934
>gpointer</a> g_value_dup_boxed (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
4936
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
4937
Upon getting, the boxed value is duplicated and needs to be
4938
later freed with <a href="gobject-Boxed-Types.html#g-boxed-free"><code class="function">g_boxed_free()</code></a>, e.g. like: g_boxed_free (G_VALUE_TYPE (<em class="parameter"><code>value</code></em>), return_value);
4940
<div class="variablelist"><table border="0">
4941
<col align="left" valign="top">
4944
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
4945
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a> derived type
4949
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
4950
<td>boxed contents of <em class="parameter"><code>value</code></em>
4959
<div class="refsect2" lang="en">
4960
<a name="id3113434"></a><h3>
4961
<a name="G-IS-PARAM-SPEC-POINTER:CAPS"></a>G_IS_PARAM_SPEC_POINTER()</h3>
4962
<a class="indexterm" name="id3113449"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_POINTER))
4965
Returns whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-POINTER:CAPS"><code class="literal">G_TYPE_PARAM_POINTER</code></a>.
4967
<div class="variablelist"><table border="0">
4968
<col align="left" valign="top">
4970
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
4971
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
4979
<div class="refsect2" lang="en">
4980
<a name="id3113511"></a><h3>
4981
<a name="G-PARAM-SPEC-POINTER:CAPS"></a>G_PARAM_SPEC_POINTER()</h3>
4982
<a class="indexterm" name="id3113524"></a><pre class="programlisting">#define G_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_POINTER, GParamSpecPointer))
4985
Casts a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer"><span class="type">GParamSpecPointer</span></a>.
4987
<div class="variablelist"><table border="0">
4988
<col align="left" valign="top">
4990
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
4991
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
4999
<div class="refsect2" lang="en">
5000
<a name="id3113584"></a><h3>
5001
<a name="G-VALUE-HOLDS-POINTER:CAPS"></a>G_VALUE_HOLDS_POINTER()</h3>
5002
<a class="indexterm" name="id3113597"></a><pre class="programlisting">#define G_VALUE_HOLDS_POINTER(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_POINTER))
5005
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS"><code class="literal">G_TYPE_POINTER</code></a>.
5007
<div class="variablelist"><table border="0">
5008
<col align="left" valign="top">
5010
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
5011
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
5019
<div class="refsect2" lang="en">
5020
<a name="id3113659"></a><h3>
5021
<a name="G-TYPE-PARAM-POINTER:CAPS"></a>G_TYPE_PARAM_POINTER</h3>
5022
<a class="indexterm" name="id3113672"></a><pre class="programlisting">#define G_TYPE_PARAM_POINTER (g_param_spec_types[17])
5025
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer"><span class="type">GParamSpecPointer</span></a>.
5029
<div class="refsect2" lang="en">
5030
<a name="id3113704"></a><h3>
5031
<a name="GParamSpecPointer"></a>GParamSpecPointer</h3>
5032
<a class="indexterm" name="id3113717"></a><pre class="programlisting">typedef struct {
5033
GParamSpec parent_instance;
5034
} GParamSpecPointer;
5037
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for pointer properties.
5039
<div class="variablelist"><table border="0">
5040
<col align="left" valign="top">
5042
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
5043
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
5050
<div class="refsect2" lang="en">
5051
<a name="id3113775"></a><h3>
5052
<a name="g-param-spec-pointer"></a>g_param_spec_pointer ()</h3>
5053
<a class="indexterm" name="id3113788"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_pointer (const <a
5054
href="../glib/glib-Basic-Types.html#gchar"
5057
href="../glib/glib-Basic-Types.html#gchar"
5060
href="../glib/glib-Basic-Types.html#gchar"
5062
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
5064
Creates a new <span class="type">GParamSpecPoiner</span> instance specifying a pointer property.
5067
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
5069
<div class="variablelist"><table border="0">
5070
<col align="left" valign="top">
5073
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
5074
<td> canonical name of the property specified
5078
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
5079
<td> nick name for the property specified
5083
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
5084
<td> description of the property specified
5088
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
5089
<td> flags for the property specified
5093
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
5094
<td>a newly created parameter specification
5103
<div class="refsect2" lang="en">
5104
<a name="id3113938"></a><h3>
5105
<a name="g-value-set-pointer"></a>g_value_set_pointer ()</h3>
5106
<a class="indexterm" name="id3113952"></a><pre class="programlisting">void g_value_set_pointer (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
5108
href="../glib/glib-Basic-Types.html#gpointer"
5109
>gpointer</a> v_pointer);</pre>
5111
Set the contents of a pointer <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_pointer</code></em>.
5113
<div class="variablelist"><table border="0">
5114
<col align="left" valign="top">
5117
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
5118
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS"><code class="literal">G_TYPE_POINTER</code></a>
5122
<td><span class="term"><em class="parameter"><code>v_pointer</code></em> :</span></td>
5123
<td>pointer value to be set
5132
<div class="refsect2" lang="en">
5133
<a name="id3114052"></a><h3>
5134
<a name="g-value-get-pointer"></a>g_value_get_pointer ()</h3>
5135
<a class="indexterm" name="id3114066"></a><pre class="programlisting"><a
5136
href="../glib/glib-Basic-Types.html#gpointer"
5137
>gpointer</a> g_value_get_pointer (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
5139
Get the contents of a pointer <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
5141
<div class="variablelist"><table border="0">
5142
<col align="left" valign="top">
5145
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
5146
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS"><code class="literal">G_TYPE_POINTER</code></a>
5150
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
5151
<td>pointer contents of <em class="parameter"><code>value</code></em>
5160
<div class="refsect2" lang="en">
5161
<a name="id3114155"></a><h3>
5162
<a name="G-IS-PARAM-SPEC-OBJECT:CAPS"></a>G_IS_PARAM_SPEC_OBJECT()</h3>
5163
<a class="indexterm" name="id3114168"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OBJECT))
5166
Returns whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OBJECT:CAPS"><code class="literal">G_TYPE_PARAM_OBJECT</code></a>.
5168
<div class="variablelist"><table border="0">
5169
<col align="left" valign="top">
5171
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
5172
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
5180
<div class="refsect2" lang="en">
5181
<a name="id3114231"></a><h3>
5182
<a name="G-PARAM-SPEC-OBJECT:CAPS"></a>G_PARAM_SPEC_OBJECT()</h3>
5183
<a class="indexterm" name="id3114244"></a><pre class="programlisting">#define G_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OBJECT, GParamSpecObject))
5186
Casts a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject"><span class="type">GParamSpecObject</span></a>.
5188
<div class="variablelist"><table border="0">
5189
<col align="left" valign="top">
5191
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
5192
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
5200
<div class="refsect2" lang="en">
5201
<a name="id3114303"></a><h3>
5202
<a name="G-VALUE-HOLDS-OBJECT:CAPS"></a>G_VALUE_HOLDS_OBJECT()</h3>
5203
<a class="indexterm" name="id3114316"></a><pre class="programlisting">#define G_VALUE_HOLDS_OBJECT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_OBJECT))
5206
Return whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values derived from type <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a>.
5208
<div class="variablelist"><table border="0">
5209
<col align="left" valign="top">
5211
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
5212
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
5220
<div class="refsect2" lang="en">
5221
<a name="id3114378"></a><h3>
5222
<a name="G-TYPE-PARAM-OBJECT:CAPS"></a>G_TYPE_PARAM_OBJECT</h3>
5223
<a class="indexterm" name="id3114392"></a><pre class="programlisting">#define G_TYPE_PARAM_OBJECT (g_param_spec_types[19])
5226
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject"><span class="type">GParamSpecObject</span></a>.
5230
<div class="refsect2" lang="en">
5231
<a name="id3114424"></a><h3>
5232
<a name="GParamSpecObject"></a>GParamSpecObject</h3>
5233
<a class="indexterm" name="id3114437"></a><pre class="programlisting">typedef struct {
5234
GParamSpec parent_instance;
5238
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for object properties.
5240
<div class="variablelist"><table border="0">
5241
<col align="left" valign="top">
5243
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
5244
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
5251
<div class="refsect2" lang="en">
5252
<a name="id3114495"></a><h3>
5253
<a name="g-param-spec-object"></a>g_param_spec_object ()</h3>
5254
<a class="indexterm" name="id3114508"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_object (const <a
5255
href="../glib/glib-Basic-Types.html#gchar"
5258
href="../glib/glib-Basic-Types.html#gchar"
5261
href="../glib/glib-Basic-Types.html#gchar"
5263
<a href="gobject-Type-Information.html#GType">GType</a> object_type,
5264
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
5266
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a>
5270
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
5272
<div class="variablelist"><table border="0">
5273
<col align="left" valign="top">
5276
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
5277
<td> canonical name of the property specified
5281
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
5282
<td> nick name for the property specified
5286
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
5287
<td> description of the property specified
5291
<td><span class="term"><em class="parameter"><code>object_type</code></em> :</span></td>
5292
<td> <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a> derived type of this property
5296
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
5297
<td> flags for the property specified
5301
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
5302
<td>a newly created parameter specification
5311
<div class="refsect2" lang="en">
5312
<a name="id3114700"></a><h3>
5313
<a name="g-value-set-object"></a>g_value_set_object ()</h3>
5314
<a class="indexterm" name="id3114714"></a><pre class="programlisting">void g_value_set_object (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
5316
href="../glib/glib-Basic-Types.html#gpointer"
5317
>gpointer</a> v_object);</pre>
5319
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a> derived <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_object</code></em>.
5321
<div class="variablelist"><table border="0">
5322
<col align="left" valign="top">
5325
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
5326
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a> derived type
5330
<td><span class="term"><em class="parameter"><code>v_object</code></em> :</span></td>
5331
<td>object value to be set
5340
<div class="refsect2" lang="en">
5341
<a name="id3114825"></a><h3>
5342
<a name="g-value-take-object"></a>g_value_take_object ()</h3>
5343
<a class="indexterm" name="id3114841"></a><pre class="programlisting">void g_value_take_object (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
5345
href="../glib/glib-Basic-Types.html#gpointer"
5346
>gpointer</a> v_object);</pre>
5348
Sets the contents of a <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a> derived <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_object</code></em>
5349
and takes over the ownership of the callers reference to <em class="parameter"><code>v_object</code></em>;
5350
the caller doesn't have to unref it any more.
5352
<div class="variablelist"><table border="0">
5353
<col align="left" valign="top">
5356
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
5357
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a> derived type
5361
<td><span class="term"><em class="parameter"><code>v_object</code></em> :</span></td>
5362
<td>object value to be set
5367
<p class="since">Since 2.4
5373
<div class="refsect2" lang="en">
5374
<a name="id3114967"></a><h3>
5375
<a name="g-value-set-object-take-ownership"></a>g_value_set_object_take_ownership ()</h3>
5376
<a class="indexterm" name="id3114984"></a><pre class="programlisting">void g_value_set_object_take_ownership (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
5378
href="../glib/glib-Basic-Types.html#gpointer"
5379
>gpointer</a> v_object);</pre>
5380
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
5381
<h3 class="title">Warning</h3>
5382
<p><code class="literal">g_value_set_object_take_ownership</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object"><code class="function">g_value_take_object()</code></a> instead.</p>
5385
This is an internal function introduced mainly for C marshallers.
5387
<div class="variablelist"><table border="0">
5388
<col align="left" valign="top">
5391
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
5392
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a> derived type
5396
<td><span class="term"><em class="parameter"><code>v_object</code></em> :</span></td>
5397
<td>object value to be set
5404
<div class="refsect2" lang="en">
5405
<a name="id3115096"></a><h3>
5406
<a name="g-value-get-object"></a>g_value_get_object ()</h3>
5407
<a class="indexterm" name="id3115110"></a><pre class="programlisting"><a
5408
href="../glib/glib-Basic-Types.html#gpointer"
5409
>gpointer</a> g_value_get_object (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
5411
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a> derived <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
5413
<div class="variablelist"><table border="0">
5414
<col align="left" valign="top">
5417
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
5418
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a> derived type
5422
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
5423
<td>object contents of <em class="parameter"><code>value</code></em>
5432
<div class="refsect2" lang="en">
5433
<a name="id3115210"></a><h3>
5434
<a name="g-value-dup-object"></a>g_value_dup_object ()</h3>
5435
<a class="indexterm" name="id3115223"></a><pre class="programlisting"><a href="gobject-The-Base-Object-Type.html#GObject">GObject</a>* g_value_dup_object (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
5437
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a> derived <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>, increasing its reference count.
5439
<div class="variablelist"><table border="0">
5440
<col align="left" valign="top">
5443
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
5444
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"><code class="literal">G_TYPE_OBJECT</code></a>
5448
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
5449
<td>object content of <em class="parameter"><code>value</code></em>, should be unreferenced when no longer needed.
5458
<div class="refsect2" lang="en">
5459
<a name="id3115325"></a><h3>
5460
<a name="G-IS-PARAM-SPEC-UNICHAR:CAPS"></a>G_IS_PARAM_SPEC_UNICHAR()</h3>
5461
<a class="indexterm" name="id3115339"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UNICHAR))
5464
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UNICHAR:CAPS"><code class="literal">G_TYPE_PARAM_UNICHAR</code></a>.
5466
<div class="variablelist"><table border="0">
5467
<col align="left" valign="top">
5469
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
5470
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
5478
<div class="refsect2" lang="en">
5479
<a name="id3115402"></a><h3>
5480
<a name="G-PARAM-SPEC-UNICHAR:CAPS"></a>G_PARAM_SPEC_UNICHAR()</h3>
5481
<a class="indexterm" name="id3115415"></a><pre class="programlisting">#define G_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UNICHAR, GParamSpecUnichar))
5484
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar"><span class="type">GParamSpecUnichar</span></a>.
5486
<div class="variablelist"><table border="0">
5487
<col align="left" valign="top">
5489
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
5490
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
5498
<div class="refsect2" lang="en">
5499
<a name="id3115475"></a><h3>
5500
<a name="G-TYPE-PARAM-UNICHAR:CAPS"></a>G_TYPE_PARAM_UNICHAR</h3>
5501
<a class="indexterm" name="id3115488"></a><pre class="programlisting">#define G_TYPE_PARAM_UNICHAR (g_param_spec_types[9])
5504
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar"><span class="type">GParamSpecUnichar</span></a>.
5508
<div class="refsect2" lang="en">
5509
<a name="id3115520"></a><h3>
5510
<a name="GParamSpecUnichar"></a>GParamSpecUnichar</h3>
5511
<a class="indexterm" name="id3115533"></a><pre class="programlisting">typedef struct {
5512
GParamSpec parent_instance;
5514
gunichar default_value;
5515
} GParamSpecUnichar;
5518
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unichar (unsigned integer) properties.
5520
<div class="variablelist"><table border="0">
5521
<col align="left" valign="top">
5524
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
5525
<td>private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
5529
<td><span class="term"><a
5530
href="../glib/glib-Unicode-Manipulation.html#gunichar"
5531
>gunichar</a> <em class="structfield"><code>default_value</code></em>;</span></td>
5532
<td> default value for the property specified
5540
<div class="refsect2" lang="en">
5541
<a name="id3115612"></a><h3>
5542
<a name="g-param-spec-unichar"></a>g_param_spec_unichar ()</h3>
5543
<a class="indexterm" name="id3115626"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_unichar (const <a
5544
href="../glib/glib-Basic-Types.html#gchar"
5547
href="../glib/glib-Basic-Types.html#gchar"
5550
href="../glib/glib-Basic-Types.html#gchar"
5553
href="../glib/glib-Unicode-Manipulation.html#gunichar"
5554
>gunichar</a> default_value,
5555
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
5557
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar"><span class="type">GParamSpecUnichar</span></a> instance specifying a <a href="gobject-Type-Information.html#G-TYPE-UINT:CAPS"><code class="literal">G_TYPE_UINT</code></a>
5558
property. <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structures for this property can be accessed with
5559
<a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint"><code class="function">g_value_set_uint()</code></a> and <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint"><code class="function">g_value_get_uint()</code></a>.
5562
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
5564
<div class="variablelist"><table border="0">
5565
<col align="left" valign="top">
5568
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
5569
<td> canonical name of the property specified
5573
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
5574
<td> nick name for the property specified
5578
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
5579
<td> description of the property specified
5583
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
5584
<td>default value for the property specified
5588
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
5589
<td> flags for the property specified
5593
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
5594
<td>a newly created parameter specification
5603
<div class="refsect2" lang="en">
5604
<a name="id3115837"></a><h3>
5605
<a name="G-IS-PARAM-SPEC-VALUE-ARRAY:CAPS"></a>G_IS_PARAM_SPEC_VALUE_ARRAY()</h3>
5606
<a class="indexterm" name="id3115851"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_VALUE_ARRAY))
5609
Return whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VALUE-ARRAY:CAPS"><code class="literal">G_TYPE_PARAM_VALUE_ARRAY</code></a>.
5611
<div class="variablelist"><table border="0">
5612
<col align="left" valign="top">
5614
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
5615
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
5623
<div class="refsect2" lang="en">
5624
<a name="id3115914"></a><h3>
5625
<a name="G-PARAM-SPEC-VALUE-ARRAY:CAPS"></a>G_PARAM_SPEC_VALUE_ARRAY()</h3>
5626
<a class="indexterm" name="id3115928"></a><pre class="programlisting">#define G_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_VALUE_ARRAY, GParamSpecValueArray))
5629
Cast a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray"><span class="type">GParamSpecValueArray</span></a>.
5631
<div class="variablelist"><table border="0">
5632
<col align="left" valign="top">
5634
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
5635
<td>a valid <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
5643
<div class="refsect2" lang="en">
5644
<a name="id3115988"></a><h3>
5645
<a name="G-TYPE-PARAM-VALUE-ARRAY:CAPS"></a>G_TYPE_PARAM_VALUE_ARRAY</h3>
5646
<a class="indexterm" name="id3116002"></a><pre class="programlisting">#define G_TYPE_PARAM_VALUE_ARRAY (g_param_spec_types[18])
5649
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray"><span class="type">GParamSpecValueArray</span></a>.
5653
<div class="refsect2" lang="en">
5654
<a name="id3116034"></a><h3>
5655
<a name="GParamSpecValueArray"></a>GParamSpecValueArray</h3>
5656
<a class="indexterm" name="id3116048"></a><pre class="programlisting">typedef struct {
5657
GParamSpec parent_instance;
5658
GParamSpec *element_spec;
5659
guint fixed_n_elements;
5660
} GParamSpecValueArray;
5663
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for <a href="gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> properties.
5665
<div class="variablelist"><table border="0">
5666
<col align="left" valign="top">
5669
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
5670
<td> private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
5674
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> *<em class="structfield"><code>element_spec</code></em>;</span></td>
5675
<td> a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> describing the elements contained in arrays of this property, may be <a
5676
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
5677
><code class="literal">NULL</code></a>
5681
<td><span class="term"><a
5682
href="../glib/glib-Basic-Types.html#guint"
5683
>guint</a> <em class="structfield"><code>fixed_n_elements</code></em>;</span></td>
5684
<td>if greater than 0, arrays of this property will always have this many elements
5692
<div class="refsect2" lang="en">
5693
<a name="id3116177"></a><h3>
5694
<a name="g-param-spec-value-array"></a>g_param_spec_value_array ()</h3>
5695
<a class="indexterm" name="id3116190"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_value_array (const <a
5696
href="../glib/glib-Basic-Types.html#gchar"
5699
href="../glib/glib-Basic-Types.html#gchar"
5702
href="../glib/glib-Basic-Types.html#gchar"
5704
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> *element_spec,
5705
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
5707
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray"><span class="type">GParamSpecValueArray</span></a> instance specifying a
5708
<a href="gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS"><code class="literal">G_TYPE_VALUE_ARRAY</code></a> property. <a href="gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS"><code class="literal">G_TYPE_VALUE_ARRAY</code></a> is a <a href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"><code class="literal">G_TYPE_BOXED</code></a>
5709
type, as such, <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structures for this property can be accessed
5710
with <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed"><code class="function">g_value_set_boxed()</code></a> and <a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boxed"><code class="function">g_value_get_boxed()</code></a>.
5713
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
5715
<div class="variablelist"><table border="0">
5716
<col align="left" valign="top">
5719
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
5720
<td> canonical name of the property specified
5724
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
5725
<td> nick name for the property specified
5729
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
5730
<td> description of the property specified
5734
<td><span class="term"><em class="parameter"><code>element_spec</code></em> :</span></td>
5735
<td> a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> describing the elements contained in
5736
arrays of this property, may be <a
5737
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
5738
><code class="literal">NULL</code></a>
5742
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
5743
<td> flags for the property specified
5747
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
5748
<td>a newly created parameter specification
5757
<div class="refsect2" lang="en">
5758
<a name="id3116443"></a><h3>
5759
<a name="G-IS-PARAM-SPEC-OVERRIDE:CAPS"></a>G_IS_PARAM_SPEC_OVERRIDE()</h3>
5760
<a class="indexterm" name="id3116459"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OVERRIDE))
5763
Returns whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OVERRIDE:CAPS"><code class="literal">G_TYPE_PARAM_OVERRIDE</code></a>.
5765
<div class="variablelist"><table border="0">
5766
<col align="left" valign="top">
5768
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
5769
<td>a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a>
5773
<p class="since">Since 2.4
5779
<div class="refsect2" lang="en">
5780
<a name="id3116528"></a><h3>
5781
<a name="G-PARAM-SPEC-OVERRIDE:CAPS"></a>G_PARAM_SPEC_OVERRIDE()</h3>
5782
<a class="indexterm" name="id3116543"></a><pre class="programlisting">#define G_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OVERRIDE, GParamSpecOverride))
5785
Casts a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>.
5787
<div class="variablelist"><table border="0">
5788
<col align="left" valign="top">
5790
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
5791
<td> a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a>
5795
<p class="since">Since 2.4
5801
<div class="refsect2" lang="en">
5802
<a name="id3116609"></a><h3>
5803
<a name="G-TYPE-PARAM-OVERRIDE:CAPS"></a>G_TYPE_PARAM_OVERRIDE</h3>
5804
<a class="indexterm" name="id3116624"></a><pre class="programlisting">#define G_TYPE_PARAM_OVERRIDE (g_param_spec_types[20])
5807
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>.
5809
<p class="since">Since 2.4
5815
<div class="refsect2" lang="en">
5816
<a name="id3116663"></a><h3>
5817
<a name="GParamSpecOverride"></a>GParamSpecOverride</h3>
5818
<a class="indexterm" name="id3116678"></a><pre class="programlisting">typedef struct {
5819
} GParamSpecOverride;
5822
This is a type of <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> type that simply redirects operations to
5823
another paramspec. All operations other than getting or
5824
setting the value are redirected, including accessing the nick and
5825
blurb, validating a value, and so forth. See
5826
<a href="gobject-GParamSpec.html#g-param-spec-get-redirect-target"><code class="function">g_param_spec_get_redirect_target()</code></a> for retrieving the overidden
5827
property. <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride"><span class="type">GParamSpecOverride</span></a> is used in implementing
5828
<a href="gobject-The-Base-Object-Type.html#g-object-class-override-property"><code class="function">g_object_class_override_property()</code></a>, and will not be directly useful
5829
unless you are implementing a new base type similar to GObject.
5831
<p class="since">Since 2.4
5836
<div class="refsect2" lang="en">
5837
<a name="id3116745"></a><h3>
5838
<a name="g-param-spec-override"></a>g_param_spec_override ()</h3>
5839
<a class="indexterm" name="id3116761"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_override (const <a
5840
href="../glib/glib-Basic-Types.html#gchar"
5842
<a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> *overridden);</pre>
5844
Creates a new property of type <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>. This is used
5845
to direct operations to another paramspec, and will not be directly
5846
useful unless you are implementing a new base type similar to GObject.
5848
<div class="variablelist"><table border="0">
5849
<col align="left" valign="top">
5852
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
5853
<td>the name of the property.
5857
<td><span class="term"><em class="parameter"><code>overridden</code></em> :</span></td>
5858
<td>The property that is being overridden
5862
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
5863
<td>the newly created <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a>
5868
<p class="since">Since 2.4
5874
<div class="refsect2" lang="en">
5875
<a name="id3116866"></a><h3>
5876
<a name="G-IS-PARAM-SPEC-GTYPE:CAPS"></a>G_IS_PARAM_SPEC_GTYPE()</h3>
5877
<a class="indexterm" name="id3116882"></a><pre class="programlisting">#define G_IS_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_GTYPE))
5880
Returns whether the given <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> is of type <a href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-GTYPE:CAPS"><code class="literal">G_TYPE_PARAM_GTYPE</code></a>.
5882
<div class="variablelist"><table border="0">
5883
<col align="left" valign="top">
5885
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
5886
<td>a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a>
5890
<p class="since">Since 2.10
5896
<div class="refsect2" lang="en">
5897
<a name="id3116951"></a><h3>
5898
<a name="G-PARAM-SPEC-GTYPE:CAPS"></a>G_PARAM_SPEC_GTYPE()</h3>
5899
<a class="indexterm" name="id3116966"></a><pre class="programlisting">#define G_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_GTYPE, GParamSpecGType))
5902
Casts a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> into a <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType"><span class="type">GParamSpecGType</span></a>.
5904
<div class="variablelist"><table border="0">
5905
<col align="left" valign="top">
5907
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
5908
<td> a <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a>
5912
<p class="since">Since 2.10
5918
<div class="refsect2" lang="en">
5919
<a name="id3117032"></a><h3>
5920
<a name="G-VALUE-HOLDS-GTYPE:CAPS"></a>G_VALUE_HOLDS_GTYPE()</h3>
5921
<a class="indexterm" name="id3117047"></a><pre class="programlisting">#define G_VALUE_HOLDS_GTYPE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_GTYPE))
5924
Returns whether the given <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS"><code class="literal">G_TYPE_GTYPE</code></a>.
5926
<div class="variablelist"><table border="0">
5927
<col align="left" valign="top">
5929
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
5930
<td> a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure
5934
<p class="since">Since 2.12
5940
<div class="refsect2" lang="en">
5941
<a name="id3117116"></a><h3>
5942
<a name="G-TYPE-PARAM-GTYPE:CAPS"></a>G_TYPE_PARAM_GTYPE</h3>
5943
<a class="indexterm" name="id3117132"></a><pre class="programlisting">#define G_TYPE_PARAM_GTYPE (g_param_spec_types[21])
5946
The <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType"><span class="type">GParamSpecGType</span></a>.
5948
<p class="since">Since 2.10
5954
<div class="refsect2" lang="en">
5955
<a name="id3117171"></a><h3>
5956
<a name="GParamSpecGType"></a>GParamSpecGType</h3>
5957
<a class="indexterm" name="id3117186"></a><pre class="programlisting">typedef struct {
5958
GParamSpec parent_instance;
5963
A <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> properties.
5965
<div class="variablelist"><table border="0">
5966
<col align="left" valign="top">
5969
<td><span class="term"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a> <em class="structfield"><code>parent_instance</code></em>;</span></td>
5970
<td> private <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> portion
5974
<td><span class="term"><a href="gobject-Type-Information.html#GType">GType</a> <em class="structfield"><code>is_a_type</code></em>;</span></td>
5975
<td> a <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> whose subtypes can occur as values
5980
<p class="since">Since 2.10
5985
<div class="refsect2" lang="en">
5986
<a name="id3117288"></a><h3>
5987
<a name="g-param-spec-gtype"></a>g_param_spec_gtype ()</h3>
5988
<a class="indexterm" name="id3117303"></a><pre class="programlisting"><a href="gobject-GParamSpec.html#GParamSpec">GParamSpec</a>* g_param_spec_gtype (const <a
5989
href="../glib/glib-Basic-Types.html#gchar"
5992
href="../glib/glib-Basic-Types.html#gchar"
5995
href="../glib/glib-Basic-Types.html#gchar"
5997
<a href="gobject-Type-Information.html#GType">GType</a> is_a_type,
5998
<a href="gobject-GParamSpec.html#GParamFlags">GParamFlags</a> flags);</pre>
6000
Creates a new <a href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType"><span class="type">GParamSpecGType</span></a> instance specifying a
6001
<a href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS"><code class="literal">G_TYPE_GTYPE</code></a> property.
6004
See <a href="gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for details on property names.
6006
<div class="variablelist"><table border="0">
6007
<col align="left" valign="top">
6010
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
6011
<td> canonical name of the property specified
6015
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
6016
<td> nick name for the property specified
6020
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
6021
<td> description of the property specified
6025
<td><span class="term"><em class="parameter"><code>is_a_type</code></em> :</span></td>
6026
<td> a <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> whose subtypes are allowed as values
6027
of the property (use <a href="gobject-Type-Information.html#G-TYPE-NONE:CAPS"><code class="literal">G_TYPE_NONE</code></a> for any type)
6031
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
6032
<td> flags for the property specified
6036
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
6037
<td>a newly created parameter specification
6042
<p class="since">Since 2.10
6048
<div class="refsect2" lang="en">
6049
<a name="id3117511"></a><h3>
6050
<a name="g-value-get-gtype"></a>g_value_get_gtype ()</h3>
6051
<a class="indexterm" name="id3117527"></a><pre class="programlisting"><a href="gobject-Type-Information.html#GType">GType</a> g_value_get_gtype (const <a href="gobject-Generic-values.html#GValue">GValue</a> *value);</pre>
6053
Get the contents of a <a href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS"><code class="literal">G_TYPE_GTYPE</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.
6055
<div class="variablelist"><table border="0">
6056
<col align="left" valign="top">
6059
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
6060
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS"><code class="literal">G_TYPE_GTYPE</code></a>
6064
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
6065
<td>the <a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> stored in <em class="parameter"><code>value</code></em>
6070
<p class="since">Since 2.12
6076
<div class="refsect2" lang="en">
6077
<a name="id3117641"></a><h3>
6078
<a name="g-value-set-gtype"></a>g_value_set_gtype ()</h3>
6079
<a class="indexterm" name="id3117657"></a><pre class="programlisting">void g_value_set_gtype (<a href="gobject-Generic-values.html#GValue">GValue</a> *value,
6080
<a href="gobject-Type-Information.html#GType">GType</a> v_gtype);</pre>
6082
Set the contents of a <a href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS"><code class="literal">G_TYPE_GTYPE</code></a> <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_gtype</code></em>.
6084
<div class="variablelist"><table border="0">
6085
<col align="left" valign="top">
6088
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
6089
<td>a valid <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS"><code class="literal">G_TYPE_GTYPE</code></a>
6093
<td><span class="term"><em class="parameter"><code>v_gtype</code></em> :</span></td>
6095
<a href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> to be set
6100
<p class="since">Since 2.12
6106
<div class="refsect1" lang="en">
6107
<a name="id3117782"></a><h2>See Also</h2>
6109
<a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a>, <a href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>, <a href="gobject-The-Base-Object-Type.html#g-object-class-install-property"><code class="function">g_object_class_install_property()</code></a>.