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

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/GFilenameCompleter.html

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-10-02 13:08:24 UTC
  • mfrom: (1.67.13)
  • mto: This revision was merged to the branch mainline in revision 233.
  • Revision ID: package-import@ubuntu.com-20141002130824-cqp99rbif2g6wf6r
Tags: upstream-2.42.0
Import upstream version 2.42.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
</div>
107
107
<div class="refsect1">
108
108
<a name="GFilenameCompleter.object-hierarchy"></a><h2>Object Hierarchy</h2>
109
 
<pre class="screen">    <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
109
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
110
110
    <span class="lineart">╰──</span> GFilenameCompleter
111
111
</pre>
112
112
</div>
168
168
</div>
169
169
<div class="refsect3">
170
170
<a name="id-1.4.4.2.9.3.6"></a><h4>Returns</h4>
171
 
<p> a completed string, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no completion exists.
172
 
This string is not owned by GIO, so remember to <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> it
 
171
<p> a completed string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no completion exists.
 
172
This string is not owned by GIO, so remember to <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> it
173
173
when finished.</p>
174
174
<p></p>
175
175
</div>
207
207
<a name="id-1.4.4.2.9.4.6"></a><h4>Returns</h4>
208
208
<p> array of strings with possible completions for <em class="parameter"><code>initial_text</code></em>
209
209
.
210
 
This array must be freed by <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when finished. </p>
 
210
This array must be freed by <a href="../glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when finished. </p>
211
211
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
212
212
</div>
213
213
</div>
216
216
<a name="g-filename-completer-set-dirs-only"></a><h3>g_filename_completer_set_dirs_only ()</h3>
217
217
<pre class="programlisting"><span class="returnvalue">void</span>
218
218
g_filename_completer_set_dirs_only (<em class="parameter"><code><a class="link" href="GFilenameCompleter.html" title="GFilenameCompleter"><span class="type">GFilenameCompleter</span></a> *completer</code></em>,
219
 
                                    <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> dirs_only</code></em>);</pre>
 
219
                                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> dirs_only</code></em>);</pre>
220
220
<p>If <em class="parameter"><code>dirs_only</code></em>
221
 
 is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, <em class="parameter"><code>completer</code></em>
 
221
 is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, <em class="parameter"><code>completer</code></em>
222
222
 will only 
223
223
complete directory names, and not file names.</p>
224
224
<div class="refsect3">
237
237
</tr>
238
238
<tr>
239
239
<td class="parameter_name"><p>dirs_only</p></td>
240
 
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>.</p></td>
 
240
<td class="parameter_description"><p>a <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>.</p></td>
241
241
<td class="parameter_annotations"> </td>
242
242
</tr>
243
243
</tbody>
259
259
<a name="GFilenameCompleter-got-completion-data"></a><h3>The <code class="literal">“got-completion-data”</code> signal</h3>
260
260
<pre class="programlisting"><span class="returnvalue">void</span>
261
261
user_function (<a class="link" href="GFilenameCompleter.html" title="GFilenameCompleter"><span class="type">GFilenameCompleter</span></a> *arg0,
262
 
               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)</pre>
 
262
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)</pre>
263
263
<p>Emitted when the file name completion information comes available.</p>
264
264
<div class="refsect3">
265
265
<a name="id-1.4.4.2.11.2.5"></a><h4>Parameters</h4>