4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>GLib Reference Manual: Automatic String Completion</title>
5
<title>Automatic String Completion</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="GLib Reference Manual">
8
8
<link rel="up" href="deprecated.html" title="Deprecated APIs">
9
9
<link rel="prev" href="glib-Relations-and-Tuples.html" title="Relations and Tuples">
10
10
<link rel="next" href="tools.html" title="GLib Tools">
11
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
<td width="100%" align="left">
17
<a href="#" class="shortcut">Top</a>
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17
<td><a accesskey="p" href="glib-Relations-and-Tuples.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="deprecated.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">GLib Reference Manual</th>
21
<td><a accesskey="n" href="tools.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#glib-Automatic-String-Completion.synopsis" class="shortcut">Top</a>
19
26
<a href="#glib-Automatic-String-Completion.description" class="shortcut">Description</a>
21
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
<td><a accesskey="u" href="deprecated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
<td><a accesskey="p" href="glib-Relations-and-Tuples.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
<td><a accesskey="n" href="tools.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26
29
<div class="refentry">
27
30
<a name="glib-Automatic-String-Completion"></a><div class="titlepage"></div>
28
31
<div class="refnamediv"><table width="100%"><tr>
193
196
<a name="g-completion-add-items"></a><h3>g_completion_add_items ()</h3>
194
197
<pre class="programlisting"><span class="returnvalue">void</span> g_completion_add_items (<em class="parameter"><code><a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a> *cmp</code></em>,
195
198
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *items</code></em>);</pre>
196
<div class="warning">
199
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
197
200
<h3 class="title">Warning</h3>
198
201
<p><code class="literal">g_completion_add_items</code> has been deprecated since version 2.26 and should not be used in newly-written code. Rarely used API</p>
223
226
<a name="g-completion-remove-items"></a><h3>g_completion_remove_items ()</h3>
224
227
<pre class="programlisting"><span class="returnvalue">void</span> g_completion_remove_items (<em class="parameter"><code><a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a> *cmp</code></em>,
225
228
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="type">GList</span></a> *items</code></em>);</pre>
226
<div class="warning">
229
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
227
230
<h3 class="title">Warning</h3>
228
231
<p><code class="literal">g_completion_remove_items</code> has been deprecated since version 2.26 and should not be used in newly-written code. Rarely used API</p>
254
257
<div class="refsect2">
255
258
<a name="g-completion-clear-items"></a><h3>g_completion_clear_items ()</h3>
256
259
<pre class="programlisting"><span class="returnvalue">void</span> g_completion_clear_items (<em class="parameter"><code><a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a> *cmp</code></em>);</pre>
257
<div class="warning">
260
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
258
261
<h3 class="title">Warning</h3>
259
262
<p><code class="literal">g_completion_clear_items</code> has been deprecated since version 2.26 and should not be used in newly-written code. Rarely used API</p>
280
283
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_completion_complete (<em class="parameter"><code><a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a> *cmp</code></em>,
281
284
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *prefix</code></em>,
282
285
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **new_prefix</code></em>);</pre>
283
<div class="warning">
286
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
284
287
<h3 class="title">Warning</h3>
285
288
<p><code class="literal">g_completion_complete</code> has been deprecated since version 2.26 and should not be used in newly-written code. Rarely used API</p>
325
328
<pre class="programlisting"><a class="link" href="glib-Doubly-Linked-Lists.html#GList" title="struct GList"><span class="returnvalue">GList</span></a> * g_completion_complete_utf8 (<em class="parameter"><code><a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a> *cmp</code></em>,
326
329
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *prefix</code></em>,
327
330
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **new_prefix</code></em>);</pre>
328
<div class="warning">
331
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
329
332
<h3 class="title">Warning</h3>
330
333
<p><code class="literal">g_completion_complete_utf8</code> has been deprecated since version 2.26 and should not be used in newly-written code. Rarely used API</p>
376
379
<a name="g-completion-set-compare"></a><h3>g_completion_set_compare ()</h3>
377
380
<pre class="programlisting"><span class="returnvalue">void</span> g_completion_set_compare (<em class="parameter"><code><a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a> *cmp</code></em>,
378
381
<em class="parameter"><code><a class="link" href="glib-Automatic-String-Completion.html#GCompletionStrncmpFunc" title="GCompletionStrncmpFunc ()"><span class="type">GCompletionStrncmpFunc</span></a> strncmp_func</code></em>);</pre>
379
<div class="warning">
382
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
380
383
<h3 class="title">Warning</h3>
381
384
<p><code class="literal">g_completion_set_compare</code> has been deprecated since version 2.26 and should not be used in newly-written code. Rarely used API</p>
444
447
<div class="refsect2">
445
448
<a name="g-completion-free"></a><h3>g_completion_free ()</h3>
446
449
<pre class="programlisting"><span class="returnvalue">void</span> g_completion_free (<em class="parameter"><code><a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a> *cmp</code></em>);</pre>
447
<div class="warning">
450
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
448
451
<h3 class="title">Warning</h3>
449
452
<p><code class="literal">g_completion_free</code> has been deprecated since version 2.26 and should not be used in newly-written code. Rarely used API</p>