1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>GtkdocIface</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="index.html" title="tester Reference Manual">
8
<link rel="up" href="main-api.html" title="Tests">
9
<link rel="prev" href="GtkdocObject.html" title="GtkdocObject">
10
<link rel="next" href="object-tree.html" title="Object Hierarchy">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="chapter" href="intro.html" title="Introduction">
14
<link rel="chapter" href="main-api.html" title="Tests">
15
<link rel="chapter" href="object-tree.html" title="Object Hierarchy">
16
<link rel="index" href="api-index-full.html" title="API Index">
17
<link rel="index" href="api-index-deprecated.html" title="Index of deprecated API">
18
<link rel="index" href="api-index-0-1.html" title="Index of new API in 0.1">
19
<link rel="index" href="api-index-0-5.html" title="Index of new API in 0.5">
20
<link rel="glossary" href="go01.html" title="Glossary">
22
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
25
<td><a accesskey="p" href="GtkdocObject.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
26
<td><a accesskey="u" href="main-api.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
27
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
28
<th width="100%" align="center">tester Reference Manual</th>
29
<td><a accesskey="n" href="object-tree.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
<tr><td colspan="5" class="shortcuts">
32
<a href="#GtkdocIface.synopsis" class="shortcut">Top</a>
34
<a href="#GtkdocIface.description" class="shortcut">Description</a>
36
<a href="#GtkdocIface.object-hierarchy" class="shortcut">Object Hierarchy</a>
38
<a href="#GtkdocIface.properties" class="shortcut">Properties</a>
40
<a href="#GtkdocIface.signals" class="shortcut">Signals</a>
43
<div class="refentry" lang="en">
44
<a name="GtkdocIface"></a><div class="titlepage"></div>
45
<div class="refnamediv"><table width="100%"><tr>
47
<h2><span class="refentrytitle"><a name="GtkdocIface.top_of_page"></a>GtkdocIface</span></h2>
48
<p>GtkdocIface — interface for gtk-doc unit test</p>
50
<td valign="top" align="right"></td>
52
<div class="refsynopsisdiv">
53
<a name="GtkdocIface.synopsis"></a><h2>Synopsis</h2>
54
<pre class="synopsis">
55
<a class="link" href="GtkdocIface.html#GtkdocIface-struct" title="GtkdocIface">GtkdocIface</a>;
56
<a class="link" href="GtkdocIface.html#GtkdocIfaceInterface" title="GtkdocIfaceInterface">GtkdocIfaceInterface</a>;
58
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
59
>gboolean</a> <a class="link" href="GtkdocIface.html#gtkdoc-iface-configure" title="gtkdoc_iface_configure ()">gtkdoc_iface_configure</a> (<a
60
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
62
#define <a class="link" href="GtkdocIface.html#GTKDOC-IFACE-MACRO-DUMMY--CAPS" title="GTKDOC_IFACE_MACRO_DUMMY()">GTKDOC_IFACE_MACRO_DUMMY</a> (parameter_1,parameter_2)
63
#define <a class="link" href="GtkdocIface.html#GTKDOC-IFACE-MACRO-SUM--CAPS" title="GTKDOC_IFACE_MACRO_SUM()">GTKDOC_IFACE_MACRO_SUM</a> (parameter_1,parameter_2)
66
<div class="refsect1" lang="en">
67
<a name="GtkdocIface.object-hierarchy"></a><h2>Object Hierarchy</h2>
68
<pre class="synopsis">
73
<div class="refsect1" lang="en">
74
<a name="GtkdocIface.properties"></a><h2>Properties</h2>
75
<pre class="synopsis">
76
"<a class="link" href="GtkdocIface.html#GtkdocIface--itest" title='The "itest" property'>itest</a>" <a
77
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
78
>gchar</a>* : Read / Write
81
<div class="refsect1" lang="en">
82
<a name="GtkdocIface.signals"></a><h2>Signals</h2>
83
<pre class="synopsis">
84
"<a class="link" href="GtkdocIface.html#GtkdocIface-itest" title='The "itest" signal'>itest</a>" : Run Last / No Recursion / No Hooks
87
<div class="refsect1" lang="en">
88
<a name="GtkdocIface.description"></a><h2>Description</h2>
90
This file contains non-sense code for the sole purpose of testing the docs.
91
We can link to the <a class="link" href="GtkdocIface.html#GtkdocIface--itest" title='The "itest" property'><span class="type">"itest"</span></a> property and the <a class="link" href="GtkdocIface.html#GtkdocIface-itest" title='The "itest" signal'><span class="type">"itest"</span></a>
93
An instance can be configured using the <a class="link" href="GtkdocIface.html#gtkdoc-iface-configure" title="gtkdoc_iface_configure ()"><code class="function">gtkdoc_iface_configure()</code></a> function.</p>
95
<div class="refsect1" lang="en">
96
<a name="GtkdocIface.details"></a><h2>Details</h2>
97
<div class="refsect2" lang="en">
98
<a name="GtkdocIface-struct"></a><h3>GtkdocIface</h3>
99
<pre class="programlisting">typedef struct _GtkdocIface GtkdocIface;</pre>
101
opaque instance of gtk-doc unit test interface</p>
104
<div class="refsect2" lang="en">
105
<a name="GtkdocIfaceInterface"></a><h3>GtkdocIfaceInterface</h3>
106
<pre class="programlisting">typedef struct {
107
GTypeInterface parent;
110
void (*test)(const GtkdocIface * const self, gconstpointer const user_data);
111
} GtkdocIfaceInterface;
114
class data of gtk-doc unit test interface</p>
115
<div class="variablelist"><table border="0">
116
<col align="left" valign="top">
119
<td><p><span class="term"><a
120
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GTypeInterface"
121
>GTypeInterface</a> <em class="structfield"><code>parent</code></em>;</span></p></td>
122
<td> this is a bug :/
126
<td><p><span class="term"><em class="structfield"><code>test</code></em> ()</span></p></td>
127
<td> overideable method
134
<div class="refsect2" lang="en">
135
<a name="gtkdoc-iface-configure"></a><h3>gtkdoc_iface_configure ()</h3>
136
<pre class="programlisting"><a
137
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
138
>gboolean</a> gtkdoc_iface_configure (<a
139
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
140
>gchar</a> *config);</pre>
142
Configure a new instance</p>
143
<div class="variablelist"><table border="0">
144
<col align="left" valign="top">
147
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
152
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
153
<td> <code class="literal">TRUE</code> for sucess or <code class="literal">FALSE</code> in case of an error
159
<p class="since">Since 0.1</p>
162
<div class="refsect2" lang="en">
163
<a name="GTKDOC-IFACE-MACRO-DUMMY--CAPS"></a><h3>GTKDOC_IFACE_MACRO_DUMMY()</h3>
164
<pre class="programlisting">#define GTKDOC_IFACE_MACRO_DUMMY(parameter_1,parameter_2) /* do nothing */
167
This macro does nothing.</p>
168
<div class="variablelist"><table border="0">
169
<col align="left" valign="top">
172
<td><p><span class="term"><em class="parameter"><code>parameter_1</code></em> :</span></p></td>
177
<td><p><span class="term"><em class="parameter"><code>parameter_2</code></em> :</span></p></td>
185
<div class="refsect2" lang="en">
186
<a name="GTKDOC-IFACE-MACRO-SUM--CAPS"></a><h3>GTKDOC_IFACE_MACRO_SUM()</h3>
187
<pre class="programlisting">#define GTKDOC_IFACE_MACRO_SUM(parameter_1,parameter_2)</pre>
189
This macro adds its args.
192
Return: the sum of <em class="parameter"><code>parameter_1</code></em> and <em class="parameter"><code>parameter_2</code></em></p>
193
<div class="variablelist"><table border="0">
194
<col align="left" valign="top">
197
<td><p><span class="term"><em class="parameter"><code>parameter_1</code></em> :</span></p></td>
202
<td><p><span class="term"><em class="parameter"><code>parameter_2</code></em> :</span></p></td>
210
<div class="refsect1" lang="en">
211
<a name="GtkdocIface.property-details"></a><h2>Property Details</h2>
212
<div class="refsect2" lang="en">
213
<a name="GtkdocIface--itest"></a><h3>The <code class="literal">"itest"</code> property</h3>
214
<pre class="programlisting"> "itest" <a
215
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
216
>gchar</a>* : Read / Write</pre>
217
<p>dummy property for iface.</p>
218
<p>Default value: "dummy"</p>
221
<div class="refsect1" lang="en">
222
<a name="GtkdocIface.signal-details"></a><h2>Signal Details</h2>
223
<div class="refsect2" lang="en">
224
<a name="GtkdocIface-itest"></a><h3>The <code class="literal">"itest"</code> signal</h3>
225
<pre class="programlisting">void user_function (<a class="link" href="GtkdocIface.html" title="GtkdocIface">GtkdocIface</a> *self,
227
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
228
>gpointer</a> user_data) : Run Last / No Recursion / No Hooks</pre>
230
The event has been triggered.</p>
231
<div class="variablelist"><table border="0">
232
<col align="left" valign="top">
235
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
240
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
241
<td>user data set when the signal handler was connected.</td>
250
Generated by GTK-Doc V1.11</div>