~ubuntu-branches/ubuntu/utopic/glib2.0/utopic-updates

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-Automatic-String-Completion.html

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-07-17 17:01:51 UTC
  • mfrom: (1.66.16)
  • Revision ID: package-import@ubuntu.com-20140717170151-o3ianrpdr4l1u3qr
Tags: 2.41.2-1~ubuntu1
* Upload from unreleased Debian SVN due to broken pcre3 in unstable.
* New upstream release
  - The Unicode support has been updated to version 7.0 of the Unicode
    standard
  - GNotification now supports priorities for notifications
  - GMutex now uses a faster, native implementation on Linux
* 0001-gvariant-tests-workaround-libc-compiler-issue.patch: Drop, applied
  upstream in this release.
* Add new symbols for this release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.20 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
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">
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
16
<td width="100%" align="left" class="shortcuts">
17
 
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
18
 
                  <a href="#glib-Automatic-String-Completion.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
 
                  <a href="#glib-Automatic-String-Completion.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
 
17
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
 
18
                  <a href="#glib-Automatic-String-Completion.description" class="shortcut">Description</a></span>
20
19
</td>
21
20
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
21
<td><a accesskey="u" href="deprecated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
138
137
</table></div>
139
138
</div>
140
139
<div class="refsect1">
141
 
<a name="glib-Automatic-String-Completion.object-hierarchy"></a><h2>Object Hierarchy</h2>
142
 
<pre class="screen">
143
 
</pre>
144
 
</div>
145
 
<div class="refsect1">
146
140
<a name="glib-Automatic-String-Completion.includes"></a><h2>Includes</h2>
147
141
<pre class="synopsis">#include &lt;glib.h&gt;
148
142
</pre>
176
170
<div class="warning"><p><code class="literal">g_completion_new</code> is deprecated and should not be used in newly-written code.</p></div>
177
171
<p>Creates a new <a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a>.</p>
178
172
<div class="refsect3">
179
 
<a name="id-1.7.5.8.2.6"></a><h4>Parameters</h4>
 
173
<a name="id-1.7.5.7.2.6"></a><h4>Parameters</h4>
180
174
<div class="informaltable"><table width="100%" border="0">
181
175
<colgroup>
182
176
<col width="150px" class="parameters_name">
193
187
</table></div>
194
188
</div>
195
189
<div class="refsect3">
196
 
<a name="id-1.7.5.8.2.7"></a><h4>Returns</h4>
 
190
<a name="id-1.7.5.7.2.7"></a><h4>Returns</h4>
197
191
<p> the new <a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a>.</p>
198
192
<p></p>
199
193
</div>
207
201
should return the string corresponding to the given target item.
208
202
This is used when you use data structures as <a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a> items.</p>
209
203
<div class="refsect3">
210
 
<a name="id-1.7.5.8.3.5"></a><h4>Parameters</h4>
 
204
<a name="id-1.7.5.7.3.5"></a><h4>Parameters</h4>
211
205
<div class="informaltable"><table width="100%" border="0">
212
206
<colgroup>
213
207
<col width="150px" class="parameters_name">
222
216
</table></div>
223
217
</div>
224
218
<div class="refsect3">
225
 
<a name="id-1.7.5.8.3.6"></a><h4>Returns</h4>
 
219
<a name="id-1.7.5.7.3.6"></a><h4>Returns</h4>
226
220
<p> the string corresponding to the item.</p>
227
221
<p></p>
228
222
</div>
239
233
</div>
240
234
<p>Adds items to the <a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a>.</p>
241
235
<div class="refsect3">
242
 
<a name="id-1.7.5.8.4.6"></a><h4>Parameters</h4>
 
236
<a name="id-1.7.5.7.4.6"></a><h4>Parameters</h4>
243
237
<div class="informaltable"><table width="100%" border="0">
244
238
<colgroup>
245
239
<col width="150px" class="parameters_name">
276
270
 with <a class="link" href="glib-Doubly-Linked-Lists.html#g-list-free-full" title="g_list_free_full ()"><code class="function">g_list_free_full()</code></a> after calling
277
271
this function.</p>
278
272
<div class="refsect3">
279
 
<a name="id-1.7.5.8.5.6"></a><h4>Parameters</h4>
 
273
<a name="id-1.7.5.7.5.6"></a><h4>Parameters</h4>
280
274
<div class="informaltable"><table width="100%" border="0">
281
275
<colgroup>
282
276
<col width="150px" class="parameters_name">
311
305
memory was dynamically allocated, it should be freed after calling this
312
306
function.</p>
313
307
<div class="refsect3">
314
 
<a name="id-1.7.5.8.6.6"></a><h4>Parameters</h4>
 
