gtksourceview3 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +59 -0
- data/ext/gtksourceview3/depend +6 -0
- data/ext/gtksourceview3/extconf.rb +67 -0
- data/ext/gtksourceview3/gtksourceview3.def +2 -0
- data/ext/gtksourceview3/rbgtksource.c +53 -0
- data/ext/gtksourceview3/rbgtksourcebuffer.c +318 -0
- data/ext/gtksourceview3/rbgtksourcegutter.c +82 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +143 -0
- data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +42 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +40 -0
- data/ext/gtksourceview3/rbgtksourcelanguage.c +124 -0
- data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +114 -0
- data/ext/gtksourceview3/rbgtksourcemark.c +85 -0
- data/ext/gtksourceview3/rbgtksourcemarkattributes.c +77 -0
- data/ext/gtksourceview3/rbgtksourceprintcompositor.c +171 -0
- data/ext/gtksourceview3/rbgtksourcestyle.c +42 -0
- data/ext/gtksourceview3/rbgtksourcestylescheme.c +72 -0
- data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +140 -0
- data/ext/gtksourceview3/rbgtksourceundomanager.c +83 -0
- data/ext/gtksourceview3/rbgtksourceview.c +94 -0
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +50 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +53 -0
- data/extconf.rb +49 -0
- data/lib/2.0/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
- data/lib/2.2/gtksourceview3.so +0 -0
- data/lib/gtksourceview3.rb +20 -0
- data/lib/gtksourceview3/deprecated.rb +47 -0
- data/sample/sourcelanguagemanager.rb +21 -0
- data/sample/test.rb +32 -0
- data/test/run-test.rb +44 -0
- data/test/test_mark_attributes.rb +26 -0
- data/test/test_source_gutter_renderer.rb +33 -0
- data/test/test_source_language_manager.rb +46 -0
- data/test/test_source_view.rb +57 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +65 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +213 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +142 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +95 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +78 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +70 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +97 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +137 -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 +90 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +229 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +87 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +84 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +100 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +175 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +45 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +109 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +86 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +101 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +75 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +88 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +213 -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 +41 -0
- 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/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/az/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/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/bs/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/cy/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/dz/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@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_CA/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/eo/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/et/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/hr/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/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mk/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/mn/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/ms/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/ne/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/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/oc/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/ro/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/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/si/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/sq/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/tg/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/xh/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 +12 -0
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +11360 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +2143 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +1129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +397 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +348 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +367 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +572 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +750 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +345 -0
- 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 +490 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1700 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +468 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +584 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +476 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +310 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +897 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +2149 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +1116 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +606 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +358 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +398 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +463 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +462 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1990 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +81 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +43 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
- 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 +35 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +2187 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +119 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +154 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +601 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +146 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +882 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +873 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +654 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +71 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +283 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +2199 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +330 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +188 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +647 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +542 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +318 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +591 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +281 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +339 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +327 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1045 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +363 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +101 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +472 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +212 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +750 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +121 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +148 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +171 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +129 -0
- 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 +142 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +130 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +13 -0
- data/vendor/local/share/license/gtksourceview/COPYING +504 -0
- metadata +389 -0
@@ -0,0 +1,962 @@
|
|
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: GtkSourceFileSaver</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="GtkSourceFileLoader.html" title="GtkSourceFileLoader">
|
10
|
+
<link rel="next" href="GtkSourceGutter.html" title="GtkSourceGutter">
|
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="#GtkSourceFileSaver.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceFileSaver.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceFileSaver.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="GtkSourceFileLoader.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="GtkSourceGutter.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="GtkSourceFileSaver"></a><div class="titlepage"></div>
|
29
|
+
<div class="refnamediv"><table width="100%"><tr>
|
30
|
+
<td valign="top">
|
31
|
+
<h2><span class="refentrytitle"><a name="GtkSourceFileSaver.top_of_page"></a>GtkSourceFileSaver</span></h2>
|
32
|
+
<p>GtkSourceFileSaver — Save a GtkSourceBuffer into a file</p>
|
33
|
+
</td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
35
|
+
</tr></table></div>
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="GtkSourceFileSaver.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="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="returnvalue">GtkSourceFileSaver</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-new" title="gtk_source_file_saver_new ()">gtk_source_file_saver_new</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="returnvalue">GtkSourceFileSaver</span></a> *
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-new-with-target" title="gtk_source_file_saver_new_with_target ()">gtk_source_file_saver_new_with_target</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-get-buffer" title="gtk_source_file_saver_get_buffer ()">gtk_source_file_saver_get_buffer</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="returnvalue">GtkSourceFile</span></a> *
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-get-file" title="gtk_source_file_saver_get_file ()">gtk_source_file_saver_get_file</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="returnvalue">GFile</span></a> *
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-get-location" title="gtk_source_file_saver_get_location ()">gtk_source_file_saver_get_location</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<span class="returnvalue">void</span>
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-set-encoding" title="gtk_source_file_saver_set_encoding ()">gtk_source_file_saver_set_encoding</a> <span class="c_punctuation">()</span>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">const <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="returnvalue">GtkSourceEncoding</span></a> *
|
94
|
+
</td>
|
95
|
+
<td class="function_name">
|
96
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-get-encoding" title="gtk_source_file_saver_get_encoding ()">gtk_source_file_saver_get_encoding</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="GtkSourceFileSaver.html#gtk-source-file-saver-set-newline-type" title="gtk_source_file_saver_set_newline_type ()">gtk_source_file_saver_set_newline_type</a> <span class="c_punctuation">()</span>
|
105
|
+
</td>
|
106
|
+
</tr>
|
107
|
+
<tr>
|
108
|
+
<td class="function_type">
|
109
|
+
<a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType"><span class="returnvalue">GtkSourceNewlineType</span></a>
|
110
|
+
</td>
|
111
|
+
<td class="function_name">
|
112
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-get-newline-type" title="gtk_source_file_saver_get_newline_type ()">gtk_source_file_saver_get_newline_type</a> <span class="c_punctuation">()</span>
|
113
|
+
</td>
|
114
|
+
</tr>
|
115
|
+
<tr>
|
116
|
+
<td class="function_type">
|
117
|
+
<span class="returnvalue">void</span>
|
118
|
+
</td>
|
119
|
+
<td class="function_name">
|
120
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-set-compression-type" title="gtk_source_file_saver_set_compression_type ()">gtk_source_file_saver_set_compression_type</a> <span class="c_punctuation">()</span>
|
121
|
+
</td>
|
122
|
+
</tr>
|
123
|
+
<tr>
|
124
|
+
<td class="function_type">
|
125
|
+
<a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType"><span class="returnvalue">GtkSourceCompressionType</span></a>
|
126
|
+
</td>
|
127
|
+
<td class="function_name">
|
128
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-get-compression-type" title="gtk_source_file_saver_get_compression_type ()">gtk_source_file_saver_get_compression_type</a> <span class="c_punctuation">()</span>
|
129
|
+
</td>
|
130
|
+
</tr>
|
131
|
+
<tr>
|
132
|
+
<td class="function_type">
|
133
|
+
<span class="returnvalue">void</span>
|
134
|
+
</td>
|
135
|
+
<td class="function_name">
|
136
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-set-flags" title="gtk_source_file_saver_set_flags ()">gtk_source_file_saver_set_flags</a> <span class="c_punctuation">()</span>
|
137
|
+
</td>
|
138
|
+
</tr>
|
139
|
+
<tr>
|
140
|
+
<td class="function_type">
|
141
|
+
<a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaverFlags" title="enum GtkSourceFileSaverFlags"><span class="returnvalue">GtkSourceFileSaverFlags</span></a>
|
142
|
+
</td>
|
143
|
+
<td class="function_name">
|
144
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-get-flags" title="gtk_source_file_saver_get_flags ()">gtk_source_file_saver_get_flags</a> <span class="c_punctuation">()</span>
|
145
|
+
</td>
|
146
|
+
</tr>
|
147
|
+
<tr>
|
148
|
+
<td class="function_type">
|
149
|
+
<span class="returnvalue">void</span>
|
150
|
+
</td>
|
151
|
+
<td class="function_name">
|
152
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-save-async" title="gtk_source_file_saver_save_async ()">gtk_source_file_saver_save_async</a> <span class="c_punctuation">()</span>
|
153
|
+
</td>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<td class="function_type">
|
157
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
158
|
+
</td>
|
159
|
+
<td class="function_name">
|
160
|
+
<a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-save-finish" title="gtk_source_file_saver_save_finish ()">gtk_source_file_saver_save_finish</a> <span class="c_punctuation">()</span>
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
</tbody>
|
164
|
+
</table></div>
|
165
|
+
</div>
|
166
|
+
<div class="refsect1">
|
167
|
+
<a name="GtkSourceFileSaver.properties"></a><h2>Properties</h2>
|
168
|
+
<div class="informaltable"><table border="0">
|
169
|
+
<colgroup>
|
170
|
+
<col width="150px" class="properties_type">
|
171
|
+
<col width="300px" class="properties_name">
|
172
|
+
<col width="200px" class="properties_flags">
|
173
|
+
</colgroup>
|
174
|
+
<tbody>
|
175
|
+
<tr>
|
176
|
+
<td class="property_type">
|
177
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *</td>
|
178
|
+
<td class="property_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaver--buffer" title="The “buffer” property">buffer</a></td>
|
179
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
180
|
+
</tr>
|
181
|
+
<tr>
|
182
|
+
<td class="property_type"><a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType"><span class="type">GtkSourceCompressionType</span></a></td>
|
183
|
+
<td class="property_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaver--compression-type" title="The “compression-type” property">compression-type</a></td>
|
184
|
+
<td class="property_flags">Read / Write / Construct</td>
|
185
|
+
</tr>
|
186
|
+
<tr>
|
187
|
+
<td class="property_type">
|
188
|
+
<a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="type">GtkSourceEncoding</span></a> *</td>
|
189
|
+
<td class="property_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaver--encoding" title="The “encoding” property">encoding</a></td>
|
190
|
+
<td class="property_flags">Read / Write / Construct</td>
|
191
|
+
</tr>
|
192
|
+
<tr>
|
193
|
+
<td class="property_type">
|
194
|
+
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *</td>
|
195
|
+
<td class="property_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaver--file" title="The “file” property">file</a></td>
|
196
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
197
|
+
</tr>
|
198
|
+
<tr>
|
199
|
+
<td class="property_type"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaverFlags" title="enum GtkSourceFileSaverFlags"><span class="type">GtkSourceFileSaverFlags</span></a></td>
|
200
|
+
<td class="property_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaver--flags" title="The “flags” property">flags</a></td>
|
201
|
+
<td class="property_flags">Read / Write / Construct</td>
|
202
|
+
</tr>
|
203
|
+
<tr>
|
204
|
+
<td class="property_type">
|
205
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *</td>
|
206
|
+
<td class="property_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaver--location" title="The “location” property">location</a></td>
|
207
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
208
|
+
</tr>
|
209
|
+
<tr>
|
210
|
+
<td class="property_type"><a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType"><span class="type">GtkSourceNewlineType</span></a></td>
|
211
|
+
<td class="property_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaver--newline-type" title="The “newline-type” property">newline-type</a></td>
|
212
|
+
<td class="property_flags">Read / Write / Construct</td>
|
213
|
+
</tr>
|
214
|
+
</tbody>
|
215
|
+
</table></div>
|
216
|
+
</div>
|
217
|
+
<div class="refsect1">
|
218
|
+
<a name="GtkSourceFileSaver.other"></a><h2>Types and Values</h2>
|
219
|
+
<div class="informaltable"><table width="100%" border="0">
|
220
|
+
<colgroup>
|
221
|
+
<col width="150px" class="name">
|
222
|
+
<col class="description">
|
223
|
+
</colgroup>
|
224
|
+
<tbody>
|
225
|
+
<tr>
|
226
|
+
<td class="datatype_keyword"> </td>
|
227
|
+
<td class="function_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaver-struct" title="GtkSourceFileSaver">GtkSourceFileSaver</a></td>
|
228
|
+
</tr>
|
229
|
+
<tr>
|
230
|
+
<td class="define_keyword">#define</td>
|
231
|
+
<td class="function_name"><a class="link" href="GtkSourceFileSaver.html#GTK-SOURCE-FILE-SAVER-ERROR:CAPS" title="GTK_SOURCE_FILE_SAVER_ERROR">GTK_SOURCE_FILE_SAVER_ERROR</a></td>
|
232
|
+
</tr>
|
233
|
+
<tr>
|
234
|
+
<td class="datatype_keyword">enum</td>
|
235
|
+
<td class="function_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaverError" title="enum GtkSourceFileSaverError">GtkSourceFileSaverError</a></td>
|
236
|
+
</tr>
|
237
|
+
<tr>
|
238
|
+
<td class="datatype_keyword">enum</td>
|
239
|
+
<td class="function_name"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaverFlags" title="enum GtkSourceFileSaverFlags">GtkSourceFileSaverFlags</a></td>
|
240
|
+
</tr>
|
241
|
+
</tbody>
|
242
|
+
</table></div>
|
243
|
+
</div>
|
244
|
+
<div class="refsect1">
|
245
|
+
<a name="GtkSourceFileSaver.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
246
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
247
|
+
<span class="lineart">╰──</span> GtkSourceFileSaver
|
248
|
+
</pre>
|
249
|
+
</div>
|
250
|
+
<div class="refsect1">
|
251
|
+
<a name="GtkSourceFileSaver.includes"></a><h2>Includes</h2>
|
252
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
253
|
+
</pre>
|
254
|
+
</div>
|
255
|
+
<div class="refsect1">
|
256
|
+
<a name="GtkSourceFileSaver.description"></a><h2>Description</h2>
|
257
|
+
<p>A <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> object permits to save a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> into a
|
258
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a>.</p>
|
259
|
+
<p>A file saver should be used only for one save operation, including errors
|
260
|
+
handling. If an error occurs, you can reconfigure the saver and relaunch the
|
261
|
+
operation with <a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-save-async" title="gtk_source_file_saver_save_async ()"><code class="function">gtk_source_file_saver_save_async()</code></a>.</p>
|
262
|
+
</div>
|
263
|
+
<div class="refsect1">
|
264
|
+
<a name="GtkSourceFileSaver.functions_details"></a><h2>Functions</h2>
|
265
|
+
<div class="refsect2">
|
266
|
+
<a name="gtk-source-file-saver-new"></a><h3>gtk_source_file_saver_new ()</h3>
|
267
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="returnvalue">GtkSourceFileSaver</span></a> *
|
268
|
+
gtk_source_file_saver_new (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
269
|
+
<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>);</pre>
|
270
|
+
<p>Creates a new <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> object. The <em class="parameter"><code>buffer</code></em>
|
271
|
+
will be saved to the
|
272
|
+
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>'s location.</p>
|
273
|
+
<p>This constructor is suitable for a simple "save" operation, when the <em class="parameter"><code>file</code></em>
|
274
|
+
|
275
|
+
already contains a non-<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <a class="link" href="GtkSourceFile.html#GtkSourceFile--location" title="The “location” property"><span class="type">“location”</span></a>.</p>
|
276
|
+
<div class="refsect3">
|
277
|
+
<a name="id-1.2.13.9.2.6"></a><h4>Parameters</h4>
|
278
|
+
<div class="informaltable"><table width="100%" border="0">
|
279
|
+
<colgroup>
|
280
|
+
<col width="150px" class="parameters_name">
|
281
|
+
<col class="parameters_description">
|
282
|
+
<col width="200px" class="parameters_annotations">
|
283
|
+
</colgroup>
|
284
|
+
<tbody>
|
285
|
+
<tr>
|
286
|
+
<td class="parameter_name"><p>buffer</p></td>
|
287
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to save.</p></td>
|
288
|
+
<td class="parameter_annotations"> </td>
|
289
|
+
</tr>
|
290
|
+
<tr>
|
291
|
+
<td class="parameter_name"><p>file</p></td>
|
292
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p></td>
|
293
|
+
<td class="parameter_annotations"> </td>
|
294
|
+
</tr>
|
295
|
+
</tbody>
|
296
|
+
</table></div>
|
297
|
+
</div>
|
298
|
+
<div class="refsect3">
|
299
|
+
<a name="id-1.2.13.9.2.7"></a><h4>Returns</h4>
|
300
|
+
<p> a new <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> object.</p>
|
301
|
+
<p></p>
|
302
|
+
</div>
|
303
|
+
<p class="since">Since 3.14</p>
|
304
|
+
</div>
|
305
|
+
<hr>
|
306
|
+
<div class="refsect2">
|
307
|
+
<a name="gtk-source-file-saver-new-with-target"></a><h3>gtk_source_file_saver_new_with_target ()</h3>
|
308
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="returnvalue">GtkSourceFileSaver</span></a> *
|
309
|
+
gtk_source_file_saver_new_with_target (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
310
|
+
<em class="parameter"><code><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *file</code></em>,
|
311
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *target_location</code></em>);</pre>
|
312
|
+
<p>Creates a new <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> object with a target location. When the
|
313
|
+
file saving is finished successfully, <em class="parameter"><code>target_location</code></em>
|
314
|
+
is set to the <em class="parameter"><code>file</code></em>
|
315
|
+
's
|
316
|
+
<a class="link" href="GtkSourceFile.html#GtkSourceFile--location" title="The “location” property"><span class="type">“location”</span></a> property. If an error occurs, the previous valid
|
317
|
+
location is still available in <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p>
|
318
|
+
<p>This constructor is suitable for a "save as" operation, or for saving a new
|
319
|
+
buffer for the first time.</p>
|
320
|
+
<div class="refsect3">
|
321
|
+
<a name="id-1.2.13.9.3.6"></a><h4>Parameters</h4>
|
322
|
+
<div class="informaltable"><table width="100%" border="0">
|
323
|
+
<colgroup>
|
324
|
+
<col width="150px" class="parameters_name">
|
325
|
+
<col class="parameters_description">
|
326
|
+
<col width="200px" class="parameters_annotations">
|
327
|
+
</colgroup>
|
328
|
+
<tbody>
|
329
|
+
<tr>
|
330
|
+
<td class="parameter_name"><p>buffer</p></td>
|
331
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to save.</p></td>
|
332
|
+
<td class="parameter_annotations"> </td>
|
333
|
+
</tr>
|
334
|
+
<tr>
|
335
|
+
<td class="parameter_name"><p>file</p></td>
|
336
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p></td>
|
337
|
+
<td class="parameter_annotations"> </td>
|
338
|
+
</tr>
|
339
|
+
<tr>
|
340
|
+
<td class="parameter_name"><p>target_location</p></td>
|
341
|
+
<td class="parameter_description"><p>the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> where to save the buffer to.</p></td>
|
342
|
+
<td class="parameter_annotations"> </td>
|
343
|
+
</tr>
|
344
|
+
</tbody>
|
345
|
+
</table></div>
|
346
|
+
</div>
|
347
|
+
<div class="refsect3">
|
348
|
+
<a name="id-1.2.13.9.3.7"></a><h4>Returns</h4>
|
349
|
+
<p> a new <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> object.</p>
|
350
|
+
<p></p>
|
351
|
+
</div>
|
352
|
+
<p class="since">Since 3.14</p>
|
353
|
+
</div>
|
354
|
+
<hr>
|
355
|
+
<div class="refsect2">
|
356
|
+
<a name="gtk-source-file-saver-get-buffer"></a><h3>gtk_source_file_saver_get_buffer ()</h3>
|
357
|
+
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
358
|
+
gtk_source_file_saver_get_buffer (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>);</pre>
|
359
|
+
<div class="refsect3">
|
360
|
+
<a name="id-1.2.13.9.4.4"></a><h4>Parameters</h4>
|
361
|
+
<div class="informaltable"><table width="100%" border="0">
|
362
|
+
<colgroup>
|
363
|
+
<col width="150px" class="parameters_name">
|
364
|
+
<col class="parameters_description">
|
365
|
+
<col width="200px" class="parameters_annotations">
|
366
|
+
</colgroup>
|
367
|
+
<tbody><tr>
|
368
|
+
<td class="parameter_name"><p>saver</p></td>
|
369
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
370
|
+
<td class="parameter_annotations"> </td>
|
371
|
+
</tr></tbody>
|
372
|
+
</table></div>
|
373
|
+
</div>
|
374
|
+
<div class="refsect3">
|
375
|
+
<a name="id-1.2.13.9.4.5"></a><h4>Returns</h4>
|
376
|
+
<p> the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to save. </p>
|
377
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
378
|
+
</div>
|
379
|
+
<p class="since">Since 3.14</p>
|
380
|
+
</div>
|
381
|
+
<hr>
|
382
|
+
<div class="refsect2">
|
383
|
+
<a name="gtk-source-file-saver-get-file"></a><h3>gtk_source_file_saver_get_file ()</h3>
|
384
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="returnvalue">GtkSourceFile</span></a> *
|
385
|
+
gtk_source_file_saver_get_file (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>);</pre>
|
386
|
+
<div class="refsect3">
|
387
|
+
<a name="id-1.2.13.9.5.4"></a><h4>Parameters</h4>
|
388
|
+
<div class="informaltable"><table width="100%" border="0">
|
389
|
+
<colgroup>
|
390
|
+
<col width="150px" class="parameters_name">
|
391
|
+
<col class="parameters_description">
|
392
|
+
<col width="200px" class="parameters_annotations">
|
393
|
+
</colgroup>
|
394
|
+
<tbody><tr>
|
395
|
+
<td class="parameter_name"><p>saver</p></td>
|
396
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
397
|
+
<td class="parameter_annotations"> </td>
|
398
|
+
</tr></tbody>
|
399
|
+
</table></div>
|
400
|
+
</div>
|
401
|
+
<div class="refsect3">
|
402
|
+
<a name="id-1.2.13.9.5.5"></a><h4>Returns</h4>
|
403
|
+
<p> the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>. </p>
|
404
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
405
|
+
</div>
|
406
|
+
<p class="since">Since 3.14</p>
|
407
|
+
</div>
|
408
|
+
<hr>
|
409
|
+
<div class="refsect2">
|
410
|
+
<a name="gtk-source-file-saver-get-location"></a><h3>gtk_source_file_saver_get_location ()</h3>
|
411
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="returnvalue">GFile</span></a> *
|
412
|
+
gtk_source_file_saver_get_location (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>);</pre>
|
413
|
+
<div class="refsect3">
|
414
|
+
<a name="id-1.2.13.9.6.4"></a><h4>Parameters</h4>
|
415
|
+
<div class="informaltable"><table width="100%" border="0">
|
416
|
+
<colgroup>
|
417
|
+
<col width="150px" class="parameters_name">
|
418
|
+
<col class="parameters_description">
|
419
|
+
<col width="200px" class="parameters_annotations">
|
420
|
+
</colgroup>
|
421
|
+
<tbody><tr>
|
422
|
+
<td class="parameter_name"><p>saver</p></td>
|
423
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
424
|
+
<td class="parameter_annotations"> </td>
|
425
|
+
</tr></tbody>
|
426
|
+
</table></div>
|
427
|
+
</div>
|
428
|
+
<div class="refsect3">
|
429
|
+
<a name="id-1.2.13.9.6.5"></a><h4>Returns</h4>
|
430
|
+
<p> the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> where to save the buffer to. </p>
|
431
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
432
|
+
</div>
|
433
|
+
<p class="since">Since 3.14</p>
|
434
|
+
</div>
|
435
|
+
<hr>
|
436
|
+
<div class="refsect2">
|
437
|
+
<a name="gtk-source-file-saver-set-encoding"></a><h3>gtk_source_file_saver_set_encoding ()</h3>
|
438
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
439
|
+
gtk_source_file_saver_set_encoding (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
440
|
+
<em class="parameter"><code>const <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="type">GtkSourceEncoding</span></a> *encoding</code></em>);</pre>
|
441
|
+
<p>Sets the encoding. If <em class="parameter"><code>encoding</code></em>
|
442
|
+
is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the UTF-8 encoding will be set.
|
443
|
+
By default the encoding is taken from the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p>
|
444
|
+
<div class="refsect3">
|
445
|
+
<a name="id-1.2.13.9.7.5"></a><h4>Parameters</h4>
|
446
|
+
<div class="informaltable"><table width="100%" border="0">
|
447
|
+
<colgroup>
|
448
|
+
<col width="150px" class="parameters_name">
|
449
|
+
<col class="parameters_description">
|
450
|
+
<col width="200px" class="parameters_annotations">
|
451
|
+
</colgroup>
|
452
|
+
<tbody>
|
453
|
+
<tr>
|
454
|
+
<td class="parameter_name"><p>saver</p></td>
|
455
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
456
|
+
<td class="parameter_annotations"> </td>
|
457
|
+
</tr>
|
458
|
+
<tr>
|
459
|
+
<td class="parameter_name"><p>encoding</p></td>
|
460
|
+
<td class="parameter_description"><p> the new encoding, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for UTF-8. </p></td>
|
461
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
462
|
+
</tr>
|
463
|
+
</tbody>
|
464
|
+
</table></div>
|
465
|
+
</div>
|
466
|
+
<p class="since">Since 3.14</p>
|
467
|
+
</div>
|
468
|
+
<hr>
|
469
|
+
<div class="refsect2">
|
470
|
+
<a name="gtk-source-file-saver-get-encoding"></a><h3>gtk_source_file_saver_get_encoding ()</h3>
|
471
|
+
<pre class="programlisting">const <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="returnvalue">GtkSourceEncoding</span></a> *
|
472
|
+
gtk_source_file_saver_get_encoding (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>);</pre>
|
473
|
+
<div class="refsect3">
|
474
|
+
<a name="id-1.2.13.9.8.4"></a><h4>Parameters</h4>
|
475
|
+
<div class="informaltable"><table width="100%" border="0">
|
476
|
+
<colgroup>
|
477
|
+
<col width="150px" class="parameters_name">
|
478
|
+
<col class="parameters_description">
|
479
|
+
<col width="200px" class="parameters_annotations">
|
480
|
+
</colgroup>
|
481
|
+
<tbody><tr>
|
482
|
+
<td class="parameter_name"><p>saver</p></td>
|
483
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
484
|
+
<td class="parameter_annotations"> </td>
|
485
|
+
</tr></tbody>
|
486
|
+
</table></div>
|
487
|
+
</div>
|
488
|
+
<div class="refsect3">
|
489
|
+
<a name="id-1.2.13.9.8.5"></a><h4>Returns</h4>
|
490
|
+
<p> the encoding.</p>
|
491
|
+
<p></p>
|
492
|
+
</div>
|
493
|
+
<p class="since">Since 3.14</p>
|
494
|
+
</div>
|
495
|
+
<hr>
|
496
|
+
<div class="refsect2">
|
497
|
+
<a name="gtk-source-file-saver-set-newline-type"></a><h3>gtk_source_file_saver_set_newline_type ()</h3>
|
498
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
499
|
+
gtk_source_file_saver_set_newline_type
|
500
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
501
|
+
<em class="parameter"><code><a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType"><span class="type">GtkSourceNewlineType</span></a> newline_type</code></em>);</pre>
|
502
|
+
<p>Sets the newline type. By default the newline type is taken from the
|
503
|
+
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p>
|
504
|
+
<div class="refsect3">
|
505
|
+
<a name="id-1.2.13.9.9.5"></a><h4>Parameters</h4>
|
506
|
+
<div class="informaltable"><table width="100%" border="0">
|
507
|
+
<colgroup>
|
508
|
+
<col width="150px" class="parameters_name">
|
509
|
+
<col class="parameters_description">
|
510
|
+
<col width="200px" class="parameters_annotations">
|
511
|
+
</colgroup>
|
512
|
+
<tbody>
|
513
|
+
<tr>
|
514
|
+
<td class="parameter_name"><p>saver</p></td>
|
515
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
516
|
+
<td class="parameter_annotations"> </td>
|
517
|
+
</tr>
|
518
|
+
<tr>
|
519
|
+
<td class="parameter_name"><p>newline_type</p></td>
|
520
|
+
<td class="parameter_description"><p>the new newline type.</p></td>
|
521
|
+
<td class="parameter_annotations"> </td>
|
522
|
+
</tr>
|
523
|
+
</tbody>
|
524
|
+
</table></div>
|
525
|
+
</div>
|
526
|
+
<p class="since">Since 3.14</p>
|
527
|
+
</div>
|
528
|
+
<hr>
|
529
|
+
<div class="refsect2">
|
530
|
+
<a name="gtk-source-file-saver-get-newline-type"></a><h3>gtk_source_file_saver_get_newline_type ()</h3>
|
531
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType"><span class="returnvalue">GtkSourceNewlineType</span></a>
|
532
|
+
gtk_source_file_saver_get_newline_type
|
533
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>);</pre>
|
534
|
+
<div class="refsect3">
|
535
|
+
<a name="id-1.2.13.9.10.4"></a><h4>Parameters</h4>
|
536
|
+
<div class="informaltable"><table width="100%" border="0">
|
537
|
+
<colgroup>
|
538
|
+
<col width="150px" class="parameters_name">
|
539
|
+
<col class="parameters_description">
|
540
|
+
<col width="200px" class="parameters_annotations">
|
541
|
+
</colgroup>
|
542
|
+
<tbody><tr>
|
543
|
+
<td class="parameter_name"><p>saver</p></td>
|
544
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
545
|
+
<td class="parameter_annotations"> </td>
|
546
|
+
</tr></tbody>
|
547
|
+
</table></div>
|
548
|
+
</div>
|
549
|
+
<div class="refsect3">
|
550
|
+
<a name="id-1.2.13.9.10.5"></a><h4>Returns</h4>
|
551
|
+
<p> the newline type.</p>
|
552
|
+
<p></p>
|
553
|
+
</div>
|
554
|
+
<p class="since">Since 3.14</p>
|
555
|
+
</div>
|
556
|
+
<hr>
|
557
|
+
<div class="refsect2">
|
558
|
+
<a name="gtk-source-file-saver-set-compression-type"></a><h3>gtk_source_file_saver_set_compression_type ()</h3>
|
559
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
560
|
+
gtk_source_file_saver_set_compression_type
|
561
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
562
|
+
<em class="parameter"><code><a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType"><span class="type">GtkSourceCompressionType</span></a> compression_type</code></em>);</pre>
|
563
|
+
<p>Sets the compression type. By default the compression type is taken from the
|
564
|
+
<a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>.</p>
|
565
|
+
<div class="refsect3">
|
566
|
+
<a name="id-1.2.13.9.11.5"></a><h4>Parameters</h4>
|
567
|
+
<div class="informaltable"><table width="100%" border="0">
|
568
|
+
<colgroup>
|
569
|
+
<col width="150px" class="parameters_name">
|
570
|
+
<col class="parameters_description">
|
571
|
+
<col width="200px" class="parameters_annotations">
|
572
|
+
</colgroup>
|
573
|
+
<tbody>
|
574
|
+
<tr>
|
575
|
+
<td class="parameter_name"><p>saver</p></td>
|
576
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
577
|
+
<td class="parameter_annotations"> </td>
|
578
|
+
</tr>
|
579
|
+
<tr>
|
580
|
+
<td class="parameter_name"><p>compression_type</p></td>
|
581
|
+
<td class="parameter_description"><p>the new compression type.</p></td>
|
582
|
+
<td class="parameter_annotations"> </td>
|
583
|
+
</tr>
|
584
|
+
</tbody>
|
585
|
+
</table></div>
|
586
|
+
</div>
|
587
|
+
<p class="since">Since 3.14</p>
|
588
|
+
</div>
|
589
|
+
<hr>
|
590
|
+
<div class="refsect2">
|
591
|
+
<a name="gtk-source-file-saver-get-compression-type"></a><h3>gtk_source_file_saver_get_compression_type ()</h3>
|
592
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType"><span class="returnvalue">GtkSourceCompressionType</span></a>
|
593
|
+
gtk_source_file_saver_get_compression_type
|
594
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>);</pre>
|
595
|
+
<div class="refsect3">
|
596
|
+
<a name="id-1.2.13.9.12.4"></a><h4>Parameters</h4>
|
597
|
+
<div class="informaltable"><table width="100%" border="0">
|
598
|
+
<colgroup>
|
599
|
+
<col width="150px" class="parameters_name">
|
600
|
+
<col class="parameters_description">
|
601
|
+
<col width="200px" class="parameters_annotations">
|
602
|
+
</colgroup>
|
603
|
+
<tbody><tr>
|
604
|
+
<td class="parameter_name"><p>saver</p></td>
|
605
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
606
|
+
<td class="parameter_annotations"> </td>
|
607
|
+
</tr></tbody>
|
608
|
+
</table></div>
|
609
|
+
</div>
|
610
|
+
<div class="refsect3">
|
611
|
+
<a name="id-1.2.13.9.12.5"></a><h4>Returns</h4>
|
612
|
+
<p> the compression type.</p>
|
613
|
+
<p></p>
|
614
|
+
</div>
|
615
|
+
<p class="since">Since 3.14</p>
|
616
|
+
</div>
|
617
|
+
<hr>
|
618
|
+
<div class="refsect2">
|
619
|
+
<a name="gtk-source-file-saver-set-flags"></a><h3>gtk_source_file_saver_set_flags ()</h3>
|
620
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
621
|
+
gtk_source_file_saver_set_flags (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
622
|
+
<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaverFlags" title="enum GtkSourceFileSaverFlags"><span class="type">GtkSourceFileSaverFlags</span></a> flags</code></em>);</pre>
|
623
|
+
<div class="refsect3">
|
624
|
+
<a name="id-1.2.13.9.13.4"></a><h4>Parameters</h4>
|
625
|
+
<div class="informaltable"><table width="100%" border="0">
|
626
|
+
<colgroup>
|
627
|
+
<col width="150px" class="parameters_name">
|
628
|
+
<col class="parameters_description">
|
629
|
+
<col width="200px" class="parameters_annotations">
|
630
|
+
</colgroup>
|
631
|
+
<tbody>
|
632
|
+
<tr>
|
633
|
+
<td class="parameter_name"><p>saver</p></td>
|
634
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
635
|
+
<td class="parameter_annotations"> </td>
|
636
|
+
</tr>
|
637
|
+
<tr>
|
638
|
+
<td class="parameter_name"><p>flags</p></td>
|
639
|
+
<td class="parameter_description"><p>the new flags.</p></td>
|
640
|
+
<td class="parameter_annotations"> </td>
|
641
|
+
</tr>
|
642
|
+
</tbody>
|
643
|
+
</table></div>
|
644
|
+
</div>
|
645
|
+
<p class="since">Since 3.14</p>
|
646
|
+
</div>
|
647
|
+
<hr>
|
648
|
+
<div class="refsect2">
|
649
|
+
<a name="gtk-source-file-saver-get-flags"></a><h3>gtk_source_file_saver_get_flags ()</h3>
|
650
|
+
<pre class="programlisting"><a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaverFlags" title="enum GtkSourceFileSaverFlags"><span class="returnvalue">GtkSourceFileSaverFlags</span></a>
|
651
|
+
gtk_source_file_saver_get_flags (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>);</pre>
|
652
|
+
<div class="refsect3">
|
653
|
+
<a name="id-1.2.13.9.14.4"></a><h4>Parameters</h4>
|
654
|
+
<div class="informaltable"><table width="100%" border="0">
|
655
|
+
<colgroup>
|
656
|
+
<col width="150px" class="parameters_name">
|
657
|
+
<col class="parameters_description">
|
658
|
+
<col width="200px" class="parameters_annotations">
|
659
|
+
</colgroup>
|
660
|
+
<tbody><tr>
|
661
|
+
<td class="parameter_name"><p>saver</p></td>
|
662
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
663
|
+
<td class="parameter_annotations"> </td>
|
664
|
+
</tr></tbody>
|
665
|
+
</table></div>
|
666
|
+
</div>
|
667
|
+
<div class="refsect3">
|
668
|
+
<a name="id-1.2.13.9.14.5"></a><h4>Returns</h4>
|
669
|
+
<p> the flags.</p>
|
670
|
+
<p></p>
|
671
|
+
</div>
|
672
|
+
<p class="since">Since 3.14</p>
|
673
|
+
</div>
|
674
|
+
<hr>
|
675
|
+
<div class="refsect2">
|
676
|
+
<a name="gtk-source-file-saver-save-async"></a><h3>gtk_source_file_saver_save_async ()</h3>
|
677
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
678
|
+
gtk_source_file_saver_save_async (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
679
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> io_priority</code></em>,
|
680
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
681
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html#GFileProgressCallback"><span class="type">GFileProgressCallback</span></a> progress_callback</code></em>,
|
682
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> progress_callback_data</code></em>,
|
683
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> progress_callback_notify</code></em>,
|
684
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
685
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
686
|
+
<p>Saves asynchronously the buffer into the file. See the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
|
687
|
+
documentation to know how to use this function.</p>
|
688
|
+
<div class="refsect3">
|
689
|
+
<a name="id-1.2.13.9.15.5"></a><h4>Parameters</h4>
|
690
|
+
<div class="informaltable"><table width="100%" border="0">
|
691
|
+
<colgroup>
|
692
|
+
<col width="150px" class="parameters_name">
|
693
|
+
<col class="parameters_description">
|
694
|
+
<col width="200px" class="parameters_annotations">
|
695
|
+
</colgroup>
|
696
|
+
<tbody>
|
697
|
+
<tr>
|
698
|
+
<td class="parameter_name"><p>saver</p></td>
|
699
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
700
|
+
<td class="parameter_annotations"> </td>
|
701
|
+
</tr>
|
702
|
+
<tr>
|
703
|
+
<td class="parameter_name"><p>io_priority</p></td>
|
704
|
+
<td class="parameter_description"><p>the I/O priority of the request. E.g. <a href="/home/vagrant/ruby-gnome2.win64/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>,
|
705
|
+
<a href="/home/vagrant/ruby-gnome2.win64/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/vagrant/ruby-gnome2.win64/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>
|
706
|
+
<td class="parameter_annotations"> </td>
|
707
|
+
</tr>
|
708
|
+
<tr>
|
709
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
710
|
+
<td class="parameter_description"><p> optional <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> object, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
711
|
+
<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>
|
712
|
+
</tr>
|
713
|
+
<tr>
|
714
|
+
<td class="parameter_name"><p>progress_callback</p></td>
|
715
|
+
<td class="parameter_description"><p> function to call back with
|
716
|
+
progress information, or <a href="/home/vagrant/ruby-gnome2.win64/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>
|
717
|
+
<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>
|
718
|
+
</tr>
|
719
|
+
<tr>
|
720
|
+
<td class="parameter_name"><p>progress_callback_data</p></td>
|
721
|
+
<td class="parameter_description"><p> user data to pass to <em class="parameter"><code>progress_callback</code></em>
|
722
|
+
. </p></td>
|
723
|
+
<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>
|
724
|
+
</tr>
|
725
|
+
<tr>
|
726
|
+
<td class="parameter_name"><p>progress_callback_notify</p></td>
|
727
|
+
<td class="parameter_description"><p> function to call on
|
728
|
+
<em class="parameter"><code>progress_callback_data</code></em>
|
729
|
+
when the <em class="parameter"><code>progress_callback</code></em>
|
730
|
+
is no longer needed, or
|
731
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
732
|
+
<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>
|
733
|
+
</tr>
|
734
|
+
<tr>
|
735
|
+
<td class="parameter_name"><p>callback</p></td>
|
736
|
+
<td class="parameter_description"><p> a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is
|
737
|
+
satisfied. </p></td>
|
738
|
+
<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>
|
739
|
+
</tr>
|
740
|
+
<tr>
|
741
|
+
<td class="parameter_name"><p>user_data</p></td>
|
742
|
+
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>callback</code></em>
|
743
|
+
.</p></td>
|
744
|
+
<td class="parameter_annotations"> </td>
|
745
|
+
</tr>
|
746
|
+
</tbody>
|
747
|
+
</table></div>
|
748
|
+
</div>
|
749
|
+
<p class="since">Since 3.14</p>
|
750
|
+
</div>
|
751
|
+
<hr>
|
752
|
+
<div class="refsect2">
|
753
|
+
<a name="gtk-source-file-saver-save-finish"></a><h3>gtk_source_file_saver_save_finish ()</h3>
|
754
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
755
|
+
gtk_source_file_saver_save_finish (<em class="parameter"><code><a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> *saver</code></em>,
|
756
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
757
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
758
|
+
<p>Finishes a file saving started with <a class="link" href="GtkSourceFileSaver.html#gtk-source-file-saver-save-async" title="gtk_source_file_saver_save_async ()"><code class="function">gtk_source_file_saver_save_async()</code></a>.</p>
|
759
|
+
<p>If the file has been saved successfully, the following <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>
|
760
|
+
properties will be updated: the location, the encoding, the newline type and
|
761
|
+
the compression type.</p>
|
762
|
+
<div class="refsect3">
|
763
|
+
<a name="id-1.2.13.9.16.6"></a><h4>Parameters</h4>
|
764
|
+
<div class="informaltable"><table width="100%" border="0">
|
765
|
+
<colgroup>
|
766
|
+
<col width="150px" class="parameters_name">
|
767
|
+
<col class="parameters_description">
|
768
|
+
<col width="200px" class="parameters_annotations">
|
769
|
+
</colgroup>
|
770
|
+
<tbody>
|
771
|
+
<tr>
|
772
|
+
<td class="parameter_name"><p>saver</p></td>
|
773
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p></td>
|
774
|
+
<td class="parameter_annotations"> </td>
|
775
|
+
</tr>
|
776
|
+
<tr>
|
777
|
+
<td class="parameter_name"><p>result</p></td>
|
778
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a>.</p></td>
|
779
|
+
<td class="parameter_annotations"> </td>
|
780
|
+
</tr>
|
781
|
+
<tr>
|
782
|
+
<td class="parameter_name"><p>error</p></td>
|
783
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
784
|
+
<td class="parameter_annotations"> </td>
|
785
|
+
</tr>
|
786
|
+
</tbody>
|
787
|
+
</table></div>
|
788
|
+
</div>
|
789
|
+
<div class="refsect3">
|
790
|
+
<a name="id-1.2.13.9.16.7"></a><h4>Returns</h4>
|
791
|
+
<p> whether the file was saved successfully.</p>
|
792
|
+
<p></p>
|
793
|
+
</div>
|
794
|
+
<p class="since">Since 3.14</p>
|
795
|
+
</div>
|
796
|
+
</div>
|
797
|
+
<div class="refsect1">
|
798
|
+
<a name="GtkSourceFileSaver.other_details"></a><h2>Types and Values</h2>
|
799
|
+
<div class="refsect2">
|
800
|
+
<a name="GtkSourceFileSaver-struct"></a><h3>GtkSourceFileSaver</h3>
|
801
|
+
<pre class="programlisting">typedef struct _GtkSourceFileSaver GtkSourceFileSaver;</pre>
|
802
|
+
</div>
|
803
|
+
<hr>
|
804
|
+
<div class="refsect2">
|
805
|
+
<a name="GTK-SOURCE-FILE-SAVER-ERROR:CAPS"></a><h3>GTK_SOURCE_FILE_SAVER_ERROR</h3>
|
806
|
+
<pre class="programlisting">#define GTK_SOURCE_FILE_SAVER_ERROR gtk_source_file_saver_error_quark ()
|
807
|
+
</pre>
|
808
|
+
</div>
|
809
|
+
<hr>
|
810
|
+
<div class="refsect2">
|
811
|
+
<a name="GtkSourceFileSaverError"></a><h3>enum GtkSourceFileSaverError</h3>
|
812
|
+
<p>An error code used with the <a class="link" href="GtkSourceFileSaver.html#GTK-SOURCE-FILE-SAVER-ERROR:CAPS" title="GTK_SOURCE_FILE_SAVER_ERROR"><code class="literal">GTK_SOURCE_FILE_SAVER_ERROR</code></a> domain.</p>
|
813
|
+
<div class="refsect3">
|
814
|
+
<a name="id-1.2.13.10.4.4"></a><h4>Members</h4>
|
815
|
+
<div class="informaltable"><table width="100%" border="0">
|
816
|
+
<colgroup>
|
817
|
+
<col width="300px" class="enum_members_name">
|
818
|
+
<col class="enum_members_description">
|
819
|
+
<col width="200px" class="enum_members_annotations">
|
820
|
+
</colgroup>
|
821
|
+
<tbody>
|
822
|
+
<tr>
|
823
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-FILE-SAVER-ERROR-INVALID-CHARS:CAPS"></a>GTK_SOURCE_FILE_SAVER_ERROR_INVALID_CHARS</p></td>
|
824
|
+
<td class="enum_member_description">
|
825
|
+
<p>The buffer contains invalid
|
826
|
+
characters.</p>
|
827
|
+
</td>
|
828
|
+
<td class="enum_member_annotations"> </td>
|
829
|
+
</tr>
|
830
|
+
<tr>
|
831
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-FILE-SAVER-ERROR-EXTERNALLY-MODIFIED:CAPS"></a>GTK_SOURCE_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED</p></td>
|
832
|
+
<td class="enum_member_description">
|
833
|
+
<p>The file is externally
|
834
|
+
modified.</p>
|
835
|
+
</td>
|
836
|
+
<td class="enum_member_annotations"> </td>
|
837
|
+
</tr>
|
838
|
+
</tbody>
|
839
|
+
</table></div>
|
840
|
+
</div>
|
841
|
+
<p class="since">Since 3.14</p>
|
842
|
+
</div>
|
843
|
+
<hr>
|
844
|
+
<div class="refsect2">
|
845
|
+
<a name="GtkSourceFileSaverFlags"></a><h3>enum GtkSourceFileSaverFlags</h3>
|
846
|
+
<p>Flags to define the behavior of a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a>.</p>
|
847
|
+
<div class="refsect3">
|
848
|
+
<a name="id-1.2.13.10.5.4"></a><h4>Members</h4>
|
849
|
+
<div class="informaltable"><table width="100%" border="0">
|
850
|
+
<colgroup>
|
851
|
+
<col width="300px" class="enum_members_name">
|
852
|
+
<col class="enum_members_description">
|
853
|
+
<col width="200px" class="enum_members_annotations">
|
854
|
+
</colgroup>
|
855
|
+
<tbody>
|
856
|
+
<tr>
|
857
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-FILE-SAVER-FLAGS-NONE:CAPS"></a>GTK_SOURCE_FILE_SAVER_FLAGS_NONE</p></td>
|
858
|
+
<td class="enum_member_description">
|
859
|
+
<p>No flags.</p>
|
860
|
+
</td>
|
861
|
+
<td class="enum_member_annotations"> </td>
|
862
|
+
</tr>
|
863
|
+
<tr>
|
864
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-FILE-SAVER-FLAGS-IGNORE-INVALID-CHARS:CAPS"></a>GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS</p></td>
|
865
|
+
<td class="enum_member_description">
|
866
|
+
<p>Ignore invalid characters.</p>
|
867
|
+
</td>
|
868
|
+
<td class="enum_member_annotations"> </td>
|
869
|
+
</tr>
|
870
|
+
<tr>
|
871
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-FILE-SAVER-FLAGS-IGNORE-MODIFICATION-TIME:CAPS"></a>GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME</p></td>
|
872
|
+
<td class="enum_member_description">
|
873
|
+
<p>Save file despite external modifications.</p>
|
874
|
+
</td>
|
875
|
+
<td class="enum_member_annotations"> </td>
|
876
|
+
</tr>
|
877
|
+
<tr>
|
878
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-FILE-SAVER-FLAGS-CREATE-BACKUP:CAPS"></a>GTK_SOURCE_FILE_SAVER_FLAGS_CREATE_BACKUP</p></td>
|
879
|
+
<td class="enum_member_description">
|
880
|
+
<p>Create a backup before saving the file.</p>
|
881
|
+
</td>
|
882
|
+
<td class="enum_member_annotations"> </td>
|
883
|
+
</tr>
|
884
|
+
</tbody>
|
885
|
+
</table></div>
|
886
|
+
</div>
|
887
|
+
<p class="since">Since 3.14</p>
|
888
|
+
</div>
|
889
|
+
</div>
|
890
|
+
<div class="refsect1">
|
891
|
+
<a name="GtkSourceFileSaver.property-details"></a><h2>Property Details</h2>
|
892
|
+
<div class="refsect2">
|
893
|
+
<a name="GtkSourceFileSaver--buffer"></a><h3>The <code class="literal">“buffer”</code> property</h3>
|
894
|
+
<pre class="programlisting"> “buffer” <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *</pre>
|
895
|
+
<p>The <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to save. The <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> object has a
|
896
|
+
weak reference to the buffer.</p>
|
897
|
+
<p>Flags: Read / Write / Construct Only</p>
|
898
|
+
<p class="since">Since 3.14</p>
|
899
|
+
</div>
|
900
|
+
<hr>
|
901
|
+
<div class="refsect2">
|
902
|
+
<a name="GtkSourceFileSaver--compression-type"></a><h3>The <code class="literal">“compression-type”</code> property</h3>
|
903
|
+
<pre class="programlisting"> “compression-type” <a class="link" href="GtkSourceFile.html#GtkSourceCompressionType" title="enum GtkSourceCompressionType"><span class="type">GtkSourceCompressionType</span></a></pre>
|
904
|
+
<p>The compression type.</p>
|
905
|
+
<p>Flags: Read / Write / Construct</p>
|
906
|
+
<p>Default value: GTK_SOURCE_COMPRESSION_TYPE_NONE</p>
|
907
|
+
<p class="since">Since 3.14</p>
|
908
|
+
</div>
|
909
|
+
<hr>
|
910
|
+
<div class="refsect2">
|
911
|
+
<a name="GtkSourceFileSaver--encoding"></a><h3>The <code class="literal">“encoding”</code> property</h3>
|
912
|
+
<pre class="programlisting"> “encoding” <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding"><span class="type">GtkSourceEncoding</span></a> *</pre>
|
913
|
+
<p>The file's encoding.</p>
|
914
|
+
<p>Flags: Read / Write / Construct</p>
|
915
|
+
<p class="since">Since 3.14</p>
|
916
|
+
</div>
|
917
|
+
<hr>
|
918
|
+
<div class="refsect2">
|
919
|
+
<a name="GtkSourceFileSaver--file"></a><h3>The <code class="literal">“file”</code> property</h3>
|
920
|
+
<pre class="programlisting"> “file” <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> *</pre>
|
921
|
+
<p>The <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>. The <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> object has a weak
|
922
|
+
reference to the file.</p>
|
923
|
+
<p>Flags: Read / Write / Construct Only</p>
|
924
|
+
<p class="since">Since 3.14</p>
|
925
|
+
</div>
|
926
|
+
<hr>
|
927
|
+
<div class="refsect2">
|
928
|
+
<a name="GtkSourceFileSaver--flags"></a><h3>The <code class="literal">“flags”</code> property</h3>
|
929
|
+
<pre class="programlisting"> “flags” <a class="link" href="GtkSourceFileSaver.html#GtkSourceFileSaverFlags" title="enum GtkSourceFileSaverFlags"><span class="type">GtkSourceFileSaverFlags</span></a></pre>
|
930
|
+
<p>File saving flags.</p>
|
931
|
+
<p>Flags: Read / Write / Construct</p>
|
932
|
+
<p class="since">Since 3.14</p>
|
933
|
+
</div>
|
934
|
+
<hr>
|
935
|
+
<div class="refsect2">
|
936
|
+
<a name="GtkSourceFileSaver--location"></a><h3>The <code class="literal">“location”</code> property</h3>
|
937
|
+
<pre class="programlisting"> “location” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *</pre>
|
938
|
+
<p>The <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> where to save the buffer. By default the location is taken
|
939
|
+
from the <a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a> at construction time.</p>
|
940
|
+
<p>Flags: Read / Write / Construct Only</p>
|
941
|
+
<p class="since">Since 3.14</p>
|
942
|
+
</div>
|
943
|
+
<hr>
|
944
|
+
<div class="refsect2">
|
945
|
+
<a name="GtkSourceFileSaver--newline-type"></a><h3>The <code class="literal">“newline-type”</code> property</h3>
|
946
|
+
<pre class="programlisting"> “newline-type” <a class="link" href="GtkSourceFile.html#GtkSourceNewlineType" title="enum GtkSourceNewlineType"><span class="type">GtkSourceNewlineType</span></a></pre>
|
947
|
+
<p>The newline type.</p>
|
948
|
+
<p>Flags: Read / Write / Construct</p>
|
949
|
+
<p>Default value: GTK_SOURCE_NEWLINE_TYPE_LF</p>
|
950
|
+
<p class="since">Since 3.14</p>
|
951
|
+
</div>
|
952
|
+
</div>
|
953
|
+
<div class="refsect1">
|
954
|
+
<a name="GtkSourceFileSaver.see-also"></a><h2>See Also</h2>
|
955
|
+
<p><a class="link" href="GtkSourceFile.html" title="GtkSourceFile"><span class="type">GtkSourceFile</span></a>, <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a></p>
|
956
|
+
</div>
|
957
|
+
</div>
|
958
|
+
<div class="footer">
|
959
|
+
<hr>
|
960
|
+
Generated by GTK-Doc V1.21.1</div>
|
961
|
+
</body>
|
962
|
+
</html>
|