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,563 @@
|
|
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: GtkSourceFile</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="GtkSourceEncoding.html" title="GtkSourceEncoding">
|
10
|
+
<link rel="next" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader">
|
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="#GtkSourceFile.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceFile.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceFile.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="GtkSourceEncoding.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="GtkSourceFileLoader.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="GtkSourceFile"></a><div class="titlepage"></div>
|
29
|
+
<div class="refnamediv"><table width="100%"><tr>
|
30
|
+
<td valign="top">
|
31
|
+
<h2><span class="refentrytitle"><a name="GtkSourceFile.top_of_page"></a>GtkSourceFile</span></h2>
|
32
|
+
<p>GtkSourceFile — On-disk representation of 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="GtkSourceFile.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 href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMountOperation.html"><span class="returnvalue">GMountOperation</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<span class="c_punctuation">(</span><a class="link" href="GtkSourceFile.html#GtkSourceMountOperationFactory" title="GtkSourceMountOperationFactory ()">*GtkSourceMountOperationFactory</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="returnvalue">GtkSourceFile</span></a> *
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="GtkSourceFile.html#gtk-source-file-new" title="gtk_source_file_new ()">gtk_source_file_new</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<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> *
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="GtkSourceFile.html#gtk-source-file-get-location" title="gtk_source_file_get_location ()">gtk_source_file_get_location</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<span class="returnvalue">void</span>
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="GtkSourceFile.html#gtk-source-file-set-location" title="gtk_source_file_set_location ()">gtk_source_file_set_location</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">const <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="returnvalue">GtkSourceEncoding</span></a> *
|
78
|
+
</td>
|
79
|
+
<td class="function_name">
|
80
|
+
<a class="link" href="GtkSourceFile.html#gtk-source-file-get-encoding" title="gtk_source_file_get_encoding ()">gtk_source_file_get_encoding</a> <span class="c_punctuation">()</span>
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<td class="function_type">
|
85
|
+
<a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType"><span class="returnvalue">GtkSourceNewlineType</span></a>
|
86
|
+
</td>
|
87
|
+
<td class="function_name">
|
88
|
+
<a class="link" href="GtkSourceFile.html#gtk-source-file-get-newline-type" title="gtk_source_file_get_newline_type ()">gtk_source_file_get_newline_type</a> <span class="c_punctuation">()</span>
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
<tr>
|
92
|
+
<td class="function_type">
|
93
|
+
<a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType"><span class="returnvalue">GtkSourceCompressionType</span></a>
|
94
|
+
</td>
|
95
|
+
<td class="function_name">
|
96
|
+
<a class="link" href="GtkSourceFile.html#gtk-source-file-get-compression-type" title="gtk_source_file_get_compression_type ()">gtk_source_file_get_compression_type</a> <span class="c_punctuation">()</span>
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<td class="function_type">
|
101
|
+
<span class="returnvalue">void</span>
|
102
|
+
</td>
|
103
|
+
<td class="function_name">
|
104
|
+
<a class="link" href="GtkSourceFile.html#gtk-source-file-set-mount-operation-factory" title="gtk_source_file_set_mount_operation_factory ()">gtk_source_file_set_mount_operation_factory</a> <span class="c_punctuation">()</span>
|
105
|
+
</td>
|
106
|
+
</tr>
|
107
|
+
</tbody>
|
108
|
+
</table></div>
|
109
|
+
</div>
|
110
|
+
<div class="refsect1">
|
111
|
+
<a name="GtkSourceFile.properties"></a><h2>Properties</h2>
|
112
|
+
<div class="informaltable"><table border="0">
|
113
|
+
<colgroup>
|
114
|
+
<col width="150px" class="properties_type">
|
115
|
+
<col width="300px" class="properties_name">
|
116
|
+
<col width="200px" class="properties_flags">
|
117
|
+
</colgroup>
|
118
|
+
<tbody>
|
119
|
+
<tr>
|
120
|
+
<td class="property_type"><a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType"><span class="type">GtkSourceCompressionType</span></a></td>
|
121
|
+
<td class="property_name"><a class="link" href="GtkSourceFile.html#GtkSourceFile--compression-type" title="The “compression-type” property">compression-type</a></td>
|
122
|
+
<td class="property_flags">Read</td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td class="property_type">
|
126
|
+
<a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="type">GtkSourceEncoding</span></a> *</td>
|
127
|
+
<td class="property_name"><a class="link" href="GtkSourceFile.html#GtkSourceFile--encoding" title="The “encoding” property">encoding</a></td>
|
128
|
+
<td class="property_flags">Read</td>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td class="property_type">
|
132
|
+
<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>
|
133
|
+
<td class="property_name"><a class="link" href="GtkSourceFile.html#GtkSourceFile--location" title="The “location” property">location</a></td>
|
134
|
+
<td class="property_flags">Read / Write</td>
|
135
|
+
</tr>
|
136
|
+
<tr>
|
137
|
+
<td class="property_type"><a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType"><span class="type">GtkSourceNewlineType</span></a></td>
|
138
|
+
<td class="property_name"><a class="link" href="GtkSourceFile.html#GtkSourceFile--newline-type" title="The “newline-type” property">newline-type</a></td>
|
139
|
+
<td class="property_flags">Read</td>
|
140
|
+
</tr>
|
141
|
+
</tbody>
|
142
|
+
</table></div>
|
143
|
+
</div>
|
144
|
+
<div class="refsect1">
|
145
|
+
<a name="GtkSourceFile.other"></a><h2>Types and Values</h2>
|
146
|
+
<div class="informaltable"><table width="100%" border="0">
|
147
|
+
<colgroup>
|
148
|
+
<col width="150px" class="name">
|
149
|
+
<col class="description">
|
150
|
+
</colgroup>
|
151
|
+
<tbody>
|
152
|
+
<tr>
|
153
|
+
<td class="datatype_keyword"> </td>
|
154
|
+
<td class="function_name"><a class="link" href="GtkSourceFile.html#GtkSourceFile-struct" title="GtkSourceFile">GtkSourceFile</a></td>
|
155
|
+
</tr>
|
156
|
+
<tr>
|
157
|
+
<td class="datatype_keyword">enum</td>
|
158
|
+
<td class="function_name"><a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType">GtkSourceNewlineType</a></td>
|
159
|
+
</tr>
|
160
|
+
<tr>
|
161
|
+
<td class="define_keyword">#define</td>
|
162
|
+
<td class="function_name"><a class="link" href="GtkSourceFile.html#GTK-SOURCE-NEWLINE-TYPE-DEFAULT:CAPS" title="GTK_SOURCE_NEWLINE_TYPE_DEFAULT">GTK_SOURCE_NEWLINE_TYPE_DEFAULT</a></td>
|
163
|
+
</tr>
|
164
|
+
<tr>
|
165
|
+
<td class="datatype_keyword">enum</td>
|
166
|
+
<td class="function_name"><a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType">GtkSourceCompressionType</a></td>
|
167
|
+
</tr>
|
168
|
+
</tbody>
|
169
|
+
</table></div>
|
170
|
+
</div>
|
171
|
+
<div class="refsect1">
|
172
|
+
<a name="GtkSourceFile.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
173
|
+
<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>
|
174
|
+
<span class="lineart">╰──</span> GtkSourceFile
|
175
|
+
</pre>
|
176
|
+
</div>
|
177
|
+
<div class="refsect1">
|
178
|
+
<a name="GtkSourceFile.includes"></a><h2>Includes</h2>
|
179
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
180
|
+
</pre>
|
181
|
+
</div>
|
182
|
+
<div class="refsect1">
|
183
|
+
<a name="GtkSourceFile.description"></a><h2>Description</h2>
|
184
|
+
<p>A <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> object is the on-disk representation of a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.
|
185
|
+
With a <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>, you can create and configure a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>
|
186
|
+
and <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> which take by default the values of the
|
187
|
+
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> properties (except for the file loader which auto-detect some
|
188
|
+
properties). On a successful load or save operation, the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>
|
189
|
+
properties are updated. If an operation fails, the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> properties
|
190
|
+
have still the previous valid values.</p>
|
191
|
+
</div>
|
192
|
+
<div class="refsect1">
|
193
|
+
<a name="GtkSourceFile.functions_details"></a><h2>Functions</h2>
|
194
|
+
<div class="refsect2">
|
195
|
+
<a name="GtkSourceMountOperationFactory"></a><h3>GtkSourceMountOperationFactory ()</h3>
|
196
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMountOperation.html"><span class="returnvalue">GMountOperation</span></a> *
|
197
|
+
<span class="c_punctuation">(</span>*GtkSourceMountOperationFactory<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>,
|
198
|
+
<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> userdata</code></em>);</pre>
|
199
|
+
<p>Type definition for a function that will be called to create a
|
200
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMountOperation.html"><span class="type">GMountOperation</span></a>. This is useful for creating a <a href="http://developer.gnome.org/gtk2/gtk3-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a>.</p>
|
201
|
+
<div class="refsect3">
|
202
|
+
<a name="id-1.2.11.9.2.5"></a><h4>Parameters</h4>
|
203
|
+
<div class="informaltable"><table width="100%" border="0">
|
204
|
+
<colgroup>
|
205
|
+
<col width="150px" class="parameters_name">
|
206
|
+
<col class="parameters_description">
|
207
|
+
<col width="200px" class="parameters_annotations">
|
208
|
+
</colgroup>
|
209
|
+
<tbody>
|
210
|
+
<tr>
|
211
|
+
<td class="parameter_name"><p>file</p></td>
|
212
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p></td>
|
213
|
+
<td class="parameter_annotations"> </td>
|
214
|
+
</tr>
|
215
|
+
<tr>
|
216
|
+
<td class="parameter_name"><p>userdata</p></td>
|
217
|
+
<td class="parameter_description"><p>user data</p></td>
|
218
|
+
<td class="parameter_annotations"> </td>
|
219
|
+
</tr>
|
220
|
+
</tbody>
|
221
|
+
</table></div>
|
222
|
+
</div>
|
223
|
+
<p class="since">Since 3.14</p>
|
224
|
+
</div>
|
225
|
+
<hr>
|
226
|
+
<div class="refsect2">
|
227
|
+
<a name="gtk-source-file-new"></a><h3>gtk_source_file_new ()</h3>
|
228
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="returnvalue">GtkSourceFile</span></a> *
|
229
|
+
gtk_source_file_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
230
|
+
<div class="refsect3">
|
231
|
+
<a name="id-1.2.11.9.3.4"></a><h4>Returns</h4>
|
232
|
+
<p> a new <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> object.</p>
|
233
|
+
<p></p>
|
234
|
+
</div>
|
235
|
+
<p class="since">Since 3.14</p>
|
236
|
+
</div>
|
237
|
+
<hr>
|
238
|
+
<div class="refsect2">
|
239
|
+
<a name="gtk-source-file-get-location"></a><h3>gtk_source_file_get_location ()</h3>
|
240
|
+
<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> *
|
241
|
+
gtk_source_file_get_location (<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>);</pre>
|
242
|
+
<div class="refsect3">
|
243
|
+
<a name="id-1.2.11.9.4.4"></a><h4>Parameters</h4>
|
244
|
+
<div class="informaltable"><table width="100%" border="0">
|
245
|
+
<colgroup>
|
246
|
+
<col width="150px" class="parameters_name">
|
247
|
+
<col class="parameters_description">
|
248
|
+
<col width="200px" class="parameters_annotations">
|
249
|
+
</colgroup>
|
250
|
+
<tbody><tr>
|
251
|
+
<td class="parameter_name"><p>file</p></td>
|
252
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p></td>
|
253
|
+
<td class="parameter_annotations"> </td>
|
254
|
+
</tr></tbody>
|
255
|
+
</table></div>
|
256
|
+
</div>
|
257
|
+
<div class="refsect3">
|
258
|
+
<a name="id-1.2.11.9.4.5"></a><h4>Returns</h4>
|
259
|
+
<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>. </p>
|
260
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
261
|
+
</div>
|
262
|
+
<p class="since">Since 3.14</p>
|
263
|
+
</div>
|
264
|
+
<hr>
|
265
|
+
<div class="refsect2">
|
266
|
+
<a name="gtk-source-file-set-location"></a><h3>gtk_source_file_set_location ()</h3>
|
267
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
268
|
+
gtk_source_file_set_location (<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/GFile.html"><span class="type">GFile</span></a> *location</code></em>);</pre>
|
270
|
+
<p>Sets the location.</p>
|
271
|
+
<div class="refsect3">
|
272
|
+
<a name="id-1.2.11.9.5.5"></a><h4>Parameters</h4>
|
273
|
+
<div class="informaltable"><table width="100%" border="0">
|
274
|
+
<colgroup>
|
275
|
+
<col width="150px" class="parameters_name">
|
276
|
+
<col class="parameters_description">
|
277
|
+
<col width="200px" class="parameters_annotations">
|
278
|
+
</colgroup>
|
279
|
+
<tbody>
|
280
|
+
<tr>
|
281
|
+
<td class="parameter_name"><p>file</p></td>
|
282
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p></td>
|
283
|
+
<td class="parameter_annotations"> </td>
|
284
|
+
</tr>
|
285
|
+
<tr>
|
286
|
+
<td class="parameter_name"><p>location</p></td>
|
287
|
+
<td class="parameter_description"><p> the new <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 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>
|
288
|
+
<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>
|
289
|
+
</tr>
|
290
|
+
</tbody>
|
291
|
+
</table></div>
|
292
|
+
</div>
|
293
|
+
<p class="since">Since 3.14</p>
|
294
|
+
</div>
|
295
|
+
<hr>
|
296
|
+
<div class="refsect2">
|
297
|
+
<a name="gtk-source-file-get-encoding"></a><h3>gtk_source_file_get_encoding ()</h3>
|
298
|
+
<pre class="programlisting">const <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="returnvalue">GtkSourceEncoding</span></a> *
|
299
|
+
gtk_source_file_get_encoding (<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>);</pre>
|
300
|
+
<p>The encoding is initially <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>. After a successful file loading or saving
|
301
|
+
operation, the encoding is non-<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>
|
302
|
+
<div class="refsect3">
|
303
|
+
<a name="id-1.2.11.9.6.5"></a><h4>Parameters</h4>
|
304
|
+
<div class="informaltable"><table width="100%" border="0">
|
305
|
+
<colgroup>
|
306
|
+
<col width="150px" class="parameters_name">
|
307
|
+
<col class="parameters_description">
|
308
|
+
<col width="200px" class="parameters_annotations">
|
309
|
+
</colgroup>
|
310
|
+
<tbody><tr>
|
311
|
+
<td class="parameter_name"><p>file</p></td>
|
312
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p></td>
|
313
|
+
<td class="parameter_annotations"> </td>
|
314
|
+
</tr></tbody>
|
315
|
+
</table></div>
|
316
|
+
</div>
|
317
|
+
<div class="refsect3">
|
318
|
+
<a name="id-1.2.11.9.6.6"></a><h4>Returns</h4>
|
319
|
+
<p> the character encoding.</p>
|
320
|
+
<p></p>
|
321
|
+
</div>
|
322
|
+
<p class="since">Since 3.14</p>
|
323
|
+
</div>
|
324
|
+
<hr>
|
325
|
+
<div class="refsect2">
|
326
|
+
<a name="gtk-source-file-get-newline-type"></a><h3>gtk_source_file_get_newline_type ()</h3>
|
327
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType"><span class="returnvalue">GtkSourceNewlineType</span></a>
|
328
|
+
gtk_source_file_get_newline_type (<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>);</pre>
|
329
|
+
<div class="refsect3">
|
330
|
+
<a name="id-1.2.11.9.7.4"></a><h4>Parameters</h4>
|
331
|
+
<div class="informaltable"><table width="100%" border="0">
|
332
|
+
<colgroup>
|
333
|
+
<col width="150px" class="parameters_name">
|
334
|
+
<col class="parameters_description">
|
335
|
+
<col width="200px" class="parameters_annotations">
|
336
|
+
</colgroup>
|
337
|
+
<tbody><tr>
|
338
|
+
<td class="parameter_name"><p>file</p></td>
|
339
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p></td>
|
340
|
+
<td class="parameter_annotations"> </td>
|
341
|
+
</tr></tbody>
|
342
|
+
</table></div>
|
343
|
+
</div>
|
344
|
+
<div class="refsect3">
|
345
|
+
<a name="id-1.2.11.9.7.5"></a><h4>Returns</h4>
|
346
|
+
<p> the newline type.</p>
|
347
|
+
<p></p>
|
348
|
+
</div>
|
349
|
+
<p class="since">Since 3.14</p>
|
350
|
+
</div>
|
351
|
+
<hr>
|
352
|
+
<div class="refsect2">
|
353
|
+
<a name="gtk-source-file-get-compression-type"></a><h3>gtk_source_file_get_compression_type ()</h3>
|
354
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType"><span class="returnvalue">GtkSourceCompressionType</span></a>
|
355
|
+
gtk_source_file_get_compression_type (<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>);</pre>
|
356
|
+
<div class="refsect3">
|
357
|
+
<a name="id-1.2.11.9.8.4"></a><h4>Parameters</h4>
|
358
|
+
<div class="informaltable"><table width="100%" border="0">
|
359
|
+
<colgroup>
|
360
|
+
<col width="150px" class="parameters_name">
|
361
|
+
<col class="parameters_description">
|
362
|
+
<col width="200px" class="parameters_annotations">
|
363
|
+
</colgroup>
|
364
|
+
<tbody><tr>
|
365
|
+
<td class="parameter_name"><p>file</p></td>
|
366
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p></td>
|
367
|
+
<td class="parameter_annotations"> </td>
|
368
|
+
</tr></tbody>
|
369
|
+
</table></div>
|
370
|
+
</div>
|
371
|
+
<div class="refsect3">
|
372
|
+
<a name="id-1.2.11.9.8.5"></a><h4>Returns</h4>
|
373
|
+
<p> the compression type.</p>
|
374
|
+
<p></p>
|
375
|
+
</div>
|
376
|
+
<p class="since">Since 3.14</p>
|
377
|
+
</div>
|
378
|
+
<hr>
|
379
|
+
<div class="refsect2">
|
380
|
+
<a name="gtk-source-file-set-mount-operation-factory"></a><h3>gtk_source_file_set_mount_operation_factory ()</h3>
|
381
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
382
|
+
gtk_source_file_set_mount_operation_factory
|
383
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>,
|
384
|
+
<em class="parameter"><code><a class="link" href="GtkSourceFile.html#GtkSourceMountOperationFactory" title="GtkSourceMountOperationFactory ()"><span class="type">GtkSourceMountOperationFactory</span></a> callback</code></em>,
|
385
|
+
<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>,
|
386
|
+
<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> notify</code></em>);</pre>
|
387
|
+
<p>Sets a <a class="link" href="GtkSourceFile.html#GtkSourceMountOperationFactory" title="GtkSourceMountOperationFactory ()"><span class="type">GtkSourceMountOperationFactory</span></a> function that will be called when a
|
388
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMountOperation.html"><span class="type">GMountOperation</span></a> must be created. This is useful for creating a
|
389
|
+
<a href="http://developer.gnome.org/gtk2/gtk3-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> with the parent <a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a>.</p>
|
390
|
+
<p>If a mount operation factory isn't set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMountOperation.html#g-mount-operation-new"><code class="function">g_mount_operation_new()</code></a> will be
|
391
|
+
called.</p>
|
392
|
+
<div class="refsect3">
|
393
|
+
<a name="id-1.2.11.9.9.6"></a><h4>Parameters</h4>
|
394
|
+
<div class="informaltable"><table width="100%" border="0">
|
395
|
+
<colgroup>
|
396
|
+
<col width="150px" class="parameters_name">
|
397
|
+
<col class="parameters_description">
|
398
|
+
<col width="200px" class="parameters_annotations">
|
399
|
+
</colgroup>
|
400
|
+
<tbody>
|
401
|
+
<tr>
|
402
|
+
<td class="parameter_name"><p>file</p></td>
|
403
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p></td>
|
404
|
+
<td class="parameter_annotations"> </td>
|
405
|
+
</tr>
|
406
|
+
<tr>
|
407
|
+
<td class="parameter_name"><p>callback</p></td>
|
408
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceFile.html#GtkSourceMountOperationFactory" title="GtkSourceMountOperationFactory ()"><span class="type">GtkSourceMountOperationFactory</span></a> to call when a
|
409
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GMountOperation.html"><span class="type">GMountOperation</span></a> is needed. </p></td>
|
410
|
+
<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>]</span></td>
|
411
|
+
</tr>
|
412
|
+
<tr>
|
413
|
+
<td class="parameter_name"><p>user_data</p></td>
|
414
|
+
<td class="parameter_description"><p> the data to pass to the <em class="parameter"><code>callback</code></em>
|
415
|
+
function. </p></td>
|
416
|
+
<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>
|
417
|
+
</tr>
|
418
|
+
<tr>
|
419
|
+
<td class="parameter_name"><p>notify</p></td>
|
420
|
+
<td class="parameter_description"><p> function to call on <em class="parameter"><code>user_data</code></em>
|
421
|
+
when the <em class="parameter"><code>callback</code></em>
|
422
|
+
is no
|
423
|
+
longer needed, 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>
|
424
|
+
<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>
|
425
|
+
</tr>
|
426
|
+
</tbody>
|
427
|
+
</table></div>
|
428
|
+
</div>
|
429
|
+
<p class="since">Since 3.14</p>
|
430
|
+
</div>
|
431
|
+
</div>
|
432
|
+
<div class="refsect1">
|
433
|
+
<a name="GtkSourceFile.other_details"></a><h2>Types and Values</h2>
|
434
|
+
<div class="refsect2">
|
435
|
+
<a name="GtkSourceFile-struct"></a><h3>GtkSourceFile</h3>
|
436
|
+
<pre class="programlisting">typedef struct _GtkSourceFile GtkSourceFile;</pre>
|
437
|
+
</div>
|
438
|
+
<hr>
|
439
|
+
<div class="refsect2">
|
440
|
+
<a name="GtkSourceNewlineType"></a><h3>enum GtkSourceNewlineType</h3>
|
441
|
+
<div class="refsect3">
|
442
|
+
<a name="id-1.2.11.10.3.3"></a><h4>Members</h4>
|
443
|
+
<div class="informaltable"><table width="100%" border="0">
|
444
|
+
<colgroup>
|
445
|
+
<col width="300px" class="enum_members_name">
|
446
|
+
<col class="enum_members_description">
|
447
|
+
<col width="200px" class="enum_members_annotations">
|
448
|
+
</colgroup>
|
449
|
+
<tbody>
|
450
|
+
<tr>
|
451
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-NEWLINE-TYPE-LF:CAPS"></a>GTK_SOURCE_NEWLINE_TYPE_LF</p></td>
|
452
|
+
<td class="enum_member_description">
|
453
|
+
<p>line feed, used on UNIX.</p>
|
454
|
+
</td>
|
455
|
+
<td class="enum_member_annotations"> </td>
|
456
|
+
</tr>
|
457
|
+
<tr>
|
458
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-NEWLINE-TYPE-CR:CAPS"></a>GTK_SOURCE_NEWLINE_TYPE_CR</p></td>
|
459
|
+
<td class="enum_member_description">
|
460
|
+
<p>carriage return, used on Mac.</p>
|
461
|
+
</td>
|
462
|
+
<td class="enum_member_annotations"> </td>
|
463
|
+
</tr>
|
464
|
+
<tr>
|
465
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-NEWLINE-TYPE-CR-LF:CAPS"></a>GTK_SOURCE_NEWLINE_TYPE_CR_LF</p></td>
|
466
|
+
<td class="enum_member_description">
|
467
|
+
<p>carriage return followed by a line feed, used
|
468
|
+
on Windows.</p>
|
469
|
+
</td>
|
470
|
+
<td class="enum_member_annotations"> </td>
|
471
|
+
</tr>
|
472
|
+
</tbody>
|
473
|
+
</table></div>
|
474
|
+
</div>
|
475
|
+
<p class="since">Since 3.14</p>
|
476
|
+
</div>
|
477
|
+
<hr>
|
478
|
+
<div class="refsect2">
|
479
|
+
<a name="GTK-SOURCE-NEWLINE-TYPE-DEFAULT:CAPS"></a><h3>GTK_SOURCE_NEWLINE_TYPE_DEFAULT</h3>
|
480
|
+
<pre class="programlisting">#define GTK_SOURCE_NEWLINE_TYPE_DEFAULT GTK_SOURCE_NEWLINE_TYPE_CR_LF
|
481
|
+
</pre>
|
482
|
+
<p>The default newline type on the current OS.</p>
|
483
|
+
<p class="since">Since 3.14</p>
|
484
|
+
</div>
|
485
|
+
<hr>
|
486
|
+
<div class="refsect2">
|
487
|
+
<a name="GtkSourceCompressionType"></a><h3>enum GtkSourceCompressionType</h3>
|
488
|
+
<div class="refsect3">
|
489
|
+
<a name="id-1.2.11.10.5.3"></a><h4>Members</h4>
|
490
|
+
<div class="informaltable"><table width="100%" border="0">
|
491
|
+
<colgroup>
|
492
|
+
<col width="300px" class="enum_members_name">
|
493
|
+
<col class="enum_members_description">
|
494
|
+
<col width="200px" class="enum_members_annotations">
|
495
|
+
</colgroup>
|
496
|
+
<tbody>
|
497
|
+
<tr>
|
498
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPRESSION-TYPE-NONE:CAPS"></a>GTK_SOURCE_COMPRESSION_TYPE_NONE</p></td>
|
499
|
+
<td class="enum_member_description">
|
500
|
+
<p>plain text.</p>
|
501
|
+
</td>
|
502
|
+
<td class="enum_member_annotations"> </td>
|
503
|
+
</tr>
|
504
|
+
<tr>
|
505
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPRESSION-TYPE-GZIP:CAPS"></a>GTK_SOURCE_COMPRESSION_TYPE_GZIP</p></td>
|
506
|
+
<td class="enum_member_description">
|
507
|
+
<p>gzip compression.</p>
|
508
|
+
</td>
|
509
|
+
<td class="enum_member_annotations"> </td>
|
510
|
+
</tr>
|
511
|
+
</tbody>
|
512
|
+
</table></div>
|
513
|
+
</div>
|
514
|
+
<p class="since">Since 3.14</p>
|
515
|
+
</div>
|
516
|
+
</div>
|
517
|
+
<div class="refsect1">
|
518
|
+
<a name="GtkSourceFile.property-details"></a><h2>Property Details</h2>
|
519
|
+
<div class="refsect2">
|
520
|
+
<a name="GtkSourceFile--compression-type"></a><h3>The <code class="literal">“compression-type”</code> property</h3>
|
521
|
+
<pre class="programlisting"> “compression-type” <a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType"><span class="type">GtkSourceCompressionType</span></a></pre>
|
522
|
+
<p>The compression type.</p>
|
523
|
+
<p>Flags: Read</p>
|
524
|
+
<p>Default value: GTK_SOURCE_COMPRESSION_TYPE_NONE</p>
|
525
|
+
<p class="since">Since 3.14</p>
|
526
|
+
</div>
|
527
|
+
<hr>
|
528
|
+
<div class="refsect2">
|
529
|
+
<a name="GtkSourceFile--encoding"></a><h3>The <code class="literal">“encoding”</code> property</h3>
|
530
|
+
<pre class="programlisting"> “encoding” <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="type">GtkSourceEncoding</span></a> *</pre>
|
531
|
+
<p>The character encoding, initially <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>. After a successful file
|
532
|
+
loading or saving operation, the encoding is non-<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>
|
533
|
+
<p>Flags: Read</p>
|
534
|
+
<p class="since">Since 3.14</p>
|
535
|
+
</div>
|
536
|
+
<hr>
|
537
|
+
<div class="refsect2">
|
538
|
+
<a name="GtkSourceFile--location"></a><h3>The <code class="literal">“location”</code> property</h3>
|
539
|
+
<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>
|
540
|
+
<p>The location.</p>
|
541
|
+
<p>Flags: Read / Write</p>
|
542
|
+
<p class="since">Since 3.14</p>
|
543
|
+
</div>
|
544
|
+
<hr>
|
545
|
+
<div class="refsect2">
|
546
|
+
<a name="GtkSourceFile--newline-type"></a><h3>The <code class="literal">“newline-type”</code> property</h3>
|
547
|
+
<pre class="programlisting"> “newline-type” <a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType"><span class="type">GtkSourceNewlineType</span></a></pre>
|
548
|
+
<p>The line ending type.</p>
|
549
|
+
<p>Flags: Read</p>
|
550
|
+
<p>Default value: GTK_SOURCE_NEWLINE_TYPE_LF</p>
|
551
|
+
<p class="since">Since 3.14</p>
|
552
|
+
</div>
|
553
|
+
</div>
|
554
|
+
<div class="refsect1">
|
555
|
+
<a name="GtkSourceFile.see-also"></a><h2>See Also</h2>
|
556
|
+
<p><a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a>, <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a></p>
|
557
|
+
</div>
|
558
|
+
</div>
|
559
|
+
<div class="footer">
|
560
|
+
<hr>
|
561
|
+
Generated by GTK-Doc V1.21.1</div>
|
562
|
+
</body>
|
563
|
+
</html>
|