gtksourceview3 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/ext/gtksourceview3/extconf.rb +1 -2
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +1 -25
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +7 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +0 -1
- data/lib/2.0/gtksourceview3.so +0 -0
- data/test/run-test.rb +17 -7
- data/test/test_mark_attributes.rb +1 -1
- data/test/test_source_gutter_renderer.rb +33 -0
- data/test/test_source_language_manager.rb +46 -0
- data/test/test_source_view.rb +34 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +28 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +48 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +1 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +33 -0
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +3 -3
- data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +2211 -330
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +1682 -983
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +818 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +267 -189
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +209 -157
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +247 -167
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +428 -295
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +558 -420
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +217 -125
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +341 -196
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1211 -827
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +327 -206
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +156 -96
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +431 -269
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +300 -235
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +203 -139
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +640 -452
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +1444 -1114
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +794 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +421 -280
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +232 -99
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +283 -178
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +326 -220
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +313 -194
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1430 -924
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +33 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +39 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +35 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +742 -430
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +31 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +95 -81
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +519 -463
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +32 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +326 -153
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +151 -57
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +42 -37
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +39 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +260 -105
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +3 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +536 -345
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +6 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +25 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +8 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +1 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +85 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +238 -137
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +389 -133
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +16 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +12 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +15 -15
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +62 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +13 -2
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +16 -5
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +11 -3
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +14 -4
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +14 -2
- data/vendor/local/share/license/gtksourceview/AUTHORS +1 -0
- data/vendor/local/share/license/gtksourceview/COPYING +415 -251
- metadata +31 -13
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
@@ -0,0 +1,769 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GtkSourceView 3 Reference Manual: GtkSourceFileLoader</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="API reference">
|
9
|
+
<link rel="prev" href="GtkSourceFile.html" title="GtkSourceFile">
|
10
|
+
<link rel="next" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
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="5"><tr valign="middle">
|
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="#GtkSourceFileLoader.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceFileLoader.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceFileLoader.properties" class="shortcut">Properties</a></span>
|
21
|
+
</td>
|
22
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="GtkSourceFile.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="GtkSourceFileSaver.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
|
+
</tr></table>
|
27
|
+
<div class="refentry">
|
28
|
+
<a name="GtkSourceFileLoader"></a><div class="titlepage"></div>
|
29
|
+
<div class="refnamediv"><table width="100%"><tr>
|
30
|
+
<td valign="top">
|
31
|
+
<h2><span class="refentrytitle"><a name="GtkSourceFileLoader.top_of_page"></a>GtkSourceFileLoader</span></h2>
|
32
|
+
<p>GtkSourceFileLoader — Load a file into a GtkSourceBuffer</p>
|
33
|
+
</td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
35
|
+
</tr></table></div>
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="GtkSourceFileLoader.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="returnvalue">GtkSourceFileLoader</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-new" title="gtk_source_file_loader_new ()">gtk_source_file_loader_new</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="returnvalue">GtkSourceFileLoader</span></a> *
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-new-from-stream" title="gtk_source_file_loader_new_from_stream ()">gtk_source_file_loader_new_from_stream</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<span class="returnvalue">void</span>
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-set-candidate-encodings" title="gtk_source_file_loader_set_candidate_encodings ()">gtk_source_file_loader_set_candidate_encodings</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-get-buffer" title="gtk_source_file_loader_get_buffer ()">gtk_source_file_loader_get_buffer</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="returnvalue">GtkSourceFile</span></a> *
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-get-file" title="gtk_source_file_loader_get_file ()">gtk_source_file_loader_get_file</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="returnvalue">GFile</span></a> *
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
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>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">
|
94
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="returnvalue">GInputStream</span></a> *
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
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>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<span class="returnvalue">void</span>
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-load-async" title="gtk_source_file_loader_load_async ()">gtk_source_file_loader_load_async</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="function_type">
|
110
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
111
|
+
</td>
|
112
|
+
<td class="function_name">
|
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>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td class="function_type">const <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="returnvalue">GtkSourceEncoding</span></a> *
|
118
|
+
</td>
|
119
|
+
<td class="function_name">
|
120
|
+
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-get-encoding" title="gtk_source_file_loader_get_encoding ()">gtk_source_file_loader_get_encoding</a> <span class="c_punctuation">()</span>
|
121
|
+
</td>
|
122
|
+
</tr>
|
123
|
+
<tr>
|
124
|
+
<td class="function_type">
|
125
|
+
<a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType"><span class="returnvalue">GtkSourceNewlineType</span></a>
|
126
|
+
</td>
|
127
|
+
<td class="function_name">
|
128
|
+
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-get-newline-type" title="gtk_source_file_loader_get_newline_type ()">gtk_source_file_loader_get_newline_type</a> <span class="c_punctuation">()</span>
|
129
|
+
</td>
|
130
|
+
</tr>
|
131
|
+
<tr>
|
132
|
+
<td class="function_type">
|
133
|
+
<a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType"><span class="returnvalue">GtkSourceCompressionType</span></a>
|
134
|
+
</td>
|
135
|
+
<td class="function_name">
|
136
|
+
<a class="link" href="GtkSourceFileLoader.html#gtk-source-file-loader-get-compression-type" title="gtk_source_file_loader_get_compression_type ()">gtk_source_file_loader_get_compression_type</a> <span class="c_punctuation">()</span>
|
137
|
+
</td>
|
138
|
+
</tr>
|
139
|
+
</tbody>
|
140
|
+
</table></div>
|
141
|
+
</div>
|
142
|
+
<div class="refsect1">
|
143
|
+
<a name="GtkSourceFileLoader.properties"></a><h2>Properties</h2>
|
144
|
+
<div class="informaltable"><table border="0">
|
145
|
+
<colgroup>
|
146
|
+
<col width="150px" class="properties_type">
|
147
|
+
<col width="300px" class="properties_name">
|
148
|
+
<col width="200px" class="properties_flags">
|
149
|
+
</colgroup>
|
150
|
+
<tbody>
|
151
|
+
<tr>
|
152
|
+
<td class="property_type">
|
153
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *</td>
|
154
|
+
<td class="property_name"><a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--buffer" title="The “buffer” property">buffer</a></td>
|
155
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
156
|
+
</tr>
|
157
|
+
<tr>
|
158
|
+
<td class="property_type">
|
159
|
+
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *</td>
|
160
|
+
<td class="property_name"><a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--file" title="The “file” property">file</a></td>
|
161
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
164
|
+
<td class="property_type">
|
165
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> *</td>
|
166
|
+
<td class="property_name"><a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--input-stream" title="The “input-stream” property">input-stream</a></td>
|
167
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
168
|
+
</tr>
|
169
|
+
<tr>
|
170
|
+
<td class="property_type">
|
171
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *</td>
|
172
|
+
<td class="property_name"><a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader--location" title="The “location” property">location</a></td>
|
173
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
174
|
+
</tr>
|
175
|
+
</tbody>
|
176
|
+
</table></div>
|
177
|
+
</div>
|
178
|
+
<div class="refsect1">
|
179
|
+
<a name="GtkSourceFileLoader.other"></a><h2>Types and Values</h2>
|
180
|
+
<div class="informaltable"><table width="100%" border="0">
|
181
|
+
<colgroup>
|
182
|
+
<col width="150px" class="name">
|
183
|
+
<col class="description">
|
184
|
+
</colgroup>
|
185
|
+
<tbody>
|
186
|
+
<tr>
|
187
|
+
<td class="datatype_keyword"> </td>
|
188
|
+
<td class="function_name"><a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoader-struct" title="GtkSourceFileLoader">GtkSourceFileLoader</a></td>
|
189
|
+
</tr>
|
190
|
+
<tr>
|
191
|
+
<td class="define_keyword">#define</td>
|
192
|
+
<td class="function_name"><a class="link" href="GtkSourceFileLoader.html#GTK-SOURCE-FILE-LOADER-ERROR:CAPS" title="GTK_SOURCE_FILE_LOADER_ERROR">GTK_SOURCE_FILE_LOADER_ERROR</a></td>
|
193
|
+
</tr>
|
194
|
+
<tr>
|
195
|
+
<td class="datatype_keyword">enum</td>
|
196
|
+
<td class="function_name"><a class="link" href="GtkSourceFileLoader.html#GtkSourceFileLoaderError" title="enum GtkSourceFileLoaderError">GtkSourceFileLoaderError</a></td>
|
197
|
+
</tr>
|
198
|
+
</tbody>
|
199
|
+
</table></div>
|
200
|
+
</div>
|
201
|
+
<div class="refsect1">
|
202
|
+
<a name="GtkSourceFileLoader.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
203
|
+
<pre class="screen"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
204
|
+
<span class="lineart">╰──</span> GtkSourceFileLoader
|
205
|
+
</pre>
|
206
|
+
</div>
|
207
|
+
<div class="refsect1">
|
208
|
+
<a name="GtkSourceFileLoader.includes"></a><h2>Includes</h2>
|
209
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
210
|
+
</pre>
|
211
|
+
</div>
|
212
|
+
<div class="refsect1">
|
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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> or a
|
215
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> into a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p>
|
216
|
+
<p>A file loader should be used only for one load operation, including errors
|
217
|
+
handling. If an error occurs, you can reconfigure the loader and relaunch the
|
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>
|
219
|
+
</div>
|
220
|
+
<div class="refsect1">
|
221
|
+
<a name="GtkSourceFileLoader.functions_details"></a><h2>Functions</h2>
|
222
|
+
<div class="refsect2">
|
223
|
+
<a name="gtk-source-file-loader-new"></a><h3>gtk_source_file_loader_new ()</h3>
|
224
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="returnvalue">GtkSourceFileLoader</span></a> *
|
225
|
+
gtk_source_file_loader_new (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
226
|
+
<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>);</pre>
|
227
|
+
<p>Creates a new <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> object. The contents is read from the
|
228
|
+
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>'s location. If not already done, call
|
229
|
+
<a class="link" href="GtkSourceFile.html#gtk-source-file-set-location" title="gtk_source_file_set_location ()"><code class="function">gtk_source_file_set_location()</code></a> before calling this constructor. The previous
|
230
|
+
location is anyway not needed, because as soon as the file loading begins,
|
231
|
+
the <em class="parameter"><code>buffer</code></em>
|
232
|
+
is emptied.</p>
|
233
|
+
<div class="refsect3">
|
234
|
+
<a name="id-1.2.12.9.2.5"></a><h4>Parameters</h4>
|
235
|
+
<div class="informaltable"><table width="100%" border="0">
|
236
|
+
<colgroup>
|
237
|
+
<col width="150px" class="parameters_name">
|
238
|
+
<col class="parameters_description">
|
239
|
+
<col width="200px" class="parameters_annotations">
|
240
|
+
</colgroup>
|
241
|
+
<tbody>
|
242
|
+
<tr>
|
243
|
+
<td class="parameter_name"><p>buffer</p></td>
|
244
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to load the contents into.</p></td>
|
245
|
+
<td class="parameter_annotations"> </td>
|
246
|
+
</tr>
|
247
|
+
<tr>
|
248
|
+
<td class="parameter_name"><p>file</p></td>
|
249
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p></td>
|
250
|
+
<td class="parameter_annotations"> </td>
|
251
|
+
</tr>
|
252
|
+
</tbody>
|
253
|
+
</table></div>
|
254
|
+
</div>
|
255
|
+
<div class="refsect3">
|
256
|
+
<a name="id-1.2.12.9.2.6"></a><h4>Returns</h4>
|
257
|
+
<p> a new <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> object.</p>
|
258
|
+
<p></p>
|
259
|
+
</div>
|
260
|
+
<p class="since">Since 3.14</p>
|
261
|
+
</div>
|
262
|
+
<hr>
|
263
|
+
<div class="refsect2">
|
264
|
+
<a name="gtk-source-file-loader-new-from-stream"></a><h3>gtk_source_file_loader_new_from_stream ()</h3>
|
265
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="returnvalue">GtkSourceFileLoader</span></a> *
|
266
|
+
gtk_source_file_loader_new_from_stream
|
267
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
268
|
+
<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>,
|
269
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> *stream</code></em>);</pre>
|
270
|
+
<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>
|
271
|
+
.</p>
|
272
|
+
<div class="refsect3">
|
273
|
+
<a name="id-1.2.12.9.3.5"></a><h4>Parameters</h4>
|
274
|
+
<div class="informaltable"><table width="100%" border="0">
|
275
|
+
<colgroup>
|
276
|
+
<col width="150px" class="parameters_name">
|
277
|
+
<col class="parameters_description">
|
278
|
+
<col width="200px" class="parameters_annotations">
|
279
|
+
</colgroup>
|
280
|
+
<tbody>
|
281
|
+
<tr>
|
282
|
+
<td class="parameter_name"><p>buffer</p></td>
|
283
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to load the contents into.</p></td>
|
284
|
+
<td class="parameter_annotations"> </td>
|
285
|
+
</tr>
|
286
|
+
<tr>
|
287
|
+
<td class="parameter_name"><p>file</p></td>
|
288
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p></td>
|
289
|
+
<td class="parameter_annotations"> </td>
|
290
|
+
</tr>
|
291
|
+
<tr>
|
292
|
+
<td class="parameter_name"><p>stream</p></td>
|
293
|
+
<td class="parameter_description"><p>the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> to load, e.g. stdin.</p></td>
|
294
|
+
<td class="parameter_annotations"> </td>
|
295
|
+
</tr>
|
296
|
+
</tbody>
|
297
|
+
</table></div>
|
298
|
+
</div>
|
299
|
+
<div class="refsect3">
|
300
|
+
<a name="id-1.2.12.9.3.6"></a><h4>Returns</h4>
|
301
|
+
<p> a new <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> object.</p>
|
302
|
+
<p></p>
|
303
|
+
</div>
|
304
|
+
<p class="since">Since 3.14</p>
|
305
|
+
</div>
|
306
|
+
<hr>
|
307
|
+
<div class="refsect2">
|
308
|
+
<a name="gtk-source-file-loader-set-candidate-encodings"></a><h3>gtk_source_file_loader_set_candidate_encodings ()</h3>
|
309
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
310
|
+
gtk_source_file_loader_set_candidate_encodings
|
311
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>,
|
312
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *candidate_encodings</code></em>);</pre>
|
313
|
+
<p>Sets the candidate encodings for the file loading. The encodings are tried in
|
314
|
+
the same order as the list.</p>
|
315
|
+
<p>For convenience, <em class="parameter"><code>candidate_encodings</code></em>
|
316
|
+
can contain duplicates. Only the first
|
317
|
+
occurrence of a duplicated encoding is kept in the list.</p>
|
318
|
+
<p>By default the candidate encodings are (in that order):</p>
|
319
|
+
<div class="orderedlist"><ol class="orderedlist" type="1">
|
320
|
+
<li class="listitem"><p>If set, the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>'s encoding. See <a class="link" href="GtkSourceFile.html#gtk-source-file-get-encoding" title="gtk_source_file_get_encoding ()"><code class="function">gtk_source_file_get_encoding()</code></a>.</p></li>
|
321
|
+
<li class="listitem"><p>Depending on the current locale (language and country), a list of common
|
322
|
+
encodings are added. The UTF-8 encoding and the current locale encoding are
|
323
|
+
always present.</p></li>
|
324
|
+
</ol></div>
|
325
|
+
<div class="refsect3">
|
326
|
+
<a name="id-1.2.12.9.4.8"></a><h4>Parameters</h4>
|
327
|
+
<div class="informaltable"><table width="100%" border="0">
|
328
|
+
<colgroup>
|
329
|
+
<col width="150px" class="parameters_name">
|
330
|
+
<col class="parameters_description">
|
331
|
+
<col width="200px" class="parameters_annotations">
|
332
|
+
</colgroup>
|
333
|
+
<tbody>
|
334
|
+
<tr>
|
335
|
+
<td class="parameter_name"><p>loader</p></td>
|
336
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>.</p></td>
|
337
|
+
<td class="parameter_annotations"> </td>
|
338
|
+
</tr>
|
339
|
+
<tr>
|
340
|
+
<td class="parameter_name"><p>candidate_encodings</p></td>
|
341
|
+
<td class="parameter_description"><p> a list of
|
342
|
+
<a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="type">GtkSourceEncoding</span></a>s. </p></td>
|
343
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSourceEncoding]</span></td>
|
344
|
+
</tr>
|
345
|
+
</tbody>
|
346
|
+
</table></div>
|
347
|
+
</div>
|
348
|
+
<p class="since">Since 3.14</p>
|
349
|
+
</div>
|
350
|
+
<hr>
|
351
|
+
<div class="refsect2">
|
352
|
+
<a name="gtk-source-file-loader-get-buffer"></a><h3>gtk_source_file_loader_get_buffer ()</h3>
|
353
|
+
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
354
|
+
gtk_source_file_loader_get_buffer (<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>);</pre>
|
355
|
+
<div class="refsect3">
|
356
|
+
<a name="id-1.2.12.9.5.4"></a><h4>Parameters</h4>
|
357
|
+
<div class="informaltable"><table width="100%" border="0">
|
358
|
+
<colgroup>
|
359
|
+
<col width="150px" class="parameters_name">
|
360
|
+
<col class="parameters_description">
|
361
|
+
<col width="200px" class="parameters_annotations">
|
362
|
+
</colgroup>
|
363
|
+
<tbody><tr>
|
364
|
+
<td class="parameter_name"><p>loader</p></td>
|
365
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>.</p></td>
|
366
|
+
<td class="parameter_annotations"> </td>
|
367
|
+
</tr></tbody>
|
368
|
+
</table></div>
|
369
|
+
</div>
|
370
|
+
<div class="refsect3">
|
371
|
+
<a name="id-1.2.12.9.5.5"></a><h4>Returns</h4>
|
372
|
+
<p> the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to load the contents into. </p>
|
373
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
374
|
+
</div>
|
375
|
+
<p class="since">Since 3.14</p>
|
376
|
+
</div>
|
377
|
+
<hr>
|
378
|
+
<div class="refsect2">
|
379
|
+
<a name="gtk-source-file-loader-get-file"></a><h3>gtk_source_file_loader_get_file ()</h3>
|
380
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="returnvalue">GtkSourceFile</span></a> *
|
381
|
+
gtk_source_file_loader_get_file (<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>);</pre>
|
382
|
+
<div class="refsect3">
|
383
|
+
<a name="id-1.2.12.9.6.4"></a><h4>Parameters</h4>
|
384
|
+
<div class="informaltable"><table width="100%" border="0">
|
385
|
+
<colgroup>
|
386
|
+
<col width="150px" class="parameters_name">
|
387
|
+
<col class="parameters_description">
|
388
|
+
<col width="200px" class="parameters_annotations">
|
389
|
+
</colgroup>
|
390
|
+
<tbody><tr>
|
391
|
+
<td class="parameter_name"><p>loader</p></td>
|
392
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>.</p></td>
|
393
|
+
<td class="parameter_annotations"> </td>
|
394
|
+
</tr></tbody>
|
395
|
+
</table></div>
|
396
|
+
</div>
|
397
|
+
<div class="refsect3">
|
398
|
+
<a name="id-1.2.12.9.6.5"></a><h4>Returns</h4>
|
399
|
+
<p> the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>. </p>
|
400
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
401
|
+
</div>
|
402
|
+
<p class="since">Since 3.14</p>
|
403
|
+
</div>
|
404
|
+
<hr>
|
405
|
+
<div class="refsect2">
|
406
|
+
<a name="gtk-source-file-loader-get-location"></a><h3>gtk_source_file_loader_get_location ()</h3>
|
407
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="returnvalue">GFile</span></a> *
|
408
|
+
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>
|
409
|
+
<div class="refsect3">
|
410
|
+
<a name="id-1.2.12.9.7.4"></a><h4>Parameters</h4>
|
411
|
+
<div class="informaltable"><table width="100%" border="0">
|
412
|
+
<colgroup>
|
413
|
+
<col width="150px" class="parameters_name">
|
414
|
+
<col class="parameters_description">
|
415
|
+
<col width="200px" class="parameters_annotations">
|
416
|
+
</colgroup>
|
417
|
+
<tbody><tr>
|
418
|
+
<td class="parameter_name"><p>loader</p></td>
|
419
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>.</p></td>
|
420
|
+
<td class="parameter_annotations"> </td>
|
421
|
+
</tr></tbody>
|
422
|
+
</table></div>
|
423
|
+
</div>
|
424
|
+
<div class="refsect3">
|
425
|
+
<a name="id-1.2.12.9.7.5"></a><h4>Returns</h4>
|
426
|
+
<p> the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> to load, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an input stream is
|
427
|
+
used. </p>
|
428
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
429
|
+
</div>
|
430
|
+
<p class="since">Since 3.14</p>
|
431
|
+
</div>
|
432
|
+
<hr>
|
433
|
+
<div class="refsect2">
|
434
|
+
<a name="gtk-source-file-loader-get-input-stream"></a><h3>gtk_source_file_loader_get_input_stream ()</h3>
|
435
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="returnvalue">GInputStream</span></a> *
|
436
|
+
gtk_source_file_loader_get_input_stream
|
437
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>);</pre>
|
438
|
+
<div class="refsect3">
|
439
|
+
<a name="id-1.2.12.9.8.4"></a><h4>Parameters</h4>
|
440
|
+
<div class="informaltable"><table width="100%" border="0">
|
441
|
+
<colgroup>
|
442
|
+
<col width="150px" class="parameters_name">
|
443
|
+
<col class="parameters_description">
|
444
|
+
<col width="200px" class="parameters_annotations">
|
445
|
+
</colgroup>
|
446
|
+
<tbody><tr>
|
447
|
+
<td class="parameter_name"><p>loader</p></td>
|
448
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>.</p></td>
|
449
|
+
<td class="parameter_annotations"> </td>
|
450
|
+
</tr></tbody>
|
451
|
+
</table></div>
|
452
|
+
</div>
|
453
|
+
<div class="refsect3">
|
454
|
+
<a name="id-1.2.12.9.8.5"></a><h4>Returns</h4>
|
455
|
+
<p> the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> to load, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> is
|
456
|
+
used. </p>
|
457
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
458
|
+
</div>
|
459
|
+
<p class="since">Since 3.14</p>
|
460
|
+
</div>
|
461
|
+
<hr>
|
462
|
+
<div class="refsect2">
|
463
|
+
<a name="gtk-source-file-loader-load-async"></a><h3>gtk_source_file_loader_load_async ()</h3>
|
464
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
465
|
+
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>,
|
466
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> io_priority</code></em>,
|
467
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
468
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html#GFileProgressCallback"><span class="type">GFileProgressCallback</span></a> progress_callback</code></em>,
|
469
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> progress_callback_data</code></em>,
|
470
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> progress_callback_notify</code></em>,
|
471
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
472
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
473
|
+
<p>Loads asynchronously the file or input stream contents into the
|
474
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>. See the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> documentation to know how to use this
|
475
|
+
function.</p>
|
476
|
+
<div class="refsect3">
|
477
|
+
<a name="id-1.2.12.9.9.5"></a><h4>Parameters</h4>
|
478
|
+
<div class="informaltable"><table width="100%" border="0">
|
479
|
+
<colgroup>
|
480
|
+
<col width="150px" class="parameters_name">
|
481
|
+
<col class="parameters_description">
|
482
|
+
<col width="200px" class="parameters_annotations">
|
483
|
+
</colgroup>
|
484
|
+
<tbody>
|
485
|
+
<tr>
|
486
|
+
<td class="parameter_name"><p>loader</p></td>
|
487
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>.</p></td>
|
488
|
+
<td class="parameter_annotations"> </td>
|
489
|
+
</tr>
|
490
|
+
<tr>
|
491
|
+
<td class="parameter_name"><p>io_priority</p></td>
|
492
|
+
<td class="parameter_description"><p>the I/O priority of the request. E.g. <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-LOW:CAPS"><code class="literal">G_PRIORITY_LOW</code></a>,
|
493
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a> or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS"><code class="literal">G_PRIORITY_HIGH</code></a>.</p></td>
|
494
|
+
<td class="parameter_annotations"> </td>
|
495
|
+
</tr>
|
496
|
+
<tr>
|
497
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
498
|
+
<td class="parameter_description"><p> optional <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> object, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
499
|
+
<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>
|
500
|
+
</tr>
|
501
|
+
<tr>
|
502
|
+
<td class="parameter_name"><p>progress_callback</p></td>
|
503
|
+
<td class="parameter_description"><p> function to call back with
|
504
|
+
progress information, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if progress information is not needed. </p></td>
|
505
|
+
<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>
|
506
|
+
</tr>
|
507
|
+
<tr>
|
508
|
+
<td class="parameter_name"><p>progress_callback_data</p></td>
|
509
|
+
<td class="parameter_description"><p> user data to pass to <em class="parameter"><code>progress_callback</code></em>
|
510
|
+
. </p></td>
|
511
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
|
512
|
+
</tr>
|
513
|
+
<tr>
|
514
|
+
<td class="parameter_name"><p>progress_callback_notify</p></td>
|
515
|
+
<td class="parameter_description"><p> function to call on
|
516
|
+
<em class="parameter"><code>progress_callback_data</code></em>
|
517
|
+
when the <em class="parameter"><code>progress_callback</code></em>
|
518
|
+
is no longer needed, or
|
519
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
520
|
+
<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>
|
521
|
+
</tr>
|
522
|
+
<tr>
|
523
|
+
<td class="parameter_name"><p>callback</p></td>
|
524
|
+
<td class="parameter_description"><p> a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is
|
525
|
+
satisfied. </p></td>
|
526
|
+
<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>
|
527
|
+
</tr>
|
528
|
+
<tr>
|
529
|
+
<td class="parameter_name"><p>user_data</p></td>
|
530
|
+
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>callback</code></em>
|
531
|
+
.</p></td>
|
532
|
+
<td class="parameter_annotations"> </td>
|
533
|
+
</tr>
|
534
|
+
</tbody>
|
535
|
+
</table></div>
|
536
|
+
</div>
|
537
|
+
<p class="since">Since 3.14</p>
|
538
|
+
</div>
|
539
|
+
<hr>
|
540
|
+
<div class="refsect2">
|
541
|
+
<a name="gtk-source-file-loader-load-finish"></a><h3>gtk_source_file_loader_load_finish ()</h3>
|
542
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
543
|
+
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>,
|
544
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
545
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
546
|
+
<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>
|
547
|
+
<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
|
548
|
+
be updated: the location, the encoding, the newline type and the compression
|
549
|
+
type.</p>
|
550
|
+
<div class="refsect3">
|
551
|
+
<a name="id-1.2.12.9.10.6"></a><h4>Parameters</h4>
|
552
|
+
<div class="informaltable"><table width="100%" border="0">
|
553
|
+
<colgroup>
|
554
|
+
<col width="150px" class="parameters_name">
|
555
|
+
<col class="parameters_description">
|
556
|
+
<col width="200px" class="parameters_annotations">
|
557
|
+
</colgroup>
|
558
|
+
<tbody>
|
559
|
+
<tr>
|
560
|
+
<td class="parameter_name"><p>loader</p></td>
|
561
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>.</p></td>
|
562
|
+
<td class="parameter_annotations"> </td>
|
563
|
+
</tr>
|
564
|
+
<tr>
|
565
|
+
<td class="parameter_name"><p>result</p></td>
|
566
|
+
<td class="parameter_description"><p>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a>.</p></td>
|
567
|
+
<td class="parameter_annotations"> </td>
|
568
|
+
</tr>
|
569
|
+
<tr>
|
570
|
+
<td class="parameter_name"><p>error</p></td>
|
571
|
+
<td class="parameter_description"><p>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
572
|
+
<td class="parameter_annotations"> </td>
|
573
|
+
</tr>
|
574
|
+
</tbody>
|
575
|
+
</table></div>
|
576
|
+
</div>
|
577
|
+
<div class="refsect3">
|
578
|
+
<a name="id-1.2.12.9.10.7"></a><h4>Returns</h4>
|
579
|
+
<p> whether the contents has been loaded successfully.</p>
|
580
|
+
<p></p>
|
581
|
+
</div>
|
582
|
+
<p class="since">Since 3.14</p>
|
583
|
+
</div>
|
584
|
+
<hr>
|
585
|
+
<div class="refsect2">
|
586
|
+
<a name="gtk-source-file-loader-get-encoding"></a><h3>gtk_source_file_loader_get_encoding ()</h3>
|
587
|
+
<pre class="programlisting">const <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="returnvalue">GtkSourceEncoding</span></a> *
|
588
|
+
gtk_source_file_loader_get_encoding (<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>);</pre>
|
589
|
+
<div class="refsect3">
|
590
|
+
<a name="id-1.2.12.9.11.4"></a><h4>Parameters</h4>
|
591
|
+
<div class="informaltable"><table width="100%" border="0">
|
592
|
+
<colgroup>
|
593
|
+
<col width="150px" class="parameters_name">
|
594
|
+
<col class="parameters_description">
|
595
|
+
<col width="200px" class="parameters_annotations">
|
596
|
+
</colgroup>
|
597
|
+
<tbody><tr>
|
598
|
+
<td class="parameter_name"><p>loader</p></td>
|
599
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>.</p></td>
|
600
|
+
<td class="parameter_annotations"> </td>
|
601
|
+
</tr></tbody>
|
602
|
+
</table></div>
|
603
|
+
</div>
|
604
|
+
<div class="refsect3">
|
605
|
+
<a name="id-1.2.12.9.11.5"></a><h4>Returns</h4>
|
606
|
+
<p> the detected file encoding.</p>
|
607
|
+
<p></p>
|
608
|
+
</div>
|
609
|
+
<p class="since">Since 3.14</p>
|
610
|
+
</div>
|
611
|
+
<hr>
|
612
|
+
<div class="refsect2">
|
613
|
+
<a name="gtk-source-file-loader-get-newline-type"></a><h3>gtk_source_file_loader_get_newline_type ()</h3>
|
614
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType"><span class="returnvalue">GtkSourceNewlineType</span></a>
|
615
|
+
gtk_source_file_loader_get_newline_type
|
616
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>);</pre>
|
617
|
+
<div class="refsect3">
|
618
|
+
<a name="id-1.2.12.9.12.4"></a><h4>Parameters</h4>
|
619
|
+
<div class="informaltable"><table width="100%" border="0">
|
620
|
+
<colgroup>
|
621
|
+
<col width="150px" class="parameters_name">
|
622
|
+
<col class="parameters_description">
|
623
|
+
<col width="200px" class="parameters_annotations">
|
624
|
+
</colgroup>
|
625
|
+
<tbody><tr>
|
626
|
+
<td class="parameter_name"><p>loader</p></td>
|
627
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>.</p></td>
|
628
|
+
<td class="parameter_annotations"> </td>
|
629
|
+
</tr></tbody>
|
630
|
+
</table></div>
|
631
|
+
</div>
|
632
|
+
<div class="refsect3">
|
633
|
+
<a name="id-1.2.12.9.12.5"></a><h4>Returns</h4>
|
634
|
+
<p> the detected newline type.</p>
|
635
|
+
<p></p>
|
636
|
+
</div>
|
637
|
+
<p class="since">Since 3.14</p>
|
638
|
+
</div>
|
639
|
+
<hr>
|
640
|
+
<div class="refsect2">
|
641
|
+
<a name="gtk-source-file-loader-get-compression-type"></a><h3>gtk_source_file_loader_get_compression_type ()</h3>
|
642
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType"><span class="returnvalue">GtkSourceCompressionType</span></a>
|
643
|
+
gtk_source_file_loader_get_compression_type
|
644
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> *loader</code></em>);</pre>
|
645
|
+
<div class="refsect3">
|
646
|
+
<a name="id-1.2.12.9.13.4"></a><h4>Parameters</h4>
|
647
|
+
<div class="informaltable"><table width="100%" border="0">
|
648
|
+
<colgroup>
|
649
|
+
<col width="150px" class="parameters_name">
|
650
|
+
<col class="parameters_description">
|
651
|
+
<col width="200px" class="parameters_annotations">
|
652
|
+
</colgroup>
|
653
|
+
<tbody><tr>
|
654
|
+
<td class="parameter_name"><p>loader</p></td>
|
655
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>.</p></td>
|
656
|
+
<td class="parameter_annotations"> </td>
|
657
|
+
</tr></tbody>
|
658
|
+
</table></div>
|
659
|
+
</div>
|
660
|
+
<div class="refsect3">
|
661
|
+
<a name="id-1.2.12.9.13.5"></a><h4>Returns</h4>
|
662
|
+
<p> the detected compression type.</p>
|
663
|
+
<p></p>
|
664
|
+
</div>
|
665
|
+
<p class="since">Since 3.14</p>
|
666
|
+
</div>
|
667
|
+
</div>
|
668
|
+
<div class="refsect1">
|
669
|
+
<a name="GtkSourceFileLoader.other_details"></a><h2>Types and Values</h2>
|
670
|
+
<div class="refsect2">
|
671
|
+
<a name="GtkSourceFileLoader-struct"></a><h3>GtkSourceFileLoader</h3>
|
672
|
+
<pre class="programlisting">typedef struct _GtkSourceFileLoader GtkSourceFileLoader;</pre>
|
673
|
+
</div>
|
674
|
+
<hr>
|
675
|
+
<div class="refsect2">
|
676
|
+
<a name="GTK-SOURCE-FILE-LOADER-ERROR:CAPS"></a><h3>GTK_SOURCE_FILE_LOADER_ERROR</h3>
|
677
|
+
<pre class="programlisting">#define GTK_SOURCE_FILE_LOADER_ERROR gtk_source_file_loader_error_quark ()
|
678
|
+
</pre>
|
679
|
+
</div>
|
680
|
+
<hr>
|
681
|
+
<div class="refsect2">
|
682
|
+
<a name="GtkSourceFileLoaderError"></a><h3>enum GtkSourceFileLoaderError</h3>
|
683
|
+
<p>An error code used with the <a class="link" href="GtkSourceFileLoader.html#GTK-SOURCE-FILE-LOADER-ERROR:CAPS" title="GTK_SOURCE_FILE_LOADER_ERROR"><code class="literal">GTK_SOURCE_FILE_LOADER_ERROR</code></a> domain.</p>
|
684
|
+
<div class="refsect3">
|
685
|
+
<a name="id-1.2.12.10.4.4"></a><h4>Members</h4>
|
686
|
+
<div class="informaltable"><table width="100%" border="0">
|
687
|
+
<colgroup>
|
688
|
+
<col width="300px" class="enum_members_name">
|
689
|
+
<col class="enum_members_description">
|
690
|
+
<col width="200px" class="enum_members_annotations">
|
691
|
+
</colgroup>
|
692
|
+
<tbody>
|
693
|
+
<tr>
|
694
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-FILE-LOADER-ERROR-TOO-BIG:CAPS"></a>GTK_SOURCE_FILE_LOADER_ERROR_TOO_BIG</p></td>
|
695
|
+
<td class="enum_member_description">
|
696
|
+
<p>The file is too big.</p>
|
697
|
+
</td>
|
698
|
+
<td class="enum_member_annotations"> </td>
|
699
|
+
</tr>
|
700
|
+
<tr>
|
701
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-FILE-LOADER-ERROR-ENCODING-AUTO-DETECTION-FAILED:CAPS"></a>GTK_SOURCE_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED</p></td>
|
702
|
+
<td class="enum_member_description">
|
703
|
+
<p>It is not
|
704
|
+
possible to detect the encoding automatically.</p>
|
705
|
+
</td>
|
706
|
+
<td class="enum_member_annotations"> </td>
|
707
|
+
</tr>
|
708
|
+
<tr>
|
709
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-FILE-LOADER-ERROR-CONVERSION-FALLBACK:CAPS"></a>GTK_SOURCE_FILE_LOADER_ERROR_CONVERSION_FALLBACK</p></td>
|
710
|
+
<td class="enum_member_description">
|
711
|
+
<p>There was an encoding
|
712
|
+
conversion error and it was needed to use a fallback character.</p>
|
713
|
+
</td>
|
714
|
+
<td class="enum_member_annotations"> </td>
|
715
|
+
</tr>
|
716
|
+
</tbody>
|
717
|
+
</table></div>
|
718
|
+
</div>
|
719
|
+
</div>
|
720
|
+
</div>
|
721
|
+
<div class="refsect1">
|
722
|
+
<a name="GtkSourceFileLoader.property-details"></a><h2>Property Details</h2>
|
723
|
+
<div class="refsect2">
|
724
|
+
<a name="GtkSourceFileLoader--buffer"></a><h3>The <code class="literal">“buffer”</code> property</h3>
|
725
|
+
<pre class="programlisting"> “buffer” <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *</pre>
|
726
|
+
<p>The <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to load the contents into. The
|
727
|
+
<a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> object has a weak reference to the buffer.</p>
|
728
|
+
<p>Flags: Read / Write / Construct Only</p>
|
729
|
+
<p class="since">Since 3.14</p>
|
730
|
+
</div>
|
731
|
+
<hr>
|
732
|
+
<div class="refsect2">
|
733
|
+
<a name="GtkSourceFileLoader--file"></a><h3>The <code class="literal">“file”</code> property</h3>
|
734
|
+
<pre class="programlisting"> “file” <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *</pre>
|
735
|
+
<p>The <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>. The <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> object has a weak
|
736
|
+
reference to the file.</p>
|
737
|
+
<p>Flags: Read / Write / Construct Only</p>
|
738
|
+
<p class="since">Since 3.14</p>
|
739
|
+
</div>
|
740
|
+
<hr>
|
741
|
+
<div class="refsect2">
|
742
|
+
<a name="GtkSourceFileLoader--input-stream"></a><h3>The <code class="literal">“input-stream”</code> property</h3>
|
743
|
+
<pre class="programlisting"> “input-stream” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> *</pre>
|
744
|
+
<p>The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> to load. Useful for reading stdin. If this property
|
745
|
+
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>
|
746
|
+
<p>Flags: Read / Write / Construct Only</p>
|
747
|
+
<p class="since">Since 3.14</p>
|
748
|
+
</div>
|
749
|
+
<hr>
|
750
|
+
<div class="refsect2">
|
751
|
+
<a name="GtkSourceFileLoader--location"></a><h3>The <code class="literal">“location”</code> property</h3>
|
752
|
+
<pre class="programlisting"> “location” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *</pre>
|
753
|
+
<p>The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><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
|
754
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/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
|
755
|
+
construction time.</p>
|
756
|
+
<p>Flags: Read / Write / Construct Only</p>
|
757
|
+
<p class="since">Since 3.14</p>
|
758
|
+
</div>
|
759
|
+
</div>
|
760
|
+
<div class="refsect1">
|
761
|
+
<a name="GtkSourceFileLoader.see-also"></a><h2>See Also</h2>
|
762
|
+
<p><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>, <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a></p>
|
763
|
+
</div>
|
764
|
+
</div>
|
765
|
+
<div class="footer">
|
766
|
+
<hr>
|
767
|
+
Generated by GTK-Doc V1.21.1</div>
|
768
|
+
</body>
|
769
|
+
</html>
|