⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.10
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
libgtk-3-doc
/
gobject
/
View File Name :
gobject-Standard-Parameter-and-Value-Types.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Parameters and Values: GObject Reference Manual</title> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="GObject Reference Manual"> <link rel="up" href="rn01.html" title="API Reference"> <link rel="prev" href="gobject-Generic-values.html" title="Generic values"> <link rel="next" href="gobject-GParamSpec.html" title="GParamSpec"> <meta name="generator" content="GTK-Doc V1.32 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> <td width="100%" align="left" class="shortcuts"> <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> <a href="#gobject-Standard-Parameter-and-Value-Types.description" class="shortcut">Description</a></span> </td> <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> <td><a accesskey="u" href="rn01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> <td><a accesskey="p" href="gobject-Generic-values.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> <td><a accesskey="n" href="gobject-GParamSpec.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> </tr></table> <div class="refentry"> <a name="gobject-Standard-Parameter-and-Value-Types"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle"><a name="gobject-Standard-Parameter-and-Value-Types.top_of_page"></a>Parameters and Values</span></h2> <p>Parameters and Values — Standard Parameter and Value Types</p> </td> <td class="gallery_image" valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> <a name="gobject-Standard-Parameter-and-Value-Types.functions"></a><h2>Functions</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="functions_proto_type"> <col class="functions_proto_name"> </colgroup> <tbody> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOOLEAN:CAPS" title="G_IS_PARAM_SPEC_BOOLEAN()">G_IS_PARAM_SPEC_BOOLEAN</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOOLEAN:CAPS" title="G_PARAM_SPEC_BOOLEAN()">G_PARAM_SPEC_BOOLEAN</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOOLEAN:CAPS" title="G_VALUE_HOLDS_BOOLEAN()">G_VALUE_HOLDS_BOOLEAN</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boolean" title="g_param_spec_boolean ()">g_param_spec_boolean</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boolean" title="g_value_set_boolean ()">g_value_set_boolean</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gboolean</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boolean" title="g_value_get_boolean ()">g_value_get_boolean</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-CHAR:CAPS" title="G_IS_PARAM_SPEC_CHAR()">G_IS_PARAM_SPEC_CHAR</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-CHAR:CAPS" title="G_PARAM_SPEC_CHAR()">G_PARAM_SPEC_CHAR</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-CHAR:CAPS" title="G_VALUE_HOLDS_CHAR()">G_VALUE_HOLDS_CHAR</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-char" title="g_param_spec_char ()">g_param_spec_char</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-char" title="g_value_set_char ()">g_value_set_char</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gchar</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-char" title="g_value_get_char ()">g_value_get_char</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gint8</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-schar" title="g_value_get_schar ()">g_value_get_schar</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-schar" title="g_value_set_schar ()">g_value_set_schar</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UCHAR:CAPS" title="G_IS_PARAM_SPEC_UCHAR()">G_IS_PARAM_SPEC_UCHAR</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UCHAR:CAPS" title="G_PARAM_SPEC_UCHAR()">G_PARAM_SPEC_UCHAR</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UCHAR:CAPS" title="G_VALUE_HOLDS_UCHAR()">G_VALUE_HOLDS_UCHAR</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uchar" title="g_param_spec_uchar ()">g_param_spec_uchar</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uchar" title="g_value_set_uchar ()">g_value_set_uchar</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">guchar</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uchar" title="g_value_get_uchar ()">g_value_get_uchar</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT:CAPS" title="G_IS_PARAM_SPEC_INT()">G_IS_PARAM_SPEC_INT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT:CAPS" title="G_PARAM_SPEC_INT()">G_PARAM_SPEC_INT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT:CAPS" title="G_VALUE_HOLDS_INT()">G_VALUE_HOLDS_INT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int" title="g_param_spec_int ()">g_param_spec_int</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int" title="g_value_set_int ()">g_value_set_int</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gint</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int" title="g_value_get_int ()">g_value_get_int</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT:CAPS" title="G_IS_PARAM_SPEC_UINT()">G_IS_PARAM_SPEC_UINT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT:CAPS" title="G_PARAM_SPEC_UINT()">G_PARAM_SPEC_UINT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT:CAPS" title="G_VALUE_HOLDS_UINT()">G_VALUE_HOLDS_UINT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint" title="g_param_spec_uint ()">g_param_spec_uint</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint" title="g_value_set_uint ()">g_value_set_uint</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">guint</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint" title="g_value_get_uint ()">g_value_get_uint</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-LONG:CAPS" title="G_IS_PARAM_SPEC_LONG()">G_IS_PARAM_SPEC_LONG</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-LONG:CAPS" title="G_PARAM_SPEC_LONG()">G_PARAM_SPEC_LONG</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-LONG:CAPS" title="G_VALUE_HOLDS_LONG()">G_VALUE_HOLDS_LONG</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-long" title="g_param_spec_long ()">g_param_spec_long</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-long" title="g_value_set_long ()">g_value_set_long</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">glong</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-long" title="g_value_get_long ()">g_value_get_long</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ULONG:CAPS" title="G_IS_PARAM_SPEC_ULONG()">G_IS_PARAM_SPEC_ULONG</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ULONG:CAPS" title="G_PARAM_SPEC_ULONG()">G_PARAM_SPEC_ULONG</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ULONG:CAPS" title="G_VALUE_HOLDS_ULONG()">G_VALUE_HOLDS_ULONG</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-ulong" title="g_param_spec_ulong ()">g_param_spec_ulong</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-ulong" title="g_value_set_ulong ()">g_value_set_ulong</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gulong</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-ulong" title="g_value_get_ulong ()">g_value_get_ulong</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT64:CAPS" title="G_IS_PARAM_SPEC_INT64()">G_IS_PARAM_SPEC_INT64</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT64:CAPS" title="G_PARAM_SPEC_INT64()">G_PARAM_SPEC_INT64</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT64:CAPS" title="G_VALUE_HOLDS_INT64()">G_VALUE_HOLDS_INT64</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int64" title="g_param_spec_int64 ()">g_param_spec_int64</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int64" title="g_value_set_int64 ()">g_value_set_int64</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gint64</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int64" title="g_value_get_int64 ()">g_value_get_int64</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT64:CAPS" title="G_IS_PARAM_SPEC_UINT64()">G_IS_PARAM_SPEC_UINT64</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT64:CAPS" title="G_PARAM_SPEC_UINT64()">G_PARAM_SPEC_UINT64</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT64:CAPS" title="G_VALUE_HOLDS_UINT64()">G_VALUE_HOLDS_UINT64</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint64" title="g_param_spec_uint64 ()">g_param_spec_uint64</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint64" title="g_value_set_uint64 ()">g_value_set_uint64</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">guint64</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint64" title="g_value_get_uint64 ()">g_value_get_uint64</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLOAT:CAPS" title="G_IS_PARAM_SPEC_FLOAT()">G_IS_PARAM_SPEC_FLOAT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLOAT:CAPS" title="G_PARAM_SPEC_FLOAT()">G_PARAM_SPEC_FLOAT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLOAT:CAPS" title="G_VALUE_HOLDS_FLOAT()">G_VALUE_HOLDS_FLOAT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-float" title="g_param_spec_float ()">g_param_spec_float</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-float" title="g_value_set_float ()">g_value_set_float</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gfloat</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-float" title="g_value_get_float ()">g_value_get_float</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-DOUBLE:CAPS" title="G_IS_PARAM_SPEC_DOUBLE()">G_IS_PARAM_SPEC_DOUBLE</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-DOUBLE:CAPS" title="G_PARAM_SPEC_DOUBLE()">G_PARAM_SPEC_DOUBLE</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-DOUBLE:CAPS" title="G_VALUE_HOLDS_DOUBLE()">G_VALUE_HOLDS_DOUBLE</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-double" title="g_param_spec_double ()">g_param_spec_double</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-double" title="g_value_set_double ()">g_value_set_double</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gdouble</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-double" title="g_value_get_double ()">g_value_get_double</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ENUM:CAPS" title="G_IS_PARAM_SPEC_ENUM()">G_IS_PARAM_SPEC_ENUM</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ENUM:CAPS" title="G_PARAM_SPEC_ENUM()">G_PARAM_SPEC_ENUM</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ENUM:CAPS" title="G_VALUE_HOLDS_ENUM()">G_VALUE_HOLDS_ENUM</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-enum" title="g_param_spec_enum ()">g_param_spec_enum</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-enum" title="g_value_set_enum ()">g_value_set_enum</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gint</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-enum" title="g_value_get_enum ()">g_value_get_enum</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLAGS:CAPS" title="G_IS_PARAM_SPEC_FLAGS()">G_IS_PARAM_SPEC_FLAGS</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLAGS:CAPS" title="G_PARAM_SPEC_FLAGS()">G_PARAM_SPEC_FLAGS</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLAGS:CAPS" title="G_VALUE_HOLDS_FLAGS()">G_VALUE_HOLDS_FLAGS</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-flags" title="g_param_spec_flags ()">g_param_spec_flags</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-flags" title="g_value_set_flags ()">g_value_set_flags</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">guint</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-flags" title="g_value_get_flags ()">g_value_get_flags</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-STRING:CAPS" title="G_IS_PARAM_SPEC_STRING()">G_IS_PARAM_SPEC_STRING</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-STRING:CAPS" title="G_PARAM_SPEC_STRING()">G_PARAM_SPEC_STRING</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-STRING:CAPS" title="G_VALUE_HOLDS_STRING()">G_VALUE_HOLDS_STRING</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-string" title="g_param_spec_string ()">g_param_spec_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string" title="g_value_set_string ()">g_value_set_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-string" title="g_value_set_static_string ()">g_value_set_static_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-string" title="g_value_take_string ()">g_value_take_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string-take-ownership" title="g_value_set_string_take_ownership ()">g_value_set_string_take_ownership</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type">const <span class="returnvalue">gchar</span> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-string" title="g_value_get_string ()">g_value_get_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gchar</span> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-string" title="g_value_dup_string ()">g_value_dup_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-PARAM:CAPS" title="G_IS_PARAM_SPEC_PARAM()">G_IS_PARAM_SPEC_PARAM</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-PARAM:CAPS" title="G_PARAM_SPEC_PARAM()">G_PARAM_SPEC_PARAM</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-PARAM:CAPS" title="G_VALUE_HOLDS_PARAM()">G_VALUE_HOLDS_PARAM</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-param" title="g_param_spec_param ()">g_param_spec_param</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param" title="g_value_set_param ()">g_value_set_param</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-param" title="g_value_take_param ()">g_value_take_param</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param-take-ownership" title="g_value_set_param_take_ownership ()">g_value_set_param_take_ownership</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-param" title="g_value_get_param ()">g_value_get_param</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-param" title="g_value_dup_param ()">g_value_dup_param</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOXED:CAPS" title="G_IS_PARAM_SPEC_BOXED()">G_IS_PARAM_SPEC_BOXED</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOXED:CAPS" title="G_PARAM_SPEC_BOXED()">G_PARAM_SPEC_BOXED</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOXED:CAPS" title="G_VALUE_HOLDS_BOXED()">G_VALUE_HOLDS_BOXED</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boxed" title="g_param_spec_boxed ()">g_param_spec_boxed</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed" title="g_value_set_boxed ()">g_value_set_boxed</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-boxed" title="g_value_set_static_boxed ()">g_value_set_static_boxed</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-boxed" title="g_value_take_boxed ()">g_value_take_boxed</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed-take-ownership" title="g_value_set_boxed_take_ownership ()">g_value_set_boxed_take_ownership</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gpointer</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boxed" title="g_value_get_boxed ()">g_value_get_boxed</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gpointer</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-boxed" title="g_value_dup_boxed ()">g_value_dup_boxed</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-POINTER:CAPS" title="G_IS_PARAM_SPEC_POINTER()">G_IS_PARAM_SPEC_POINTER</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-POINTER:CAPS" title="G_PARAM_SPEC_POINTER()">G_PARAM_SPEC_POINTER</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-POINTER:CAPS" title="G_VALUE_HOLDS_POINTER()">G_VALUE_HOLDS_POINTER</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-pointer" title="g_param_spec_pointer ()">g_param_spec_pointer</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-pointer" title="g_value_set_pointer ()">g_value_set_pointer</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gpointer</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-pointer" title="g_value_get_pointer ()">g_value_get_pointer</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OBJECT:CAPS" title="G_IS_PARAM_SPEC_OBJECT()">G_IS_PARAM_SPEC_OBJECT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OBJECT:CAPS" title="G_PARAM_SPEC_OBJECT()">G_PARAM_SPEC_OBJECT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-OBJECT:CAPS" title="G_VALUE_HOLDS_OBJECT()">G_VALUE_HOLDS_OBJECT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-object" title="g_param_spec_object ()">g_param_spec_object</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object" title="g_value_set_object ()">g_value_set_object</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object" title="g_value_take_object ()">g_value_take_object</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object-take-ownership" title="g_value_set_object_take_ownership ()">g_value_set_object_take_ownership</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gpointer</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-object" title="g_value_get_object ()">g_value_get_object</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">gpointer</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-object" title="g_value_dup_object ()">g_value_dup_object</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UNICHAR:CAPS" title="G_IS_PARAM_SPEC_UNICHAR()">G_IS_PARAM_SPEC_UNICHAR</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UNICHAR:CAPS" title="G_PARAM_SPEC_UNICHAR()">G_PARAM_SPEC_UNICHAR</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-unichar" title="g_param_spec_unichar ()">g_param_spec_unichar</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VALUE-ARRAY:CAPS" title="G_IS_PARAM_SPEC_VALUE_ARRAY()">G_IS_PARAM_SPEC_VALUE_ARRAY</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VALUE-ARRAY:CAPS" title="G_PARAM_SPEC_VALUE_ARRAY()">G_PARAM_SPEC_VALUE_ARRAY</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-value-array" title="g_param_spec_value_array ()">g_param_spec_value_array</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OVERRIDE:CAPS" title="G_IS_PARAM_SPEC_OVERRIDE()">G_IS_PARAM_SPEC_OVERRIDE</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OVERRIDE:CAPS" title="G_PARAM_SPEC_OVERRIDE()">G_PARAM_SPEC_OVERRIDE</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-override" title="g_param_spec_override ()">g_param_spec_override</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-GTYPE:CAPS" title="G_IS_PARAM_SPEC_GTYPE()">G_IS_PARAM_SPEC_GTYPE</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-GTYPE:CAPS" title="G_PARAM_SPEC_GTYPE()">G_PARAM_SPEC_GTYPE</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-GTYPE:CAPS" title="G_VALUE_HOLDS_GTYPE()">G_VALUE_HOLDS_GTYPE</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-gtype" title="g_param_spec_gtype ()">g_param_spec_gtype</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-gtype" title="g_value_get_gtype ()">g_value_get_gtype</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-gtype" title="g_value_set_gtype ()">g_value_set_gtype</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VARIANT:CAPS" title="G_IS_PARAM_SPEC_VARIANT()">G_IS_PARAM_SPEC_VARIANT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VARIANT:CAPS" title="G_PARAM_SPEC_VARIANT()">G_PARAM_SPEC_VARIANT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-VARIANT:CAPS" title="G_VALUE_HOLDS_VARIANT()">G_VALUE_HOLDS_VARIANT</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-variant" title="g_param_spec_variant ()">g_param_spec_variant</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">GVariant</span> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-variant" title="g_value_get_variant ()">g_value_get_variant</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">GVariant</span> * </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-variant" title="g_value_dup_variant ()">g_value_dup_variant</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-variant" title="g_value_set_variant ()">g_value_set_variant</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-variant" title="g_value_take_variant ()">g_value_take_variant</a> <span class="c_punctuation">()</span> </td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="gobject-Standard-Parameter-and-Value-Types.other"></a><h2>Types and Values</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="other_proto_type"> <col class="other_proto_name"> </colgroup> <tbody> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOOLEAN:CAPS" title="G_TYPE_PARAM_BOOLEAN">G_TYPE_PARAM_BOOLEAN</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean" title="struct GParamSpecBoolean">GParamSpecBoolean</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-CHAR:CAPS" title="G_TYPE_PARAM_CHAR">G_TYPE_PARAM_CHAR</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar" title="struct GParamSpecChar">GParamSpecChar</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UCHAR:CAPS" title="G_TYPE_PARAM_UCHAR">G_TYPE_PARAM_UCHAR</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar" title="struct GParamSpecUChar">GParamSpecUChar</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT:CAPS" title="G_TYPE_PARAM_INT">G_TYPE_PARAM_INT</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt" title="struct GParamSpecInt">GParamSpecInt</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT:CAPS" title="G_TYPE_PARAM_UINT">G_TYPE_PARAM_UINT</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt" title="struct GParamSpecUInt">GParamSpecUInt</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-LONG:CAPS" title="G_TYPE_PARAM_LONG">G_TYPE_PARAM_LONG</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong" title="struct GParamSpecLong">GParamSpecLong</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ULONG:CAPS" title="G_TYPE_PARAM_ULONG">G_TYPE_PARAM_ULONG</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong" title="struct GParamSpecULong">GParamSpecULong</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT64:CAPS" title="G_TYPE_PARAM_INT64">G_TYPE_PARAM_INT64</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64" title="struct GParamSpecInt64">GParamSpecInt64</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT64:CAPS" title="G_TYPE_PARAM_UINT64">G_TYPE_PARAM_UINT64</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64" title="struct GParamSpecUInt64">GParamSpecUInt64</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLOAT:CAPS" title="G_TYPE_PARAM_FLOAT">G_TYPE_PARAM_FLOAT</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat" title="struct GParamSpecFloat">GParamSpecFloat</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-DOUBLE:CAPS" title="G_TYPE_PARAM_DOUBLE">G_TYPE_PARAM_DOUBLE</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble" title="struct GParamSpecDouble">GParamSpecDouble</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ENUM:CAPS" title="G_TYPE_PARAM_ENUM">G_TYPE_PARAM_ENUM</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum" title="struct GParamSpecEnum">GParamSpecEnum</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLAGS:CAPS" title="G_TYPE_PARAM_FLAGS">G_TYPE_PARAM_FLAGS</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags" title="struct GParamSpecFlags">GParamSpecFlags</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-STRING:CAPS" title="G_TYPE_PARAM_STRING">G_TYPE_PARAM_STRING</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString" title="struct GParamSpecString">GParamSpecString</a></td> </tr> <tr> <td class="typedef_keyword">typedef</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#gchararray" title="gchararray">gchararray</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-PARAM:CAPS" title="G_TYPE_PARAM_PARAM">G_TYPE_PARAM_PARAM</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam" title="struct GParamSpecParam">GParamSpecParam</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOXED:CAPS" title="G_TYPE_PARAM_BOXED">G_TYPE_PARAM_BOXED</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed">GParamSpecBoxed</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-POINTER:CAPS" title="G_TYPE_PARAM_POINTER">G_TYPE_PARAM_POINTER</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer" title="struct GParamSpecPointer">GParamSpecPointer</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OBJECT:CAPS" title="G_TYPE_PARAM_OBJECT">G_TYPE_PARAM_OBJECT</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject" title="struct GParamSpecObject">GParamSpecObject</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UNICHAR:CAPS" title="G_TYPE_PARAM_UNICHAR">G_TYPE_PARAM_UNICHAR</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar" title="struct GParamSpecUnichar">GParamSpecUnichar</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VALUE-ARRAY:CAPS" title="G_TYPE_PARAM_VALUE_ARRAY">G_TYPE_PARAM_VALUE_ARRAY</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray" title="struct GParamSpecValueArray">GParamSpecValueArray</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OVERRIDE:CAPS" title="G_TYPE_PARAM_OVERRIDE">G_TYPE_PARAM_OVERRIDE</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride">GParamSpecOverride</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-GTYPE:CAPS" title="G_TYPE_PARAM_GTYPE">G_TYPE_PARAM_GTYPE</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType" title="struct GParamSpecGType">GParamSpecGType</a></td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VARIANT:CAPS" title="G_TYPE_PARAM_VARIANT">G_TYPE_PARAM_VARIANT</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant" title="struct GParamSpecVariant">GParamSpecVariant</a></td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="gobject-Standard-Parameter-and-Value-Types.includes"></a><h2>Includes</h2> <pre class="synopsis">#include <glib-object.h> </pre> </div> <div class="refsect1"> <a name="gobject-Standard-Parameter-and-Value-Types.description"></a><h2>Description</h2> <p><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> provides an abstract container structure which can be copied, transformed and compared while holding a value of any (derived) type, which is registered as a <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> with a <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> in its <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure. Parameter specifications for most value types can be created as <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived instances, to implement e.g. <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> properties which operate on <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> containers.</p> <p>Parameter names need to start with a letter (a-z or A-Z). Subsequent characters can be letters, numbers or a '-'. All other characters are replaced by a '-' during construction.</p> </div> <div class="refsect1"> <a name="gobject-Standard-Parameter-and-Value-Types.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-BOOLEAN:CAPS"></a><h3>G_IS_PARAM_SPEC_BOOLEAN()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOOLEAN)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOOLEAN:CAPS" title="G_TYPE_PARAM_BOOLEAN"><code class="literal">G_TYPE_PARAM_BOOLEAN</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-BOOLEAN.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-BOOLEAN.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-BOOLEAN:CAPS"></a><h3>G_PARAM_SPEC_BOOLEAN()</h3> <pre class="programlisting">#define G_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOOLEAN, GParamSpecBoolean)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean" title="struct GParamSpecBoolean"><span class="type">GParamSpecBoolean</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-BOOLEAN.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-BOOLEAN:CAPS"></a><h3>G_VALUE_HOLDS_BOOLEAN()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_BOOLEAN(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_BOOLEAN)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-BOOLEAN.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-BOOLEAN.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-boolean"></a><h3>g_param_spec_boolean ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_boolean (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">gboolean</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean" title="struct GParamSpecBoolean"><span class="type">GParamSpecBoolean</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a> property. In many cases, it may be more appropriate to use an enum with <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-enum" title="g_param_spec_enum ()"><code class="function">g_param_spec_enum()</code></a>, both to improve code clarity by using explicitly named values, and to allow for more values to be added in future without breaking API.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-boolean.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-boolean.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-boolean"></a><h3>g_value_set_boolean ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_boolean (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gboolean</span> v_boolean</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boolean</code></em> .</p> <div class="refsect3"> <a name="g-value-set-boolean.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_boolean</p></td> <td class="parameter_description"><p>boolean value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-boolean"></a><h3>g_value_get_boolean ()</h3> <pre class="programlisting"><span class="returnvalue">gboolean</span> g_value_get_boolean (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-boolean.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-boolean.returns"></a><h4>Returns</h4> <p> boolean contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-CHAR:CAPS"></a><h3>G_IS_PARAM_SPEC_CHAR()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_CHAR)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-CHAR:CAPS" title="G_TYPE_PARAM_CHAR"><code class="literal">G_TYPE_PARAM_CHAR</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-CHAR.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-CHAR.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-CHAR:CAPS"></a><h3>G_PARAM_SPEC_CHAR()</h3> <pre class="programlisting">#define G_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_CHAR, GParamSpecChar)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar" title="struct GParamSpecChar"><span class="type">GParamSpecChar</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-CHAR.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-CHAR:CAPS"></a><h3>G_VALUE_HOLDS_CHAR()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_CHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_CHAR)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-CHAR.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-CHAR.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-char"></a><h3>g_param_spec_char ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_char (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">gint8</span> minimum</code></em>, <em class="parameter"><code><span class="type">gint8</span> maximum</code></em>, <em class="parameter"><code><span class="type">gint8</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar" title="struct GParamSpecChar"><span class="type">GParamSpecChar</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> property.</p> <div class="refsect3"> <a name="g-param-spec-char.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>minimum</p></td> <td class="parameter_description"><p>minimum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>maximum</p></td> <td class="parameter_description"><p>maximum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-char.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-char"></a><h3>g_value_set_char ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_char (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gchar</span> v_char</code></em>);</pre> <div class="warning"> <p><code class="literal">g_value_set_char</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p> <p>This function's input type is broken, see <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-schar" title="g_value_set_schar ()"><code class="function">g_value_set_schar()</code></a></p> </div> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_char</code></em> .</p> <div class="refsect3"> <a name="g-value-set-char.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_char</p></td> <td class="parameter_description"><p>character value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-char"></a><h3>g_value_get_char ()</h3> <pre class="programlisting"><span class="returnvalue">gchar</span> g_value_get_char (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <div class="warning"> <p><code class="literal">g_value_get_char</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p> <p>This function's return type is broken, see <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-schar" title="g_value_get_schar ()"><code class="function">g_value_get_schar()</code></a></p> </div> <p>Do not use this function; it is broken on platforms where the <code class="literal">char</code> type is unsigned, such as ARM and PowerPC. See <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-schar" title="g_value_get_schar ()"><code class="function">g_value_get_schar()</code></a>.</p> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-char.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-char.returns"></a><h4>Returns</h4> <p> character contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-schar"></a><h3>g_value_get_schar ()</h3> <pre class="programlisting"><span class="returnvalue">gint8</span> g_value_get_schar (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-schar.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-schar.returns"></a><h4>Returns</h4> <p> signed 8 bit integer contents of <em class="parameter"><code>value</code></em> </p> </div> <p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p> </div> <hr> <div class="refsect2"> <a name="g-value-set-schar"></a><h3>g_value_set_schar ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_schar (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gint8</span> v_char</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_char</code></em> .</p> <div class="refsect3"> <a name="g-value-set-schar.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_char</p></td> <td class="parameter_description"><p>signed 8 bit integer to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-UCHAR:CAPS"></a><h3>G_IS_PARAM_SPEC_UCHAR()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UCHAR)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UCHAR:CAPS" title="G_TYPE_PARAM_UCHAR"><code class="literal">G_TYPE_PARAM_UCHAR</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-UCHAR.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-UCHAR.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-UCHAR:CAPS"></a><h3>G_PARAM_SPEC_UCHAR()</h3> <pre class="programlisting">#define G_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UCHAR, GParamSpecUChar)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar" title="struct GParamSpecUChar"><span class="type">GParamSpecUChar</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-UCHAR.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-UCHAR:CAPS"></a><h3>G_VALUE_HOLDS_UCHAR()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_UCHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UCHAR)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-UCHAR.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-UCHAR.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-uchar"></a><h3>g_param_spec_uchar ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_uchar (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">guint8</span> minimum</code></em>, <em class="parameter"><code><span class="type">guint8</span> maximum</code></em>, <em class="parameter"><code><span class="type">guint8</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar" title="struct GParamSpecUChar"><span class="type">GParamSpecUChar</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a> property.</p> <div class="refsect3"> <a name="g-param-spec-uchar.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>minimum</p></td> <td class="parameter_description"><p>minimum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>maximum</p></td> <td class="parameter_description"><p>maximum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-uchar.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-uchar"></a><h3>g_value_set_uchar ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_uchar (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">guchar</span> v_uchar</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_uchar</code></em> .</p> <div class="refsect3"> <a name="g-value-set-uchar.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_uchar</p></td> <td class="parameter_description"><p>unsigned character value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-uchar"></a><h3>g_value_get_uchar ()</h3> <pre class="programlisting"><span class="returnvalue">guchar</span> g_value_get_uchar (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-uchar.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-uchar.returns"></a><h4>Returns</h4> <p> unsigned character contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-INT:CAPS"></a><h3>G_IS_PARAM_SPEC_INT()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT:CAPS" title="G_TYPE_PARAM_INT"><code class="literal">G_TYPE_PARAM_INT</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-INT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-INT.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-INT:CAPS"></a><h3>G_PARAM_SPEC_INT()</h3> <pre class="programlisting">#define G_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT, GParamSpecInt)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt" title="struct GParamSpecInt"><span class="type">GParamSpecInt</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-INT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-INT:CAPS"></a><h3>G_VALUE_HOLDS_INT()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_INT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_INT)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-INT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-INT.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-int"></a><h3>g_param_spec_int ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_int (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">gint</span> minimum</code></em>, <em class="parameter"><code><span class="type">gint</span> maximum</code></em>, <em class="parameter"><code><span class="type">gint</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt" title="struct GParamSpecInt"><span class="type">GParamSpecInt</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-int.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>minimum</p></td> <td class="parameter_description"><p>minimum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>maximum</p></td> <td class="parameter_description"><p>maximum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-int.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-int"></a><h3>g_value_set_int ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_int (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gint</span> v_int</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_int</code></em> .</p> <div class="refsect3"> <a name="g-value-set-int.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_int</p></td> <td class="parameter_description"><p>integer value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-int"></a><h3>g_value_get_int ()</h3> <pre class="programlisting"><span class="returnvalue">gint</span> g_value_get_int (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-int.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-int.returns"></a><h4>Returns</h4> <p> integer contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-UINT:CAPS"></a><h3>G_IS_PARAM_SPEC_UINT()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT:CAPS" title="G_TYPE_PARAM_UINT"><code class="literal">G_TYPE_PARAM_UINT</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-UINT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-UINT.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-UINT:CAPS"></a><h3>G_PARAM_SPEC_UINT()</h3> <pre class="programlisting">#define G_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT, GParamSpecUInt)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt" title="struct GParamSpecUInt"><span class="type">GParamSpecUInt</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-UINT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-UINT:CAPS"></a><h3>G_VALUE_HOLDS_UINT()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_UINT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UINT)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-UINT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-UINT.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-uint"></a><h3>g_param_spec_uint ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_uint (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">guint</span> minimum</code></em>, <em class="parameter"><code><span class="type">guint</span> maximum</code></em>, <em class="parameter"><code><span class="type">guint</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt" title="struct GParamSpecUInt"><span class="type">GParamSpecUInt</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-uint.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>minimum</p></td> <td class="parameter_description"><p>minimum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>maximum</p></td> <td class="parameter_description"><p>maximum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-uint.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-uint"></a><h3>g_value_set_uint ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_uint (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">guint</span> v_uint</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_uint</code></em> .</p> <div class="refsect3"> <a name="g-value-set-uint.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_uint</p></td> <td class="parameter_description"><p>unsigned integer value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-uint"></a><h3>g_value_get_uint ()</h3> <pre class="programlisting"><span class="returnvalue">guint</span> g_value_get_uint (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-uint.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-uint.returns"></a><h4>Returns</h4> <p> unsigned integer contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-LONG:CAPS"></a><h3>G_IS_PARAM_SPEC_LONG()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_LONG)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-LONG:CAPS" title="G_TYPE_PARAM_LONG"><code class="literal">G_TYPE_PARAM_LONG</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-LONG.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-LONG.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-LONG:CAPS"></a><h3>G_PARAM_SPEC_LONG()</h3> <pre class="programlisting">#define G_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_LONG, GParamSpecLong)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong" title="struct GParamSpecLong"><span class="type">GParamSpecLong</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-LONG.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-LONG:CAPS"></a><h3>G_VALUE_HOLDS_LONG()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_LONG(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_LONG)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-LONG.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-LONG.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-long"></a><h3>g_param_spec_long ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_long (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">glong</span> minimum</code></em>, <em class="parameter"><code><span class="type">glong</span> maximum</code></em>, <em class="parameter"><code><span class="type">glong</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong" title="struct GParamSpecLong"><span class="type">GParamSpecLong</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-long.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>minimum</p></td> <td class="parameter_description"><p>minimum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>maximum</p></td> <td class="parameter_description"><p>maximum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-long.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-long"></a><h3>g_value_set_long ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_long (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">glong</span> v_long</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_long</code></em> .</p> <div class="refsect3"> <a name="g-value-set-long.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_long</p></td> <td class="parameter_description"><p>long integer value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-long"></a><h3>g_value_get_long ()</h3> <pre class="programlisting"><span class="returnvalue">glong</span> g_value_get_long (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-long.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-long.returns"></a><h4>Returns</h4> <p> long integer contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-ULONG:CAPS"></a><h3>G_IS_PARAM_SPEC_ULONG()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ULONG)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ULONG:CAPS" title="G_TYPE_PARAM_ULONG"><code class="literal">G_TYPE_PARAM_ULONG</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-ULONG.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-ULONG.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-ULONG:CAPS"></a><h3>G_PARAM_SPEC_ULONG()</h3> <pre class="programlisting">#define G_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ULONG, GParamSpecULong)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong" title="struct GParamSpecULong"><span class="type">GParamSpecULong</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-ULONG.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-ULONG:CAPS"></a><h3>G_VALUE_HOLDS_ULONG()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_ULONG(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ULONG)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-ULONG.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-ULONG.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-ulong"></a><h3>g_param_spec_ulong ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_ulong (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">gulong</span> minimum</code></em>, <em class="parameter"><code><span class="type">gulong</span> maximum</code></em>, <em class="parameter"><code><span class="type">gulong</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong" title="struct GParamSpecULong"><span class="type">GParamSpecULong</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-ulong.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>minimum</p></td> <td class="parameter_description"><p>minimum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>maximum</p></td> <td class="parameter_description"><p>maximum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-ulong.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-ulong"></a><h3>g_value_set_ulong ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_ulong (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gulong</span> v_ulong</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_ulong</code></em> .</p> <div class="refsect3"> <a name="g-value-set-ulong.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_ulong</p></td> <td class="parameter_description"><p>unsigned long integer value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-ulong"></a><h3>g_value_get_ulong ()</h3> <pre class="programlisting"><span class="returnvalue">gulong</span> g_value_get_ulong (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-ulong.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-ulong.returns"></a><h4>Returns</h4> <p> unsigned long integer contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-INT64:CAPS"></a><h3>G_IS_PARAM_SPEC_INT64()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT64)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT64:CAPS" title="G_TYPE_PARAM_INT64"><code class="literal">G_TYPE_PARAM_INT64</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-INT64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-INT64.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-INT64:CAPS"></a><h3>G_PARAM_SPEC_INT64()</h3> <pre class="programlisting">#define G_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT64, GParamSpecInt64)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64" title="struct GParamSpecInt64"><span class="type">GParamSpecInt64</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-INT64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-INT64:CAPS"></a><h3>G_VALUE_HOLDS_INT64()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_INT64(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_INT64)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-INT64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-INT64.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-int64"></a><h3>g_param_spec_int64 ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_int64 (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">gint64</span> minimum</code></em>, <em class="parameter"><code><span class="type">gint64</span> maximum</code></em>, <em class="parameter"><code><span class="type">gint64</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64" title="struct GParamSpecInt64"><span class="type">GParamSpecInt64</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-int64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>minimum</p></td> <td class="parameter_description"><p>minimum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>maximum</p></td> <td class="parameter_description"><p>maximum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-int64.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-int64"></a><h3>g_value_set_int64 ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_int64 (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gint64</span> v_int64</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_int64</code></em> .</p> <div class="refsect3"> <a name="g-value-set-int64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_int64</p></td> <td class="parameter_description"><p>64bit integer value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-int64"></a><h3>g_value_get_int64 ()</h3> <pre class="programlisting"><span class="returnvalue">gint64</span> g_value_get_int64 (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-int64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-int64.returns"></a><h4>Returns</h4> <p> 64bit integer contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-UINT64:CAPS"></a><h3>G_IS_PARAM_SPEC_UINT64()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT64)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT64:CAPS" title="G_TYPE_PARAM_UINT64"><code class="literal">G_TYPE_PARAM_UINT64</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-UINT64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-UINT64.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-UINT64:CAPS"></a><h3>G_PARAM_SPEC_UINT64()</h3> <pre class="programlisting">#define G_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT64, GParamSpecUInt64)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64" title="struct GParamSpecUInt64"><span class="type">GParamSpecUInt64</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-UINT64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-UINT64:CAPS"></a><h3>G_VALUE_HOLDS_UINT64()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_UINT64(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UINT64)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-UINT64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-UINT64.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-uint64"></a><h3>g_param_spec_uint64 ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_uint64 (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">guint64</span> minimum</code></em>, <em class="parameter"><code><span class="type">guint64</span> maximum</code></em>, <em class="parameter"><code><span class="type">guint64</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64" title="struct GParamSpecUInt64"><span class="type">GParamSpecUInt64</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-uint64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>minimum</p></td> <td class="parameter_description"><p>minimum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>maximum</p></td> <td class="parameter_description"><p>maximum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-uint64.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-uint64"></a><h3>g_value_set_uint64 ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_uint64 (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">guint64</span> v_uint64</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_uint64</code></em> .</p> <div class="refsect3"> <a name="g-value-set-uint64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_uint64</p></td> <td class="parameter_description"><p>unsigned 64bit integer value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-uint64"></a><h3>g_value_get_uint64 ()</h3> <pre class="programlisting"><span class="returnvalue">guint64</span> g_value_get_uint64 (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-uint64.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-uint64.returns"></a><h4>Returns</h4> <p> unsigned 64bit integer contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-FLOAT:CAPS"></a><h3>G_IS_PARAM_SPEC_FLOAT()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLOAT)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLOAT:CAPS" title="G_TYPE_PARAM_FLOAT"><code class="literal">G_TYPE_PARAM_FLOAT</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-FLOAT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-FLOAT.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-FLOAT:CAPS"></a><h3>G_PARAM_SPEC_FLOAT()</h3> <pre class="programlisting">#define G_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLOAT, GParamSpecFloat)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat" title="struct GParamSpecFloat"><span class="type">GParamSpecFloat</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-FLOAT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-FLOAT:CAPS"></a><h3>G_VALUE_HOLDS_FLOAT()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_FLOAT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLOAT)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-FLOAT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-FLOAT.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-float"></a><h3>g_param_spec_float ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_float (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">gfloat</span> minimum</code></em>, <em class="parameter"><code><span class="type">gfloat</span> maximum</code></em>, <em class="parameter"><code><span class="type">gfloat</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat" title="struct GParamSpecFloat"><span class="type">GParamSpecFloat</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-float.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>minimum</p></td> <td class="parameter_description"><p>minimum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>maximum</p></td> <td class="parameter_description"><p>maximum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-float.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-float"></a><h3>g_value_set_float ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_float (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gfloat</span> v_float</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_float</code></em> .</p> <div class="refsect3"> <a name="g-value-set-float.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_float</p></td> <td class="parameter_description"><p>float value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-float"></a><h3>g_value_get_float ()</h3> <pre class="programlisting"><span class="returnvalue">gfloat</span> g_value_get_float (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-float.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-float.returns"></a><h4>Returns</h4> <p> float contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-DOUBLE:CAPS"></a><h3>G_IS_PARAM_SPEC_DOUBLE()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_DOUBLE)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-DOUBLE:CAPS" title="G_TYPE_PARAM_DOUBLE"><code class="literal">G_TYPE_PARAM_DOUBLE</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-DOUBLE.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-DOUBLE.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-DOUBLE:CAPS"></a><h3>G_PARAM_SPEC_DOUBLE()</h3> <pre class="programlisting">#define G_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_DOUBLE, GParamSpecDouble)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble" title="struct GParamSpecDouble"><span class="type">GParamSpecDouble</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-DOUBLE.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-DOUBLE:CAPS"></a><h3>G_VALUE_HOLDS_DOUBLE()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_DOUBLE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_DOUBLE)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-DOUBLE.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-DOUBLE.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-double"></a><h3>g_param_spec_double ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_double (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">gdouble</span> minimum</code></em>, <em class="parameter"><code><span class="type">gdouble</span> maximum</code></em>, <em class="parameter"><code><span class="type">gdouble</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble" title="struct GParamSpecDouble"><span class="type">GParamSpecDouble</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-double.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>minimum</p></td> <td class="parameter_description"><p>minimum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>maximum</p></td> <td class="parameter_description"><p>maximum value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-double.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-double"></a><h3>g_value_set_double ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_double (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gdouble</span> v_double</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_double</code></em> .</p> <div class="refsect3"> <a name="g-value-set-double.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_double</p></td> <td class="parameter_description"><p>double value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-double"></a><h3>g_value_get_double ()</h3> <pre class="programlisting"><span class="returnvalue">gdouble</span> g_value_get_double (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-double.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-double.returns"></a><h4>Returns</h4> <p> double contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-ENUM:CAPS"></a><h3>G_IS_PARAM_SPEC_ENUM()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ENUM)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ENUM:CAPS" title="G_TYPE_PARAM_ENUM"><code class="literal">G_TYPE_PARAM_ENUM</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-ENUM.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-ENUM.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-ENUM:CAPS"></a><h3>G_PARAM_SPEC_ENUM()</h3> <pre class="programlisting">#define G_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ENUM, GParamSpecEnum)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum" title="struct GParamSpecEnum"><span class="type">GParamSpecEnum</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-ENUM.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-ENUM:CAPS"></a><h3>G_VALUE_HOLDS_ENUM()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_ENUM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ENUM)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values derived from type <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-ENUM.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-ENUM.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-enum"></a><h3>g_param_spec_enum ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_enum (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> enum_type</code></em>, <em class="parameter"><code><span class="type">gint</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum" title="struct GParamSpecEnum"><span class="type">GParamSpecEnum</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-enum.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>enum_type</p></td> <td class="parameter_description"><p>a <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-enum.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-enum"></a><h3>g_value_set_enum ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_enum (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gint</span> v_enum</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_enum</code></em> .</p> <div class="refsect3"> <a name="g-value-set-enum.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_enum</p></td> <td class="parameter_description"><p>enum value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-enum"></a><h3>g_value_get_enum ()</h3> <pre class="programlisting"><span class="returnvalue">gint</span> g_value_get_enum (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-enum.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-enum.returns"></a><h4>Returns</h4> <p> enum contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-FLAGS:CAPS"></a><h3>G_IS_PARAM_SPEC_FLAGS()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLAGS)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLAGS:CAPS" title="G_TYPE_PARAM_FLAGS"><code class="literal">G_TYPE_PARAM_FLAGS</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-FLAGS.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-FLAGS.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-FLAGS:CAPS"></a><h3>G_PARAM_SPEC_FLAGS()</h3> <pre class="programlisting">#define G_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLAGS, GParamSpecFlags)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags" title="struct GParamSpecFlags"><span class="type">GParamSpecFlags</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-FLAGS.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-FLAGS:CAPS"></a><h3>G_VALUE_HOLDS_FLAGS()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_FLAGS(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLAGS)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values derived from type <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-FLAGS.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-FLAGS.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-flags"></a><h3>g_param_spec_flags ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_flags (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> flags_type</code></em>, <em class="parameter"><code><span class="type">guint</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags" title="struct GParamSpecFlags"><span class="type">GParamSpecFlags</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-flags.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags_type</p></td> <td class="parameter_description"><p>a <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-flags.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-flags"></a><h3>g_value_set_flags ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_flags (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">guint</span> v_flags</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_flags</code></em> .</p> <div class="refsect3"> <a name="g-value-set-flags.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_flags</p></td> <td class="parameter_description"><p>flags value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-flags"></a><h3>g_value_get_flags ()</h3> <pre class="programlisting"><span class="returnvalue">guint</span> g_value_get_flags (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-flags.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-flags.returns"></a><h4>Returns</h4> <p> flags contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-STRING:CAPS"></a><h3>G_IS_PARAM_SPEC_STRING()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_STRING)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-STRING:CAPS" title="G_TYPE_PARAM_STRING"><code class="literal">G_TYPE_PARAM_STRING</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-STRING.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-STRING.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-STRING:CAPS"></a><h3>G_PARAM_SPEC_STRING()</h3> <pre class="programlisting">#define G_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_STRING, GParamSpecString)) </pre> <p>Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString" title="struct GParamSpecString"><span class="type">GParamSpecString</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-STRING.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-STRING:CAPS"></a><h3>G_VALUE_HOLDS_STRING()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_STRING(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_STRING)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-STRING.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-STRING.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-string"></a><h3>g_param_spec_string ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_string (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString" title="struct GParamSpecString"><span class="type">GParamSpecString</span></a> instance.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-string.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-string.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-string"></a><h3>g_value_set_string ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_string (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *v_string</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_string</code></em> .</p> <div class="refsect3"> <a name="g-value-set-string.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_string</p></td> <td class="parameter_description"><p>caller-owned string to be duplicated for the <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-static-string"></a><h3>g_value_set_static_string ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_static_string (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *v_string</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_string</code></em> . The string is assumed to be static, and is thus not duplicated when setting the <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-set-static-string.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_string</p></td> <td class="parameter_description"><p>static string to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-take-string"></a><h3>g_value_take_string ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_take_string (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gchar</span> *v_string</code></em>);</pre> <p>Sets the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_string</code></em> .</p> <div class="refsect3"> <a name="g-value-take-string.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_string</p></td> <td class="parameter_description"><p>string to take ownership of. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> </div> <hr> <div class="refsect2"> <a name="g-value-set-string-take-ownership"></a><h3>g_value_set_string_take_ownership ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_string_take_ownership (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gchar</span> *v_string</code></em>);</pre> <div class="warning"> <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.</p> <p>Use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-string" title="g_value_take_string ()"><code class="function">g_value_take_string()</code></a> instead.</p> </div> <p>This is an internal function introduced mainly for C marshallers.</p> <div class="refsect3"> <a name="g-value-set-string-take-ownership.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_string</p></td> <td class="parameter_description"><p>duplicated unowned string to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-string"></a><h3>g_value_get_string ()</h3> <pre class="programlisting">const <span class="returnvalue">gchar</span> * g_value_get_string (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-string.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-string.returns"></a><h4>Returns</h4> <p> string content of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-dup-string"></a><h3>g_value_dup_string ()</h3> <pre class="programlisting"><span class="returnvalue">gchar</span> * g_value_dup_string (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get a copy the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-dup-string.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-dup-string.returns"></a><h4>Returns</h4> <p> a newly allocated copy of the string content of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-PARAM:CAPS"></a><h3>G_IS_PARAM_SPEC_PARAM()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_PARAM)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-PARAM:CAPS" title="G_TYPE_PARAM_PARAM"><code class="literal">G_TYPE_PARAM_PARAM</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-PARAM.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-PARAM.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-PARAM:CAPS"></a><h3>G_PARAM_SPEC_PARAM()</h3> <pre class="programlisting">#define G_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_PARAM, GParamSpecParam)) </pre> <p>Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam" title="struct GParamSpecParam"><span class="type">GParamSpecParam</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-PARAM.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-PARAM:CAPS"></a><h3>G_VALUE_HOLDS_PARAM()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_PARAM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_PARAM)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values derived from type <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-PARAM.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-PARAM.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-param"></a><h3>g_param_spec_param ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_param (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> param_type</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam" title="struct GParamSpecParam"><span class="type">GParamSpecParam</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-param.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>param_type</p></td> <td class="parameter_description"><p>a <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-param.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-param"></a><h3>g_value_set_param ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_param (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *param</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>param</code></em> .</p> <div class="refsect3"> <a name="g-value-set-param.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>param</p></td> <td class="parameter_description"><p>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-take-param"></a><h3>g_value_take_param ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_take_param (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *param</code></em>);</pre> <p>Sets the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>param</code></em> and takes over the ownership of the caller’s reference to <em class="parameter"><code>param</code></em> ; the caller doesn’t have to unref it any more.</p> <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> <div class="refsect3"> <a name="g-value-take-param.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>param</p></td> <td class="parameter_description"><p>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> </div> <hr> <div class="refsect2"> <a name="g-value-set-param-take-ownership"></a><h3>g_value_set_param_take_ownership ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_param_take_ownership (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *param</code></em>);</pre> <div class="warning"> <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.</p> <p>Use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-param" title="g_value_take_param ()"><code class="function">g_value_take_param()</code></a> instead.</p> </div> <p>This is an internal function introduced mainly for C marshallers.</p> <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> <div class="refsect3"> <a name="g-value-set-param-take-ownership.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>param</p></td> <td class="parameter_description"><p>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-param"></a><h3>g_value_get_param ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_value_get_param (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-param.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-param.returns"></a><h4>Returns</h4> <p><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> content of <em class="parameter"><code>value</code></em> . </p> <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-dup-param"></a><h3>g_value_dup_param ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_value_dup_param (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>, increasing its reference count.</p> <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> <div class="refsect3"> <a name="g-value-dup-param.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-dup-param.returns"></a><h4>Returns</h4> <p> <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> content of <em class="parameter"><code>value</code></em> , should be unreferenced when no longer needed.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-BOXED:CAPS"></a><h3>G_IS_PARAM_SPEC_BOXED()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOXED)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOXED:CAPS" title="G_TYPE_PARAM_BOXED"><code class="literal">G_TYPE_PARAM_BOXED</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-BOXED.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-BOXED.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-BOXED:CAPS"></a><h3>G_PARAM_SPEC_BOXED()</h3> <pre class="programlisting">#define G_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOXED, GParamSpecBoxed)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-BOXED.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-BOXED:CAPS"></a><h3>G_VALUE_HOLDS_BOXED()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_BOXED(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_BOXED)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values derived from type <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-BOXED.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-BOXED.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-boxed"></a><h3>g_param_spec_boxed ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_boxed (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> boxed_type</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-boxed.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>boxed_type</p></td> <td class="parameter_description"><p><a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type of this property</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-boxed.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-boxed"></a><h3>g_value_set_boxed ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_boxed (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gconstpointer</span> v_boxed</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boxed</code></em> .</p> <div class="refsect3"> <a name="g-value-set-boxed.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_boxed</p></td> <td class="parameter_description"><p>boxed value to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-static-boxed"></a><h3>g_value_set_static_boxed ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_static_boxed (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gconstpointer</span> v_boxed</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boxed</code></em> . The boxed value is assumed to be static, and is thus not duplicated when setting the <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-set-static-boxed.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_boxed</p></td> <td class="parameter_description"><p>static boxed value to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-take-boxed"></a><h3>g_value_take_boxed ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_take_boxed (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gconstpointer</span> v_boxed</code></em>);</pre> <p>Sets the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boxed</code></em> and takes over the ownership of the caller’s reference to <em class="parameter"><code>v_boxed</code></em> ; the caller doesn’t have to unref it any more.</p> <div class="refsect3"> <a name="g-value-take-boxed.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_boxed</p></td> <td class="parameter_description"><p>duplicated unowned boxed value to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> </div> <hr> <div class="refsect2"> <a name="g-value-set-boxed-take-ownership"></a><h3>g_value_set_boxed_take_ownership ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_boxed_take_ownership (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gconstpointer</span> v_boxed</code></em>);</pre> <div class="warning"> <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.</p> <p>Use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-boxed" title="g_value_take_boxed ()"><code class="function">g_value_take_boxed()</code></a> instead.</p> </div> <p>This is an internal function introduced mainly for C marshallers.</p> <div class="refsect3"> <a name="g-value-set-boxed-take-ownership.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_boxed</p></td> <td class="parameter_description"><p>duplicated unowned boxed value to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-boxed"></a><h3>g_value_get_boxed ()</h3> <pre class="programlisting"><span class="returnvalue">gpointer</span> g_value_get_boxed (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-boxed.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-boxed.returns"></a><h4>Returns</h4> <p>boxed contents of <em class="parameter"><code>value</code></em> . </p> <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-dup-boxed"></a><h3>g_value_dup_boxed ()</h3> <pre class="programlisting"><span class="returnvalue">gpointer</span> g_value_dup_boxed (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>. Upon getting, the boxed value is duplicated and needs to be later freed with <a class="link" href="gobject-Boxed-Types.html#g-boxed-free" title="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);</p> <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> <div class="refsect3"> <a name="g-value-dup-boxed.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-dup-boxed.returns"></a><h4>Returns</h4> <p> boxed contents of <em class="parameter"><code>value</code></em> </p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-POINTER:CAPS"></a><h3>G_IS_PARAM_SPEC_POINTER()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_POINTER)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-POINTER:CAPS" title="G_TYPE_PARAM_POINTER"><code class="literal">G_TYPE_PARAM_POINTER</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-POINTER.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-POINTER.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-POINTER:CAPS"></a><h3>G_PARAM_SPEC_POINTER()</h3> <pre class="programlisting">#define G_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_POINTER, GParamSpecPointer)) </pre> <p>Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer" title="struct GParamSpecPointer"><span class="type">GParamSpecPointer</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-POINTER.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-POINTER:CAPS"></a><h3>G_VALUE_HOLDS_POINTER()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_POINTER(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_POINTER)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER"><code class="literal">G_TYPE_POINTER</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-POINTER.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-POINTER.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-pointer"></a><h3>g_param_spec_pointer ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_pointer (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer" title="struct GParamSpecPointer"><span class="type">GParamSpecPointer</span></a> instance specifying a pointer property. Where possible, it is better to use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-object" title="g_param_spec_object ()"><code class="function">g_param_spec_object()</code></a> or <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boxed" title="g_param_spec_boxed ()"><code class="function">g_param_spec_boxed()</code></a> to expose memory management information.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-pointer.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-pointer.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-pointer"></a><h3>g_value_set_pointer ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_pointer (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gpointer</span> v_pointer</code></em>);</pre> <p>Set the contents of a pointer <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_pointer</code></em> .</p> <div class="refsect3"> <a name="g-value-set-pointer.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER"><code class="literal">G_TYPE_POINTER</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_pointer</p></td> <td class="parameter_description"><p>pointer value to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-pointer"></a><h3>g_value_get_pointer ()</h3> <pre class="programlisting"><span class="returnvalue">gpointer</span> g_value_get_pointer (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a pointer <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-pointer.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER"><code class="literal">G_TYPE_POINTER</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-pointer.returns"></a><h4>Returns</h4> <p>pointer contents of <em class="parameter"><code>value</code></em> . </p> <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-OBJECT:CAPS"></a><h3>G_IS_PARAM_SPEC_OBJECT()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OBJECT)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OBJECT:CAPS" title="G_TYPE_PARAM_OBJECT"><code class="literal">G_TYPE_PARAM_OBJECT</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-OBJECT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-OBJECT.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-OBJECT:CAPS"></a><h3>G_PARAM_SPEC_OBJECT()</h3> <pre class="programlisting">#define G_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OBJECT, GParamSpecObject)) </pre> <p>Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject" title="struct GParamSpecObject"><span class="type">GParamSpecObject</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-OBJECT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-OBJECT:CAPS"></a><h3>G_VALUE_HOLDS_OBJECT()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_OBJECT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_OBJECT)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values derived from type <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-OBJECT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-OBJECT.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-object"></a><h3>g_param_spec_object ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_object (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> object_type</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-object.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>object_type</p></td> <td class="parameter_description"><p><a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived type of this property</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-object.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-set-object"></a><h3>g_value_set_object ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_object (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gpointer</span> v_object</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_object</code></em> .</p> <p>g_value_set_object() increases the reference count of <em class="parameter"><code>v_object</code></em> (the <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> holds a reference to <em class="parameter"><code>v_object</code></em> ). If you do not wish to increase the reference count of the object (i.e. you wish to pass your current reference to the <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> because you no longer need it), use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object" title="g_value_take_object ()"><code class="function">g_value_take_object()</code></a> instead.</p> <p>It is important that your <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> holds a reference to <em class="parameter"><code>v_object</code></em> (either its own, or one it has taken) to ensure that the object won't be destroyed while the <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> still exists).</p> <div class="refsect3"> <a name="g-value-set-object.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived type</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_object</p></td> <td class="parameter_description"><p>object value to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-take-object"></a><h3>g_value_take_object ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_take_object (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gpointer</span> v_object</code></em>);</pre> <p>Sets the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_object</code></em> and takes over the ownership of the caller’s reference to <em class="parameter"><code>v_object</code></em> ; the caller doesn’t have to unref it any more (i.e. the reference count of the object is not increased).</p> <p>If you want the <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to hold its own reference to <em class="parameter"><code>v_object</code></em> , use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object" title="g_value_set_object ()"><code class="function">g_value_set_object()</code></a> instead.</p> <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> <div class="refsect3"> <a name="g-value-take-object.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived type</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_object</p></td> <td class="parameter_description"><p>object value to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> </div> <hr> <div class="refsect2"> <a name="g-value-set-object-take-ownership"></a><h3>g_value_set_object_take_ownership ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_object_take_ownership (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">gpointer</span> v_object</code></em>);</pre> <div class="warning"> <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.</p> <p>Use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object" title="g_value_take_object ()"><code class="function">g_value_take_object()</code></a> instead.</p> </div> <p>This is an internal function introduced mainly for C marshallers.</p> <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> <div class="refsect3"> <a name="g-value-set-object-take-ownership.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived type</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_object</p></td> <td class="parameter_description"><p>object value to be set. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-value-get-object"></a><h3>g_value_get_object ()</h3> <pre class="programlisting"><span class="returnvalue">gpointer</span> g_value_get_object (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-object.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived type</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-object.returns"></a><h4>Returns</h4> <p>object contents of <em class="parameter"><code>value</code></em> . </p> <p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-value-dup-object"></a><h3>g_value_dup_object ()</h3> <pre class="programlisting"><span class="returnvalue">gpointer</span> g_value_dup_object (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>, increasing its reference count. If the contents of the <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> are <code class="literal">NULL</code>, then <code class="literal">NULL</code> will be returned.</p> <div class="refsect3"> <a name="g-value-dup-object.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-dup-object.returns"></a><h4>Returns</h4> <p>object content of <em class="parameter"><code>value</code></em> , should be unreferenced when no longer needed. </p> <p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-UNICHAR:CAPS"></a><h3>G_IS_PARAM_SPEC_UNICHAR()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UNICHAR)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UNICHAR:CAPS" title="G_TYPE_PARAM_UNICHAR"><code class="literal">G_TYPE_PARAM_UNICHAR</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-UNICHAR.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-UNICHAR.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-UNICHAR:CAPS"></a><h3>G_PARAM_SPEC_UNICHAR()</h3> <pre class="programlisting">#define G_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UNICHAR, GParamSpecUnichar)) </pre> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar" title="struct GParamSpecUnichar"><span class="type">GParamSpecUnichar</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-UNICHAR.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-unichar"></a><h3>g_param_spec_unichar ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_unichar (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><span class="type">gunichar</span> default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar" title="struct GParamSpecUnichar"><span class="type">GParamSpecUnichar</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a> property. <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structures for this property can be accessed with <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint" title="g_value_set_uint ()"><code class="function">g_value_set_uint()</code></a> and <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint" title="g_value_get_uint ()"><code class="function">g_value_get_uint()</code></a>.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-unichar.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>default value for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-unichar.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-VALUE-ARRAY:CAPS"></a><h3>G_IS_PARAM_SPEC_VALUE_ARRAY()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_VALUE_ARRAY)) GLIB_DEPRECATED_MACRO_IN_2_32 </pre> <div class="warning"> <p><code class="literal">G_IS_PARAM_SPEC_VALUE_ARRAY</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p> <p>Use <span class="type">GArray</span> instead of <a class="link" href="gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a></p> </div> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VALUE-ARRAY:CAPS" title="G_TYPE_PARAM_VALUE_ARRAY"><code class="literal">G_TYPE_PARAM_VALUE_ARRAY</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-VALUE-ARRAY.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-VALUE-ARRAY.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-VALUE-ARRAY:CAPS"></a><h3>G_PARAM_SPEC_VALUE_ARRAY()</h3> <pre class="programlisting">#define G_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_VALUE_ARRAY, GParamSpecValueArray)) GLIB_DEPRECATED_MACRO_IN_2_32 </pre> <div class="warning"> <p><code class="literal">G_PARAM_SPEC_VALUE_ARRAY</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p> <p>Use <span class="type">GArray</span> instead of <a class="link" href="gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a></p> </div> <p>Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray" title="struct GParamSpecValueArray"><span class="type">GParamSpecValueArray</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-VALUE-ARRAY.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="g-param-spec-value-array"></a><h3>g_param_spec_value_array ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_value_array (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *element_spec</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray" title="struct GParamSpecValueArray"><span class="type">GParamSpecValueArray</span></a> instance specifying a <a class="link" href="gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS" title="G_TYPE_VALUE_ARRAY"><code class="literal">G_TYPE_VALUE_ARRAY</code></a> property. <a class="link" href="gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS" title="G_TYPE_VALUE_ARRAY"><code class="literal">G_TYPE_VALUE_ARRAY</code></a> is a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> type, as such, <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structures for this property can be accessed with <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed" title="g_value_set_boxed ()"><code class="function">g_value_set_boxed()</code></a> and <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boxed" title="g_value_get_boxed ()"><code class="function">g_value_get_boxed()</code></a>.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> <div class="refsect3"> <a name="g-param-spec-value-array.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>element_spec</p></td> <td class="parameter_description"><p>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> describing the elements contained in arrays of this property, may be <code class="literal">NULL</code></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-value-array.returns"></a><h4>Returns</h4> <p> a newly created parameter specification</p> </div> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-OVERRIDE:CAPS"></a><h3>G_IS_PARAM_SPEC_OVERRIDE()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OVERRIDE)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OVERRIDE:CAPS" title="G_TYPE_PARAM_OVERRIDE"><code class="literal">G_TYPE_PARAM_OVERRIDE</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-OVERRIDE.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-OVERRIDE.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> <p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-OVERRIDE:CAPS"></a><h3>G_PARAM_SPEC_OVERRIDE()</h3> <pre class="programlisting">#define G_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OVERRIDE, GParamSpecOverride)) </pre> <p>Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-OVERRIDE.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> </div> <hr> <div class="refsect2"> <a name="g-param-spec-override"></a><h3>g_param_spec_override ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_override (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *overridden</code></em>);</pre> <p>Creates a new property of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>. This is used to direct operations to another paramspec, and will not be directly useful unless you are implementing a new base type similar to GObject.</p> <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> <div class="refsect3"> <a name="g-param-spec-override.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the name of the property.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>overridden</p></td> <td class="parameter_description"><p>The property that is being overridden</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-override.returns"></a><h4>Returns</h4> <p> the newly created <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a></p> </div> <p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-GTYPE:CAPS"></a><h3>G_IS_PARAM_SPEC_GTYPE()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_GTYPE)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-GTYPE:CAPS" title="G_TYPE_PARAM_GTYPE"><code class="literal">G_TYPE_PARAM_GTYPE</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-GTYPE.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-GTYPE.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success. </p> </div> <p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-GTYPE:CAPS"></a><h3>G_PARAM_SPEC_GTYPE()</h3> <pre class="programlisting">#define G_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_GTYPE, GParamSpecGType)) </pre> <p>Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType" title="struct GParamSpecGType"><span class="type">GParamSpecGType</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-GTYPE.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-GTYPE:CAPS"></a><h3>G_VALUE_HOLDS_GTYPE()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_GTYPE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_GTYPE)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-GTYPE.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-GTYPE.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> <p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p> </div> <hr> <div class="refsect2"> <a name="g-param-spec-gtype"></a><h3>g_param_spec_gtype ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_gtype (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> is_a_type</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType" title="struct GParamSpecGType"><span class="type">GParamSpecGType</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a> property.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-gtype.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>is_a_type</p></td> <td class="parameter_description"><p>a <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> whose subtypes are allowed as values of the property (use <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><code class="literal">G_TYPE_NONE</code></a> for any type)</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-gtype.returns"></a><h4>Returns</h4> <p>a newly created parameter specification. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> <p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> </div> <hr> <div class="refsect2"> <a name="g-value-get-gtype"></a><h3>g_value_get_gtype ()</h3> <pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a> g_value_get_gtype (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-gtype.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-gtype.returns"></a><h4>Returns</h4> <p> the <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> stored in <em class="parameter"><code>value</code></em> </p> </div> <p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p> </div> <hr> <div class="refsect2"> <a name="g-value-set-gtype"></a><h3>g_value_set_gtype ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_gtype (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> v_gtype</code></em>);</pre> <p>Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a> <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_gtype</code></em> .</p> <div class="refsect3"> <a name="g-value-set-gtype.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>v_gtype</p></td> <td class="parameter_description"><p><a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> to be set</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p> </div> <hr> <div class="refsect2"> <a name="G-IS-PARAM-SPEC-VARIANT:CAPS"></a><h3>G_IS_PARAM_SPEC_VARIANT()</h3> <pre class="programlisting">#define G_IS_PARAM_SPEC_VARIANT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_VARIANT)) </pre> <p>Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VARIANT:CAPS" title="G_TYPE_PARAM_VARIANT"><code class="literal">G_TYPE_PARAM_VARIANT</code></a>.</p> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-VARIANT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-IS-PARAM-SPEC-VARIANT.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success</p> </div> <p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p> </div> <hr> <div class="refsect2"> <a name="G-PARAM-SPEC-VARIANT:CAPS"></a><h3>G_PARAM_SPEC_VARIANT()</h3> <pre class="programlisting">#define G_PARAM_SPEC_VARIANT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_VARIANT, GParamSpecVariant)) </pre> <p>Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant" title="struct GParamSpecVariant"><span class="type">GParamSpecVariant</span></a>.</p> <div class="refsect3"> <a name="G-PARAM-SPEC-VARIANT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>pspec</p></td> <td class="parameter_description"><p>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p> </div> <hr> <div class="refsect2"> <a name="G-VALUE-HOLDS-VARIANT:CAPS"></a><h3>G_VALUE_HOLDS_VARIANT()</h3> <pre class="programlisting">#define G_VALUE_HOLDS_VARIANT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_VARIANT)) </pre> <p>Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a>.</p> <div class="refsect3"> <a name="G-VALUE-HOLDS-VARIANT.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> structure</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="G-VALUE-HOLDS-VARIANT.returns"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success.</p> </div> <p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p> </div> <hr> <div class="refsect2"> <a name="g-param-spec-variant"></a><h3>g_param_spec_variant ()</h3> <pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_variant (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>, <em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>, <em class="parameter"><code>const <span class="type">GVariantType</span> *type</code></em>, <em class="parameter"><code><span class="type">GVariant</span> *default_value</code></em>, <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> <p>Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant" title="struct GParamSpecVariant"><span class="type">GParamSpecVariant</span></a> instance specifying a <span class="type">GVariant</span> property.</p> <p>If <em class="parameter"><code>default_value</code></em> is floating, it is consumed.</p> <p>See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names.</p> <div class="refsect3"> <a name="g-param-spec-variant.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>canonical name of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nick</p></td> <td class="parameter_description"><p>nick name for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>blurb</p></td> <td class="parameter_description"><p>description of the property specified</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>type</p></td> <td class="parameter_description"><p>a <span class="type">GVariantType</span></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>default_value</p></td> <td class="parameter_description"><p>a <span class="type">GVariant</span> of type <em class="parameter"><code>type</code></em> to use as the default value, or <code class="literal">NULL</code>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td> </tr> <tr> <td class="parameter_name"><p>flags</p></td> <td class="parameter_description"><p>flags for the property specified</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="g-param-spec-variant.returns"></a><h4>Returns</h4> <p>the newly created <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> <p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p> </div> <hr> <div class="refsect2"> <a name="g-value-get-variant"></a><h3>g_value_get_variant ()</h3> <pre class="programlisting"><span class="returnvalue">GVariant</span> * g_value_get_variant (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a variant <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p> <div class="refsect3"> <a name="g-value-get-variant.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-get-variant.returns"></a><h4>Returns</h4> <p>variant contents of <em class="parameter"><code>value</code></em> (may be <code class="literal">NULL</code>). </p> <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p> </div> <p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p> </div> <hr> <div class="refsect2"> <a name="g-value-dup-variant"></a><h3>g_value_dup_variant ()</h3> <pre class="programlisting"><span class="returnvalue">GVariant</span> * g_value_dup_variant (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> <p>Get the contents of a variant <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>, increasing its refcount. The returned <span class="type">GVariant</span> is never floating.</p> <div class="refsect3"> <a name="g-value-dup-variant.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a></p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-value-dup-variant.returns"></a><h4>Returns</h4> <p>variant contents of <em class="parameter"><code>value</code></em> (may be <code class="literal">NULL</code>); should be unreffed using <code class="function">g_variant_unref()</code> when no longer needed. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p> </div> <p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p> </div> <hr> <div class="refsect2"> <a name="g-value-set-variant"></a><h3>g_value_set_variant ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_set_variant (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>);</pre> <p>Set the contents of a variant <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>variant</code></em> . If the variant is floating, it is consumed.</p> <div class="refsect3"> <a name="g-value-set-variant.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>variant</p></td> <td class="parameter_description"><p>a <span class="type">GVariant</span>, or <code class="literal">NULL</code>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p> </div> <hr> <div class="refsect2"> <a name="g-value-take-variant"></a><h3>g_value_take_variant ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> g_value_take_variant (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>, <em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>);</pre> <p>Set the contents of a variant <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>variant</code></em> , and takes over the ownership of the caller's reference to <em class="parameter"><code>variant</code></em> ; the caller doesn't have to unref it any more (i.e. the reference count of the variant is not increased).</p> <p>If <em class="parameter"><code>variant</code></em> was floating then its floating reference is converted to a hard reference.</p> <p>If you want the <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> to hold its own reference to <em class="parameter"><code>variant</code></em> , use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-variant" title="g_value_set_variant ()"><code class="function">g_value_set_variant()</code></a> instead.</p> <p>This is an internal function introduced mainly for C marshallers.</p> <div class="refsect3"> <a name="g-value-take-variant.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>a valid <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>variant</p></td> <td class="parameter_description"><p>a <span class="type">GVariant</span>, or <code class="literal">NULL</code>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td> </tr> </tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p> </div> </div> <div class="refsect1"> <a name="gobject-Standard-Parameter-and-Value-Types.other_details"></a><h2>Types and Values</h2> <div class="refsect2"> <a name="G-TYPE-PARAM-BOOLEAN:CAPS"></a><h3>G_TYPE_PARAM_BOOLEAN</h3> <pre class="programlisting">#define G_TYPE_PARAM_BOOLEAN (g_param_spec_types[2]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean" title="struct GParamSpecBoolean"><span class="type">GParamSpecBoolean</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecBoolean"></a><h3>struct GParamSpecBoolean</h3> <pre class="programlisting">struct GParamSpecBoolean { GParamSpec parent_instance; gboolean default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for boolean properties.</p> <div class="refsect3"> <a name="GParamSpecBoolean.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody><tr> <td class="struct_member_name"><p><span class="type">gboolean</span> <em class="structfield"><code><a name="GParamSpecBoolean.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-CHAR:CAPS"></a><h3>G_TYPE_PARAM_CHAR</h3> <pre class="programlisting">#define G_TYPE_PARAM_CHAR (g_param_spec_types[0]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar" title="struct GParamSpecChar"><span class="type">GParamSpecChar</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecChar"></a><h3>struct GParamSpecChar</h3> <pre class="programlisting">struct GParamSpecChar { GParamSpec parent_instance; gint8 minimum; gint8 maximum; gint8 default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for character properties.</p> <div class="refsect3"> <a name="GParamSpecChar.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GParamSpecChar.minimum"></a>minimum</code></em>;</p></td> <td class="struct_member_description"><p>minimum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GParamSpecChar.maximum"></a>maximum</code></em>;</p></td> <td class="struct_member_description"><p>maximum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GParamSpecChar.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-UCHAR:CAPS"></a><h3>G_TYPE_PARAM_UCHAR</h3> <pre class="programlisting">#define G_TYPE_PARAM_UCHAR (g_param_spec_types[1]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar" title="struct GParamSpecUChar"><span class="type">GParamSpecUChar</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecUChar"></a><h3>struct GParamSpecUChar</h3> <pre class="programlisting">struct GParamSpecUChar { GParamSpec parent_instance; guint8 minimum; guint8 maximum; guint8 default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned character properties.</p> <div class="refsect3"> <a name="GParamSpecUChar.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GParamSpecUChar.minimum"></a>minimum</code></em>;</p></td> <td class="struct_member_description"><p>minimum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GParamSpecUChar.maximum"></a>maximum</code></em>;</p></td> <td class="struct_member_description"><p>maximum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GParamSpecUChar.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-INT:CAPS"></a><h3>G_TYPE_PARAM_INT</h3> <pre class="programlisting">#define G_TYPE_PARAM_INT (g_param_spec_types[3]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt" title="struct GParamSpecInt"><span class="type">GParamSpecInt</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecInt"></a><h3>struct GParamSpecInt</h3> <pre class="programlisting">struct GParamSpecInt { GParamSpec parent_instance; gint minimum; gint maximum; gint default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for integer properties.</p> <div class="refsect3"> <a name="GParamSpecInt.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GParamSpecInt.minimum"></a>minimum</code></em>;</p></td> <td class="struct_member_description"><p>minimum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GParamSpecInt.maximum"></a>maximum</code></em>;</p></td> <td class="struct_member_description"><p>maximum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GParamSpecInt.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-UINT:CAPS"></a><h3>G_TYPE_PARAM_UINT</h3> <pre class="programlisting">#define G_TYPE_PARAM_UINT (g_param_spec_types[4]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt" title="struct GParamSpecUInt"><span class="type">GParamSpecUInt</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecUInt"></a><h3>struct GParamSpecUInt</h3> <pre class="programlisting">struct GParamSpecUInt { GParamSpec parent_instance; guint minimum; guint maximum; guint default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned integer properties.</p> <div class="refsect3"> <a name="GParamSpecUInt.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GParamSpecUInt.minimum"></a>minimum</code></em>;</p></td> <td class="struct_member_description"><p>minimum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GParamSpecUInt.maximum"></a>maximum</code></em>;</p></td> <td class="struct_member_description"><p>maximum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GParamSpecUInt.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-LONG:CAPS"></a><h3>G_TYPE_PARAM_LONG</h3> <pre class="programlisting">#define G_TYPE_PARAM_LONG (g_param_spec_types[5]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong" title="struct GParamSpecLong"><span class="type">GParamSpecLong</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecLong"></a><h3>struct GParamSpecLong</h3> <pre class="programlisting">struct GParamSpecLong { GParamSpec parent_instance; glong minimum; glong maximum; glong default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for long integer properties.</p> <div class="refsect3"> <a name="GParamSpecLong.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">glong</span> <em class="structfield"><code><a name="GParamSpecLong.minimum"></a>minimum</code></em>;</p></td> <td class="struct_member_description"><p>minimum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">glong</span> <em class="structfield"><code><a name="GParamSpecLong.maximum"></a>maximum</code></em>;</p></td> <td class="struct_member_description"><p>maximum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">glong</span> <em class="structfield"><code><a name="GParamSpecLong.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-ULONG:CAPS"></a><h3>G_TYPE_PARAM_ULONG</h3> <pre class="programlisting">#define G_TYPE_PARAM_ULONG (g_param_spec_types[6]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong" title="struct GParamSpecULong"><span class="type">GParamSpecULong</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecULong"></a><h3>struct GParamSpecULong</h3> <pre class="programlisting">struct GParamSpecULong { GParamSpec parent_instance; gulong minimum; gulong maximum; gulong default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned long integer properties.</p> <div class="refsect3"> <a name="GParamSpecULong.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">gulong</span> <em class="structfield"><code><a name="GParamSpecULong.minimum"></a>minimum</code></em>;</p></td> <td class="struct_member_description"><p>minimum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gulong</span> <em class="structfield"><code><a name="GParamSpecULong.maximum"></a>maximum</code></em>;</p></td> <td class="struct_member_description"><p>maximum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gulong</span> <em class="structfield"><code><a name="GParamSpecULong.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-INT64:CAPS"></a><h3>G_TYPE_PARAM_INT64</h3> <pre class="programlisting">#define G_TYPE_PARAM_INT64 (g_param_spec_types[7]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64" title="struct GParamSpecInt64"><span class="type">GParamSpecInt64</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecInt64"></a><h3>struct GParamSpecInt64</h3> <pre class="programlisting">struct GParamSpecInt64 { GParamSpec parent_instance; gint64 minimum; gint64 maximum; gint64 default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for 64bit integer properties.</p> <div class="refsect3"> <a name="GParamSpecInt64.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">gint64</span> <em class="structfield"><code><a name="GParamSpecInt64.minimum"></a>minimum</code></em>;</p></td> <td class="struct_member_description"><p>minimum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gint64</span> <em class="structfield"><code><a name="GParamSpecInt64.maximum"></a>maximum</code></em>;</p></td> <td class="struct_member_description"><p>maximum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gint64</span> <em class="structfield"><code><a name="GParamSpecInt64.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-UINT64:CAPS"></a><h3>G_TYPE_PARAM_UINT64</h3> <pre class="programlisting">#define G_TYPE_PARAM_UINT64 (g_param_spec_types[8]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64" title="struct GParamSpecUInt64"><span class="type">GParamSpecUInt64</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecUInt64"></a><h3>struct GParamSpecUInt64</h3> <pre class="programlisting">struct GParamSpecUInt64 { GParamSpec parent_instance; guint64 minimum; guint64 maximum; guint64 default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned 64bit integer properties.</p> <div class="refsect3"> <a name="GParamSpecUInt64.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="GParamSpecUInt64.minimum"></a>minimum</code></em>;</p></td> <td class="struct_member_description"><p>minimum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="GParamSpecUInt64.maximum"></a>maximum</code></em>;</p></td> <td class="struct_member_description"><p>maximum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="GParamSpecUInt64.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-FLOAT:CAPS"></a><h3>G_TYPE_PARAM_FLOAT</h3> <pre class="programlisting">#define G_TYPE_PARAM_FLOAT (g_param_spec_types[12]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat" title="struct GParamSpecFloat"><span class="type">GParamSpecFloat</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecFloat"></a><h3>struct GParamSpecFloat</h3> <pre class="programlisting">struct GParamSpecFloat { GParamSpec parent_instance; gfloat minimum; gfloat maximum; gfloat default_value; gfloat epsilon; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for float properties.</p> <div class="refsect3"> <a name="GParamSpecFloat.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">gfloat</span> <em class="structfield"><code><a name="GParamSpecFloat.minimum"></a>minimum</code></em>;</p></td> <td class="struct_member_description"><p>minimum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gfloat</span> <em class="structfield"><code><a name="GParamSpecFloat.maximum"></a>maximum</code></em>;</p></td> <td class="struct_member_description"><p>maximum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gfloat</span> <em class="structfield"><code><a name="GParamSpecFloat.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gfloat</span> <em class="structfield"><code><a name="GParamSpecFloat.epsilon"></a>epsilon</code></em>;</p></td> <td class="struct_member_description"><p>values closer than <em class="parameter"><code>epsilon</code></em> will be considered identical by <a class="link" href="gobject-GParamSpec.html#g-param-values-cmp" title="g_param_values_cmp ()"><code class="function">g_param_values_cmp()</code></a>; the default value is 1e-30.</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-DOUBLE:CAPS"></a><h3>G_TYPE_PARAM_DOUBLE</h3> <pre class="programlisting">#define G_TYPE_PARAM_DOUBLE (g_param_spec_types[13]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble" title="struct GParamSpecDouble"><span class="type">GParamSpecDouble</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecDouble"></a><h3>struct GParamSpecDouble</h3> <pre class="programlisting">struct GParamSpecDouble { GParamSpec parent_instance; gdouble minimum; gdouble maximum; gdouble default_value; gdouble epsilon; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for double properties.</p> <div class="refsect3"> <a name="GParamSpecDouble.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GParamSpecDouble.minimum"></a>minimum</code></em>;</p></td> <td class="struct_member_description"><p>minimum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GParamSpecDouble.maximum"></a>maximum</code></em>;</p></td> <td class="struct_member_description"><p>maximum value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GParamSpecDouble.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GParamSpecDouble.epsilon"></a>epsilon</code></em>;</p></td> <td class="struct_member_description"><p>values closer than <em class="parameter"><code>epsilon</code></em> will be considered identical by <a class="link" href="gobject-GParamSpec.html#g-param-values-cmp" title="g_param_values_cmp ()"><code class="function">g_param_values_cmp()</code></a>; the default value is 1e-90.</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-ENUM:CAPS"></a><h3>G_TYPE_PARAM_ENUM</h3> <pre class="programlisting">#define G_TYPE_PARAM_ENUM (g_param_spec_types[10]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum" title="struct GParamSpecEnum"><span class="type">GParamSpecEnum</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecEnum"></a><h3>struct GParamSpecEnum</h3> <pre class="programlisting">struct GParamSpecEnum { GParamSpec parent_instance; GEnumClass *enum_class; gint default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for enum properties.</p> <div class="refsect3"> <a name="GParamSpecEnum.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> *<em class="structfield"><code><a name="GParamSpecEnum.enum-class"></a>enum_class</code></em>;</p></td> <td class="struct_member_description"><p>the <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> for the enum</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GParamSpecEnum.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-FLAGS:CAPS"></a><h3>G_TYPE_PARAM_FLAGS</h3> <pre class="programlisting">#define G_TYPE_PARAM_FLAGS (g_param_spec_types[11]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags" title="struct GParamSpecFlags"><span class="type">GParamSpecFlags</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecFlags"></a><h3>struct GParamSpecFlags</h3> <pre class="programlisting">struct GParamSpecFlags { GParamSpec parent_instance; GFlagsClass *flags_class; guint default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for flags properties.</p> <div class="refsect3"> <a name="GParamSpecFlags.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> *<em class="structfield"><code><a name="GParamSpecFlags.flags-class"></a>flags_class</code></em>;</p></td> <td class="struct_member_description"><p>the <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> for the flags</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GParamSpecFlags.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-STRING:CAPS"></a><h3>G_TYPE_PARAM_STRING</h3> <pre class="programlisting">#define G_TYPE_PARAM_STRING (g_param_spec_types[14]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString" title="struct GParamSpecString"><span class="type">GParamSpecString</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecString"></a><h3>struct GParamSpecString</h3> <pre class="programlisting">struct GParamSpecString { GParamSpec parent_instance; gchar *default_value; gchar *cset_first; gchar *cset_nth; gchar substitutor; guint null_fold_if_empty : 1; guint ensure_non_null : 1; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for string properties.</p> <div class="refsect3"> <a name="GParamSpecString.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GParamSpecString.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GParamSpecString.cset-first"></a>cset_first</code></em>;</p></td> <td class="struct_member_description"><p>a string containing the allowed values for the first byte</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GParamSpecString.cset-nth"></a>cset_nth</code></em>;</p></td> <td class="struct_member_description"><p>a string containing the allowed values for the subsequent bytes</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">gchar</span> <em class="structfield"><code><a name="GParamSpecString.substitutor"></a>substitutor</code></em>;</p></td> <td class="struct_member_description"><p>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> .</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GParamSpecString.null-fold-if-empty"></a>null_fold_if_empty</code></em> : 1;</p></td> <td class="struct_member_description"><p>replace empty string by <code class="literal">NULL</code></p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GParamSpecString.ensure-non-null"></a>ensure_non_null</code></em> : 1;</p></td> <td class="struct_member_description"><p>replace <code class="literal">NULL</code> strings by an empty string</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="gchararray"></a><h3>gchararray</h3> <pre class="programlisting">typedef gchar* gchararray; </pre> <p>A C representable type name for <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><span class="type">G_TYPE_STRING</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-PARAM:CAPS"></a><h3>G_TYPE_PARAM_PARAM</h3> <pre class="programlisting">#define G_TYPE_PARAM_PARAM (g_param_spec_types[15]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam" title="struct GParamSpecParam"><span class="type">GParamSpecParam</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecParam"></a><h3>struct GParamSpecParam</h3> <pre class="programlisting">struct GParamSpecParam { GParamSpec parent_instance; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> properties.</p> <div class="refsect3"> <a name="GParamSpecParam.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-BOXED:CAPS"></a><h3>G_TYPE_PARAM_BOXED</h3> <pre class="programlisting">#define G_TYPE_PARAM_BOXED (g_param_spec_types[16]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecBoxed"></a><h3>struct GParamSpecBoxed</h3> <pre class="programlisting">struct GParamSpecBoxed { GParamSpec parent_instance; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for boxed properties.</p> <div class="refsect3"> <a name="GParamSpecBoxed.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-POINTER:CAPS"></a><h3>G_TYPE_PARAM_POINTER</h3> <pre class="programlisting">#define G_TYPE_PARAM_POINTER (g_param_spec_types[17]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer" title="struct GParamSpecPointer"><span class="type">GParamSpecPointer</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecPointer"></a><h3>struct GParamSpecPointer</h3> <pre class="programlisting">struct GParamSpecPointer { GParamSpec parent_instance; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for pointer properties.</p> <div class="refsect3"> <a name="GParamSpecPointer.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-OBJECT:CAPS"></a><h3>G_TYPE_PARAM_OBJECT</h3> <pre class="programlisting">#define G_TYPE_PARAM_OBJECT (g_param_spec_types[19]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject" title="struct GParamSpecObject"><span class="type">GParamSpecObject</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecObject"></a><h3>struct GParamSpecObject</h3> <pre class="programlisting">struct GParamSpecObject { GParamSpec parent_instance; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for object properties.</p> <div class="refsect3"> <a name="GParamSpecObject.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-UNICHAR:CAPS"></a><h3>G_TYPE_PARAM_UNICHAR</h3> <pre class="programlisting">#define G_TYPE_PARAM_UNICHAR (g_param_spec_types[9]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar" title="struct GParamSpecUnichar"><span class="type">GParamSpecUnichar</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecUnichar"></a><h3>struct GParamSpecUnichar</h3> <pre class="programlisting">struct GParamSpecUnichar { GParamSpec parent_instance; gunichar default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unichar (unsigned integer) properties.</p> <div class="refsect3"> <a name="GParamSpecUnichar.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody><tr> <td class="struct_member_name"><p><span class="type">gunichar</span> <em class="structfield"><code><a name="GParamSpecUnichar.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>default value for the property specified</p></td> <td class="struct_member_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-VALUE-ARRAY:CAPS"></a><h3>G_TYPE_PARAM_VALUE_ARRAY</h3> <pre class="programlisting">#define G_TYPE_PARAM_VALUE_ARRAY (g_param_spec_types[18]) GLIB_DEPRECATED_MACRO_IN_2_32 </pre> <div class="warning"> <p><code class="literal">G_TYPE_PARAM_VALUE_ARRAY</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p> <p>Use <span class="type">GArray</span> instead of <a class="link" href="gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a></p> </div> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray" title="struct GParamSpecValueArray"><span class="type">GParamSpecValueArray</span></a>.</p> </div> <hr> <div class="refsect2"> <a name="GParamSpecValueArray"></a><h3>struct GParamSpecValueArray</h3> <pre class="programlisting">struct GParamSpecValueArray { GParamSpec parent_instance; GParamSpec *element_spec; guint fixed_n_elements; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for <a class="link" href="gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> properties.</p> <div class="refsect3"> <a name="GParamSpecValueArray.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *<em class="structfield"><code><a name="GParamSpecValueArray.element-spec"></a>element_spec</code></em>;</p></td> <td class="struct_member_description"><p>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> describing the elements contained in arrays of this property, may be <code class="literal">NULL</code></p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GParamSpecValueArray.fixed-n-elements"></a>fixed_n_elements</code></em>;</p></td> <td class="struct_member_description"><p>if greater than 0, arrays of this property will always have this many elements</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-OVERRIDE:CAPS"></a><h3>G_TYPE_PARAM_OVERRIDE</h3> <pre class="programlisting">#define G_TYPE_PARAM_OVERRIDE (g_param_spec_types[20]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>.</p> <p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> </div> <hr> <div class="refsect2"> <a name="GParamSpecOverride"></a><h3>struct GParamSpecOverride</h3> <pre class="programlisting">struct GParamSpecOverride { }; </pre> <p>This is a type of <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> type that simply redirects operations to another paramspec. All operations other than getting or setting the value are redirected, including accessing the nick and blurb, validating a value, and so forth. See <a class="link" href="gobject-GParamSpec.html#g-param-spec-get-redirect-target" title="g_param_spec_get_redirect_target ()"><code class="function">g_param_spec_get_redirect_target()</code></a> for retrieving the overidden property. <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a> is used in implementing <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-override-property" title="g_object_class_override_property ()"><code class="function">g_object_class_override_property()</code></a>, and will not be directly useful unless you are implementing a new base type similar to GObject.</p> <p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-GTYPE:CAPS"></a><h3>G_TYPE_PARAM_GTYPE</h3> <pre class="programlisting">#define G_TYPE_PARAM_GTYPE (g_param_spec_types[21]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType" title="struct GParamSpecGType"><span class="type">GParamSpecGType</span></a>.</p> <p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> </div> <hr> <div class="refsect2"> <a name="GParamSpecGType"></a><h3>struct GParamSpecGType</h3> <pre class="programlisting">struct GParamSpecGType { GParamSpec parent_instance; GType is_a_type; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> properties.</p> <div class="refsect3"> <a name="GParamSpecGType.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody><tr> <td class="struct_member_name"><p><a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="GParamSpecGType.is-a-type"></a>is_a_type</code></em>;</p></td> <td class="struct_member_description"><p>a <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> whose subtypes can occur as values</p></td> <td class="struct_member_annotations"> </td> </tr></tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> </div> <hr> <div class="refsect2"> <a name="G-TYPE-PARAM-VARIANT:CAPS"></a><h3>G_TYPE_PARAM_VARIANT</h3> <pre class="programlisting">#define G_TYPE_PARAM_VARIANT (g_param_spec_types[22]) </pre> <p>The <a class="link" href="gobject-Type-Information.html#GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant" title="struct GParamSpecVariant"><span class="type">GParamSpecVariant</span></a>.</p> <p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p> </div> <hr> <div class="refsect2"> <a name="GParamSpecVariant"></a><h3>struct GParamSpecVariant</h3> <pre class="programlisting">struct GParamSpecVariant { GParamSpec parent_instance; GVariantType *type; GVariant *default_value; }; </pre> <p>A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for <span class="type">GVariant</span> properties.</p> <p>When comparing values with <a class="link" href="gobject-GParamSpec.html#g-param-values-cmp" title="g_param_values_cmp ()"><code class="function">g_param_values_cmp()</code></a>, scalar values with the same type will be compared with <code class="function">g_variant_compare()</code>. Other non-<code class="literal">NULL</code> variants will be checked for equality with <code class="function">g_variant_equal()</code>, and their sort order is otherwise undefined. <code class="literal">NULL</code> is ordered before non-<code class="literal">NULL</code> variants. Two <code class="literal">NULL</code> values compare equal.</p> <div class="refsect3"> <a name="GParamSpecVariant.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="struct_members_name"> <col class="struct_members_description"> <col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> <td class="struct_member_name"><p><span class="type">GVariantType</span> *<em class="structfield"><code><a name="GParamSpecVariant.type"></a>type</code></em>;</p></td> <td class="struct_member_description"><p>a <span class="type">GVariantType</span>, or <code class="literal">NULL</code></p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><span class="type">GVariant</span> *<em class="structfield"><code><a name="GParamSpecVariant.default-value"></a>default_value</code></em>;</p></td> <td class="struct_member_description"><p>a <span class="type">GVariant</span>, or <code class="literal">NULL</code></p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> <p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p> </div> </div> <div class="refsect1"> <a name="gobject-Standard-Parameter-and-Value-Types.see-also"></a><h2>See Also</h2> <p><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>, <a class="link" href="gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()"><code class="function">g_object_class_install_property()</code></a>.</p> </div> </div> <div class="footer"> <hr>Generated by GTK-Doc V1.32</div> </body> </html>