308
<a name="id-1.7.5.7.6.6"></a><h4>Parameters</h4>
315
309
<div class="informaltable"><table width="100%" border="0">
316
310
<colgroup>
317
311
<col width="150px" class="parameters_name">
341
335
 using the <a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a>
342
336
target items.</p>
343
337
<div class="refsect3">
344
 
<a name="id-1.7.5.8.7.6"></a><h4>Parameters</h4>
 
338
<a name="id-1.7.5.7.7.6"></a><h4>Parameters</h4>
345
339
<div class="informaltable"><table width="100%" border="0">
346
340
<colgroup>
347
341
<col width="150px" class="parameters_name">
374
368
</table></div>
375
369
</div>
376
370
<div class="refsect3">
377
 
<a name="id-1.7.5.8.7.7"></a><h4>Returns</h4>
 
371
<a name="id-1.7.5.7.7.7"></a><h4>Returns</h4>
378
372
<p> the list of items whose strings begin with
379
373
<em class="parameter"><code>prefix</code></em>
380
374
. This should not be changed. </p>
400
394
<p>You should use this function instead of <a class="link" href="glib-Automatic-String-Completion.html#g-completion-complete" title="g_completion_complete ()"><code class="function">g_completion_complete()</code></a> if your 
401
395
items are UTF-8 strings.</p>
402
396
<div class="refsect3">
403
 
<a name="id-1.7.5.8.8.8"></a><h4>Parameters</h4>
 
397
<a name="id-1.7.5.7.8.8"></a><h4>Parameters</h4>
404
398
<div class="informaltable"><table width="100%" border="0">
405
399
<colgroup>
406
400
<col width="150px" class="parameters_name">
432
426
</table></div>
433
427
</div>
434
428
<div class="refsect3">
435
 
<a name="id-1.7.5.8.8.9"></a><h4>Returns</h4>
 
429
<a name="id-1.7.5.7.8.9"></a><h4>Returns</h4>
436
430
<p> the list of items whose strings begin with <em class="parameter"><code>prefix</code></em>
437
431
. This should
438
432
not be changed. </p>
453
447
<p>Sets the function to use for string comparisons. The default string
454
448
comparison function is <code class="function">strncmp()</code>.</p>
455
449
<div class="refsect3">
456
 
<a name="id-1.7.5.8.9.6"></a><h4>Parameters</h4>
 
450
<a name="id-1.7.5.7.9.6"></a><h4>Parameters</h4>
457
451
<div class="informaltable"><table width="100%" border="0">
458
452
<colgroup>
459
453
<col width="150px" class="parameters_name">
486
480
<a class="link" href="glib-Automatic-String-Completion.html#g-completion-set-compare" title="g_completion_set_compare ()"><code class="function">g_completion_set_compare()</code></a>. This is used when you use strings as
487
481
<a class="link" href="glib-Automatic-String-Completion.html#GCompletion" title="struct GCompletion"><span class="type">GCompletion</span></a> items.</p>
488
482
<div class="refsect3">
489
 
<a name="id-1.7.5.8.10.5"></a><h4>Parameters</h4>
 
483
<a name="id-1.7.5.7.10.5"></a><h4>Parameters</h4>
490
484
<div class="informaltable"><table width="100%" border="0">
491
485
<colgroup>
492
486
<col width="150px" class="parameters_name">
515
509
</table></div>
516
510
</div>
517
511
<div class="refsect3">
518
 
<a name="id-1.7.5.8.10.6"></a><h4>Returns</h4>
 
512
<a name="id-1.7.5.7.10.6"></a><h4>Returns</h4>
519
513
<p> an integer less than, equal to, or greater than zero if
520
514
the first <em class="parameter"><code>n</code></em>
521
515
bytes of <em class="parameter"><code>s1</code></em>
539
533
the memory was dynamically allocated, it should be freed after calling this
540
534
function.</p>
541
535
<div class="refsect3">
542
 
<a name="id-1.7.5.8.11.6"></a><h4>Parameters</h4>
 
536
<a name="id-1.7.5.7.11.6"></a><h4>Parameters</h4>
543
537
<div class="informaltable"><table width="100%" border="0">
544
538
<colgroup>
545
539
<col width="150px" class="parameters_name">
570
564
</pre>
571
565
<p>The data structure used for automatic completion.</p>
572
566
<div class="refsect3">
573
 
<a name="id-1.7.5.9.2.5"></a><h4>Members</h4>
 
567
<a name="id-1.7.5.8.2.5"></a><h4>Members</h4>
574
568
<div class="informaltable"><table width="100%" border="0">
575
569
<colgroup>
576
570
<col width="300px" class="struct_members_name">
615
609
</div>
616
610
<div class="footer">
617
611
<hr>
618
 
          Generated by GTK-Doc V1.20</div>
 
612
          Generated by GTK-Doc V1.20.1</div>
619
613
</body>
620
614
</html>
 
 
b'\\ No newline at end of file'