34
34
<a href="#GdictSpeller.signals" class="shortcut">Signals</a>
37
<div class="refentry">
37
<div class="refentry" title="GdictSpeller">
38
38
<a name="GdictSpeller"></a><div class="titlepage"></div>
39
39
<div class="refnamediv"><table width="100%"><tr>
44
44
<td valign="top" align="right"></td>
45
45
</tr></table></div>
46
<div class="refsynopsisdiv">
46
<div class="refsynopsisdiv" title="Synopsis">
47
47
<a name="GdictSpeller.synopsis"></a><h2>Synopsis</h2>
48
48
<pre class="synopsis"> <a class="link" href="GdictSpeller.html#GdictSpeller-struct" title="GdictSpeller">GdictSpeller</a>;
49
49
<a class="link" href="GdictSpeller.html#GdictSpellerClass" title="GdictSpellerClass">GdictSpellerClass</a>;
82
<div class="refsect1">
82
<div class="refsect1" title="Implemented Interfaces">
83
83
<a name="GdictSpeller.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
85
85
GdictSpeller implements
86
86
AtkImplementorIface, GtkBuildable and GtkOrientable.</p>
88
<div class="refsect1">
88
<div class="refsect1" title="Properties">
89
89
<a name="GdictSpeller.properties"></a><h2>Properties</h2>
90
90
<pre class="synopsis">
91
91
"<a class="link" href="GdictSpeller.html#GdictSpeller--context" title='The "context" property'>context</a>" <span class="type">GdictContext</span>* : Read / Write / Construct
93
93
"<a class="link" href="GdictSpeller.html#GdictSpeller--strategy" title='The "strategy" property'>strategy</a>" <span class="type">gchar</span>* : Read / Write
96
<div class="refsect1">
96
<div class="refsect1" title="Signals">
97
97
<a name="GdictSpeller.signals"></a><h2>Signals</h2>
98
98
<pre class="synopsis">
99
99
"<a class="link" href="GdictSpeller.html#GdictSpeller-word-activated" title='The "word-activated" signal'>word-activated</a>" : Run Last
102
<div class="refsect1">
102
<div class="refsect1" title="Description">
103
103
<a name="GdictSpeller.description"></a><h2>Description</h2>
105
105
<a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> is a widget showing a list of words returned by a
106
106
<span class="type">GdictContext</span> query, using a specific database and a matching strategy.
109
<div class="refsect1">
109
<div class="refsect1" title="Details">
110
110
<a name="GdictSpeller.details"></a><h2>Details</h2>
111
<div class="refsect2">
111
<div class="refsect2" title="GdictSpeller">
112
112
<a name="GdictSpeller-struct"></a><h3>GdictSpeller</h3>
113
113
<pre class="programlisting">typedef struct _GdictSpeller GdictSpeller;</pre>
118
<div class="refsect2">
118
<div class="refsect2" title="GdictSpellerClass">
119
119
<a name="GdictSpellerClass"></a><h3>GdictSpellerClass</h3>
120
120
<pre class="programlisting">typedef struct {
121
121
GtkVBoxClass parent_class;
153
153
<p class="since">Since </p>
156
<div class="refsect2">
156
<div class="refsect2" title="gdict_speller_new_with_context ()">
157
157
<a name="gdict-speller-new-with-context"></a><h3>gdict_speller_new_with_context ()</h3>
158
158
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * gdict_speller_new_with_context (<em class="parameter"><code><span class="type">GdictContext</span> *context</code></em>);</pre>
178
178
<p class="since">Since </p>
181
<div class="refsect2">
181
<div class="refsect2" title="gdict_speller_set_context ()">
182
182
<a name="gdict-speller-set-context"></a><h3>gdict_speller_set_context ()</h3>
183
183
<pre class="programlisting"><span class="returnvalue">void</span> gdict_speller_set_context (<em class="parameter"><code><a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> *speller</code></em>,
184
184
<em class="parameter"><code><span class="type">GdictContext</span> *context</code></em>);</pre>
203
203
<p class="since">Since </p>
206
<div class="refsect2">
206
<div class="refsect2" title="gdict_speller_get_context ()">
207
207
<a name="gdict-speller-get-context"></a><h3>gdict_speller_get_context ()</h3>
208
208
<pre class="programlisting"><span class="returnvalue">GdictContext</span> * gdict_speller_get_context (<em class="parameter"><code><a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> *speller</code></em>);</pre>
228
228
<p class="since">Since </p>
231
<div class="refsect2">
231
<div class="refsect2" title="gdict_speller_set_database ()">
232
232
<a name="gdict-speller-set-database"></a><h3>gdict_speller_set_database ()</h3>
233
233
<pre class="programlisting"><span class="returnvalue">void</span> gdict_speller_set_database (<em class="parameter"><code><a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> *speller</code></em>,
234
234
<em class="parameter"><code>const <span class="type">gchar</span> *database</code></em>);</pre>
253
253
<p class="since">Since </p>
256
<div class="refsect2">
256
<div class="refsect2" title="gdict_speller_get_database ()">
257
257
<a name="gdict-speller-get-database"></a><h3>gdict_speller_get_database ()</h3>
258
258
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gdict_speller_get_database (<em class="parameter"><code><a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> *speller</code></em>);</pre>
278
278
<p class="since">Since FIXME</p>
281
<div class="refsect2">
281
<div class="refsect2" title="gdict_speller_set_strategy ()">
282
282
<a name="gdict-speller-set-strategy"></a><h3>gdict_speller_set_strategy ()</h3>
283
283
<pre class="programlisting"><span class="returnvalue">void</span> gdict_speller_set_strategy (<em class="parameter"><code><a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> *speller</code></em>,
284
284
<em class="parameter"><code>const <span class="type">gchar</span> *strategy</code></em>);</pre>
303
303
<p class="since">Since FIXME</p>
306
<div class="refsect2">
306
<div class="refsect2" title="gdict_speller_get_strategy ()">
307
307
<a name="gdict-speller-get-strategy"></a><h3>gdict_speller_get_strategy ()</h3>
308
308
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gdict_speller_get_strategy (<em class="parameter"><code><a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> *speller</code></em>);</pre>
328
328
<p class="since">Since FIXME</p>
331
<div class="refsect2">
331
<div class="refsect2" title="gdict_speller_clear ()">
332
332
<a name="gdict-speller-clear"></a><h3>gdict_speller_clear ()</h3>
333
333
<pre class="programlisting"><span class="returnvalue">void</span> gdict_speller_clear (<em class="parameter"><code><a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> *speller</code></em>);</pre>
345
345
<p class="since">Since FIXME</p>
348
<div class="refsect2">
348
<div class="refsect2" title="gdict_speller_match ()">
349
349
<a name="gdict-speller-match"></a><h3>gdict_speller_match ()</h3>
350
350
<pre class="programlisting"><span class="returnvalue">void</span> gdict_speller_match (<em class="parameter"><code><a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> *speller</code></em>,
351
351
<em class="parameter"><code>const <span class="type">gchar</span> *word</code></em>);</pre>
370
370
<p class="since">Since FIXME</p>
373
<div class="refsect2">
373
<div class="refsect2" title="gdict_speller_count_matches ()">
374
374
<a name="gdict-speller-count-matches"></a><h3>gdict_speller_count_matches ()</h3>
375
375
<pre class="programlisting"><span class="returnvalue">gint</span> gdict_speller_count_matches (<em class="parameter"><code><a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> *speller</code></em>);</pre>
395
<div class="refsect2">
395
<div class="refsect2" title="gdict_speller_get_matches ()">
396
396
<a name="gdict-speller-get-matches"></a><h3>gdict_speller_get_matches ()</h3>
397
397
<pre class="programlisting"><span class="returnvalue">gchar</span> ** gdict_speller_get_matches (<em class="parameter"><code><a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> *speller</code></em>,
398
398
<em class="parameter"><code><span class="type">gsize</span> length</code></em>);</pre>
423
423
<p class="since">Since FIXME</p>
426
<div class="refsect1">
426
<div class="refsect1" title="Property Details">
427
427
<a name="GdictSpeller.property-details"></a><h2>Property Details</h2>
428
<div class="refsect2">
428
<div class="refsect2" title='The "context" property'>
429
429
<a name="GdictSpeller--context"></a><h3>The <code class="literal">"context"</code> property</h3>
430
430
<pre class="programlisting"> "context" <span class="type">GdictContext</span>* : Read / Write / Construct</pre>
431
431
<p>The GdictContext object used to get the word definition.</p>
434
<div class="refsect2">
434
<div class="refsect2" title='The "database" property'>
435
435
<a name="GdictSpeller--database"></a><h3>The <code class="literal">"database"</code> property</h3>
436
436
<pre class="programlisting"> "database" <span class="type">gchar</span>* : Read / Write</pre>
437
437
<p>The database used to query the GdictContext.</p>
438
438
<p>Default value: "*"</p>
441
<div class="refsect2">
441
<div class="refsect2" title='The "strategy" property'>
442
442
<a name="GdictSpeller--strategy"></a><h3>The <code class="literal">"strategy"</code> property</h3>
443
443
<pre class="programlisting"> "strategy" <span class="type">gchar</span>* : Read / Write</pre>
444
444
<p>The strategy used to query the GdictContext.</p>
445
445
<p>Default value: "."</p>
448
<div class="refsect1">
448
<div class="refsect1" title="Signal Details">
449
449
<a name="GdictSpeller.signal-details"></a><h2>Signal Details</h2>
450
<div class="refsect2">
450
<div class="refsect2" title='The "word-activated" signal'>
451
451
<a name="GdictSpeller-word-activated"></a><h3>The <code class="literal">"word-activated"</code> signal</h3>
452
452
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GdictSpeller.html" title="GdictSpeller"><span class="type">GdictSpeller</span></a> *gdictspeller,
453
453
<span class="type">gchar</span> *arg1,