gtksourceview3 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +10 -9
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +1 -1
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +3 -3
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +179 -179
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +76 -76
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +148 -148
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +61 -61
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +134 -134
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +98 -98
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +155 -155
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +13 -13
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/meson.lang +3 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- metadata +7 -7
@@ -83,7 +83,7 @@
|
|
83
83
|
</tr>
|
84
84
|
<tr>
|
85
85
|
<td class="function_type">
|
86
|
-
<a href="/
|
86
|
+
<a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
|
87
87
|
</td>
|
88
88
|
<td class="function_name">
|
89
89
|
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-get-location" title="gtk_source_file_loader_get_location ()">gtk_source_file_loader_get_location</a> <span class="c_punctuation">()</span>
|
@@ -91,7 +91,7 @@
|
|
91
91
|
</tr>
|
92
92
|
<tr>
|
93
93
|
<td class="function_type">
|
94
|
-
<a href="/
|
94
|
+
<a href="https://developer.gnome.org/gio/unstable/GInputStream.html#GInputStream-struct"><span class="returnvalue">GInputStream</span></a> *
|
95
95
|
</td>
|
96
96
|
<td class="function_name">
|
97
97
|
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-get-input-stream" title="gtk_source_file_loader_get_input_stream ()">gtk_source_file_loader_get_input_stream</a> <span class="c_punctuation">()</span>
|
@@ -107,7 +107,7 @@
|
|
107
107
|
</tr>
|
108
108
|
<tr>
|
109
109
|
<td class="function_type">
|
110
|
-
<a href="/
|
110
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
111
111
|
</td>
|
112
112
|
<td class="function_name">
|
113
113
|
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-load-finish" title="gtk_source_file_loader_load_finish ()">gtk_source_file_loader_load_finish</a> <span class="c_punctuation">()</span>
|
@@ -162,13 +162,13 @@
|
|
162
162
|
</tr>
|
163
163
|
<tr>
|
164
164
|
<td class="property_type">
|
165
|
-
<a href="/
|
165
|
+
<a href="https://developer.gnome.org/gio/unstable/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *</td>
|
166
166
|
<td class="property_name"><a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--input-stream" title="The “input-stream” property">input-stream</a></td>
|
167
167
|
<td class="property_flags">Read / Write / Construct Only</td>
|
168
168
|
</tr>
|
169
169
|
<tr>
|
170
170
|
<td class="property_type">
|
171
|
-
<a href="/
|
171
|
+
<a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> *</td>
|
172
172
|
<td class="property_name"><a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--location" title="The “location” property">location</a></td>
|
173
173
|
<td class="property_flags">Read / Write / Construct Only</td>
|
174
174
|
</tr>
|
@@ -200,7 +200,7 @@
|
|
200
200
|
</div>
|
201
201
|
<div class="refsect1">
|
202
202
|
<a name="GtkSourceFileLoader.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
203
|
-
<pre class="screen"> <a href="/
|
203
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
204
204
|
<span class="lineart">╰──</span> GtkSourceFileLoader
|
205
205
|
</pre>
|
206
206
|
</div>
|
@@ -211,8 +211,8 @@
|
|
211
211
|
</div>
|
212
212
|
<div class="refsect1">
|
213
213
|
<a name="GtkSourceFileLoader.description"></a><h2>Description</h2>
|
214
|
-
<p>A <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> object permits to load the contents of a <a href="/
|
215
|
-
<a href="/
|
214
|
+
<p>A <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> object permits to load the contents of a <a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> or a
|
215
|
+
<a href="https://developer.gnome.org/gio/unstable/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> into a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p>
|
216
216
|
<p>A file loader should be used only for one load operation, including errors
|
217
217
|
handling. If an error occurs, you can reconfigure the loader and relaunch the
|
218
218
|
operation with <a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-load-async" title="gtk_source_file_loader_load_async ()"><code class="function">gtk_source_file_loader_load_async()</code></a>.</p>
|
@@ -221,10 +221,10 @@ operation with <a class="link" href="GtkSourceFileLoader.html#gtk-source-file-lo
|
|
221
221
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-end-not-undoable-action" title="gtk_source_buffer_end_not_undoable_action ()"><code class="function">gtk_source_buffer_end_not_undoable_action()</code></a> are called, which delete the
|
222
222
|
undo/redo history.</p>
|
223
223
|
<p>After a file loading, the buffer is reset to the contents provided by the
|
224
|
-
<a href="/
|
225
|
-
<a href="/
|
224
|
+
<a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> or <a href="https://developer.gnome.org/gio/unstable/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a>, so the buffer is set as “unmodified”, that is,
|
225
|
+
<a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a> is called with <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. If the contents isn't
|
226
226
|
saved somewhere (for example if you load from stdin), then you should
|
227
|
-
probably call <a href="/
|
227
|
+
probably call <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a> with <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> after calling
|
228
228
|
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-load-finish" title="gtk_source_file_loader_load_finish ()"><code class="function">gtk_source_file_loader_load_finish()</code></a>.</p>
|
229
229
|
</div>
|
230
230
|
<div class="refsect1">
|
@@ -275,7 +275,7 @@ the <em class="parameter"><code>buffer</code></em>
|
|
275
275
|
gtk_source_file_loader_new_from_stream
|
276
276
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
277
277
|
<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>,
|
278
|
-
<em class="parameter"><code><a href="/
|
278
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>);</pre>
|
279
279
|
<p>Creates a new <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> object. The contents is read from <em class="parameter"><code>stream</code></em>
|
280
280
|
.</p>
|
281
281
|
<div class="refsect3">
|
@@ -299,7 +299,7 @@ gtk_source_file_loader_new_from_stream
|
|
299
299
|
</tr>
|
300
300
|
<tr>
|
301
301
|
<td class="parameter_name"><p>stream</p></td>
|
302
|
-
<td class="parameter_description"><p>the <a href="/
|
302
|
+
<td class="parameter_description"><p>the <a href="https://developer.gnome.org/gio/unstable/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> to load, e.g. stdin.</p></td>
|
303
303
|
<td class="parameter_annotations"> </td>
|
304
304
|
</tr>
|
305
305
|
</tbody>
|
@@ -317,7 +317,7 @@ gtk_source_file_loader_new_from_stream
|
|
317
317
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
318
318
|
gtk_source_file_loader_set_candidate_encodings
|
319
319
|
(<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>,
|
320
|
-
<em class="parameter"><code><a href="/
|
320
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *candidate_encodings</code></em>);</pre>
|
321
321
|
<p>Sets the candidate encodings for the file loading. The encodings are tried in
|
322
322
|
the same order as the list.</p>
|
323
323
|
<p>For convenience, <em class="parameter"><code>candidate_encodings</code></em>
|
@@ -412,7 +412,7 @@ gtk_source_file_loader_get_file (<em class="parameter"><code><a class="link" hre
|
|
412
412
|
<hr>
|
413
413
|
<div class="refsect2">
|
414
414
|
<a name="gtk-source-file-loader-get-location"></a><h3>gtk_source_file_loader_get_location ()</h3>
|
415
|
-
<pre class="programlisting"><a href="/
|
415
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
|
416
416
|
gtk_source_file_loader_get_location (<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>);</pre>
|
417
417
|
<div class="refsect3">
|
418
418
|
<a name="gtk-source-file-loader-get-location.parameters"></a><h4>Parameters</h4>
|
@@ -431,7 +431,7 @@ gtk_source_file_loader_get_location (<em class="parameter"><code><a class="link"
|
|
431
431
|
</div>
|
432
432
|
<div class="refsect3">
|
433
433
|
<a name="gtk-source-file-loader-get-location.returns"></a><h4>Returns</h4>
|
434
|
-
<p> the <a href="/
|
434
|
+
<p> the <a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> to load, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
435
435
|
if an input stream is used. </p>
|
436
436
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
437
437
|
</div>
|
@@ -440,7 +440,7 @@ if an input stream is used. </p>
|
|
440
440
|
<hr>
|
441
441
|
<div class="refsect2">
|
442
442
|
<a name="gtk-source-file-loader-get-input-stream"></a><h3>gtk_source_file_loader_get_input_stream ()</h3>
|
443
|
-
<pre class="programlisting"><a href="/
|
443
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/gio/unstable/GInputStream.html#GInputStream-struct"><span class="returnvalue">GInputStream</span></a> *
|
444
444
|
gtk_source_file_loader_get_input_stream
|
445
445
|
(<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>);</pre>
|
446
446
|
<div class="refsect3">
|
@@ -460,8 +460,8 @@ gtk_source_file_loader_get_input_stream
|
|
460
460
|
</div>
|
461
461
|
<div class="refsect3">
|
462
462
|
<a name="gtk-source-file-loader-get-input-stream.returns"></a><h4>Returns</h4>
|
463
|
-
<p> the <a href="/
|
464
|
-
if a <a href="/
|
463
|
+
<p> the <a href="https://developer.gnome.org/gio/unstable/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> to load, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
464
|
+
if a <a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> is used. </p>
|
465
465
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
466
466
|
</div>
|
467
467
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -471,15 +471,15 @@ if a <a href="/usr/share/gtk-doc/html/gioGFile.html#GFile-struct"><span class="t
|
|
471
471
|
<a name="gtk-source-file-loader-load-async"></a><h3>gtk_source_file_loader_load_async ()</h3>
|
472
472
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
473
473
|
gtk_source_file_loader_load_async (<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>,
|
474
|
-
<em class="parameter"><code><a href="/
|
475
|
-
<em class="parameter"><code><a href="/
|
476
|
-
<em class="parameter"><code><a href="/
|
477
|
-
<em class="parameter"><code><a href="/
|
478
|
-
<em class="parameter"><code><a href="/
|
479
|
-
<em class="parameter"><code><a href="/
|
480
|
-
<em class="parameter"><code><a href="/
|
474
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> io_priority</code></em>,
|
475
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
476
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GFile.html#GFileProgressCallback"><span class="type">GFileProgressCallback</span></a> progress_callback</code></em>,
|
477
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> progress_callback_data</code></em>,
|
478
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> progress_callback_notify</code></em>,
|
479
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
480
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
481
481
|
<p>Loads asynchronously the file or input stream contents into the
|
482
|
-
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>. See the <a href="/
|
482
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>. See the <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> documentation to know how to use this
|
483
483
|
function.</p>
|
484
484
|
<div class="refsect3">
|
485
485
|
<a name="gtk-source-file-loader-load-async.parameters"></a><h4>Parameters</h4>
|
@@ -497,19 +497,19 @@ function.</p>
|
|
497
497
|
</tr>
|
498
498
|
<tr>
|
499
499
|
<td class="parameter_name"><p>io_priority</p></td>
|
500
|
-
<td class="parameter_description"><p>the I/O priority of the request. E.g. <a href="/
|
501
|
-
<a href="/
|
500
|
+
<td class="parameter_description"><p>the I/O priority of the request. E.g. <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-LOW:CAPS"><code class="literal">G_PRIORITY_LOW</code></a>,
|
501
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a> or <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS"><code class="literal">G_PRIORITY_HIGH</code></a>.</p></td>
|
502
502
|
<td class="parameter_annotations"> </td>
|
503
503
|
</tr>
|
504
504
|
<tr>
|
505
505
|
<td class="parameter_name"><p>cancellable</p></td>
|
506
|
-
<td class="parameter_description"><p> optional <a href="/
|
506
|
+
<td class="parameter_description"><p> optional <a href="https://developer.gnome.org/gio/unstable/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
507
507
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
508
508
|
</tr>
|
509
509
|
<tr>
|
510
510
|
<td class="parameter_name"><p>progress_callback</p></td>
|
511
511
|
<td class="parameter_description"><p> function to call back with
|
512
|
-
progress information, or <a href="/
|
512
|
+
progress information, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if progress information is not needed. </p></td>
|
513
513
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
514
514
|
</tr>
|
515
515
|
<tr>
|
@@ -524,12 +524,12 @@ progress information, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macr
|
|
524
524
|
<em class="parameter"><code>progress_callback_data</code></em>
|
525
525
|
when the <em class="parameter"><code>progress_callback</code></em>
|
526
526
|
is no longer needed, or
|
527
|
-
<a href="/
|
527
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
528
528
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
529
529
|
</tr>
|
530
530
|
<tr>
|
531
531
|
<td class="parameter_name"><p>callback</p></td>
|
532
|
-
<td class="parameter_description"><p> a <a href="/
|
532
|
+
<td class="parameter_description"><p> a <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is
|
533
533
|
satisfied. </p></td>
|
534
534
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
|
535
535
|
</tr>
|
@@ -547,10 +547,10 @@ satisfied. </p></td>
|
|
547
547
|
<hr>
|
548
548
|
<div class="refsect2">
|
549
549
|
<a name="gtk-source-file-loader-load-finish"></a><h3>gtk_source_file_loader_load_finish ()</h3>
|
550
|
-
<pre class="programlisting"><a href="/
|
550
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
551
551
|
gtk_source_file_loader_load_finish (<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>,
|
552
|
-
<em class="parameter"><code><a href="/
|
553
|
-
<em class="parameter"><code><a href="/
|
552
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
553
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
554
554
|
<p>Finishes a file loading started with <a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-load-async" title="gtk_source_file_loader_load_async ()"><code class="function">gtk_source_file_loader_load_async()</code></a>.</p>
|
555
555
|
<p>If the contents has been loaded, the following <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> properties will
|
556
556
|
be updated: the location, the encoding, the newline type and the compression
|
@@ -571,12 +571,12 @@ type.</p>
|
|
571
571
|
</tr>
|
572
572
|
<tr>
|
573
573
|
<td class="parameter_name"><p>result</p></td>
|
574
|
-
<td class="parameter_description"><p>a <a href="/
|
574
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a>.</p></td>
|
575
575
|
<td class="parameter_annotations"> </td>
|
576
576
|
</tr>
|
577
577
|
<tr>
|
578
578
|
<td class="parameter_name"><p>error</p></td>
|
579
|
-
<td class="parameter_description"><p>a <a href="/
|
579
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
580
580
|
<td class="parameter_annotations"> </td>
|
581
581
|
</tr>
|
582
582
|
</tbody>
|
@@ -744,8 +744,8 @@ reference to the file.</p>
|
|
744
744
|
<hr>
|
745
745
|
<div class="refsect2">
|
746
746
|
<a name="GtkSourceFileLoader--input-stream"></a><h3>The <code class="literal">“input-stream”</code> property</h3>
|
747
|
-
<pre class="programlisting"> “input-stream” <a href="/
|
748
|
-
<p>The <a href="/
|
747
|
+
<pre class="programlisting"> “input-stream” <a href="https://developer.gnome.org/gio/unstable/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *</pre>
|
748
|
+
<p>The <a href="https://developer.gnome.org/gio/unstable/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> to load. Useful for reading stdin. If this property
|
749
749
|
is set, the <a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--location" title="The “location” property"><span class="type">“location”</span></a> property is ignored.</p>
|
750
750
|
<p>Flags: Read / Write / Construct Only</p>
|
751
751
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -753,9 +753,9 @@ is set, the <a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--
|
|
753
753
|
<hr>
|
754
754
|
<div class="refsect2">
|
755
755
|
<a name="GtkSourceFileLoader--location"></a><h3>The <code class="literal">“location”</code> property</h3>
|
756
|
-
<pre class="programlisting"> “location” <a href="/
|
757
|
-
<p>The <a href="/
|
758
|
-
<a href="/
|
756
|
+
<pre class="programlisting"> “location” <a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> *</pre>
|
757
|
+
<p>The <a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> to load. If the <a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--input-stream" title="The “input-stream” property"><span class="type">“input-stream”</span></a> is
|
758
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, by default the location is taken from the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> at
|
759
759
|
construction time.</p>
|
760
760
|
<p>Flags: Read / Write / Construct Only</p>
|
761
761
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -75,7 +75,7 @@
|
|
75
75
|
</tr>
|
76
76
|
<tr>
|
77
77
|
<td class="function_type">
|
78
|
-
<a href="/
|
78
|
+
<a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
|
79
79
|
</td>
|
80
80
|
<td class="function_name">
|
81
81
|
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-get-location" title="gtk_source_file_saver_get_location ()">gtk_source_file_saver_get_location</a> <span class="c_punctuation">()</span>
|
@@ -154,7 +154,7 @@
|
|
154
154
|
</tr>
|
155
155
|
<tr>
|
156
156
|
<td class="function_type">
|
157
|
-
<a href="/
|
157
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
158
158
|
</td>
|
159
159
|
<td class="function_name">
|
160
160
|
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-save-finish" title="gtk_source_file_saver_save_finish ()">gtk_source_file_saver_save_finish</a> <span class="c_punctuation">()</span>
|
@@ -202,7 +202,7 @@
|
|
202
202
|
</tr>
|
203
203
|
<tr>
|
204
204
|
<td class="property_type">
|
205
|
-
<a href="/
|
205
|
+
<a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> *</td>
|
206
206
|
<td class="property_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaver--location" title="The “location” property">location</a></td>
|
207
207
|
<td class="property_flags">Read / Write / Construct Only</td>
|
208
208
|
</tr>
|
@@ -243,7 +243,7 @@
|
|
243
243
|
</div>
|
244
244
|
<div class="refsect1">
|
245
245
|
<a name="GtkSourceFileSaver.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
246
|
-
<pre class="screen"> <a href="/
|
246
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
247
247
|
<span class="lineart">╰──</span> GtkSourceFileSaver
|
248
248
|
</pre>
|
249
249
|
</div>
|
@@ -255,7 +255,7 @@
|
|
255
255
|
<div class="refsect1">
|
256
256
|
<a name="GtkSourceFileSaver.description"></a><h2>Description</h2>
|
257
257
|
<p>A <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> object permits to save a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> into a
|
258
|
-
<a href="/
|
258
|
+
<a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a>.</p>
|
259
259
|
<p>A file saver should be used only for one save operation, including errors
|
260
260
|
handling. If an error occurs, you can reconfigure the saver and relaunch the
|
261
261
|
operation with <a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-save-async" title="gtk_source_file_saver_save_async ()"><code class="function">gtk_source_file_saver_save_async()</code></a>.</p>
|
@@ -272,7 +272,7 @@ gtk_source_file_saver_new (<em class="parameter"><code><a class="link" href="Gtk
|
|
272
272
|
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>'s location.</p>
|
273
273
|
<p>This constructor is suitable for a simple "save" operation, when the <em class="parameter"><code>file</code></em>
|
274
274
|
|
275
|
-
already contains a non-<a href="/
|
275
|
+
already contains a non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <a class="link" href="GtkSourceFile.html#GtkSourceFile--location" title="The “location” property"><span class="type">“location”</span></a>.</p>
|
276
276
|
<div class="refsect3">
|
277
277
|
<a name="gtk-source-file-saver-new.parameters"></a><h4>Parameters</h4>
|
278
278
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -307,7 +307,7 @@ already contains a non-<a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros
|
|
307
307
|
<pre class="programlisting"><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="returnvalue">GtkSourceFileSaver</span></a> *
|
308
308
|
gtk_source_file_saver_new_with_target (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
309
309
|
<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>,
|
310
|
-
<em class="parameter"><code><a href="/
|
310
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> *target_location</code></em>);</pre>
|
311
311
|
<p>Creates a new <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> object with a target location. When the
|
312
312
|
file saving is finished successfully, <em class="parameter"><code>target_location</code></em>
|
313
313
|
is set to the <em class="parameter"><code>file</code></em>
|
@@ -337,7 +337,7 @@ buffer for the first time.</p>
|
|
337
337
|
</tr>
|
338
338
|
<tr>
|
339
339
|
<td class="parameter_name"><p>target_location</p></td>
|
340
|
-
<td class="parameter_description"><p>the <a href="/
|
340
|
+
<td class="parameter_description"><p>the <a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> where to save the buffer to.</p></td>
|
341
341
|
<td class="parameter_annotations"> </td>
|
342
342
|
</tr>
|
343
343
|
</tbody>
|
@@ -406,7 +406,7 @@ gtk_source_file_saver_get_file (<em class="parameter"><code><a class="link" href
|
|
406
406
|
<hr>
|
407
407
|
<div class="refsect2">
|
408
408
|
<a name="gtk-source-file-saver-get-location"></a><h3>gtk_source_file_saver_get_location ()</h3>
|
409
|
-
<pre class="programlisting"><a href="/
|
409
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
|
410
410
|
gtk_source_file_saver_get_location (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>);</pre>
|
411
411
|
<div class="refsect3">
|
412
412
|
<a name="gtk-source-file-saver-get-location.parameters"></a><h4>Parameters</h4>
|
@@ -425,7 +425,7 @@ gtk_source_file_saver_get_location (<em class="parameter"><code><a class="link"
|
|
425
425
|
</div>
|
426
426
|
<div class="refsect3">
|
427
427
|
<a name="gtk-source-file-saver-get-location.returns"></a><h4>Returns</h4>
|
428
|
-
<p> the <a href="/
|
428
|
+
<p> the <a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> where to save the buffer to. </p>
|
429
429
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
430
430
|
</div>
|
431
431
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -437,7 +437,7 @@ gtk_source_file_saver_get_location (<em class="parameter"><code><a class="link"
|
|
437
437
|
gtk_source_file_saver_set_encoding (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
438
438
|
<em class="parameter"><code>const <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="type">GtkSourceEncoding</span></a> *encoding</code></em>);</pre>
|
439
439
|
<p>Sets the encoding. If <em class="parameter"><code>encoding</code></em>
|
440
|
-
is <a href="/
|
440
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the UTF-8 encoding will be set.
|
441
441
|
By default the encoding is taken from the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p>
|
442
442
|
<div class="refsect3">
|
443
443
|
<a name="gtk-source-file-saver-set-encoding.parameters"></a><h4>Parameters</h4>
|
@@ -455,7 +455,7 @@ By default the encoding is taken from the <a class="link" href="GtkSourceFile.ht
|
|
455
455
|
</tr>
|
456
456
|
<tr>
|
457
457
|
<td class="parameter_name"><p>encoding</p></td>
|
458
|
-
<td class="parameter_description"><p> the new encoding, or <a href="/
|
458
|
+
<td class="parameter_description"><p> the new encoding, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for UTF-8. </p></td>
|
459
459
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
460
460
|
</tr>
|
461
461
|
</tbody>
|
@@ -670,14 +670,14 @@ gtk_source_file_saver_get_flags (<em class="parameter"><code><a class="link" hre
|
|
670
670
|
<a name="gtk-source-file-saver-save-async"></a><h3>gtk_source_file_saver_save_async ()</h3>
|
671
671
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
672
672
|
gtk_source_file_saver_save_async (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
673
|
-
<em class="parameter"><code><a href="/
|
674
|
-
<em class="parameter"><code><a href="/
|
675
|
-
<em class="parameter"><code><a href="/
|
676
|
-
<em class="parameter"><code><a href="/
|
677
|
-
<em class="parameter"><code><a href="/
|
678
|
-
<em class="parameter"><code><a href="/
|
679
|
-
<em class="parameter"><code><a href="/
|
680
|
-
<p>Saves asynchronously the buffer into the file. See the <a href="/
|
673
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> io_priority</code></em>,
|
674
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
675
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GFile.html#GFileProgressCallback"><span class="type">GFileProgressCallback</span></a> progress_callback</code></em>,
|
676
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> progress_callback_data</code></em>,
|
677
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> progress_callback_notify</code></em>,
|
678
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
679
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
680
|
+
<p>Saves asynchronously the buffer into the file. See the <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a>
|
681
681
|
documentation to know how to use this function.</p>
|
682
682
|
<div class="refsect3">
|
683
683
|
<a name="gtk-source-file-saver-save-async.parameters"></a><h4>Parameters</h4>
|
@@ -695,19 +695,19 @@ documentation to know how to use this function.</p>
|
|
695
695
|
</tr>
|
696
696
|
<tr>
|
697
697
|
<td class="parameter_name"><p>io_priority</p></td>
|
698
|
-
<td class="parameter_description"><p>the I/O priority of the request. E.g. <a href="/
|
699
|
-
<a href="/
|
698
|
+
<td class="parameter_description"><p>the I/O priority of the request. E.g. <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-LOW:CAPS"><code class="literal">G_PRIORITY_LOW</code></a>,
|
699
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a> or <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS"><code class="literal">G_PRIORITY_HIGH</code></a>.</p></td>
|
700
700
|
<td class="parameter_annotations"> </td>
|
701
701
|
</tr>
|
702
702
|
<tr>
|
703
703
|
<td class="parameter_name"><p>cancellable</p></td>
|
704
|
-
<td class="parameter_description"><p> optional <a href="/
|
704
|
+
<td class="parameter_description"><p> optional <a href="https://developer.gnome.org/gio/unstable/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
705
705
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
706
706
|
</tr>
|
707
707
|
<tr>
|
708
708
|
<td class="parameter_name"><p>progress_callback</p></td>
|
709
709
|
<td class="parameter_description"><p> function to call back with
|
710
|
-
progress information, or <a href="/
|
710
|
+
progress information, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if progress information is not needed. </p></td>
|
711
711
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
712
712
|
</tr>
|
713
713
|
<tr>
|
@@ -722,12 +722,12 @@ progress information, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macr
|
|
722
722
|
<em class="parameter"><code>progress_callback_data</code></em>
|
723
723
|
when the <em class="parameter"><code>progress_callback</code></em>
|
724
724
|
is no longer needed, or
|
725
|
-
<a href="/
|
725
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
726
726
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
727
727
|
</tr>
|
728
728
|
<tr>
|
729
729
|
<td class="parameter_name"><p>callback</p></td>
|
730
|
-
<td class="parameter_description"><p> a <a href="/
|
730
|
+
<td class="parameter_description"><p> a <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is
|
731
731
|
satisfied. </p></td>
|
732
732
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
|
733
733
|
</tr>
|
@@ -745,15 +745,15 @@ satisfied. </p></td>
|
|
745
745
|
<hr>
|
746
746
|
<div class="refsect2">
|
747
747
|
<a name="gtk-source-file-saver-save-finish"></a><h3>gtk_source_file_saver_save_finish ()</h3>
|
748
|
-
<pre class="programlisting"><a href="/
|
748
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
749
749
|
gtk_source_file_saver_save_finish (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
750
|
-
<em class="parameter"><code><a href="/
|
751
|
-
<em class="parameter"><code><a href="/
|
750
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
751
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
752
752
|
<p>Finishes a file saving started with <a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-save-async" title="gtk_source_file_saver_save_async ()"><code class="function">gtk_source_file_saver_save_async()</code></a>.</p>
|
753
753
|
<p>If the file has been saved successfully, the following <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>
|
754
754
|
properties will be updated: the location, the encoding, the newline type and
|
755
755
|
the compression type.</p>
|
756
|
-
<p>Since the 3.20 version, <a href="/
|
756
|
+
<p>Since the 3.20 version, <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a> is called with <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
757
757
|
if the file has been saved successfully.</p>
|
758
758
|
<div class="refsect3">
|
759
759
|
<a name="gtk-source-file-saver-save-finish.parameters"></a><h4>Parameters</h4>
|
@@ -771,12 +771,12 @@ if the file has been saved successfully.</p>
|
|
771
771
|
</tr>
|
772
772
|
<tr>
|
773
773
|
<td class="parameter_name"><p>result</p></td>
|
774
|
-
<td class="parameter_description"><p>a <a href="/
|
774
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a>.</p></td>
|
775
775
|
<td class="parameter_annotations"> </td>
|
776
776
|
</tr>
|
777
777
|
<tr>
|
778
778
|
<td class="parameter_name"><p>error</p></td>
|
779
|
-
<td class="parameter_description"><p>a <a href="/
|
779
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
780
780
|
<td class="parameter_annotations"> </td>
|
781
781
|
</tr>
|
782
782
|
</tbody>
|
@@ -929,8 +929,8 @@ reference to the file.</p>
|
|
929
929
|
<hr>
|
930
930
|
<div class="refsect2">
|
931
931
|
<a name="GtkSourceFileSaver--location"></a><h3>The <code class="literal">“location”</code> property</h3>
|
932
|
-
<pre class="programlisting"> “location” <a href="/
|
933
|
-
<p>The <a href="/
|
932
|
+
<pre class="programlisting"> “location” <a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> *</pre>
|
933
|
+
<p>The <a href="https://developer.gnome.org/gio/unstable/GFile.html#GFile-struct"><span class="type">GFile</span></a> where to save the buffer. By default the location is taken
|
934
934
|
from the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> at construction time.</p>
|
935
935
|
<p>Flags: Read / Write / Construct Only</p>
|
936
936
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|