diff options
Diffstat (limited to 'devel-docs/libgimpconfig/html/libgimpconfig-GimpScanner.html')
-rw-r--r-- | devel-docs/libgimpconfig/html/libgimpconfig-GimpScanner.html | 685 |
1 files changed, 685 insertions, 0 deletions
diff --git a/devel-docs/libgimpconfig/html/libgimpconfig-GimpScanner.html b/devel-docs/libgimpconfig/html/libgimpconfig-GimpScanner.html new file mode 100644 index 0000000..65352b0 --- /dev/null +++ b/devel-docs/libgimpconfig/html/libgimpconfig-GimpScanner.html @@ -0,0 +1,685 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpScanner: GIMP Config Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Config Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Config Library"> +<link rel="prev" href="libgimpconfig-GimpConfigWriter.html" title="GimpConfigWriter"> +<link rel="next" href="GimpColorConfig.html" title="GimpColorConfig"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="#libgimpconfig-GimpScanner.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="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="libgimpconfig-GimpConfigWriter.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="GimpColorConfig.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpconfig-GimpScanner"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpconfig-GimpScanner.top_of_page"></a>GimpScanner</span></h2> +<p>GimpScanner — A wrapper around <span class="type">GScanner</span> with some convenience API.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpconfig-GimpScanner.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="function_type"> +<span class="returnvalue">GScanner</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()">gimp_scanner_new_file</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GScanner</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-gfile" title="gimp_scanner_new_gfile ()">gimp_scanner_new_gfile</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GScanner</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-stream" title="gimp_scanner_new_stream ()">gimp_scanner_new_stream</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GScanner</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()">gimp_scanner_new_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="libgimpconfig-GimpScanner.html#gimp-scanner-destroy" title="gimp_scanner_destroy ()">gimp_scanner_destroy</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="libgimpconfig-GimpScanner.html#gimp-scanner-parse-token" title="gimp_scanner_parse_token ()">gimp_scanner_parse_token</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="libgimpconfig-GimpScanner.html#gimp-scanner-parse-identifier" title="gimp_scanner_parse_identifier ()">gimp_scanner_parse_identifier</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="libgimpconfig-GimpScanner.html#gimp-scanner-parse-string" title="gimp_scanner_parse_string ()">gimp_scanner_parse_string</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="libgimpconfig-GimpScanner.html#gimp-scanner-parse-string-no-validate" title="gimp_scanner_parse_string_no_validate ()">gimp_scanner_parse_string_no_validate</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="libgimpconfig-GimpScanner.html#gimp-scanner-parse-data" title="gimp_scanner_parse_data ()">gimp_scanner_parse_data</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="libgimpconfig-GimpScanner.html#gimp-scanner-parse-int" title="gimp_scanner_parse_int ()">gimp_scanner_parse_int</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="libgimpconfig-GimpScanner.html#gimp-scanner-parse-int64" title="gimp_scanner_parse_int64 ()">gimp_scanner_parse_int64</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="libgimpconfig-GimpScanner.html#gimp-scanner-parse-float" title="gimp_scanner_parse_float ()">gimp_scanner_parse_float</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="libgimpconfig-GimpScanner.html#gimp-scanner-parse-boolean" title="gimp_scanner_parse_boolean ()">gimp_scanner_parse_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="libgimpconfig-GimpScanner.html#gimp-scanner-parse-color" title="gimp_scanner_parse_color ()">gimp_scanner_parse_color</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="libgimpconfig-GimpScanner.html#gimp-scanner-parse-matrix2" title="gimp_scanner_parse_matrix2 ()">gimp_scanner_parse_matrix2</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpconfig-GimpScanner.description"></a><h2>Description</h2> +<p>A wrapper around <span class="type">GScanner</span> with some convenience API.</p> +</div> +<div class="refsect1"> +<a name="libgimpconfig-GimpScanner.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-scanner-new-file"></a><h3>gimp_scanner_new_file ()</h3> +<pre class="programlisting"><span class="returnvalue">GScanner</span> * +gimp_scanner_new_file (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>, + <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> +<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="gimp-scanner-new-gfile"></a><h3>gimp_scanner_new_gfile ()</h3> +<pre class="programlisting"><span class="returnvalue">GScanner</span> * +gimp_scanner_new_gfile (<em class="parameter"><code><span class="type">GFile</span> *file</code></em>, + <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-new-gfile.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>file</p></td> +<td class="parameter_description"><p>a <span class="type">GFile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>return location for <span class="type">GError</span>, or <code class="literal">NULL</code></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-new-gfile.returns"></a><h4>Returns</h4> +<p> The new <span class="type">GScanner</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="gimp-scanner-new-stream"></a><h3>gimp_scanner_new_stream ()</h3> +<pre class="programlisting"><span class="returnvalue">GScanner</span> * +gimp_scanner_new_stream (<em class="parameter"><code><span class="type">GInputStream</span> *input</code></em>, + <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-new-stream.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>input</p></td> +<td class="parameter_description"><p>a <span class="type">GInputStream</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>return location for <span class="type">GError</span>, or <code class="literal">NULL</code></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-new-stream.returns"></a><h4>Returns</h4> +<p> The new <span class="type">GScanner</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="gimp-scanner-new-string"></a><h3>gimp_scanner_new_string ()</h3> +<pre class="programlisting"><span class="returnvalue">GScanner</span> * +gimp_scanner_new_string (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>, + <em class="parameter"><code><span class="type">gint</span> text_len</code></em>, + <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> +<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="gimp-scanner-destroy"></a><h3>gimp_scanner_destroy ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_scanner_destroy (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-destroy.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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></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="gimp-scanner-parse-token"></a><h3>gimp_scanner_parse_token ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_scanner_parse_token (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>, + <em class="parameter"><code><span class="type">GTokenType</span> token</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-parse-token.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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>token</p></td> +<td class="parameter_description"><p>the <span class="type">GTokenType</span> expected as next token.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-parse-token.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if the next token is <em class="parameter"><code>token</code></em> +, <code class="literal">FALSE</code> otherwise.</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="gimp-scanner-parse-identifier"></a><h3>gimp_scanner_parse_identifier ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_scanner_parse_identifier (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *identifier</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-parse-identifier.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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>identifier</p></td> +<td class="parameter_description"><p>the expected identifier.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-parse-identifier.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if the next token is an identifier and if its +value matches <em class="parameter"><code>identifier</code></em> +.</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="gimp-scanner-parse-string"></a><h3>gimp_scanner_parse_string ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_scanner_parse_string (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>, + <em class="parameter"><code><span class="type">gchar</span> **dest</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-parse-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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>Return location for the parsed string</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-parse-string.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="gimp-scanner-parse-string-no-validate"></a><h3>gimp_scanner_parse_string_no_validate ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_scanner_parse_string_no_validate (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>, + <em class="parameter"><code><span class="type">gchar</span> **dest</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-parse-string-no-validate.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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>Return location for the parsed string</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-parse-string-no-validate.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="gimp-scanner-parse-data"></a><h3>gimp_scanner_parse_data ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_scanner_parse_data (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>, + <em class="parameter"><code><span class="type">gint</span> length</code></em>, + <em class="parameter"><code><span class="type">guint8</span> **dest</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-parse-data.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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>Length of the data to parse</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>Return location for the parsed data</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-parse-data.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="gimp-scanner-parse-int"></a><h3>gimp_scanner_parse_int ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_scanner_parse_int (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>, + <em class="parameter"><code><span class="type">gint</span> *dest</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-parse-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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>Return location for the parsed integer</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-parse-int.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="gimp-scanner-parse-int64"></a><h3>gimp_scanner_parse_int64 ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_scanner_parse_int64 (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>, + <em class="parameter"><code><span class="type">gint64</span> *dest</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-parse-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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>Return location for the parsed integer</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-parse-int64.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-8.html#api-index-2.8">2.8</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-scanner-parse-float"></a><h3>gimp_scanner_parse_float ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_scanner_parse_float (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *dest</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-parse-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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>Return location for the parsed float</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-parse-float.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="gimp-scanner-parse-boolean"></a><h3>gimp_scanner_parse_boolean ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_scanner_parse_boolean (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> *dest</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-parse-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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>Return location for the parsed boolean</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-parse-boolean.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="gimp-scanner-parse-color"></a><h3>gimp_scanner_parse_color ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_scanner_parse_color (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>, + <em class="parameter"><code><a href="../html/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *dest</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-parse-color.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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>Pointer to a color to store the result</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-parse-color.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="gimp-scanner-parse-matrix2"></a><h3>gimp_scanner_parse_matrix2 ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_scanner_parse_matrix2 (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>, + <em class="parameter"><code><span class="type">GimpMatrix2</span> *dest</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-scanner-parse-matrix2.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>scanner</p></td> +<td class="parameter_description"><p>A <span class="type">GScanner</span> created by <a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or +<a class="link" href="libgimpconfig-GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>Pointer to a matrix to store the result</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-scanner-parse-matrix2.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> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file |