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
@@ -29,7 +29,8 @@ and/or use gtk-doc annotations. -->
|
|
29
29
|
value="1"
|
30
30
|
c:identifier="GTK_SOURCE_BRACKET_MATCH_OUT_OF_RANGE"
|
31
31
|
glib:nick="out-of-range">
|
32
|
-
<doc xml:space="preserve">matching a bracket
|
32
|
+
<doc xml:space="preserve">matching a bracket
|
33
|
+
failed because the maximum range was reached.</doc>
|
33
34
|
</member>
|
34
35
|
<member name="not_found"
|
35
36
|
value="2"
|
@@ -58,7 +59,10 @@ and/or use gtk-doc annotations. -->
|
|
58
59
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
59
60
|
</return-value>
|
60
61
|
<parameters>
|
61
|
-
<parameter name="table"
|
62
|
+
<parameter name="table"
|
63
|
+
transfer-ownership="none"
|
64
|
+
nullable="1"
|
65
|
+
allow-none="1">
|
62
66
|
<doc xml:space="preserve">a #GtkTextTagTable, or %NULL to create a new one.</doc>
|
63
67
|
<type name="Gtk.TextTagTable" c:type="GtkTextTagTable*"/>
|
64
68
|
</parameter>
|
@@ -70,7 +74,8 @@ and/or use gtk-doc annotations. -->
|
|
70
74
|
@language. This is equivalent to creating a new source buffer with
|
71
75
|
a new tag table and then calling gtk_source_buffer_set_language().</doc>
|
72
76
|
<return-value transfer-ownership="full">
|
73
|
-
<doc xml:space="preserve">a new source buffer which will highlight text
|
77
|
+
<doc xml:space="preserve">a new source buffer which will highlight text
|
78
|
+
according to the highlighting patterns in @language.</doc>
|
74
79
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
75
80
|
</return-value>
|
76
81
|
<parameters>
|
@@ -98,12 +103,15 @@ a new tag table and then calling gtk_source_buffer_set_language().</doc>
|
|
98
103
|
</virtual-method>
|
99
104
|
<virtual-method name="redo" invoker="redo">
|
100
105
|
<doc xml:space="preserve">Redoes the last undo operation. Use gtk_source_buffer_can_redo()
|
101
|
-
to check whether a call to this function will have any effect
|
106
|
+
to check whether a call to this function will have any effect.
|
107
|
+
|
108
|
+
This function emits the #GtkSourceBuffer::redo signal.</doc>
|
102
109
|
<return-value transfer-ownership="none">
|
103
110
|
<type name="none" c:type="void"/>
|
104
111
|
</return-value>
|
105
112
|
<parameters>
|
106
113
|
<instance-parameter name="buffer" transfer-ownership="none">
|
114
|
+
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
107
115
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
108
116
|
</instance-parameter>
|
109
117
|
</parameters>
|
@@ -111,12 +119,15 @@ to check whether a call to this function will have any effect.</doc>
|
|
111
119
|
<virtual-method name="undo" invoker="undo">
|
112
120
|
<doc xml:space="preserve">Undoes the last user action which modified the buffer. Use
|
113
121
|
gtk_source_buffer_can_undo() to check whether a call to this
|
114
|
-
function will have any effect
|
122
|
+
function will have any effect.
|
123
|
+
|
124
|
+
This function emits the #GtkSourceBuffer::undo signal.</doc>
|
115
125
|
<return-value transfer-ownership="none">
|
116
126
|
<type name="none" c:type="void"/>
|
117
127
|
</return-value>
|
118
128
|
<parameters>
|
119
129
|
<instance-parameter name="buffer" transfer-ownership="none">
|
130
|
+
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
120
131
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
121
132
|
</instance-parameter>
|
122
133
|
</parameters>
|
@@ -140,7 +151,10 @@ previous source mark can be of any category.</doc>
|
|
140
151
|
<doc xml:space="preserve">an iterator.</doc>
|
141
152
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
142
153
|
</parameter>
|
143
|
-
<parameter name="category"
|
154
|
+
<parameter name="category"
|
155
|
+
transfer-ownership="none"
|
156
|
+
nullable="1"
|
157
|
+
allow-none="1">
|
144
158
|
<doc xml:space="preserve">category to search for, or %NULL</doc>
|
145
159
|
<type name="utf8" c:type="const gchar*"/>
|
146
160
|
</parameter>
|
@@ -192,6 +206,32 @@ gtk_source_buffer_end_not_undoable_action() blocks.</doc>
|
|
192
206
|
</instance-parameter>
|
193
207
|
</parameters>
|
194
208
|
</method>
|
209
|
+
<method name="change_case"
|
210
|
+
c:identifier="gtk_source_buffer_change_case"
|
211
|
+
version="3.12">
|
212
|
+
<doc xml:space="preserve">Changes the case of the text between the specified iterators.</doc>
|
213
|
+
<return-value transfer-ownership="none">
|
214
|
+
<type name="none" c:type="void"/>
|
215
|
+
</return-value>
|
216
|
+
<parameters>
|
217
|
+
<instance-parameter name="buffer" transfer-ownership="none">
|
218
|
+
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
219
|
+
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
220
|
+
</instance-parameter>
|
221
|
+
<parameter name="case_type" transfer-ownership="none">
|
222
|
+
<doc xml:space="preserve">how to change the case.</doc>
|
223
|
+
<type name="ChangeCaseType" c:type="GtkSourceChangeCaseType"/>
|
224
|
+
</parameter>
|
225
|
+
<parameter name="start" transfer-ownership="none">
|
226
|
+
<doc xml:space="preserve">a #GtkTextIter.</doc>
|
227
|
+
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
228
|
+
</parameter>
|
229
|
+
<parameter name="end" transfer-ownership="none">
|
230
|
+
<doc xml:space="preserve">a #GtkTextIter.</doc>
|
231
|
+
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
232
|
+
</parameter>
|
233
|
+
</parameters>
|
234
|
+
</method>
|
195
235
|
<method name="create_source_mark"
|
196
236
|
c:identifier="gtk_source_buffer_create_source_mark"
|
197
237
|
version="2.2">
|
@@ -217,7 +257,10 @@ executing instruction indication in a source file, etc..</doc>
|
|
217
257
|
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
218
258
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
219
259
|
</instance-parameter>
|
220
|
-
<parameter name="name"
|
260
|
+
<parameter name="name"
|
261
|
+
transfer-ownership="none"
|
262
|
+
nullable="1"
|
263
|
+
allow-none="1">
|
221
264
|
<doc xml:space="preserve">the name of the mark, or %NULL.</doc>
|
222
265
|
<type name="utf8" c:type="const gchar*"/>
|
223
266
|
</parameter>
|
@@ -295,7 +338,10 @@ next source mark can be of any category.</doc>
|
|
295
338
|
<doc xml:space="preserve">an iterator.</doc>
|
296
339
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
297
340
|
</parameter>
|
298
|
-
<parameter name="category"
|
341
|
+
<parameter name="category"
|
342
|
+
transfer-ownership="none"
|
343
|
+
nullable="1"
|
344
|
+
allow-none="1">
|
299
345
|
<doc xml:space="preserve">category to search for, or %NULL</doc>
|
300
346
|
<type name="utf8" c:type="const gchar*"/>
|
301
347
|
</parameter>
|
@@ -306,9 +352,11 @@ next source mark can be of any category.</doc>
|
|
306
352
|
version="2.10">
|
307
353
|
<doc xml:space="preserve">Get all defined context classes at @iter.
|
308
354
|
|
309
|
-
See the #GtkSourceBuffer description for the list of context classes.</doc>
|
355
|
+
See the #GtkSourceBuffer description for the list of default context classes.</doc>
|
310
356
|
<return-value transfer-ownership="full">
|
311
|
-
<doc xml:space="preserve">a new %NULL
|
357
|
+
<doc xml:space="preserve">a new %NULL
|
358
|
+
terminated array of context class names.
|
359
|
+
Use g_strfreev() to free the array if it is no longer needed.</doc>
|
312
360
|
<array c:type="gchar**">
|
313
361
|
<type name="utf8"/>
|
314
362
|
</array>
|
@@ -329,7 +377,8 @@ See the #GtkSourceBuffer description for the list of context classes.</doc>
|
|
329
377
|
<doc xml:space="preserve">Determines whether bracket match highlighting is activated for the
|
330
378
|
source buffer.</doc>
|
331
379
|
<return-value transfer-ownership="none">
|
332
|
-
<doc xml:space="preserve">%TRUE if the source buffer will highlight matching
|
380
|
+
<doc xml:space="preserve">%TRUE if the source buffer will highlight matching
|
381
|
+
brackets.</doc>
|
333
382
|
<type name="gboolean" c:type="gboolean"/>
|
334
383
|
</return-value>
|
335
384
|
<parameters>
|
@@ -354,6 +403,20 @@ buffer.</doc>
|
|
354
403
|
</instance-parameter>
|
355
404
|
</parameters>
|
356
405
|
</method>
|
406
|
+
<method name="get_implicit_trailing_newline"
|
407
|
+
c:identifier="gtk_source_buffer_get_implicit_trailing_newline"
|
408
|
+
version="3.14">
|
409
|
+
<return-value transfer-ownership="none">
|
410
|
+
<doc xml:space="preserve">whether the @buffer has an implicit trailing newline.</doc>
|
411
|
+
<type name="gboolean" c:type="gboolean"/>
|
412
|
+
</return-value>
|
413
|
+
<parameters>
|
414
|
+
<instance-parameter name="buffer" transfer-ownership="none">
|
415
|
+
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
416
|
+
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
417
|
+
</instance-parameter>
|
418
|
+
</parameters>
|
419
|
+
</method>
|
357
420
|
<method name="get_language"
|
358
421
|
c:identifier="gtk_source_buffer_get_language">
|
359
422
|
<doc xml:space="preserve">Returns the #GtkSourceLanguage associated with the buffer,
|
@@ -375,7 +438,8 @@ unreferenced by the user.</doc>
|
|
375
438
|
<doc xml:space="preserve">Determines the number of undo levels the buffer will track for
|
376
439
|
buffer edits.</doc>
|
377
440
|
<return-value transfer-ownership="none">
|
378
|
-
<doc xml:space="preserve">the maximum number of possible undo levels or
|
441
|
+
<doc xml:space="preserve">the maximum number of possible undo levels or
|
442
|
+
-1 if no limit is set.</doc>
|
379
443
|
<type name="gint" c:type="gint"/>
|
380
444
|
</return-value>
|
381
445
|
<parameters>
|
@@ -391,7 +455,8 @@ buffer edits.</doc>
|
|
391
455
|
<doc xml:space="preserve">Returns the list of marks of the given category at @iter. If @category
|
392
456
|
is %NULL it returns all marks at @iter.</doc>
|
393
457
|
<return-value transfer-ownership="container">
|
394
|
-
<doc xml:space="preserve">
|
458
|
+
<doc xml:space="preserve">
|
459
|
+
a newly allocated #GSList.</doc>
|
395
460
|
<type name="GLib.SList" c:type="GSList*">
|
396
461
|
<type name="Mark"/>
|
397
462
|
</type>
|
@@ -405,7 +470,10 @@ is %NULL it returns all marks at @iter.</doc>
|
|
405
470
|
<doc xml:space="preserve">an iterator.</doc>
|
406
471
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
407
472
|
</parameter>
|
408
|
-
<parameter name="category"
|
473
|
+
<parameter name="category"
|
474
|
+
transfer-ownership="none"
|
475
|
+
nullable="1"
|
476
|
+
allow-none="1">
|
409
477
|
<doc xml:space="preserve">category to search for, or %NULL</doc>
|
410
478
|
<type name="utf8" c:type="const gchar*"/>
|
411
479
|
</parameter>
|
@@ -415,9 +483,10 @@ is %NULL it returns all marks at @iter.</doc>
|
|
415
483
|
c:identifier="gtk_source_buffer_get_source_marks_at_line"
|
416
484
|
version="2.2">
|
417
485
|
<doc xml:space="preserve">Returns the list of marks of the given category at @line.
|
418
|
-
If @category is NULL, all marks at @line are returned.</doc>
|
486
|
+
If @category is %NULL, all marks at @line are returned.</doc>
|
419
487
|
<return-value transfer-ownership="container">
|
420
|
-
<doc xml:space="preserve">
|
488
|
+
<doc xml:space="preserve">
|
489
|
+
a newly allocated #GSList.</doc>
|
421
490
|
<type name="GLib.SList" c:type="GSList*">
|
422
491
|
<type name="Mark"/>
|
423
492
|
</type>
|
@@ -431,7 +500,10 @@ If @category is NULL, all marks at @line are returned.</doc>
|
|
431
500
|
<doc xml:space="preserve">a line number.</doc>
|
432
501
|
<type name="gint" c:type="gint"/>
|
433
502
|
</parameter>
|
434
|
-
<parameter name="category"
|
503
|
+
<parameter name="category"
|
504
|
+
transfer-ownership="none"
|
505
|
+
nullable="1"
|
506
|
+
allow-none="1">
|
435
507
|
<doc xml:space="preserve">category to search for, or %NULL</doc>
|
436
508
|
<type name="utf8" c:type="const gchar*"/>
|
437
509
|
</parameter>
|
@@ -443,7 +515,8 @@ If @category is NULL, all marks at @line are returned.</doc>
|
|
443
515
|
see gtk_source_buffer_set_style_scheme().
|
444
516
|
The returned object should not be unreferenced by the user.</doc>
|
445
517
|
<return-value transfer-ownership="none">
|
446
|
-
<doc xml:space="preserve">the #GtkSourceStyleScheme associated
|
518
|
+
<doc xml:space="preserve">the #GtkSourceStyleScheme associated
|
519
|
+
with the buffer, or %NULL.</doc>
|
447
520
|
<type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
|
448
521
|
</return-value>
|
449
522
|
<parameters>
|
@@ -458,8 +531,9 @@ The returned object should not be unreferenced by the user.</doc>
|
|
458
531
|
<doc xml:space="preserve">Returns the #GtkSourceUndoManager associated with the buffer,
|
459
532
|
see gtk_source_buffer_set_undo_manager(). The returned object should not be
|
460
533
|
unreferenced by the user.</doc>
|
461
|
-
<return-value transfer-ownership="none">
|
462
|
-
<doc xml:space="preserve">the #GtkSourceUndoManager associated
|
534
|
+
<return-value transfer-ownership="none" nullable="1">
|
535
|
+
<doc xml:space="preserve">the #GtkSourceUndoManager associated
|
536
|
+
with the buffer, or %NULL.</doc>
|
463
537
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
464
538
|
</return-value>
|
465
539
|
<parameters>
|
@@ -478,7 +552,7 @@ Does not return toggles located at @iter, only toggles after @iter. Sets
|
|
478
552
|
@iter to the location of the toggle, or to the end of the buffer if no
|
479
553
|
toggle is found.
|
480
554
|
|
481
|
-
See the #GtkSourceBuffer description for the list of context classes.</doc>
|
555
|
+
See the #GtkSourceBuffer description for the list of default context classes.</doc>
|
482
556
|
<return-value transfer-ownership="none">
|
483
557
|
<doc xml:space="preserve">whether we found a context class toggle before @iter</doc>
|
484
558
|
<type name="gboolean" c:type="gboolean"/>
|
@@ -488,7 +562,10 @@ See the #GtkSourceBuffer description for the list of context classes.</doc>
|
|
488
562
|
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
489
563
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
490
564
|
</instance-parameter>
|
491
|
-
<parameter name="iter"
|
565
|
+
<parameter name="iter"
|
566
|
+
direction="inout"
|
567
|
+
caller-allocates="0"
|
568
|
+
transfer-ownership="full">
|
492
569
|
<doc xml:space="preserve">a #GtkTextIter.</doc>
|
493
570
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
494
571
|
</parameter>
|
@@ -507,7 +584,7 @@ Does not return toggles located at @iter, only toggles after @iter. Sets
|
|
507
584
|
@iter to the location of the toggle, or to the end of the buffer if no
|
508
585
|
toggle is found.
|
509
586
|
|
510
|
-
See the #GtkSourceBuffer description for the list of context classes.</doc>
|
587
|
+
See the #GtkSourceBuffer description for the list of default context classes.</doc>
|
511
588
|
<return-value transfer-ownership="none">
|
512
589
|
<doc xml:space="preserve">whether we found a context class toggle after @iter</doc>
|
513
590
|
<type name="gboolean" c:type="gboolean"/>
|
@@ -517,7 +594,10 @@ See the #GtkSourceBuffer description for the list of context classes.</doc>
|
|
517
594
|
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
518
595
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
519
596
|
</instance-parameter>
|
520
|
-
<parameter name="iter"
|
597
|
+
<parameter name="iter"
|
598
|
+
direction="inout"
|
599
|
+
caller-allocates="0"
|
600
|
+
transfer-ownership="full">
|
521
601
|
<doc xml:space="preserve">a #GtkTextIter.</doc>
|
522
602
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
523
603
|
</parameter>
|
@@ -532,7 +612,7 @@ See the #GtkSourceBuffer description for the list of context classes.</doc>
|
|
532
612
|
version="2.10">
|
533
613
|
<doc xml:space="preserve">Check if the class @context_class is set on @iter.
|
534
614
|
|
535
|
-
See the #GtkSourceBuffer description for the list of context classes.</doc>
|
615
|
+
See the #GtkSourceBuffer description for the list of default context classes.</doc>
|
536
616
|
<return-value transfer-ownership="none">
|
537
617
|
<doc xml:space="preserve">whether @iter has the context class.</doc>
|
538
618
|
<type name="gboolean" c:type="gboolean"/>
|
@@ -554,7 +634,9 @@ See the #GtkSourceBuffer description for the list of context classes.</doc>
|
|
554
634
|
</method>
|
555
635
|
<method name="redo" c:identifier="gtk_source_buffer_redo">
|
556
636
|
<doc xml:space="preserve">Redoes the last undo operation. Use gtk_source_buffer_can_redo()
|
557
|
-
to check whether a call to this function will have any effect
|
637
|
+
to check whether a call to this function will have any effect.
|
638
|
+
|
639
|
+
This function emits the #GtkSourceBuffer::redo signal.</doc>
|
558
640
|
<return-value transfer-ownership="none">
|
559
641
|
<type name="none" c:type="void"/>
|
560
642
|
</return-value>
|
@@ -586,7 +668,10 @@ If @category is NULL, all marks in the range will be removed.</doc>
|
|
586
668
|
<doc xml:space="preserve">a #GtkTextIter.</doc>
|
587
669
|
<type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
|
588
670
|
</parameter>
|
589
|
-
<parameter name="category"
|
671
|
+
<parameter name="category"
|
672
|
+
transfer-ownership="none"
|
673
|
+
nullable="1"
|
674
|
+
allow-none="1">
|
590
675
|
<doc xml:space="preserve">category to search for, or %NULL.</doc>
|
591
676
|
<type name="utf8" c:type="const gchar*"/>
|
592
677
|
</parameter>
|
@@ -634,6 +719,39 @@ syntax highlighting engine are removed from the buffer.</doc>
|
|
634
719
|
</parameter>
|
635
720
|
</parameters>
|
636
721
|
</method>
|
722
|
+
<method name="set_implicit_trailing_newline"
|
723
|
+
c:identifier="gtk_source_buffer_set_implicit_trailing_newline"
|
724
|
+
version="3.14">
|
725
|
+
<doc xml:space="preserve">Sets whether the @buffer has an implicit trailing newline.
|
726
|
+
|
727
|
+
If an explicit trailing newline is present in a #GtkTextBuffer, #GtkTextView
|
728
|
+
shows it as an empty line. This is generally not what the user expects.
|
729
|
+
|
730
|
+
If @implicit_trailing_newline is %TRUE (the default value):
|
731
|
+
- when a #GtkSourceFileLoader loads the content of a file into the @buffer,
|
732
|
+
the trailing newline (if present in the file) is not inserted into the
|
733
|
+
@buffer.
|
734
|
+
- when a #GtkSourceFileSaver saves the content of the @buffer into a file, a
|
735
|
+
trailing newline is added to the file.
|
736
|
+
|
737
|
+
On the other hand, if @implicit_trailing_newline is %FALSE, the file's
|
738
|
+
content is not modified when loaded into the @buffer, and the @buffer's
|
739
|
+
content is not modified when saved into a file.</doc>
|
740
|
+
<return-value transfer-ownership="none">
|
741
|
+
<type name="none" c:type="void"/>
|
742
|
+
</return-value>
|
743
|
+
<parameters>
|
744
|
+
<instance-parameter name="buffer" transfer-ownership="none">
|
745
|
+
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
746
|
+
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
747
|
+
</instance-parameter>
|
748
|
+
<parameter name="implicit_trailing_newline"
|
749
|
+
transfer-ownership="none">
|
750
|
+
<doc xml:space="preserve">the new value.</doc>
|
751
|
+
<type name="gboolean" c:type="gboolean"/>
|
752
|
+
</parameter>
|
753
|
+
</parameters>
|
754
|
+
</method>
|
637
755
|
<method name="set_language"
|
638
756
|
c:identifier="gtk_source_buffer_set_language">
|
639
757
|
<doc xml:space="preserve">Associate a #GtkSourceLanguage with the buffer. If @language is
|
@@ -651,7 +769,10 @@ The buffer holds a reference to @language.</doc>
|
|
651
769
|
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
652
770
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
653
771
|
</instance-parameter>
|
654
|
-
<parameter name="language"
|
772
|
+
<parameter name="language"
|
773
|
+
transfer-ownership="none"
|
774
|
+
nullable="1"
|
775
|
+
allow-none="1">
|
655
776
|
<doc xml:space="preserve">a #GtkSourceLanguage to set, or %NULL.</doc>
|
656
777
|
<type name="Language" c:type="GtkSourceLanguage*"/>
|
657
778
|
</parameter>
|
@@ -690,7 +811,10 @@ style scheme is used.</doc>
|
|
690
811
|
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
691
812
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
692
813
|
</instance-parameter>
|
693
|
-
<parameter name="scheme"
|
814
|
+
<parameter name="scheme"
|
815
|
+
transfer-ownership="none"
|
816
|
+
nullable="1"
|
817
|
+
allow-none="1">
|
694
818
|
<doc xml:space="preserve">a #GtkSourceStyleScheme or %NULL.</doc>
|
695
819
|
<type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
|
696
820
|
</parameter>
|
@@ -708,7 +832,10 @@ will be set.</doc>
|
|
708
832
|
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
709
833
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
710
834
|
</instance-parameter>
|
711
|
-
<parameter name="manager"
|
835
|
+
<parameter name="manager"
|
836
|
+
transfer-ownership="none"
|
837
|
+
nullable="1"
|
838
|
+
allow-none="1">
|
712
839
|
<doc xml:space="preserve">A #GtkSourceUndoManager or %NULL.</doc>
|
713
840
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
714
841
|
</parameter>
|
@@ -717,7 +844,9 @@ will be set.</doc>
|
|
717
844
|
<method name="undo" c:identifier="gtk_source_buffer_undo">
|
718
845
|
<doc xml:space="preserve">Undoes the last user action which modified the buffer. Use
|
719
846
|
gtk_source_buffer_can_undo() to check whether a call to this
|
720
|
-
function will have any effect
|
847
|
+
function will have any effect.
|
848
|
+
|
849
|
+
This function emits the #GtkSourceBuffer::undo signal.</doc>
|
721
850
|
<return-value transfer-ownership="none">
|
722
851
|
<type name="none" c:type="void"/>
|
723
852
|
</return-value>
|
@@ -744,6 +873,15 @@ function will have any effect.</doc>
|
|
744
873
|
<doc xml:space="preserve">Whether to highlight syntax in the buffer.</doc>
|
745
874
|
<type name="gboolean" c:type="gboolean"/>
|
746
875
|
</property>
|
876
|
+
<property name="implicit-trailing-newline"
|
877
|
+
version="3.14"
|
878
|
+
writable="1"
|
879
|
+
construct="1"
|
880
|
+
transfer-ownership="none">
|
881
|
+
<doc xml:space="preserve">Whether the buffer has an implicit trailing newline. See
|
882
|
+
gtk_source_buffer_set_implicit_trailing_newline().</doc>
|
883
|
+
<type name="gboolean" c:type="gboolean"/>
|
884
|
+
</property>
|
747
885
|
<property name="language" writable="1" transfer-ownership="none">
|
748
886
|
<type name="Language"/>
|
749
887
|
</property>
|
@@ -789,19 +927,26 @@ meaningless.</doc>
|
|
789
927
|
</parameters>
|
790
928
|
</glib:signal>
|
791
929
|
<glib:signal name="highlight-updated" when="last">
|
930
|
+
<doc xml:space="preserve">The ::highlight-updated signal is emitted when the syntax
|
931
|
+
highlighting is updated in a certain region of the @buffer. This
|
932
|
+
signal is useful to be notified when a context class region is
|
933
|
+
updated (e.g. the no-spell-check context class).</doc>
|
792
934
|
<return-value transfer-ownership="none">
|
793
935
|
<type name="none" c:type="void"/>
|
794
936
|
</return-value>
|
795
937
|
<parameters>
|
796
|
-
<parameter name="
|
938
|
+
<parameter name="start" transfer-ownership="none">
|
939
|
+
<doc xml:space="preserve">the start of the updated region</doc>
|
797
940
|
<type name="Gtk.TextIter"/>
|
798
941
|
</parameter>
|
799
|
-
<parameter name="
|
942
|
+
<parameter name="end" transfer-ownership="none">
|
943
|
+
<doc xml:space="preserve">the end of the updated region</doc>
|
800
944
|
<type name="Gtk.TextIter"/>
|
801
945
|
</parameter>
|
802
946
|
</parameters>
|
803
947
|
</glib:signal>
|
804
948
|
<glib:signal name="redo" when="last">
|
949
|
+
<doc xml:space="preserve">The ::redo signal is emitted to redo the last undo operation.</doc>
|
805
950
|
<return-value transfer-ownership="none">
|
806
951
|
<type name="none" c:type="void"/>
|
807
952
|
</return-value>
|
@@ -820,6 +965,8 @@ a mark is added to, moved or removed from the @buffer.</doc>
|
|
820
965
|
</parameters>
|
821
966
|
</glib:signal>
|
822
967
|
<glib:signal name="undo" when="last">
|
968
|
+
<doc xml:space="preserve">The ::undo signal is emitted to undo the last user action which
|
969
|
+
modified the buffer.</doc>
|
823
970
|
<return-value transfer-ownership="none">
|
824
971
|
<type name="none" c:type="void"/>
|
825
972
|
</return-value>
|
@@ -838,6 +985,7 @@ a mark is added to, moved or removed from the @buffer.</doc>
|
|
838
985
|
</return-value>
|
839
986
|
<parameters>
|
840
987
|
<parameter name="buffer" transfer-ownership="none">
|
988
|
+
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
841
989
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
842
990
|
</parameter>
|
843
991
|
</parameters>
|
@@ -850,6 +998,7 @@ a mark is added to, moved or removed from the @buffer.</doc>
|
|
850
998
|
</return-value>
|
851
999
|
<parameters>
|
852
1000
|
<parameter name="buffer" transfer-ownership="none">
|
1001
|
+
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
853
1002
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
854
1003
|
</parameter>
|
855
1004
|
</parameters>
|
@@ -898,6 +1047,36 @@ a mark is added to, moved or removed from the @buffer.</doc>
|
|
898
1047
|
</record>
|
899
1048
|
<record name="BufferPrivate" c:type="GtkSourceBufferPrivate" disguised="1">
|
900
1049
|
</record>
|
1050
|
+
<enumeration name="ChangeCaseType"
|
1051
|
+
version="3.12"
|
1052
|
+
glib:type-name="GtkSourceChangeCaseType"
|
1053
|
+
glib:get-type="gtk_source_change_case_type_get_type"
|
1054
|
+
c:type="GtkSourceChangeCaseType">
|
1055
|
+
<member name="lower"
|
1056
|
+
value="0"
|
1057
|
+
c:identifier="GTK_SOURCE_CHANGE_CASE_LOWER"
|
1058
|
+
glib:nick="lower">
|
1059
|
+
<doc xml:space="preserve">change case to lowercase.</doc>
|
1060
|
+
</member>
|
1061
|
+
<member name="upper"
|
1062
|
+
value="1"
|
1063
|
+
c:identifier="GTK_SOURCE_CHANGE_CASE_UPPER"
|
1064
|
+
glib:nick="upper">
|
1065
|
+
<doc xml:space="preserve">change case to uppercase.</doc>
|
1066
|
+
</member>
|
1067
|
+
<member name="toggle"
|
1068
|
+
value="2"
|
1069
|
+
c:identifier="GTK_SOURCE_CHANGE_CASE_TOGGLE"
|
1070
|
+
glib:nick="toggle">
|
1071
|
+
<doc xml:space="preserve">toggle case of each character.</doc>
|
1072
|
+
</member>
|
1073
|
+
<member name="title"
|
1074
|
+
value="3"
|
1075
|
+
c:identifier="GTK_SOURCE_CHANGE_CASE_TITLE"
|
1076
|
+
glib:nick="title">
|
1077
|
+
<doc xml:space="preserve">capitalize each word.</doc>
|
1078
|
+
</member>
|
1079
|
+
</enumeration>
|
901
1080
|
<class name="Completion"
|
902
1081
|
c:symbol-prefix="completion"
|
903
1082
|
c:type="GtkSourceCompletion"
|
@@ -905,6 +1084,7 @@ a mark is added to, moved or removed from the @buffer.</doc>
|
|
905
1084
|
glib:type-name="GtkSourceCompletion"
|
906
1085
|
glib:get-type="gtk_source_completion_get_type"
|
907
1086
|
glib:type-struct="CompletionClass">
|
1087
|
+
<implements name="Gtk.Buildable"/>
|
908
1088
|
<virtual-method name="activate_proposal">
|
909
1089
|
<return-value transfer-ownership="none">
|
910
1090
|
<type name="none" c:type="void"/>
|
@@ -922,6 +1102,7 @@ a mark is added to, moved or removed from the @buffer.</doc>
|
|
922
1102
|
</return-value>
|
923
1103
|
<parameters>
|
924
1104
|
<instance-parameter name="completion" transfer-ownership="none">
|
1105
|
+
<doc xml:space="preserve">a #GtkSourceCompletion.</doc>
|
925
1106
|
<type name="Completion" c:type="GtkSourceCompletion*"/>
|
926
1107
|
</instance-parameter>
|
927
1108
|
</parameters>
|
@@ -1007,7 +1188,8 @@ a mark is added to, moved or removed from the @buffer.</doc>
|
|
1007
1188
|
add a reference @provider, so make sure to unref your own copy when you
|
1008
1189
|
no longer need it.</doc>
|
1009
1190
|
<return-value transfer-ownership="none">
|
1010
|
-
<doc xml:space="preserve">%TRUE if @provider was successfully added, otherwise if @error
|
1191
|
+
<doc xml:space="preserve">%TRUE if @provider was successfully added, otherwise if @error
|
1192
|
+
is provided, it will be set with the error and %FALSE is returned.</doc>
|
1011
1193
|
<type name="gboolean" c:type="gboolean"/>
|
1012
1194
|
</return-value>
|
1013
1195
|
<parameters>
|
@@ -1027,7 +1209,11 @@ no longer need it.</doc>
|
|
1027
1209
|
<doc xml:space="preserve">Block interactive completion. This can be used to disable interactive
|
1028
1210
|
completion when inserting or deleting text from the buffer associated with
|
1029
1211
|
the completion. Use gtk_source_completion_unblock_interactive() to enable
|
1030
|
-
interactive completion again
|
1212
|
+
interactive completion again.
|
1213
|
+
|
1214
|
+
This function may be called multiple times. It will continue to block
|
1215
|
+
interactive completion until gtk_source_completion_unblock_interactive()
|
1216
|
+
has been called the same number of times.</doc>
|
1031
1217
|
<return-value transfer-ownership="none">
|
1032
1218
|
<type name="none" c:type="void"/>
|
1033
1219
|
</return-value>
|
@@ -1044,7 +1230,10 @@ interactive completion again.</doc>
|
|
1044
1230
|
the completion occurs can be specified by @position. If @position is %NULL,
|
1045
1231
|
the current cursor position will be used.</doc>
|
1046
1232
|
<return-value transfer-ownership="none">
|
1047
|
-
<doc xml:space="preserve">a new #GtkSourceCompletionContext.
|
1233
|
+
<doc xml:space="preserve">a new #GtkSourceCompletionContext.
|
1234
|
+
The reference being returned is a 'floating' reference,
|
1235
|
+
so if you invoke gtk_source_completion_show() with this context
|
1236
|
+
you don't need to unref it.</doc>
|
1048
1237
|
<type name="CompletionContext" c:type="GtkSourceCompletionContext*"/>
|
1049
1238
|
</return-value>
|
1050
1239
|
<parameters>
|
@@ -1052,7 +1241,10 @@ the current cursor position will be used.</doc>
|
|
1052
1241
|
<doc xml:space="preserve">a #GtkSourceCompletion.</doc>
|
1053
1242
|
<type name="Completion" c:type="GtkSourceCompletion*"/>
|
1054
1243
|
</instance-parameter>
|
1055
|
-
<parameter name="position"
|
1244
|
+
<parameter name="position"
|
1245
|
+
transfer-ownership="none"
|
1246
|
+
nullable="1"
|
1247
|
+
allow-none="1">
|
1056
1248
|
<doc xml:space="preserve">a #GtkTextIter, or %NULL.</doc>
|
1057
1249
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
1058
1250
|
</parameter>
|
@@ -1063,7 +1255,8 @@ the current cursor position will be used.</doc>
|
|
1063
1255
|
<doc xml:space="preserve">The info widget is the window where the completion displays optional extra
|
1064
1256
|
information of the proposal.</doc>
|
1065
1257
|
<return-value transfer-ownership="none">
|
1066
|
-
<doc xml:space="preserve">The #GtkSourceCompletionInfo window
|
1258
|
+
<doc xml:space="preserve">The #GtkSourceCompletionInfo window
|
1259
|
+
associated with @completion.</doc>
|
1067
1260
|
<type name="CompletionInfo" c:type="GtkSourceCompletionInfo*"/>
|
1068
1261
|
</return-value>
|
1069
1262
|
<parameters>
|
@@ -1078,7 +1271,8 @@ information of the proposal.</doc>
|
|
1078
1271
|
<doc xml:space="preserve">Get list of providers registered on @completion. The returned list is owned
|
1079
1272
|
by the completion and should not be freed.</doc>
|
1080
1273
|
<return-value transfer-ownership="none">
|
1081
|
-
<doc xml:space="preserve">
|
1274
|
+
<doc xml:space="preserve">
|
1275
|
+
list of #GtkSourceCompletionProvider.</doc>
|
1082
1276
|
<type name="GLib.List" c:type="GList*">
|
1083
1277
|
<type name="CompletionProvider"/>
|
1084
1278
|
</type>
|
@@ -1093,7 +1287,8 @@ by the completion and should not be freed.</doc>
|
|
1093
1287
|
<method name="get_view" c:identifier="gtk_source_completion_get_view">
|
1094
1288
|
<doc xml:space="preserve">The #GtkSourceView associated with @completion.</doc>
|
1095
1289
|
<return-value transfer-ownership="none">
|
1096
|
-
<doc xml:space="preserve">
|
1290
|
+
<doc xml:space="preserve">
|
1291
|
+
The #GtkSourceView associated with @completion.</doc>
|
1097
1292
|
<type name="View" c:type="GtkSourceView*"/>
|
1098
1293
|
</return-value>
|
1099
1294
|
<parameters>
|
@@ -1117,9 +1312,10 @@ by the completion and should not be freed.</doc>
|
|
1117
1312
|
</method>
|
1118
1313
|
<method name="move_window"
|
1119
1314
|
c:identifier="gtk_source_completion_move_window"
|
1120
|
-
deprecated="
|
1315
|
+
deprecated="1"
|
1121
1316
|
deprecated-version="3.8">
|
1122
1317
|
<doc xml:space="preserve">Move the completion window to a specific iter.</doc>
|
1318
|
+
<doc-deprecated xml:space="preserve">Use gtk_source_completion_provider_get_start_iter() instead.</doc-deprecated>
|
1123
1319
|
<return-value transfer-ownership="none">
|
1124
1320
|
<type name="none" c:type="void"/>
|
1125
1321
|
</return-value>
|
@@ -1139,7 +1335,8 @@ by the completion and should not be freed.</doc>
|
|
1139
1335
|
throws="1">
|
1140
1336
|
<doc xml:space="preserve">Remove @provider from the completion.</doc>
|
1141
1337
|
<return-value transfer-ownership="none">
|
1142
|
-
<doc xml:space="preserve">%TRUE if @provider was successfully removed, otherwise if @error
|
1338
|
+
<doc xml:space="preserve">%TRUE if @provider was successfully removed, otherwise if @error
|
1339
|
+
is provided, it will be set with the error and %FALSE is returned.</doc>
|
1143
1340
|
<type name="gboolean" c:type="gboolean"/>
|
1144
1341
|
</return-value>
|
1145
1342
|
<parameters>
|
@@ -1173,14 +1370,19 @@ gtk_source_completion_provider_match() for each provider.</doc>
|
|
1173
1370
|
<doc xml:space="preserve">a #GtkSourceCompletion.</doc>
|
1174
1371
|
<type name="Completion" c:type="GtkSourceCompletion*"/>
|
1175
1372
|
</instance-parameter>
|
1176
|
-
<parameter name="providers"
|
1177
|
-
|
1373
|
+
<parameter name="providers"
|
1374
|
+
transfer-ownership="none"
|
1375
|
+
nullable="1"
|
1376
|
+
allow-none="1">
|
1377
|
+
<doc xml:space="preserve">
|
1378
|
+
a list of #GtkSourceCompletionProvider, or %NULL.</doc>
|
1178
1379
|
<type name="GLib.List" c:type="GList*">
|
1179
1380
|
<type name="CompletionProvider"/>
|
1180
1381
|
</type>
|
1181
1382
|
</parameter>
|
1182
1383
|
<parameter name="context" transfer-ownership="none">
|
1183
|
-
<doc xml:space="preserve">The #GtkSourceCompletionContext
|
1384
|
+
<doc xml:space="preserve">The #GtkSourceCompletionContext
|
1385
|
+
with which to start the completion.</doc>
|
1184
1386
|
<type name="CompletionContext"
|
1185
1387
|
c:type="GtkSourceCompletionContext*"/>
|
1186
1388
|
</parameter>
|
@@ -1315,7 +1517,7 @@ The <keycap>Up</keycap>, <keycap>Down</keycap>,
|
|
1315
1517
|
<keycap>Home</keycap> and <keycap>End</keycap> keys are bound to the
|
1316
1518
|
normal behavior expected by those keys.
|
1317
1519
|
|
1318
|
-
When @step is equal to
|
1520
|
+
When @step is equal to %GTK_SCROLL_PAGES, the page size is defined by
|
1319
1521
|
the #GtkSourceCompletion:proposal-page-size property. It is used for
|
1320
1522
|
the <keycap>PageDown</keycap> and <keycap>PageUp</keycap> keys.
|
1321
1523
|
|
@@ -1405,13 +1607,17 @@ will actually show the window.</doc>
|
|
1405
1607
|
value="1"
|
1406
1608
|
c:identifier="GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE"
|
1407
1609
|
glib:nick="interactive">
|
1408
|
-
<doc xml:space="preserve">Interactive activation. By
|
1610
|
+
<doc xml:space="preserve">Interactive activation. By
|
1611
|
+
default, it occurs on each insertion in the #GtkTextBuffer. This can be
|
1612
|
+
blocked temporarily with gtk_source_completion_block_interactive().</doc>
|
1409
1613
|
</member>
|
1410
1614
|
<member name="user_requested"
|
1411
1615
|
value="2"
|
1412
1616
|
c:identifier="GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED"
|
1413
1617
|
glib:nick="user-requested">
|
1414
|
-
<doc xml:space="preserve">User requested activation.
|
1618
|
+
<doc xml:space="preserve">User requested activation.
|
1619
|
+
By default, it occurs when the user presses
|
1620
|
+
<keycombo><keycap>Control</keycap><keycap>space</keycap></keycombo>.</doc>
|
1415
1621
|
</member>
|
1416
1622
|
</bitfield>
|
1417
1623
|
<record name="CompletionClass"
|
@@ -1459,6 +1665,7 @@ will actually show the window.</doc>
|
|
1459
1665
|
</return-value>
|
1460
1666
|
<parameters>
|
1461
1667
|
<parameter name="completion" transfer-ownership="none">
|
1668
|
+
<doc xml:space="preserve">a #GtkSourceCompletion.</doc>
|
1462
1669
|
<type name="Completion" c:type="GtkSourceCompletion*"/>
|
1463
1670
|
</parameter>
|
1464
1671
|
</parameters>
|
@@ -1569,7 +1776,10 @@ function is called.</doc>
|
|
1569
1776
|
<type name="CompletionProvider"
|
1570
1777
|
c:type="GtkSourceCompletionProvider*"/>
|
1571
1778
|
</parameter>
|
1572
|
-
<parameter name="proposals"
|
1779
|
+
<parameter name="proposals"
|
1780
|
+
transfer-ownership="none"
|
1781
|
+
nullable="1"
|
1782
|
+
allow-none="1">
|
1573
1783
|
<doc xml:space="preserve">The list of proposals to add.</doc>
|
1574
1784
|
<type name="GLib.List" c:type="GList*">
|
1575
1785
|
<type name="CompletionProposal"/>
|
@@ -1619,7 +1829,10 @@ to determine how and if to match proposals.</doc>
|
|
1619
1829
|
</parameter>
|
1620
1830
|
</parameters>
|
1621
1831
|
</method>
|
1622
|
-
<property name="activation"
|
1832
|
+
<property name="activation"
|
1833
|
+
writable="1"
|
1834
|
+
construct="1"
|
1835
|
+
transfer-ownership="none">
|
1623
1836
|
<doc xml:space="preserve">The completion activation</doc>
|
1624
1837
|
<type name="CompletionActivation"/>
|
1625
1838
|
</property>
|
@@ -1707,13 +1920,15 @@ from a completion-related function.</doc>
|
|
1707
1920
|
value="0"
|
1708
1921
|
c:identifier="GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND"
|
1709
1922
|
glib:nick="already-bound">
|
1710
|
-
<doc xml:space="preserve">The #GtkSourceCompletionProvider
|
1923
|
+
<doc xml:space="preserve">The #GtkSourceCompletionProvider
|
1924
|
+
is already bound to the #GtkSourceCompletion object.</doc>
|
1711
1925
|
</member>
|
1712
1926
|
<member name="not_bound"
|
1713
1927
|
value="1"
|
1714
1928
|
c:identifier="GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND"
|
1715
1929
|
glib:nick="not-bound">
|
1716
|
-
<doc xml:space="preserve">The #GtkSourceCompletionProvider is
|
1930
|
+
<doc xml:space="preserve">The #GtkSourceCompletionProvider is
|
1931
|
+
not bound to the #GtkSourceCompletion object.</doc>
|
1717
1932
|
</member>
|
1718
1933
|
<function name="quark" c:identifier="gtk_source_completion_error_quark">
|
1719
1934
|
<return-value transfer-ownership="none">
|
@@ -1748,9 +1963,10 @@ from a completion-related function.</doc>
|
|
1748
1963
|
</virtual-method>
|
1749
1964
|
<method name="get_widget"
|
1750
1965
|
c:identifier="gtk_source_completion_info_get_widget"
|
1751
|
-
deprecated="
|
1966
|
+
deprecated="1"
|
1752
1967
|
deprecated-version="3.8">
|
1753
1968
|
<doc xml:space="preserve">Get the current content widget.</doc>
|
1969
|
+
<doc-deprecated xml:space="preserve">Use gtk_bin_get_child() instead.</doc-deprecated>
|
1754
1970
|
<return-value transfer-ownership="none">
|
1755
1971
|
<doc xml:space="preserve">The current content widget.</doc>
|
1756
1972
|
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
@@ -1780,7 +1996,10 @@ the window.</doc>
|
|
1780
1996
|
<doc xml:space="preserve">a #GtkTextView on which the info window should be positioned.</doc>
|
1781
1997
|
<type name="Gtk.TextView" c:type="GtkTextView*"/>
|
1782
1998
|
</parameter>
|
1783
|
-
<parameter name="iter"
|
1999
|
+
<parameter name="iter"
|
2000
|
+
transfer-ownership="none"
|
2001
|
+
nullable="1"
|
2002
|
+
allow-none="1">
|
1784
2003
|
<doc xml:space="preserve">a #GtkTextIter.</doc>
|
1785
2004
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
1786
2005
|
</parameter>
|
@@ -1788,11 +2007,13 @@ the window.</doc>
|
|
1788
2007
|
</method>
|
1789
2008
|
<method name="set_widget"
|
1790
2009
|
c:identifier="gtk_source_completion_info_set_widget"
|
1791
|
-
deprecated="
|
2010
|
+
deprecated="1"
|
1792
2011
|
deprecated-version="3.8">
|
1793
2012
|
<doc xml:space="preserve">Sets the content widget of the info window. See that the previous widget will
|
1794
2013
|
lose a reference and it can be destroyed, so if you do not want this to
|
1795
2014
|
happen you must use g_object_ref() before calling this method.</doc>
|
2015
|
+
<doc-deprecated xml:space="preserve">Use gtk_container_add() instead. If there is already a child
|
2016
|
+
widget, remove it with gtk_container_remove().</doc-deprecated>
|
1796
2017
|
<return-value transfer-ownership="none">
|
1797
2018
|
<type name="none" c:type="void"/>
|
1798
2019
|
</return-value>
|
@@ -1801,7 +2022,10 @@ happen you must use g_object_ref() before calling this method.</doc>
|
|
1801
2022
|
<doc xml:space="preserve">a #GtkSourceCompletionInfo.</doc>
|
1802
2023
|
<type name="CompletionInfo" c:type="GtkSourceCompletionInfo*"/>
|
1803
2024
|
</instance-parameter>
|
1804
|
-
<parameter name="widget"
|
2025
|
+
<parameter name="widget"
|
2026
|
+
transfer-ownership="none"
|
2027
|
+
nullable="1"
|
2028
|
+
allow-none="1">
|
1805
2029
|
<doc xml:space="preserve">a #GtkWidget.</doc>
|
1806
2030
|
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
1807
2031
|
</parameter>
|
@@ -1817,11 +2041,12 @@ happen you must use g_object_ref() before calling this method.</doc>
|
|
1817
2041
|
<glib:signal name="before-show"
|
1818
2042
|
when="last"
|
1819
2043
|
action="1"
|
1820
|
-
deprecated="
|
2044
|
+
deprecated="1"
|
1821
2045
|
deprecated-version="3.10">
|
1822
2046
|
<doc xml:space="preserve">This signal is emitted before any "show" management. You can connect
|
1823
2047
|
to this signal if you want to change some properties or position
|
1824
2048
|
before the real "show".</doc>
|
2049
|
+
<doc-deprecated xml:space="preserve">This signal should not be used.</doc-deprecated>
|
1825
2050
|
<return-value transfer-ownership="none">
|
1826
2051
|
<type name="none" c:type="void"/>
|
1827
2052
|
</return-value>
|
@@ -1875,11 +2100,17 @@ there will be no icon shown and no extra information available.</doc>
|
|
1875
2100
|
<doc xml:space="preserve">The item text.</doc>
|
1876
2101
|
<type name="utf8" c:type="const gchar*"/>
|
1877
2102
|
</parameter>
|
1878
|
-
<parameter name="icon"
|
2103
|
+
<parameter name="icon"
|
2104
|
+
transfer-ownership="none"
|
2105
|
+
nullable="1"
|
2106
|
+
allow-none="1">
|
1879
2107
|
<doc xml:space="preserve">The item icon.</doc>
|
1880
2108
|
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
|
1881
2109
|
</parameter>
|
1882
|
-
<parameter name="info"
|
2110
|
+
<parameter name="info"
|
2111
|
+
transfer-ownership="none"
|
2112
|
+
nullable="1"
|
2113
|
+
allow-none="1">
|
1883
2114
|
<doc xml:space="preserve">The item extra information.</doc>
|
1884
2115
|
<type name="utf8" c:type="const gchar*"/>
|
1885
2116
|
</parameter>
|
@@ -1887,16 +2118,20 @@ there will be no icon shown and no extra information available.</doc>
|
|
1887
2118
|
</constructor>
|
1888
2119
|
<constructor name="new_from_stock"
|
1889
2120
|
c:identifier="gtk_source_completion_item_new_from_stock"
|
1890
|
-
deprecated="
|
2121
|
+
deprecated="1"
|
1891
2122
|
deprecated-version="3.10">
|
1892
2123
|
<doc xml:space="preserve">Creates a new #GtkSourceCompletionItem from a stock item. If @label is %NULL,
|
1893
2124
|
the stock label will be used.</doc>
|
2125
|
+
<doc-deprecated xml:space="preserve">Use gtk_source_completion_item_new() instead.</doc-deprecated>
|
1894
2126
|
<return-value transfer-ownership="full">
|
1895
2127
|
<doc xml:space="preserve">a new #GtkSourceCompletionItem.</doc>
|
1896
2128
|
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
1897
2129
|
</return-value>
|
1898
2130
|
<parameters>
|
1899
|
-
<parameter name="label"
|
2131
|
+
<parameter name="label"
|
2132
|
+
transfer-ownership="none"
|
2133
|
+
nullable="1"
|
2134
|
+
allow-none="1">
|
1900
2135
|
<doc xml:space="preserve">The item label.</doc>
|
1901
2136
|
<type name="utf8" c:type="const gchar*"/>
|
1902
2137
|
</parameter>
|
@@ -1908,7 +2143,10 @@ the stock label will be used.</doc>
|
|
1908
2143
|
<doc xml:space="preserve">The stock icon.</doc>
|
1909
2144
|
<type name="utf8" c:type="const gchar*"/>
|
1910
2145
|
</parameter>
|
1911
|
-
<parameter name="info"
|
2146
|
+
<parameter name="info"
|
2147
|
+
transfer-ownership="none"
|
2148
|
+
nullable="1"
|
2149
|
+
allow-none="1">
|
1912
2150
|
<doc xml:space="preserve">The item extra information.</doc>
|
1913
2151
|
<type name="utf8" c:type="const gchar*"/>
|
1914
2152
|
</parameter>
|
@@ -1932,11 +2170,17 @@ which case there will be no icon shown and no extra information available.</doc>
|
|
1932
2170
|
<doc xml:space="preserve">The item text.</doc>
|
1933
2171
|
<type name="utf8" c:type="const gchar*"/>
|
1934
2172
|
</parameter>
|
1935
|
-
<parameter name="icon"
|
2173
|
+
<parameter name="icon"
|
2174
|
+
transfer-ownership="none"
|
2175
|
+
nullable="1"
|
2176
|
+
allow-none="1">
|
1936
2177
|
<doc xml:space="preserve">The item icon.</doc>
|
1937
2178
|
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
|
1938
2179
|
</parameter>
|
1939
|
-
<parameter name="info"
|
2180
|
+
<parameter name="info"
|
2181
|
+
transfer-ownership="none"
|
2182
|
+
nullable="1"
|
2183
|
+
allow-none="1">
|
1940
2184
|
<doc xml:space="preserve">The item extra information.</doc>
|
1941
2185
|
<type name="utf8" c:type="const gchar*"/>
|
1942
2186
|
</parameter>
|
@@ -2000,6 +2244,7 @@ changed.</doc>
|
|
2000
2244
|
</return-value>
|
2001
2245
|
<parameters>
|
2002
2246
|
<instance-parameter name="proposal" transfer-ownership="none">
|
2247
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2003
2248
|
<type name="CompletionProposal"
|
2004
2249
|
c:type="GtkSourceCompletionProposal*"/>
|
2005
2250
|
</instance-parameter>
|
@@ -2015,6 +2260,7 @@ completion model. By default, it uses direct equality (g_direct_equal()).</doc>
|
|
2015
2260
|
</return-value>
|
2016
2261
|
<parameters>
|
2017
2262
|
<instance-parameter name="proposal" transfer-ownership="none">
|
2263
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2018
2264
|
<type name="CompletionProposal"
|
2019
2265
|
c:type="GtkSourceCompletionProposal*"/>
|
2020
2266
|
</instance-parameter>
|
@@ -2033,6 +2279,7 @@ completion model. By default, it uses direct equality (g_direct_equal()).</doc>
|
|
2033
2279
|
</return-value>
|
2034
2280
|
<parameters>
|
2035
2281
|
<instance-parameter name="proposal" transfer-ownership="none">
|
2282
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2036
2283
|
<type name="CompletionProposal"
|
2037
2284
|
c:type="GtkSourceCompletionProposal*"/>
|
2038
2285
|
</instance-parameter>
|
@@ -2043,11 +2290,13 @@ completion model. By default, it uses direct equality (g_direct_equal()).</doc>
|
|
2043
2290
|
used to present the user with extra, detailed information about the
|
2044
2291
|
selected proposal. The returned string must be freed with g_free().</doc>
|
2045
2292
|
<return-value transfer-ownership="full">
|
2046
|
-
<doc xml:space="preserve">a new string containing extra information of @proposal or %NULL if
|
2293
|
+
<doc xml:space="preserve">a new string containing extra information of @proposal or %NULL if
|
2294
|
+
no extra information is associated to @proposal.</doc>
|
2047
2295
|
<type name="utf8" c:type="gchar*"/>
|
2048
2296
|
</return-value>
|
2049
2297
|
<parameters>
|
2050
2298
|
<instance-parameter name="proposal" transfer-ownership="none">
|
2299
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2051
2300
|
<type name="CompletionProposal"
|
2052
2301
|
c:type="GtkSourceCompletionProposal*"/>
|
2053
2302
|
</instance-parameter>
|
@@ -2064,6 +2313,7 @@ must be freed with g_free().</doc>
|
|
2064
2313
|
</return-value>
|
2065
2314
|
<parameters>
|
2066
2315
|
<instance-parameter name="proposal" transfer-ownership="none">
|
2316
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2067
2317
|
<type name="CompletionProposal"
|
2068
2318
|
c:type="GtkSourceCompletionProposal*"/>
|
2069
2319
|
</instance-parameter>
|
@@ -2080,6 +2330,7 @@ must be freed with g_free().</doc>
|
|
2080
2330
|
</return-value>
|
2081
2331
|
<parameters>
|
2082
2332
|
<instance-parameter name="proposal" transfer-ownership="none">
|
2333
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2083
2334
|
<type name="CompletionProposal"
|
2084
2335
|
c:type="GtkSourceCompletionProposal*"/>
|
2085
2336
|
</instance-parameter>
|
@@ -2098,6 +2349,7 @@ be freed with g_free().</doc>
|
|
2098
2349
|
</return-value>
|
2099
2350
|
<parameters>
|
2100
2351
|
<instance-parameter name="proposal" transfer-ownership="none">
|
2352
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2101
2353
|
<type name="CompletionProposal"
|
2102
2354
|
c:type="GtkSourceCompletionProposal*"/>
|
2103
2355
|
</instance-parameter>
|
@@ -2113,6 +2365,7 @@ model. By default, it uses a direct hash (g_direct_hash()).</doc>
|
|
2113
2365
|
</return-value>
|
2114
2366
|
<parameters>
|
2115
2367
|
<instance-parameter name="proposal" transfer-ownership="none">
|
2368
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2116
2369
|
<type name="CompletionProposal"
|
2117
2370
|
c:type="GtkSourceCompletionProposal*"/>
|
2118
2371
|
</instance-parameter>
|
@@ -2176,7 +2429,8 @@ completion model. By default, it uses direct equality (g_direct_equal()).</doc>
|
|
2176
2429
|
used to present the user with extra, detailed information about the
|
2177
2430
|
selected proposal. The returned string must be freed with g_free().</doc>
|
2178
2431
|
<return-value transfer-ownership="full">
|
2179
|
-
<doc xml:space="preserve">a new string containing extra information of @proposal or %NULL if
|
2432
|
+
<doc xml:space="preserve">a new string containing extra information of @proposal or %NULL if
|
2433
|
+
no extra information is associated to @proposal.</doc>
|
2180
2434
|
<type name="utf8" c:type="gchar*"/>
|
2181
2435
|
</return-value>
|
2182
2436
|
<parameters>
|
@@ -2272,6 +2526,7 @@ will react to this by updating the shown information.</doc>
|
|
2272
2526
|
glib:is-gtype-struct-for="CompletionProposal">
|
2273
2527
|
<doc xml:space="preserve">The virtual function table for #GtkSourceCompletionProposal.</doc>
|
2274
2528
|
<field name="parent">
|
2529
|
+
<doc xml:space="preserve">The parent interface.</doc>
|
2275
2530
|
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
2276
2531
|
</field>
|
2277
2532
|
<field name="get_label">
|
@@ -2282,6 +2537,7 @@ will react to this by updating the shown information.</doc>
|
|
2282
2537
|
</return-value>
|
2283
2538
|
<parameters>
|
2284
2539
|
<parameter name="proposal" transfer-ownership="none">
|
2540
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2285
2541
|
<type name="CompletionProposal"
|
2286
2542
|
c:type="GtkSourceCompletionProposal*"/>
|
2287
2543
|
</parameter>
|
@@ -2296,6 +2552,7 @@ will react to this by updating the shown information.</doc>
|
|
2296
2552
|
</return-value>
|
2297
2553
|
<parameters>
|
2298
2554
|
<parameter name="proposal" transfer-ownership="none">
|
2555
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2299
2556
|
<type name="CompletionProposal"
|
2300
2557
|
c:type="GtkSourceCompletionProposal*"/>
|
2301
2558
|
</parameter>
|
@@ -2310,6 +2567,7 @@ will react to this by updating the shown information.</doc>
|
|
2310
2567
|
</return-value>
|
2311
2568
|
<parameters>
|
2312
2569
|
<parameter name="proposal" transfer-ownership="none">
|
2570
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2313
2571
|
<type name="CompletionProposal"
|
2314
2572
|
c:type="GtkSourceCompletionProposal*"/>
|
2315
2573
|
</parameter>
|
@@ -2324,6 +2582,7 @@ will react to this by updating the shown information.</doc>
|
|
2324
2582
|
</return-value>
|
2325
2583
|
<parameters>
|
2326
2584
|
<parameter name="proposal" transfer-ownership="none">
|
2585
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2327
2586
|
<type name="CompletionProposal"
|
2328
2587
|
c:type="GtkSourceCompletionProposal*"/>
|
2329
2588
|
</parameter>
|
@@ -2333,11 +2592,13 @@ will react to this by updating the shown information.</doc>
|
|
2333
2592
|
<field name="get_info">
|
2334
2593
|
<callback name="get_info">
|
2335
2594
|
<return-value transfer-ownership="full">
|
2336
|
-
<doc xml:space="preserve">a new string containing extra information of @proposal or %NULL if
|
2595
|
+
<doc xml:space="preserve">a new string containing extra information of @proposal or %NULL if
|
2596
|
+
no extra information is associated to @proposal.</doc>
|
2337
2597
|
<type name="utf8" c:type="gchar*"/>
|
2338
2598
|
</return-value>
|
2339
2599
|
<parameters>
|
2340
2600
|
<parameter name="proposal" transfer-ownership="none">
|
2601
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2341
2602
|
<type name="CompletionProposal"
|
2342
2603
|
c:type="GtkSourceCompletionProposal*"/>
|
2343
2604
|
</parameter>
|
@@ -2352,6 +2613,7 @@ will react to this by updating the shown information.</doc>
|
|
2352
2613
|
</return-value>
|
2353
2614
|
<parameters>
|
2354
2615
|
<parameter name="proposal" transfer-ownership="none">
|
2616
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2355
2617
|
<type name="CompletionProposal"
|
2356
2618
|
c:type="GtkSourceCompletionProposal*"/>
|
2357
2619
|
</parameter>
|
@@ -2366,6 +2628,7 @@ will react to this by updating the shown information.</doc>
|
|
2366
2628
|
</return-value>
|
2367
2629
|
<parameters>
|
2368
2630
|
<parameter name="proposal" transfer-ownership="none">
|
2631
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2369
2632
|
<type name="CompletionProposal"
|
2370
2633
|
c:type="GtkSourceCompletionProposal*"/>
|
2371
2634
|
</parameter>
|
@@ -2384,6 +2647,7 @@ will react to this by updating the shown information.</doc>
|
|
2384
2647
|
</return-value>
|
2385
2648
|
<parameters>
|
2386
2649
|
<parameter name="proposal" transfer-ownership="none">
|
2650
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
|
2387
2651
|
<type name="CompletionProposal"
|
2388
2652
|
c:type="GtkSourceCompletionProposal*"/>
|
2389
2653
|
</parameter>
|
@@ -2409,11 +2673,13 @@ gtk_source_completion_provider_get_start_iter()). If a start iter is defined,
|
|
2409
2673
|
the start of the word is the start iter. Else, the word (as long as possible)
|
2410
2674
|
will contain only alphanumerical and the "_" characters.</doc>
|
2411
2675
|
<return-value transfer-ownership="none">
|
2412
|
-
<doc xml:space="preserve">%TRUE to indicate that the proposal activation has been handled,
|
2676
|
+
<doc xml:space="preserve">%TRUE to indicate that the proposal activation has been handled,
|
2677
|
+
%FALSE otherwise.</doc>
|
2413
2678
|
<type name="gboolean" c:type="gboolean"/>
|
2414
2679
|
</return-value>
|
2415
2680
|
<parameters>
|
2416
2681
|
<instance-parameter name="provider" transfer-ownership="none">
|
2682
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2417
2683
|
<type name="CompletionProvider"
|
2418
2684
|
c:type="GtkSourceCompletionProvider*"/>
|
2419
2685
|
</instance-parameter>
|
@@ -2437,6 +2703,7 @@ will contain only alphanumerical and the "_" characters.</doc>
|
|
2437
2703
|
</return-value>
|
2438
2704
|
<parameters>
|
2439
2705
|
<instance-parameter name="provider" transfer-ownership="none">
|
2706
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2440
2707
|
<type name="CompletionProvider"
|
2441
2708
|
c:type="GtkSourceCompletionProvider*"/>
|
2442
2709
|
</instance-parameter>
|
@@ -2444,12 +2711,14 @@ will contain only alphanumerical and the "_" characters.</doc>
|
|
2444
2711
|
</virtual-method>
|
2445
2712
|
<virtual-method name="get_icon" invoker="get_icon">
|
2446
2713
|
<doc xml:space="preserve">Get the icon of the provider.</doc>
|
2447
|
-
<return-value transfer-ownership="none">
|
2448
|
-
<doc xml:space="preserve">The icon to be used for the provider,
|
2714
|
+
<return-value transfer-ownership="none" nullable="1">
|
2715
|
+
<doc xml:space="preserve">The icon to be used for the provider,
|
2716
|
+
or %NULL if the provider does not have a special icon.</doc>
|
2449
2717
|
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
|
2450
2718
|
</return-value>
|
2451
2719
|
<parameters>
|
2452
2720
|
<instance-parameter name="provider" transfer-ownership="none">
|
2721
|
+
<doc xml:space="preserve">The #GtkSourceCompletionProvider</doc>
|
2453
2722
|
<type name="CompletionProvider"
|
2454
2723
|
c:type="GtkSourceCompletionProvider*"/>
|
2455
2724
|
</instance-parameter>
|
@@ -2471,12 +2740,15 @@ content of the #GtkLabel.
|
|
2471
2740
|
<emphasis>must</emphasis> also be implemented.
|
2472
2741
|
</para>
|
2473
2742
|
</note></doc>
|
2474
|
-
<return-value transfer-ownership="none">
|
2475
|
-
<doc xml:space="preserve">a custom #GtkWidget to show extra
|
2743
|
+
<return-value transfer-ownership="none" nullable="1">
|
2744
|
+
<doc xml:space="preserve">a custom #GtkWidget to show extra
|
2745
|
+
information about @proposal, or %NULL if the provider does not have a special
|
2746
|
+
info widget.</doc>
|
2476
2747
|
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
2477
2748
|
</return-value>
|
2478
2749
|
<parameters>
|
2479
2750
|
<instance-parameter name="provider" transfer-ownership="none">
|
2751
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2480
2752
|
<type name="CompletionProvider"
|
2481
2753
|
c:type="GtkSourceCompletionProvider*"/>
|
2482
2754
|
</instance-parameter>
|
@@ -2498,6 +2770,7 @@ by the #GtkSourceCompletion:auto-complete-delay property.</doc>
|
|
2498
2770
|
</return-value>
|
2499
2771
|
<parameters>
|
2500
2772
|
<instance-parameter name="provider" transfer-ownership="none">
|
2773
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2501
2774
|
<type name="CompletionProvider"
|
2502
2775
|
c:type="GtkSourceCompletionProvider*"/>
|
2503
2776
|
</instance-parameter>
|
@@ -2513,6 +2786,7 @@ returned string must be freed with g_free().</doc>
|
|
2513
2786
|
</return-value>
|
2514
2787
|
<parameters>
|
2515
2788
|
<instance-parameter name="provider" transfer-ownership="none">
|
2789
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2516
2790
|
<type name="CompletionProvider"
|
2517
2791
|
c:type="GtkSourceCompletionProvider*"/>
|
2518
2792
|
</instance-parameter>
|
@@ -2528,6 +2802,7 @@ before lower priorities. The default priority is 0.</doc>
|
|
2528
2802
|
</return-value>
|
2529
2803
|
<parameters>
|
2530
2804
|
<instance-parameter name="provider" transfer-ownership="none">
|
2805
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2531
2806
|
<type name="CompletionProvider"
|
2532
2807
|
c:type="GtkSourceCompletionProvider*"/>
|
2533
2808
|
</instance-parameter>
|
@@ -2552,6 +2827,7 @@ gtk_source_completion_provider_activate_proposal() for more information.</doc>
|
|
2552
2827
|
</return-value>
|
2553
2828
|
<parameters>
|
2554
2829
|
<instance-parameter name="provider" transfer-ownership="none">
|
2830
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2555
2831
|
<type name="CompletionProvider"
|
2556
2832
|
c:type="GtkSourceCompletionProvider*"/>
|
2557
2833
|
</instance-parameter>
|
@@ -2580,6 +2856,7 @@ gtk_source_completion_provider_activate_proposal() for more information.</doc>
|
|
2580
2856
|
</return-value>
|
2581
2857
|
<parameters>
|
2582
2858
|
<instance-parameter name="provider" transfer-ownership="none">
|
2859
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2583
2860
|
<type name="CompletionProvider"
|
2584
2861
|
c:type="GtkSourceCompletionProvider*"/>
|
2585
2862
|
</instance-parameter>
|
@@ -2598,6 +2875,7 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
2598
2875
|
</return-value>
|
2599
2876
|
<parameters>
|
2600
2877
|
<instance-parameter name="provider" transfer-ownership="none">
|
2878
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2601
2879
|
<type name="CompletionProvider"
|
2602
2880
|
c:type="GtkSourceCompletionProvider*"/>
|
2603
2881
|
</instance-parameter>
|
@@ -2622,6 +2900,7 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
2622
2900
|
</return-value>
|
2623
2901
|
<parameters>
|
2624
2902
|
<instance-parameter name="provider" transfer-ownership="none">
|
2903
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2625
2904
|
<type name="CompletionProvider"
|
2626
2905
|
c:type="GtkSourceCompletionProvider*"/>
|
2627
2906
|
</instance-parameter>
|
@@ -2649,7 +2928,8 @@ gtk_source_completion_provider_get_start_iter()). If a start iter is defined,
|
|
2649
2928
|
the start of the word is the start iter. Else, the word (as long as possible)
|
2650
2929
|
will contain only alphanumerical and the "_" characters.</doc>
|
2651
2930
|
<return-value transfer-ownership="none">
|
2652
|
-
<doc xml:space="preserve">%TRUE to indicate that the proposal activation has been handled,
|
2931
|
+
<doc xml:space="preserve">%TRUE to indicate that the proposal activation has been handled,
|
2932
|
+
%FALSE otherwise.</doc>
|
2653
2933
|
<type name="gboolean" c:type="gboolean"/>
|
2654
2934
|
</return-value>
|
2655
2935
|
<parameters>
|
@@ -2688,8 +2968,9 @@ will contain only alphanumerical and the "_" characters.</doc>
|
|
2688
2968
|
<method name="get_icon"
|
2689
2969
|
c:identifier="gtk_source_completion_provider_get_icon">
|
2690
2970
|
<doc xml:space="preserve">Get the icon of the provider.</doc>
|
2691
|
-
<return-value transfer-ownership="none">
|
2692
|
-
<doc xml:space="preserve">The icon to be used for the provider,
|
2971
|
+
<return-value transfer-ownership="none" nullable="1">
|
2972
|
+
<doc xml:space="preserve">The icon to be used for the provider,
|
2973
|
+
or %NULL if the provider does not have a special icon.</doc>
|
2693
2974
|
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
|
2694
2975
|
</return-value>
|
2695
2976
|
<parameters>
|
@@ -2717,8 +2998,10 @@ content of the #GtkLabel.
|
|
2717
2998
|
<emphasis>must</emphasis> also be implemented.
|
2718
2999
|
</para>
|
2719
3000
|
</note></doc>
|
2720
|
-
<return-value transfer-ownership="none">
|
2721
|
-
<doc xml:space="preserve">a custom #GtkWidget to show extra
|
3001
|
+
<return-value transfer-ownership="none" nullable="1">
|
3002
|
+
<doc xml:space="preserve">a custom #GtkWidget to show extra
|
3003
|
+
information about @proposal, or %NULL if the provider does not have a special
|
3004
|
+
info widget.</doc>
|
2722
3005
|
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
2723
3006
|
</return-value>
|
2724
3007
|
<parameters>
|
@@ -2901,6 +3184,7 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
2901
3184
|
glib:is-gtype-struct-for="CompletionProvider">
|
2902
3185
|
<doc xml:space="preserve">The virtual function table for #GtkSourceCompletionProvider.</doc>
|
2903
3186
|
<field name="g_iface">
|
3187
|
+
<doc xml:space="preserve">The parent interface.</doc>
|
2904
3188
|
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
2905
3189
|
</field>
|
2906
3190
|
<field name="get_name">
|
@@ -2911,6 +3195,7 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
2911
3195
|
</return-value>
|
2912
3196
|
<parameters>
|
2913
3197
|
<parameter name="provider" transfer-ownership="none">
|
3198
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2914
3199
|
<type name="CompletionProvider"
|
2915
3200
|
c:type="GtkSourceCompletionProvider*"/>
|
2916
3201
|
</parameter>
|
@@ -2919,12 +3204,14 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
2919
3204
|
</field>
|
2920
3205
|
<field name="get_icon">
|
2921
3206
|
<callback name="get_icon">
|
2922
|
-
<return-value transfer-ownership="none">
|
2923
|
-
<doc xml:space="preserve">The icon to be used for the provider,
|
3207
|
+
<return-value transfer-ownership="none" nullable="1">
|
3208
|
+
<doc xml:space="preserve">The icon to be used for the provider,
|
3209
|
+
or %NULL if the provider does not have a special icon.</doc>
|
2924
3210
|
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
|
2925
3211
|
</return-value>
|
2926
3212
|
<parameters>
|
2927
3213
|
<parameter name="provider" transfer-ownership="none">
|
3214
|
+
<doc xml:space="preserve">The #GtkSourceCompletionProvider</doc>
|
2928
3215
|
<type name="CompletionProvider"
|
2929
3216
|
c:type="GtkSourceCompletionProvider*"/>
|
2930
3217
|
</parameter>
|
@@ -2938,6 +3225,7 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
2938
3225
|
</return-value>
|
2939
3226
|
<parameters>
|
2940
3227
|
<parameter name="provider" transfer-ownership="none">
|
3228
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2941
3229
|
<type name="CompletionProvider"
|
2942
3230
|
c:type="GtkSourceCompletionProvider*"/>
|
2943
3231
|
</parameter>
|
@@ -2957,6 +3245,7 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
2957
3245
|
</return-value>
|
2958
3246
|
<parameters>
|
2959
3247
|
<parameter name="provider" transfer-ownership="none">
|
3248
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2960
3249
|
<type name="CompletionProvider"
|
2961
3250
|
c:type="GtkSourceCompletionProvider*"/>
|
2962
3251
|
</parameter>
|
@@ -2977,6 +3266,7 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
2977
3266
|
</return-value>
|
2978
3267
|
<parameters>
|
2979
3268
|
<parameter name="provider" transfer-ownership="none">
|
3269
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2980
3270
|
<type name="CompletionProvider"
|
2981
3271
|
c:type="GtkSourceCompletionProvider*"/>
|
2982
3272
|
</parameter>
|
@@ -2985,12 +3275,15 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
2985
3275
|
</field>
|
2986
3276
|
<field name="get_info_widget">
|
2987
3277
|
<callback name="get_info_widget">
|
2988
|
-
<return-value transfer-ownership="none">
|
2989
|
-
<doc xml:space="preserve">a custom #GtkWidget to show extra
|
3278
|
+
<return-value transfer-ownership="none" nullable="1">
|
3279
|
+
<doc xml:space="preserve">a custom #GtkWidget to show extra
|
3280
|
+
information about @proposal, or %NULL if the provider does not have a special
|
3281
|
+
info widget.</doc>
|
2990
3282
|
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
2991
3283
|
</return-value>
|
2992
3284
|
<parameters>
|
2993
3285
|
<parameter name="provider" transfer-ownership="none">
|
3286
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
2994
3287
|
<type name="CompletionProvider"
|
2995
3288
|
c:type="GtkSourceCompletionProvider*"/>
|
2996
3289
|
</parameter>
|
@@ -3009,6 +3302,7 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
3009
3302
|
</return-value>
|
3010
3303
|
<parameters>
|
3011
3304
|
<parameter name="provider" transfer-ownership="none">
|
3305
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
3012
3306
|
<type name="CompletionProvider"
|
3013
3307
|
c:type="GtkSourceCompletionProvider*"/>
|
3014
3308
|
</parameter>
|
@@ -3032,6 +3326,7 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
3032
3326
|
</return-value>
|
3033
3327
|
<parameters>
|
3034
3328
|
<parameter name="provider" transfer-ownership="none">
|
3329
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
3035
3330
|
<type name="CompletionProvider"
|
3036
3331
|
c:type="GtkSourceCompletionProvider*"/>
|
3037
3332
|
</parameter>
|
@@ -3055,11 +3350,13 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
3055
3350
|
<field name="activate_proposal">
|
3056
3351
|
<callback name="activate_proposal">
|
3057
3352
|
<return-value transfer-ownership="none">
|
3058
|
-
<doc xml:space="preserve">%TRUE to indicate that the proposal activation has been handled,
|
3353
|
+
<doc xml:space="preserve">%TRUE to indicate that the proposal activation has been handled,
|
3354
|
+
%FALSE otherwise.</doc>
|
3059
3355
|
<type name="gboolean" c:type="gboolean"/>
|
3060
3356
|
</return-value>
|
3061
3357
|
<parameters>
|
3062
3358
|
<parameter name="provider" transfer-ownership="none">
|
3359
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
3063
3360
|
<type name="CompletionProvider"
|
3064
3361
|
c:type="GtkSourceCompletionProvider*"/>
|
3065
3362
|
</parameter>
|
@@ -3083,6 +3380,7 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
3083
3380
|
</return-value>
|
3084
3381
|
<parameters>
|
3085
3382
|
<parameter name="provider" transfer-ownership="none">
|
3383
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
3086
3384
|
<type name="CompletionProvider"
|
3087
3385
|
c:type="GtkSourceCompletionProvider*"/>
|
3088
3386
|
</parameter>
|
@@ -3097,6 +3395,7 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
3097
3395
|
</return-value>
|
3098
3396
|
<parameters>
|
3099
3397
|
<parameter name="provider" transfer-ownership="none">
|
3398
|
+
<doc xml:space="preserve">a #GtkSourceCompletionProvider.</doc>
|
3100
3399
|
<type name="CompletionProvider"
|
3101
3400
|
c:type="GtkSourceCompletionProvider*"/>
|
3102
3401
|
</parameter>
|
@@ -3118,11 +3417,17 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
3118
3417
|
<type name="CompletionWords" c:type="GtkSourceCompletionWords*"/>
|
3119
3418
|
</return-value>
|
3120
3419
|
<parameters>
|
3121
|
-
<parameter name="name"
|
3420
|
+
<parameter name="name"
|
3421
|
+
transfer-ownership="none"
|
3422
|
+
nullable="1"
|
3423
|
+
allow-none="1">
|
3122
3424
|
<doc xml:space="preserve">The name for the provider</doc>
|
3123
3425
|
<type name="utf8" c:type="const gchar*"/>
|
3124
3426
|
</parameter>
|
3125
|
-
<parameter name="icon"
|
3427
|
+
<parameter name="icon"
|
3428
|
+
transfer-ownership="none"
|
3429
|
+
nullable="1"
|
3430
|
+
allow-none="1">
|
3126
3431
|
<doc xml:space="preserve">A specific icon for the provider</doc>
|
3127
3432
|
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
|
3128
3433
|
</parameter>
|
@@ -3135,159 +3440,1316 @@ gtk_source_completion_context_add_proposals() function.</doc>
|
|
3135
3440
|
<type name="none" c:type="void"/>
|
3136
3441
|
</return-value>
|
3137
3442
|
<parameters>
|
3138
|
-
<instance-parameter name="words" transfer-ownership="none">
|
3139
|
-
<doc xml:space="preserve">a #GtkSourceCompletionWords</doc>
|
3140
|
-
<type name="CompletionWords" c:type="GtkSourceCompletionWords*"/>
|
3443
|
+
<instance-parameter name="words" transfer-ownership="none">
|
3444
|
+
<doc xml:space="preserve">a #GtkSourceCompletionWords</doc>
|
3445
|
+
<type name="CompletionWords" c:type="GtkSourceCompletionWords*"/>
|
3446
|
+
</instance-parameter>
|
3447
|
+
<parameter name="buffer" transfer-ownership="none">
|
3448
|
+
<doc xml:space="preserve">a #GtkTextBuffer</doc>
|
3449
|
+
<type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
|
3450
|
+
</parameter>
|
3451
|
+
</parameters>
|
3452
|
+
</method>
|
3453
|
+
<method name="unregister"
|
3454
|
+
c:identifier="gtk_source_completion_words_unregister">
|
3455
|
+
<doc xml:space="preserve">Unregisters @buffer from the @words provider.</doc>
|
3456
|
+
<return-value transfer-ownership="none">
|
3457
|
+
<type name="none" c:type="void"/>
|
3458
|
+
</return-value>
|
3459
|
+
<parameters>
|
3460
|
+
<instance-parameter name="words" transfer-ownership="none">
|
3461
|
+
<doc xml:space="preserve">a #GtkSourceCompletionWords</doc>
|
3462
|
+
<type name="CompletionWords" c:type="GtkSourceCompletionWords*"/>
|
3463
|
+
</instance-parameter>
|
3464
|
+
<parameter name="buffer" transfer-ownership="none">
|
3465
|
+
<doc xml:space="preserve">a #GtkTextBuffer</doc>
|
3466
|
+
<type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
|
3467
|
+
</parameter>
|
3468
|
+
</parameters>
|
3469
|
+
</method>
|
3470
|
+
<property name="activation"
|
3471
|
+
version="3.10"
|
3472
|
+
writable="1"
|
3473
|
+
construct="1"
|
3474
|
+
transfer-ownership="none">
|
3475
|
+
<doc xml:space="preserve">The type of activation.</doc>
|
3476
|
+
<type name="CompletionActivation"/>
|
3477
|
+
</property>
|
3478
|
+
<property name="icon"
|
3479
|
+
writable="1"
|
3480
|
+
construct="1"
|
3481
|
+
transfer-ownership="none">
|
3482
|
+
<type name="GdkPixbuf.Pixbuf"/>
|
3483
|
+
</property>
|
3484
|
+
<property name="interactive-delay"
|
3485
|
+
writable="1"
|
3486
|
+
construct="1"
|
3487
|
+
transfer-ownership="none">
|
3488
|
+
<type name="gint" c:type="gint"/>
|
3489
|
+
</property>
|
3490
|
+
<property name="minimum-word-size"
|
3491
|
+
writable="1"
|
3492
|
+
construct="1"
|
3493
|
+
transfer-ownership="none">
|
3494
|
+
<type name="guint" c:type="guint"/>
|
3495
|
+
</property>
|
3496
|
+
<property name="name"
|
3497
|
+
writable="1"
|
3498
|
+
construct="1"
|
3499
|
+
transfer-ownership="none">
|
3500
|
+
<type name="utf8" c:type="gchar*"/>
|
3501
|
+
</property>
|
3502
|
+
<property name="priority"
|
3503
|
+
writable="1"
|
3504
|
+
construct="1"
|
3505
|
+
transfer-ownership="none">
|
3506
|
+
<type name="gint" c:type="gint"/>
|
3507
|
+
</property>
|
3508
|
+
<property name="proposals-batch-size"
|
3509
|
+
writable="1"
|
3510
|
+
construct="1"
|
3511
|
+
transfer-ownership="none">
|
3512
|
+
<type name="guint" c:type="guint"/>
|
3513
|
+
</property>
|
3514
|
+
<property name="scan-batch-size"
|
3515
|
+
writable="1"
|
3516
|
+
construct="1"
|
3517
|
+
transfer-ownership="none">
|
3518
|
+
<type name="guint" c:type="guint"/>
|
3519
|
+
</property>
|
3520
|
+
<field name="parent">
|
3521
|
+
<type name="GObject.Object" c:type="GObject"/>
|
3522
|
+
</field>
|
3523
|
+
<field name="priv">
|
3524
|
+
<type name="CompletionWordsPrivate"
|
3525
|
+
c:type="GtkSourceCompletionWordsPrivate*"/>
|
3526
|
+
</field>
|
3527
|
+
</class>
|
3528
|
+
<record name="CompletionWordsClass"
|
3529
|
+
c:type="GtkSourceCompletionWordsClass"
|
3530
|
+
glib:is-gtype-struct-for="CompletionWords">
|
3531
|
+
<field name="parent_class">
|
3532
|
+
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
3533
|
+
</field>
|
3534
|
+
</record>
|
3535
|
+
<record name="CompletionWordsPrivate"
|
3536
|
+
c:type="GtkSourceCompletionWordsPrivate"
|
3537
|
+
disguised="1">
|
3538
|
+
</record>
|
3539
|
+
<enumeration name="CompressionType"
|
3540
|
+
version="3.14"
|
3541
|
+
glib:type-name="GtkSourceCompressionType"
|
3542
|
+
glib:get-type="gtk_source_compression_type_get_type"
|
3543
|
+
c:type="GtkSourceCompressionType">
|
3544
|
+
<member name="none"
|
3545
|
+
value="0"
|
3546
|
+
c:identifier="GTK_SOURCE_COMPRESSION_TYPE_NONE"
|
3547
|
+
glib:nick="none">
|
3548
|
+
<doc xml:space="preserve">plain text.</doc>
|
3549
|
+
</member>
|
3550
|
+
<member name="gzip"
|
3551
|
+
value="1"
|
3552
|
+
c:identifier="GTK_SOURCE_COMPRESSION_TYPE_GZIP"
|
3553
|
+
glib:nick="gzip">
|
3554
|
+
<doc xml:space="preserve">gzip compression.</doc>
|
3555
|
+
</member>
|
3556
|
+
</enumeration>
|
3557
|
+
<bitfield name="DrawSpacesFlags"
|
3558
|
+
glib:type-name="GtkSourceDrawSpacesFlags"
|
3559
|
+
glib:get-type="gtk_source_draw_spaces_flags_get_type"
|
3560
|
+
c:type="GtkSourceDrawSpacesFlags">
|
3561
|
+
<doc xml:space="preserve">GtkSourceDrawSpacesFlags determine what kind of spaces whould be drawn. If none
|
3562
|
+
of GTK_SOURCE_DRAW_SPACES_LEADING, GTK_SOURCE_DRAW_SPACES_TEXT or
|
3563
|
+
GTK_SOURCE_DRAW_SPACES_TRAILING is specified, whitespaces at any position in
|
3564
|
+
the line will be drawn (i.e. it has the same effect as specifying all of them).</doc>
|
3565
|
+
<member name="space"
|
3566
|
+
value="1"
|
3567
|
+
c:identifier="GTK_SOURCE_DRAW_SPACES_SPACE"
|
3568
|
+
glib:nick="space">
|
3569
|
+
<doc xml:space="preserve">whether the space character should be drawn.</doc>
|
3570
|
+
</member>
|
3571
|
+
<member name="tab"
|
3572
|
+
value="2"
|
3573
|
+
c:identifier="GTK_SOURCE_DRAW_SPACES_TAB"
|
3574
|
+
glib:nick="tab">
|
3575
|
+
<doc xml:space="preserve">whether the tab character should be drawn.</doc>
|
3576
|
+
</member>
|
3577
|
+
<member name="newline"
|
3578
|
+
value="4"
|
3579
|
+
c:identifier="GTK_SOURCE_DRAW_SPACES_NEWLINE"
|
3580
|
+
glib:nick="newline">
|
3581
|
+
<doc xml:space="preserve">whether the line breaks should be drawn.</doc>
|
3582
|
+
</member>
|
3583
|
+
<member name="nbsp"
|
3584
|
+
value="8"
|
3585
|
+
c:identifier="GTK_SOURCE_DRAW_SPACES_NBSP"
|
3586
|
+
glib:nick="nbsp">
|
3587
|
+
<doc xml:space="preserve">whether the non-breaking whitespaces should be drawn.</doc>
|
3588
|
+
</member>
|
3589
|
+
<member name="leading"
|
3590
|
+
value="16"
|
3591
|
+
c:identifier="GTK_SOURCE_DRAW_SPACES_LEADING"
|
3592
|
+
glib:nick="leading">
|
3593
|
+
<doc xml:space="preserve">whether leading whitespaces should be drawn.</doc>
|
3594
|
+
</member>
|
3595
|
+
<member name="text"
|
3596
|
+
value="32"
|
3597
|
+
c:identifier="GTK_SOURCE_DRAW_SPACES_TEXT"
|
3598
|
+
glib:nick="text">
|
3599
|
+
<doc xml:space="preserve">whether whitespaces inside text should be drawn.</doc>
|
3600
|
+
</member>
|
3601
|
+
<member name="trailing"
|
3602
|
+
value="64"
|
3603
|
+
c:identifier="GTK_SOURCE_DRAW_SPACES_TRAILING"
|
3604
|
+
glib:nick="trailing">
|
3605
|
+
<doc xml:space="preserve">whether trailing whitespaces should be drawn.</doc>
|
3606
|
+
</member>
|
3607
|
+
<member name="all"
|
3608
|
+
value="127"
|
3609
|
+
c:identifier="GTK_SOURCE_DRAW_SPACES_ALL"
|
3610
|
+
glib:nick="all">
|
3611
|
+
<doc xml:space="preserve">wheter all kind of spaces should be drawn.</doc>
|
3612
|
+
</member>
|
3613
|
+
</bitfield>
|
3614
|
+
<record name="Encoding"
|
3615
|
+
c:type="GtkSourceEncoding"
|
3616
|
+
glib:type-name="GtkSourceEncoding"
|
3617
|
+
glib:get-type="gtk_source_encoding_get_type"
|
3618
|
+
c:symbol-prefix="encoding">
|
3619
|
+
<method name="copy"
|
3620
|
+
c:identifier="gtk_source_encoding_copy"
|
3621
|
+
version="3.14">
|
3622
|
+
<doc xml:space="preserve">Used by language bindings.</doc>
|
3623
|
+
<return-value transfer-ownership="full">
|
3624
|
+
<doc xml:space="preserve">a copy of @enc.</doc>
|
3625
|
+
<type name="Encoding" c:type="GtkSourceEncoding*"/>
|
3626
|
+
</return-value>
|
3627
|
+
<parameters>
|
3628
|
+
<instance-parameter name="enc" transfer-ownership="none">
|
3629
|
+
<doc xml:space="preserve">a #GtkSourceEncoding.</doc>
|
3630
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
3631
|
+
</instance-parameter>
|
3632
|
+
</parameters>
|
3633
|
+
</method>
|
3634
|
+
<method name="free"
|
3635
|
+
c:identifier="gtk_source_encoding_free"
|
3636
|
+
version="3.14">
|
3637
|
+
<doc xml:space="preserve">Used by language bindings.</doc>
|
3638
|
+
<return-value transfer-ownership="none">
|
3639
|
+
<type name="none" c:type="void"/>
|
3640
|
+
</return-value>
|
3641
|
+
<parameters>
|
3642
|
+
<instance-parameter name="enc" transfer-ownership="none">
|
3643
|
+
<doc xml:space="preserve">a #GtkSourceEncoding.</doc>
|
3644
|
+
<type name="Encoding" c:type="GtkSourceEncoding*"/>
|
3645
|
+
</instance-parameter>
|
3646
|
+
</parameters>
|
3647
|
+
</method>
|
3648
|
+
<method name="get_charset"
|
3649
|
+
c:identifier="gtk_source_encoding_get_charset"
|
3650
|
+
version="3.14">
|
3651
|
+
<doc xml:space="preserve">Gets the character set of the #GtkSourceEncoding, such as "UTF-8" or
|
3652
|
+
"ISO-8859-1".</doc>
|
3653
|
+
<return-value transfer-ownership="none">
|
3654
|
+
<doc xml:space="preserve">the character set of the #GtkSourceEncoding.</doc>
|
3655
|
+
<type name="utf8" c:type="const gchar*"/>
|
3656
|
+
</return-value>
|
3657
|
+
<parameters>
|
3658
|
+
<instance-parameter name="enc" transfer-ownership="none">
|
3659
|
+
<doc xml:space="preserve">a #GtkSourceEncoding.</doc>
|
3660
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
3661
|
+
</instance-parameter>
|
3662
|
+
</parameters>
|
3663
|
+
</method>
|
3664
|
+
<method name="get_name"
|
3665
|
+
c:identifier="gtk_source_encoding_get_name"
|
3666
|
+
version="3.14">
|
3667
|
+
<doc xml:space="preserve">Gets the name of the #GtkSourceEncoding such as "Unicode" or "Western".</doc>
|
3668
|
+
<return-value transfer-ownership="none">
|
3669
|
+
<doc xml:space="preserve">the name of the #GtkSourceEncoding.</doc>
|
3670
|
+
<type name="utf8" c:type="const gchar*"/>
|
3671
|
+
</return-value>
|
3672
|
+
<parameters>
|
3673
|
+
<instance-parameter name="enc" transfer-ownership="none">
|
3674
|
+
<doc xml:space="preserve">a #GtkSourceEncoding.</doc>
|
3675
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
3676
|
+
</instance-parameter>
|
3677
|
+
</parameters>
|
3678
|
+
</method>
|
3679
|
+
<method name="to_string"
|
3680
|
+
c:identifier="gtk_source_encoding_to_string"
|
3681
|
+
version="3.14">
|
3682
|
+
<return-value transfer-ownership="full">
|
3683
|
+
<doc xml:space="preserve">a string representation. Free with g_free() when no longer needed.</doc>
|
3684
|
+
<type name="utf8" c:type="gchar*"/>
|
3685
|
+
</return-value>
|
3686
|
+
<parameters>
|
3687
|
+
<instance-parameter name="enc" transfer-ownership="none">
|
3688
|
+
<doc xml:space="preserve">a #GtkSourceEncoding.</doc>
|
3689
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
3690
|
+
</instance-parameter>
|
3691
|
+
</parameters>
|
3692
|
+
</method>
|
3693
|
+
<function name="get_all"
|
3694
|
+
c:identifier="gtk_source_encoding_get_all"
|
3695
|
+
version="3.14">
|
3696
|
+
<doc xml:space="preserve">Gets all encodings.</doc>
|
3697
|
+
<return-value transfer-ownership="container">
|
3698
|
+
<doc xml:space="preserve">a list of
|
3699
|
+
all #GtkSourceEncoding's. Free with g_slist_free().</doc>
|
3700
|
+
<type name="GLib.SList" c:type="GSList*">
|
3701
|
+
<type name="Encoding"/>
|
3702
|
+
</type>
|
3703
|
+
</return-value>
|
3704
|
+
</function>
|
3705
|
+
<function name="get_current"
|
3706
|
+
c:identifier="gtk_source_encoding_get_current"
|
3707
|
+
version="3.14">
|
3708
|
+
<doc xml:space="preserve">Gets the #GtkSourceEncoding for the current locale. See also g_get_charset().</doc>
|
3709
|
+
<return-value transfer-ownership="none">
|
3710
|
+
<doc xml:space="preserve">the current locale encoding.</doc>
|
3711
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
3712
|
+
</return-value>
|
3713
|
+
</function>
|
3714
|
+
<function name="get_from_charset"
|
3715
|
+
c:identifier="gtk_source_encoding_get_from_charset"
|
3716
|
+
version="3.14">
|
3717
|
+
<doc xml:space="preserve">Gets a #GtkSourceEncoding from a character set such as "UTF-8" or
|
3718
|
+
"ISO-8859-1".</doc>
|
3719
|
+
<return-value transfer-ownership="none" nullable="1">
|
3720
|
+
<doc xml:space="preserve">the corresponding #GtkSourceEncoding, or %NULL
|
3721
|
+
if not found.</doc>
|
3722
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
3723
|
+
</return-value>
|
3724
|
+
<parameters>
|
3725
|
+
<parameter name="charset" transfer-ownership="none">
|
3726
|
+
<doc xml:space="preserve">a character set.</doc>
|
3727
|
+
<type name="utf8" c:type="const gchar*"/>
|
3728
|
+
</parameter>
|
3729
|
+
</parameters>
|
3730
|
+
</function>
|
3731
|
+
<function name="get_utf8"
|
3732
|
+
c:identifier="gtk_source_encoding_get_utf8"
|
3733
|
+
version="3.14">
|
3734
|
+
<return-value transfer-ownership="none">
|
3735
|
+
<doc xml:space="preserve">the UTF-8 encoding.</doc>
|
3736
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
3737
|
+
</return-value>
|
3738
|
+
</function>
|
3739
|
+
</record>
|
3740
|
+
<class name="File"
|
3741
|
+
c:symbol-prefix="file"
|
3742
|
+
c:type="GtkSourceFile"
|
3743
|
+
parent="GObject.Object"
|
3744
|
+
glib:type-name="GtkSourceFile"
|
3745
|
+
glib:get-type="gtk_source_file_get_type"
|
3746
|
+
glib:type-struct="FileClass">
|
3747
|
+
<constructor name="new"
|
3748
|
+
c:identifier="gtk_source_file_new"
|
3749
|
+
version="3.14">
|
3750
|
+
<return-value transfer-ownership="full">
|
3751
|
+
<doc xml:space="preserve">a new #GtkSourceFile object.</doc>
|
3752
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
3753
|
+
</return-value>
|
3754
|
+
</constructor>
|
3755
|
+
<method name="get_compression_type"
|
3756
|
+
c:identifier="gtk_source_file_get_compression_type"
|
3757
|
+
version="3.14">
|
3758
|
+
<return-value transfer-ownership="none">
|
3759
|
+
<doc xml:space="preserve">the compression type.</doc>
|
3760
|
+
<type name="CompressionType" c:type="GtkSourceCompressionType"/>
|
3761
|
+
</return-value>
|
3762
|
+
<parameters>
|
3763
|
+
<instance-parameter name="file" transfer-ownership="none">
|
3764
|
+
<doc xml:space="preserve">a #GtkSourceFile.</doc>
|
3765
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
3766
|
+
</instance-parameter>
|
3767
|
+
</parameters>
|
3768
|
+
</method>
|
3769
|
+
<method name="get_encoding"
|
3770
|
+
c:identifier="gtk_source_file_get_encoding"
|
3771
|
+
version="3.14">
|
3772
|
+
<doc xml:space="preserve">The encoding is initially %NULL. After a successful file loading or saving
|
3773
|
+
operation, the encoding is non-%NULL.</doc>
|
3774
|
+
<return-value transfer-ownership="none">
|
3775
|
+
<doc xml:space="preserve">the character encoding.</doc>
|
3776
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
3777
|
+
</return-value>
|
3778
|
+
<parameters>
|
3779
|
+
<instance-parameter name="file" transfer-ownership="none">
|
3780
|
+
<doc xml:space="preserve">a #GtkSourceFile.</doc>
|
3781
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
3782
|
+
</instance-parameter>
|
3783
|
+
</parameters>
|
3784
|
+
</method>
|
3785
|
+
<method name="get_location"
|
3786
|
+
c:identifier="gtk_source_file_get_location"
|
3787
|
+
version="3.14">
|
3788
|
+
<return-value transfer-ownership="none">
|
3789
|
+
<doc xml:space="preserve">the #GFile.</doc>
|
3790
|
+
<type name="Gio.File" c:type="GFile*"/>
|
3791
|
+
</return-value>
|
3792
|
+
<parameters>
|
3793
|
+
<instance-parameter name="file" transfer-ownership="none">
|
3794
|
+
<doc xml:space="preserve">a #GtkSourceFile.</doc>
|
3795
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
3796
|
+
</instance-parameter>
|
3797
|
+
</parameters>
|
3798
|
+
</method>
|
3799
|
+
<method name="get_newline_type"
|
3800
|
+
c:identifier="gtk_source_file_get_newline_type"
|
3801
|
+
version="3.14">
|
3802
|
+
<return-value transfer-ownership="none">
|
3803
|
+
<doc xml:space="preserve">the newline type.</doc>
|
3804
|
+
<type name="NewlineType" c:type="GtkSourceNewlineType"/>
|
3805
|
+
</return-value>
|
3806
|
+
<parameters>
|
3807
|
+
<instance-parameter name="file" transfer-ownership="none">
|
3808
|
+
<doc xml:space="preserve">a #GtkSourceFile.</doc>
|
3809
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
3810
|
+
</instance-parameter>
|
3811
|
+
</parameters>
|
3812
|
+
</method>
|
3813
|
+
<method name="set_location"
|
3814
|
+
c:identifier="gtk_source_file_set_location"
|
3815
|
+
version="3.14">
|
3816
|
+
<doc xml:space="preserve">Sets the location.</doc>
|
3817
|
+
<return-value transfer-ownership="none">
|
3818
|
+
<type name="none" c:type="void"/>
|
3819
|
+
</return-value>
|
3820
|
+
<parameters>
|
3821
|
+
<instance-parameter name="file" transfer-ownership="none">
|
3822
|
+
<doc xml:space="preserve">a #GtkSourceFile.</doc>
|
3823
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
3824
|
+
</instance-parameter>
|
3825
|
+
<parameter name="location"
|
3826
|
+
transfer-ownership="none"
|
3827
|
+
nullable="1"
|
3828
|
+
allow-none="1">
|
3829
|
+
<doc xml:space="preserve">the new #GFile, or %NULL.</doc>
|
3830
|
+
<type name="Gio.File" c:type="GFile*"/>
|
3831
|
+
</parameter>
|
3832
|
+
</parameters>
|
3833
|
+
</method>
|
3834
|
+
<method name="set_mount_operation_factory"
|
3835
|
+
c:identifier="gtk_source_file_set_mount_operation_factory"
|
3836
|
+
version="3.14"
|
3837
|
+
introspectable="0">
|
3838
|
+
<doc xml:space="preserve">Sets a #GtkSourceMountOperationFactory function that will be called when a
|
3839
|
+
#GMountOperation must be created. This is useful for creating a
|
3840
|
+
#GtkMountOperation with the parent #GtkWindow.
|
3841
|
+
|
3842
|
+
If a mount operation factory isn't set, g_mount_operation_new() will be
|
3843
|
+
called.</doc>
|
3844
|
+
<return-value transfer-ownership="none">
|
3845
|
+
<type name="none" c:type="void"/>
|
3846
|
+
</return-value>
|
3847
|
+
<parameters>
|
3848
|
+
<instance-parameter name="file" transfer-ownership="none">
|
3849
|
+
<doc xml:space="preserve">a #GtkSourceFile.</doc>
|
3850
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
3851
|
+
</instance-parameter>
|
3852
|
+
<parameter name="callback"
|
3853
|
+
transfer-ownership="none"
|
3854
|
+
scope="notified"
|
3855
|
+
closure="1"
|
3856
|
+
destroy="2">
|
3857
|
+
<doc xml:space="preserve">a #GtkSourceMountOperationFactory to call when a
|
3858
|
+
#GMountOperation is needed.</doc>
|
3859
|
+
<type name="MountOperationFactory"
|
3860
|
+
c:type="GtkSourceMountOperationFactory"/>
|
3861
|
+
</parameter>
|
3862
|
+
<parameter name="user_data" transfer-ownership="none">
|
3863
|
+
<doc xml:space="preserve">the data to pass to the @callback function.</doc>
|
3864
|
+
<type name="gpointer" c:type="gpointer"/>
|
3865
|
+
</parameter>
|
3866
|
+
<parameter name="notify"
|
3867
|
+
transfer-ownership="none"
|
3868
|
+
nullable="1"
|
3869
|
+
allow-none="1"
|
3870
|
+
scope="async">
|
3871
|
+
<doc xml:space="preserve">function to call on @user_data when the @callback is no
|
3872
|
+
longer needed, or %NULL.</doc>
|
3873
|
+
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
3874
|
+
</parameter>
|
3875
|
+
</parameters>
|
3876
|
+
</method>
|
3877
|
+
<property name="compression-type"
|
3878
|
+
version="3.14"
|
3879
|
+
transfer-ownership="none">
|
3880
|
+
<doc xml:space="preserve">The compression type.</doc>
|
3881
|
+
<type name="CompressionType"/>
|
3882
|
+
</property>
|
3883
|
+
<property name="encoding" version="3.14" transfer-ownership="none">
|
3884
|
+
<doc xml:space="preserve">The character encoding, initially %NULL. After a successful file
|
3885
|
+
loading or saving operation, the encoding is non-%NULL.</doc>
|
3886
|
+
<type name="Encoding"/>
|
3887
|
+
</property>
|
3888
|
+
<property name="location"
|
3889
|
+
version="3.14"
|
3890
|
+
writable="1"
|
3891
|
+
transfer-ownership="none">
|
3892
|
+
<doc xml:space="preserve">The location.</doc>
|
3893
|
+
<type name="Gio.File"/>
|
3894
|
+
</property>
|
3895
|
+
<property name="newline-type" version="3.14" transfer-ownership="none">
|
3896
|
+
<doc xml:space="preserve">The line ending type.</doc>
|
3897
|
+
<type name="NewlineType"/>
|
3898
|
+
</property>
|
3899
|
+
<field name="parent">
|
3900
|
+
<type name="GObject.Object" c:type="GObject"/>
|
3901
|
+
</field>
|
3902
|
+
<field name="priv">
|
3903
|
+
<type name="FilePrivate" c:type="GtkSourceFilePrivate*"/>
|
3904
|
+
</field>
|
3905
|
+
</class>
|
3906
|
+
<record name="FileClass"
|
3907
|
+
c:type="GtkSourceFileClass"
|
3908
|
+
glib:is-gtype-struct-for="File">
|
3909
|
+
<field name="parent_class">
|
3910
|
+
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
3911
|
+
</field>
|
3912
|
+
<field name="padding">
|
3913
|
+
<array zero-terminated="0" c:type="gpointer" fixed-size="10">
|
3914
|
+
<type name="gpointer" c:type="gpointer"/>
|
3915
|
+
</array>
|
3916
|
+
</field>
|
3917
|
+
</record>
|
3918
|
+
<class name="FileLoader"
|
3919
|
+
c:symbol-prefix="file_loader"
|
3920
|
+
c:type="GtkSourceFileLoader"
|
3921
|
+
parent="GObject.Object"
|
3922
|
+
glib:type-name="GtkSourceFileLoader"
|
3923
|
+
glib:get-type="gtk_source_file_loader_get_type"
|
3924
|
+
glib:type-struct="FileLoaderClass">
|
3925
|
+
<constructor name="new"
|
3926
|
+
c:identifier="gtk_source_file_loader_new"
|
3927
|
+
version="3.14">
|
3928
|
+
<doc xml:space="preserve">Creates a new #GtkSourceFileLoader object. The contents is read from the
|
3929
|
+
#GtkSourceFile's location. If not already done, call
|
3930
|
+
gtk_source_file_set_location() before calling this constructor. The previous
|
3931
|
+
location is anyway not needed, because as soon as the file loading begins,
|
3932
|
+
the @buffer is emptied.</doc>
|
3933
|
+
<return-value transfer-ownership="full">
|
3934
|
+
<doc xml:space="preserve">a new #GtkSourceFileLoader object.</doc>
|
3935
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
3936
|
+
</return-value>
|
3937
|
+
<parameters>
|
3938
|
+
<parameter name="buffer" transfer-ownership="none">
|
3939
|
+
<doc xml:space="preserve">the #GtkSourceBuffer to load the contents into.</doc>
|
3940
|
+
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
3941
|
+
</parameter>
|
3942
|
+
<parameter name="file" transfer-ownership="none">
|
3943
|
+
<doc xml:space="preserve">the #GtkSourceFile.</doc>
|
3944
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
3945
|
+
</parameter>
|
3946
|
+
</parameters>
|
3947
|
+
</constructor>
|
3948
|
+
<constructor name="new_from_stream"
|
3949
|
+
c:identifier="gtk_source_file_loader_new_from_stream"
|
3950
|
+
version="3.14">
|
3951
|
+
<doc xml:space="preserve">Creates a new #GtkSourceFileLoader object. The contents is read from @stream.</doc>
|
3952
|
+
<return-value transfer-ownership="full">
|
3953
|
+
<doc xml:space="preserve">a new #GtkSourceFileLoader object.</doc>
|
3954
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
3955
|
+
</return-value>
|
3956
|
+
<parameters>
|
3957
|
+
<parameter name="buffer" transfer-ownership="none">
|
3958
|
+
<doc xml:space="preserve">the #GtkSourceBuffer to load the contents into.</doc>
|
3959
|
+
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
3960
|
+
</parameter>
|
3961
|
+
<parameter name="file" transfer-ownership="none">
|
3962
|
+
<doc xml:space="preserve">the #GtkSourceFile.</doc>
|
3963
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
3964
|
+
</parameter>
|
3965
|
+
<parameter name="stream" transfer-ownership="none">
|
3966
|
+
<doc xml:space="preserve">the #GInputStream to load, e.g. stdin.</doc>
|
3967
|
+
<type name="Gio.InputStream" c:type="GInputStream*"/>
|
3968
|
+
</parameter>
|
3969
|
+
</parameters>
|
3970
|
+
</constructor>
|
3971
|
+
<method name="get_buffer"
|
3972
|
+
c:identifier="gtk_source_file_loader_get_buffer"
|
3973
|
+
version="3.14">
|
3974
|
+
<return-value transfer-ownership="none">
|
3975
|
+
<doc xml:space="preserve">the #GtkSourceBuffer to load the contents into.</doc>
|
3976
|
+
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
3977
|
+
</return-value>
|
3978
|
+
<parameters>
|
3979
|
+
<instance-parameter name="loader" transfer-ownership="none">
|
3980
|
+
<doc xml:space="preserve">a #GtkSourceFileLoader.</doc>
|
3981
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
3982
|
+
</instance-parameter>
|
3983
|
+
</parameters>
|
3984
|
+
</method>
|
3985
|
+
<method name="get_compression_type"
|
3986
|
+
c:identifier="gtk_source_file_loader_get_compression_type"
|
3987
|
+
version="3.14">
|
3988
|
+
<return-value transfer-ownership="none">
|
3989
|
+
<doc xml:space="preserve">the detected compression type.</doc>
|
3990
|
+
<type name="CompressionType" c:type="GtkSourceCompressionType"/>
|
3991
|
+
</return-value>
|
3992
|
+
<parameters>
|
3993
|
+
<instance-parameter name="loader" transfer-ownership="none">
|
3994
|
+
<doc xml:space="preserve">a #GtkSourceFileLoader.</doc>
|
3995
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
3996
|
+
</instance-parameter>
|
3997
|
+
</parameters>
|
3998
|
+
</method>
|
3999
|
+
<method name="get_encoding"
|
4000
|
+
c:identifier="gtk_source_file_loader_get_encoding"
|
4001
|
+
version="3.14">
|
4002
|
+
<return-value transfer-ownership="none">
|
4003
|
+
<doc xml:space="preserve">the detected file encoding.</doc>
|
4004
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
4005
|
+
</return-value>
|
4006
|
+
<parameters>
|
4007
|
+
<instance-parameter name="loader" transfer-ownership="none">
|
4008
|
+
<doc xml:space="preserve">a #GtkSourceFileLoader.</doc>
|
4009
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
4010
|
+
</instance-parameter>
|
4011
|
+
</parameters>
|
4012
|
+
</method>
|
4013
|
+
<method name="get_file"
|
4014
|
+
c:identifier="gtk_source_file_loader_get_file"
|
4015
|
+
version="3.14">
|
4016
|
+
<return-value transfer-ownership="none">
|
4017
|
+
<doc xml:space="preserve">the #GtkSourceFile.</doc>
|
4018
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
4019
|
+
</return-value>
|
4020
|
+
<parameters>
|
4021
|
+
<instance-parameter name="loader" transfer-ownership="none">
|
4022
|
+
<doc xml:space="preserve">a #GtkSourceFileLoader.</doc>
|
4023
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
4024
|
+
</instance-parameter>
|
4025
|
+
</parameters>
|
4026
|
+
</method>
|
4027
|
+
<method name="get_input_stream"
|
4028
|
+
c:identifier="gtk_source_file_loader_get_input_stream"
|
4029
|
+
version="3.14">
|
4030
|
+
<return-value transfer-ownership="none">
|
4031
|
+
<doc xml:space="preserve">the #GInputStream to load, or %NULL if a #GFile is
|
4032
|
+
used.</doc>
|
4033
|
+
<type name="Gio.InputStream" c:type="GInputStream*"/>
|
4034
|
+
</return-value>
|
4035
|
+
<parameters>
|
4036
|
+
<instance-parameter name="loader" transfer-ownership="none">
|
4037
|
+
<doc xml:space="preserve">a #GtkSourceFileLoader.</doc>
|
4038
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
4039
|
+
</instance-parameter>
|
4040
|
+
</parameters>
|
4041
|
+
</method>
|
4042
|
+
<method name="get_location"
|
4043
|
+
c:identifier="gtk_source_file_loader_get_location"
|
4044
|
+
version="3.14">
|
4045
|
+
<return-value transfer-ownership="none">
|
4046
|
+
<doc xml:space="preserve">the #GFile to load, or %NULL if an input stream is
|
4047
|
+
used.</doc>
|
4048
|
+
<type name="Gio.File" c:type="GFile*"/>
|
4049
|
+
</return-value>
|
4050
|
+
<parameters>
|
4051
|
+
<instance-parameter name="loader" transfer-ownership="none">
|
4052
|
+
<doc xml:space="preserve">a #GtkSourceFileLoader.</doc>
|
4053
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
4054
|
+
</instance-parameter>
|
4055
|
+
</parameters>
|
4056
|
+
</method>
|
4057
|
+
<method name="get_newline_type"
|
4058
|
+
c:identifier="gtk_source_file_loader_get_newline_type"
|
4059
|
+
version="3.14">
|
4060
|
+
<return-value transfer-ownership="none">
|
4061
|
+
<doc xml:space="preserve">the detected newline type.</doc>
|
4062
|
+
<type name="NewlineType" c:type="GtkSourceNewlineType"/>
|
4063
|
+
</return-value>
|
4064
|
+
<parameters>
|
4065
|
+
<instance-parameter name="loader" transfer-ownership="none">
|
4066
|
+
<doc xml:space="preserve">a #GtkSourceFileLoader.</doc>
|
4067
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
4068
|
+
</instance-parameter>
|
4069
|
+
</parameters>
|
4070
|
+
</method>
|
4071
|
+
<method name="load_async"
|
4072
|
+
c:identifier="gtk_source_file_loader_load_async"
|
4073
|
+
version="3.14">
|
4074
|
+
<doc xml:space="preserve">Loads asynchronously the file or input stream contents into the
|
4075
|
+
#GtkSourceBuffer. See the #GAsyncResult documentation to know how to use this
|
4076
|
+
function.</doc>
|
4077
|
+
<return-value transfer-ownership="none">
|
4078
|
+
<type name="none" c:type="void"/>
|
4079
|
+
</return-value>
|
4080
|
+
<parameters>
|
4081
|
+
<instance-parameter name="loader" transfer-ownership="none">
|
4082
|
+
<doc xml:space="preserve">a #GtkSourceFileLoader.</doc>
|
4083
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
4084
|
+
</instance-parameter>
|
4085
|
+
<parameter name="io_priority" transfer-ownership="none">
|
4086
|
+
<doc xml:space="preserve">the I/O priority of the request. E.g. %G_PRIORITY_LOW,
|
4087
|
+
%G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.</doc>
|
4088
|
+
<type name="gint" c:type="gint"/>
|
4089
|
+
</parameter>
|
4090
|
+
<parameter name="cancellable"
|
4091
|
+
transfer-ownership="none"
|
4092
|
+
nullable="1"
|
4093
|
+
allow-none="1">
|
4094
|
+
<doc xml:space="preserve">optional #GCancellable object, %NULL to ignore.</doc>
|
4095
|
+
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
4096
|
+
</parameter>
|
4097
|
+
<parameter name="progress_callback"
|
4098
|
+
transfer-ownership="none"
|
4099
|
+
nullable="1"
|
4100
|
+
allow-none="1"
|
4101
|
+
scope="notified"
|
4102
|
+
closure="3"
|
4103
|
+
destroy="4">
|
4104
|
+
<doc xml:space="preserve">function to call back with
|
4105
|
+
progress information, or %NULL if progress information is not needed.</doc>
|
4106
|
+
<type name="Gio.FileProgressCallback"
|
4107
|
+
c:type="GFileProgressCallback"/>
|
4108
|
+
</parameter>
|
4109
|
+
<parameter name="progress_callback_data" transfer-ownership="none">
|
4110
|
+
<doc xml:space="preserve">user data to pass to @progress_callback.</doc>
|
4111
|
+
<type name="gpointer" c:type="gpointer"/>
|
4112
|
+
</parameter>
|
4113
|
+
<parameter name="progress_callback_notify"
|
4114
|
+
transfer-ownership="none"
|
4115
|
+
nullable="1"
|
4116
|
+
allow-none="1"
|
4117
|
+
scope="async">
|
4118
|
+
<doc xml:space="preserve">function to call on
|
4119
|
+
@progress_callback_data when the @progress_callback is no longer needed, or
|
4120
|
+
%NULL.</doc>
|
4121
|
+
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
4122
|
+
</parameter>
|
4123
|
+
<parameter name="callback"
|
4124
|
+
transfer-ownership="none"
|
4125
|
+
nullable="1"
|
4126
|
+
allow-none="1"
|
4127
|
+
scope="async"
|
4128
|
+
closure="6">
|
4129
|
+
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is
|
4130
|
+
satisfied.</doc>
|
4131
|
+
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
4132
|
+
</parameter>
|
4133
|
+
<parameter name="user_data" transfer-ownership="none">
|
4134
|
+
<doc xml:space="preserve">user data to pass to @callback.</doc>
|
4135
|
+
<type name="gpointer" c:type="gpointer"/>
|
4136
|
+
</parameter>
|
4137
|
+
</parameters>
|
4138
|
+
</method>
|
4139
|
+
<method name="load_finish"
|
4140
|
+
c:identifier="gtk_source_file_loader_load_finish"
|
4141
|
+
version="3.14"
|
4142
|
+
throws="1">
|
4143
|
+
<doc xml:space="preserve">Finishes a file loading started with gtk_source_file_loader_load_async().
|
4144
|
+
|
4145
|
+
If the contents has been loaded, the following #GtkSourceFile properties will
|
4146
|
+
be updated: the location, the encoding, the newline type and the compression
|
4147
|
+
type.</doc>
|
4148
|
+
<return-value transfer-ownership="none">
|
4149
|
+
<doc xml:space="preserve">whether the contents has been loaded successfully.</doc>
|
4150
|
+
<type name="gboolean" c:type="gboolean"/>
|
4151
|
+
</return-value>
|
4152
|
+
<parameters>
|
4153
|
+
<instance-parameter name="loader" transfer-ownership="none">
|
4154
|
+
<doc xml:space="preserve">a #GtkSourceFileLoader.</doc>
|
4155
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
4156
|
+
</instance-parameter>
|
4157
|
+
<parameter name="result" transfer-ownership="none">
|
4158
|
+
<doc xml:space="preserve">a #GAsyncResult.</doc>
|
4159
|
+
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
|
4160
|
+
</parameter>
|
4161
|
+
</parameters>
|
4162
|
+
</method>
|
4163
|
+
<method name="set_candidate_encodings"
|
4164
|
+
c:identifier="gtk_source_file_loader_set_candidate_encodings"
|
4165
|
+
version="3.14">
|
4166
|
+
<doc xml:space="preserve">Sets the candidate encodings for the file loading. The encodings are tried in
|
4167
|
+
the same order as the list.
|
4168
|
+
|
4169
|
+
For convenience, @candidate_encodings can contain duplicates. Only the first
|
4170
|
+
occurrence of a duplicated encoding is kept in the list.
|
4171
|
+
|
4172
|
+
By default the candidate encodings are (in that order):
|
4173
|
+
1. If set, the #GtkSourceFile's encoding. See gtk_source_file_get_encoding().
|
4174
|
+
2. Depending on the current locale (language and country), a list of common
|
4175
|
+
encodings are added. The UTF-8 encoding and the current locale encoding are
|
4176
|
+
always present.</doc>
|
4177
|
+
<return-value transfer-ownership="none">
|
4178
|
+
<type name="none" c:type="void"/>
|
4179
|
+
</return-value>
|
4180
|
+
<parameters>
|
4181
|
+
<instance-parameter name="loader" transfer-ownership="none">
|
4182
|
+
<doc xml:space="preserve">a #GtkSourceFileLoader.</doc>
|
4183
|
+
<type name="FileLoader" c:type="GtkSourceFileLoader*"/>
|
4184
|
+
</instance-parameter>
|
4185
|
+
<parameter name="candidate_encodings" transfer-ownership="none">
|
4186
|
+
<doc xml:space="preserve">a list of
|
4187
|
+
#GtkSourceEncoding<!-- -->s.</doc>
|
4188
|
+
<type name="GLib.SList" c:type="GSList*">
|
4189
|
+
<type name="Encoding"/>
|
4190
|
+
</type>
|
4191
|
+
</parameter>
|
4192
|
+
</parameters>
|
4193
|
+
</method>
|
4194
|
+
<property name="buffer"
|
4195
|
+
version="3.14"
|
4196
|
+
writable="1"
|
4197
|
+
construct-only="1"
|
4198
|
+
transfer-ownership="none">
|
4199
|
+
<doc xml:space="preserve">The #GtkSourceBuffer to load the contents into. The
|
4200
|
+
#GtkSourceFileLoader object has a weak reference to the buffer.</doc>
|
4201
|
+
<type name="Buffer"/>
|
4202
|
+
</property>
|
4203
|
+
<property name="file"
|
4204
|
+
version="3.14"
|
4205
|
+
writable="1"
|
4206
|
+
construct-only="1"
|
4207
|
+
transfer-ownership="none">
|
4208
|
+
<doc xml:space="preserve">The #GtkSourceFile. The #GtkSourceFileLoader object has a weak
|
4209
|
+
reference to the file.</doc>
|
4210
|
+
<type name="File"/>
|
4211
|
+
</property>
|
4212
|
+
<property name="input-stream"
|
4213
|
+
version="3.14"
|
4214
|
+
writable="1"
|
4215
|
+
construct-only="1"
|
4216
|
+
transfer-ownership="none">
|
4217
|
+
<doc xml:space="preserve">The #GInputStream to load. Useful for reading stdin. If this property
|
4218
|
+
is set, the #GtkSourceFileLoader:location property is ignored.</doc>
|
4219
|
+
<type name="Gio.InputStream"/>
|
4220
|
+
</property>
|
4221
|
+
<property name="location"
|
4222
|
+
version="3.14"
|
4223
|
+
writable="1"
|
4224
|
+
construct-only="1"
|
4225
|
+
transfer-ownership="none">
|
4226
|
+
<doc xml:space="preserve">The #GFile to load. If the #GtkSourceFileLoader:input-stream is
|
4227
|
+
%NULL, by default the location is taken from the #GtkSourceFile at
|
4228
|
+
construction time.</doc>
|
4229
|
+
<type name="Gio.File"/>
|
4230
|
+
</property>
|
4231
|
+
<field name="parent">
|
4232
|
+
<type name="GObject.Object" c:type="GObject"/>
|
4233
|
+
</field>
|
4234
|
+
<field name="priv">
|
4235
|
+
<type name="FileLoaderPrivate" c:type="GtkSourceFileLoaderPrivate*"/>
|
4236
|
+
</field>
|
4237
|
+
</class>
|
4238
|
+
<record name="FileLoaderClass"
|
4239
|
+
c:type="GtkSourceFileLoaderClass"
|
4240
|
+
glib:is-gtype-struct-for="FileLoader">
|
4241
|
+
<field name="parent_class">
|
4242
|
+
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
4243
|
+
</field>
|
4244
|
+
<field name="padding">
|
4245
|
+
<array zero-terminated="0" c:type="gpointer" fixed-size="10">
|
4246
|
+
<type name="gpointer" c:type="gpointer"/>
|
4247
|
+
</array>
|
4248
|
+
</field>
|
4249
|
+
</record>
|
4250
|
+
<enumeration name="FileLoaderError"
|
4251
|
+
glib:type-name="GtkSourceFileLoaderError"
|
4252
|
+
glib:get-type="gtk_source_file_loader_error_get_type"
|
4253
|
+
c:type="GtkSourceFileLoaderError"
|
4254
|
+
glib:error-domain="gtk-source-file-loader-error">
|
4255
|
+
<doc xml:space="preserve">An error code used with the %GTK_SOURCE_FILE_LOADER_ERROR domain.</doc>
|
4256
|
+
<member name="too_big"
|
4257
|
+
value="0"
|
4258
|
+
c:identifier="GTK_SOURCE_FILE_LOADER_ERROR_TOO_BIG"
|
4259
|
+
glib:nick="too-big">
|
4260
|
+
<doc xml:space="preserve">The file is too big.</doc>
|
4261
|
+
</member>
|
4262
|
+
<member name="encoding_auto_detection_failed"
|
4263
|
+
value="1"
|
4264
|
+
c:identifier="GTK_SOURCE_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED"
|
4265
|
+
glib:nick="encoding-auto-detection-failed">
|
4266
|
+
<doc xml:space="preserve">It is not
|
4267
|
+
possible to detect the encoding automatically.</doc>
|
4268
|
+
</member>
|
4269
|
+
<member name="conversion_fallback"
|
4270
|
+
value="2"
|
4271
|
+
c:identifier="GTK_SOURCE_FILE_LOADER_ERROR_CONVERSION_FALLBACK"
|
4272
|
+
glib:nick="conversion-fallback">
|
4273
|
+
<doc xml:space="preserve">There was an encoding
|
4274
|
+
conversion error and it was needed to use a fallback character.</doc>
|
4275
|
+
</member>
|
4276
|
+
<function name="quark" c:identifier="gtk_source_file_loader_error_quark">
|
4277
|
+
<return-value transfer-ownership="none">
|
4278
|
+
<type name="GLib.Quark" c:type="GQuark"/>
|
4279
|
+
</return-value>
|
4280
|
+
</function>
|
4281
|
+
</enumeration>
|
4282
|
+
<record name="FileLoaderPrivate"
|
4283
|
+
c:type="GtkSourceFileLoaderPrivate"
|
4284
|
+
disguised="1">
|
4285
|
+
</record>
|
4286
|
+
<record name="FilePrivate" c:type="GtkSourceFilePrivate" disguised="1">
|
4287
|
+
</record>
|
4288
|
+
<class name="FileSaver"
|
4289
|
+
c:symbol-prefix="file_saver"
|
4290
|
+
c:type="GtkSourceFileSaver"
|
4291
|
+
parent="GObject.Object"
|
4292
|
+
glib:type-name="GtkSourceFileSaver"
|
4293
|
+
glib:get-type="gtk_source_file_saver_get_type"
|
4294
|
+
glib:type-struct="FileSaverClass">
|
4295
|
+
<constructor name="new"
|
4296
|
+
c:identifier="gtk_source_file_saver_new"
|
4297
|
+
version="3.14">
|
4298
|
+
<doc xml:space="preserve">Creates a new #GtkSourceFileSaver object. The @buffer will be saved to the
|
4299
|
+
#GtkSourceFile's location.
|
4300
|
+
|
4301
|
+
This constructor is suitable for a simple "save" operation, when the @file
|
4302
|
+
already contains a non-%NULL #GtkSourceFile:location.</doc>
|
4303
|
+
<return-value transfer-ownership="full">
|
4304
|
+
<doc xml:space="preserve">a new #GtkSourceFileSaver object.</doc>
|
4305
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4306
|
+
</return-value>
|
4307
|
+
<parameters>
|
4308
|
+
<parameter name="buffer" transfer-ownership="none">
|
4309
|
+
<doc xml:space="preserve">the #GtkSourceBuffer to save.</doc>
|
4310
|
+
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
4311
|
+
</parameter>
|
4312
|
+
<parameter name="file" transfer-ownership="none">
|
4313
|
+
<doc xml:space="preserve">the #GtkSourceFile.</doc>
|
4314
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
4315
|
+
</parameter>
|
4316
|
+
</parameters>
|
4317
|
+
</constructor>
|
4318
|
+
<constructor name="new_with_target"
|
4319
|
+
c:identifier="gtk_source_file_saver_new_with_target"
|
4320
|
+
version="3.14">
|
4321
|
+
<doc xml:space="preserve">Creates a new #GtkSourceFileSaver object with a target location. When the
|
4322
|
+
file saving is finished successfully, @target_location is set to the @file's
|
4323
|
+
#GtkSourceFile:location property. If an error occurs, the previous valid
|
4324
|
+
location is still available in #GtkSourceFile.
|
4325
|
+
|
4326
|
+
This constructor is suitable for a "save as" operation, or for saving a new
|
4327
|
+
buffer for the first time.</doc>
|
4328
|
+
<return-value transfer-ownership="full">
|
4329
|
+
<doc xml:space="preserve">a new #GtkSourceFileSaver object.</doc>
|
4330
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4331
|
+
</return-value>
|
4332
|
+
<parameters>
|
4333
|
+
<parameter name="buffer" transfer-ownership="none">
|
4334
|
+
<doc xml:space="preserve">the #GtkSourceBuffer to save.</doc>
|
4335
|
+
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
4336
|
+
</parameter>
|
4337
|
+
<parameter name="file" transfer-ownership="none">
|
4338
|
+
<doc xml:space="preserve">the #GtkSourceFile.</doc>
|
4339
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
4340
|
+
</parameter>
|
4341
|
+
<parameter name="target_location" transfer-ownership="none">
|
4342
|
+
<doc xml:space="preserve">the #GFile where to save the buffer to.</doc>
|
4343
|
+
<type name="Gio.File" c:type="GFile*"/>
|
4344
|
+
</parameter>
|
4345
|
+
</parameters>
|
4346
|
+
</constructor>
|
4347
|
+
<method name="get_buffer"
|
4348
|
+
c:identifier="gtk_source_file_saver_get_buffer"
|
4349
|
+
version="3.14">
|
4350
|
+
<return-value transfer-ownership="none">
|
4351
|
+
<doc xml:space="preserve">the #GtkSourceBuffer to save.</doc>
|
4352
|
+
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
4353
|
+
</return-value>
|
4354
|
+
<parameters>
|
4355
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4356
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4357
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4358
|
+
</instance-parameter>
|
4359
|
+
</parameters>
|
4360
|
+
</method>
|
4361
|
+
<method name="get_compression_type"
|
4362
|
+
c:identifier="gtk_source_file_saver_get_compression_type"
|
4363
|
+
version="3.14">
|
4364
|
+
<return-value transfer-ownership="none">
|
4365
|
+
<doc xml:space="preserve">the compression type.</doc>
|
4366
|
+
<type name="CompressionType" c:type="GtkSourceCompressionType"/>
|
4367
|
+
</return-value>
|
4368
|
+
<parameters>
|
4369
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4370
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4371
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4372
|
+
</instance-parameter>
|
4373
|
+
</parameters>
|
4374
|
+
</method>
|
4375
|
+
<method name="get_encoding"
|
4376
|
+
c:identifier="gtk_source_file_saver_get_encoding"
|
4377
|
+
version="3.14">
|
4378
|
+
<return-value transfer-ownership="none">
|
4379
|
+
<doc xml:space="preserve">the encoding.</doc>
|
4380
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
4381
|
+
</return-value>
|
4382
|
+
<parameters>
|
4383
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4384
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4385
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4386
|
+
</instance-parameter>
|
4387
|
+
</parameters>
|
4388
|
+
</method>
|
4389
|
+
<method name="get_file"
|
4390
|
+
c:identifier="gtk_source_file_saver_get_file"
|
4391
|
+
version="3.14">
|
4392
|
+
<return-value transfer-ownership="none">
|
4393
|
+
<doc xml:space="preserve">the #GtkSourceFile.</doc>
|
4394
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
4395
|
+
</return-value>
|
4396
|
+
<parameters>
|
4397
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4398
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4399
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4400
|
+
</instance-parameter>
|
4401
|
+
</parameters>
|
4402
|
+
</method>
|
4403
|
+
<method name="get_flags"
|
4404
|
+
c:identifier="gtk_source_file_saver_get_flags"
|
4405
|
+
version="3.14">
|
4406
|
+
<return-value transfer-ownership="none">
|
4407
|
+
<doc xml:space="preserve">the flags.</doc>
|
4408
|
+
<type name="FileSaverFlags" c:type="GtkSourceFileSaverFlags"/>
|
4409
|
+
</return-value>
|
4410
|
+
<parameters>
|
4411
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4412
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4413
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4414
|
+
</instance-parameter>
|
4415
|
+
</parameters>
|
4416
|
+
</method>
|
4417
|
+
<method name="get_location"
|
4418
|
+
c:identifier="gtk_source_file_saver_get_location"
|
4419
|
+
version="3.14">
|
4420
|
+
<return-value transfer-ownership="none">
|
4421
|
+
<doc xml:space="preserve">the #GFile where to save the buffer to.</doc>
|
4422
|
+
<type name="Gio.File" c:type="GFile*"/>
|
4423
|
+
</return-value>
|
4424
|
+
<parameters>
|
4425
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4426
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4427
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4428
|
+
</instance-parameter>
|
4429
|
+
</parameters>
|
4430
|
+
</method>
|
4431
|
+
<method name="get_newline_type"
|
4432
|
+
c:identifier="gtk_source_file_saver_get_newline_type"
|
4433
|
+
version="3.14">
|
4434
|
+
<return-value transfer-ownership="none">
|
4435
|
+
<doc xml:space="preserve">the newline type.</doc>
|
4436
|
+
<type name="NewlineType" c:type="GtkSourceNewlineType"/>
|
4437
|
+
</return-value>
|
4438
|
+
<parameters>
|
4439
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4440
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4441
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4442
|
+
</instance-parameter>
|
4443
|
+
</parameters>
|
4444
|
+
</method>
|
4445
|
+
<method name="save_async"
|
4446
|
+
c:identifier="gtk_source_file_saver_save_async"
|
4447
|
+
version="3.14">
|
4448
|
+
<doc xml:space="preserve">Saves asynchronously the buffer into the file. See the #GAsyncResult
|
4449
|
+
documentation to know how to use this function.</doc>
|
4450
|
+
<return-value transfer-ownership="none">
|
4451
|
+
<type name="none" c:type="void"/>
|
4452
|
+
</return-value>
|
4453
|
+
<parameters>
|
4454
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4455
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4456
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4457
|
+
</instance-parameter>
|
4458
|
+
<parameter name="io_priority" transfer-ownership="none">
|
4459
|
+
<doc xml:space="preserve">the I/O priority of the request. E.g. %G_PRIORITY_LOW,
|
4460
|
+
%G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.</doc>
|
4461
|
+
<type name="gint" c:type="gint"/>
|
4462
|
+
</parameter>
|
4463
|
+
<parameter name="cancellable"
|
4464
|
+
transfer-ownership="none"
|
4465
|
+
nullable="1"
|
4466
|
+
allow-none="1">
|
4467
|
+
<doc xml:space="preserve">optional #GCancellable object, %NULL to ignore.</doc>
|
4468
|
+
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
4469
|
+
</parameter>
|
4470
|
+
<parameter name="progress_callback"
|
4471
|
+
transfer-ownership="none"
|
4472
|
+
nullable="1"
|
4473
|
+
allow-none="1"
|
4474
|
+
scope="notified"
|
4475
|
+
closure="3"
|
4476
|
+
destroy="4">
|
4477
|
+
<doc xml:space="preserve">function to call back with
|
4478
|
+
progress information, or %NULL if progress information is not needed.</doc>
|
4479
|
+
<type name="Gio.FileProgressCallback"
|
4480
|
+
c:type="GFileProgressCallback"/>
|
4481
|
+
</parameter>
|
4482
|
+
<parameter name="progress_callback_data" transfer-ownership="none">
|
4483
|
+
<doc xml:space="preserve">user data to pass to @progress_callback.</doc>
|
4484
|
+
<type name="gpointer" c:type="gpointer"/>
|
4485
|
+
</parameter>
|
4486
|
+
<parameter name="progress_callback_notify"
|
4487
|
+
transfer-ownership="none"
|
4488
|
+
nullable="1"
|
4489
|
+
allow-none="1"
|
4490
|
+
scope="async">
|
4491
|
+
<doc xml:space="preserve">function to call on
|
4492
|
+
@progress_callback_data when the @progress_callback is no longer needed, or
|
4493
|
+
%NULL.</doc>
|
4494
|
+
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
4495
|
+
</parameter>
|
4496
|
+
<parameter name="callback"
|
4497
|
+
transfer-ownership="none"
|
4498
|
+
nullable="1"
|
4499
|
+
allow-none="1"
|
4500
|
+
scope="async"
|
4501
|
+
closure="6">
|
4502
|
+
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is
|
4503
|
+
satisfied.</doc>
|
4504
|
+
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
4505
|
+
</parameter>
|
4506
|
+
<parameter name="user_data" transfer-ownership="none">
|
4507
|
+
<doc xml:space="preserve">user data to pass to @callback.</doc>
|
4508
|
+
<type name="gpointer" c:type="gpointer"/>
|
4509
|
+
</parameter>
|
4510
|
+
</parameters>
|
4511
|
+
</method>
|
4512
|
+
<method name="save_finish"
|
4513
|
+
c:identifier="gtk_source_file_saver_save_finish"
|
4514
|
+
version="3.14"
|
4515
|
+
throws="1">
|
4516
|
+
<doc xml:space="preserve">Finishes a file saving started with gtk_source_file_saver_save_async().
|
4517
|
+
|
4518
|
+
If the file has been saved successfully, the following #GtkSourceFile
|
4519
|
+
properties will be updated: the location, the encoding, the newline type and
|
4520
|
+
the compression type.</doc>
|
4521
|
+
<return-value transfer-ownership="none">
|
4522
|
+
<doc xml:space="preserve">whether the file was saved successfully.</doc>
|
4523
|
+
<type name="gboolean" c:type="gboolean"/>
|
4524
|
+
</return-value>
|
4525
|
+
<parameters>
|
4526
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4527
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4528
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4529
|
+
</instance-parameter>
|
4530
|
+
<parameter name="result" transfer-ownership="none">
|
4531
|
+
<doc xml:space="preserve">a #GAsyncResult.</doc>
|
4532
|
+
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
|
4533
|
+
</parameter>
|
4534
|
+
</parameters>
|
4535
|
+
</method>
|
4536
|
+
<method name="set_compression_type"
|
4537
|
+
c:identifier="gtk_source_file_saver_set_compression_type"
|
4538
|
+
version="3.14">
|
4539
|
+
<doc xml:space="preserve">Sets the compression type. By default the compression type is taken from the
|
4540
|
+
#GtkSourceFile.</doc>
|
4541
|
+
<return-value transfer-ownership="none">
|
4542
|
+
<type name="none" c:type="void"/>
|
4543
|
+
</return-value>
|
4544
|
+
<parameters>
|
4545
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4546
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4547
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4548
|
+
</instance-parameter>
|
4549
|
+
<parameter name="compression_type" transfer-ownership="none">
|
4550
|
+
<doc xml:space="preserve">the new compression type.</doc>
|
4551
|
+
<type name="CompressionType" c:type="GtkSourceCompressionType"/>
|
4552
|
+
</parameter>
|
4553
|
+
</parameters>
|
4554
|
+
</method>
|
4555
|
+
<method name="set_encoding"
|
4556
|
+
c:identifier="gtk_source_file_saver_set_encoding"
|
4557
|
+
version="3.14">
|
4558
|
+
<doc xml:space="preserve">Sets the encoding. If @encoding is %NULL, the UTF-8 encoding will be set.
|
4559
|
+
By default the encoding is taken from the #GtkSourceFile.</doc>
|
4560
|
+
<return-value transfer-ownership="none">
|
4561
|
+
<type name="none" c:type="void"/>
|
4562
|
+
</return-value>
|
4563
|
+
<parameters>
|
4564
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4565
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4566
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
4567
|
+
</instance-parameter>
|
4568
|
+
<parameter name="encoding"
|
4569
|
+
transfer-ownership="none"
|
4570
|
+
nullable="1"
|
4571
|
+
allow-none="1">
|
4572
|
+
<doc xml:space="preserve">the new encoding, or %NULL for UTF-8.</doc>
|
4573
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
4574
|
+
</parameter>
|
4575
|
+
</parameters>
|
4576
|
+
</method>
|
4577
|
+
<method name="set_flags"
|
4578
|
+
c:identifier="gtk_source_file_saver_set_flags"
|
4579
|
+
version="3.14">
|
4580
|
+
<return-value transfer-ownership="none">
|
4581
|
+
<type name="none" c:type="void"/>
|
4582
|
+
</return-value>
|
4583
|
+
<parameters>
|
4584
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4585
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4586
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
3141
4587
|
</instance-parameter>
|
3142
|
-
<parameter name="
|
3143
|
-
<doc xml:space="preserve">
|
3144
|
-
<type name="
|
4588
|
+
<parameter name="flags" transfer-ownership="none">
|
4589
|
+
<doc xml:space="preserve">the new flags.</doc>
|
4590
|
+
<type name="FileSaverFlags" c:type="GtkSourceFileSaverFlags"/>
|
3145
4591
|
</parameter>
|
3146
4592
|
</parameters>
|
3147
4593
|
</method>
|
3148
|
-
<method name="
|
3149
|
-
c:identifier="
|
3150
|
-
|
4594
|
+
<method name="set_newline_type"
|
4595
|
+
c:identifier="gtk_source_file_saver_set_newline_type"
|
4596
|
+
version="3.14">
|
4597
|
+
<doc xml:space="preserve">Sets the newline type. By default the newline type is taken from the
|
4598
|
+
#GtkSourceFile.</doc>
|
3151
4599
|
<return-value transfer-ownership="none">
|
3152
4600
|
<type name="none" c:type="void"/>
|
3153
4601
|
</return-value>
|
3154
4602
|
<parameters>
|
3155
|
-
<instance-parameter name="
|
3156
|
-
<doc xml:space="preserve">a #
|
3157
|
-
<type name="
|
4603
|
+
<instance-parameter name="saver" transfer-ownership="none">
|
4604
|
+
<doc xml:space="preserve">a #GtkSourceFileSaver.</doc>
|
4605
|
+
<type name="FileSaver" c:type="GtkSourceFileSaver*"/>
|
3158
4606
|
</instance-parameter>
|
3159
|
-
<parameter name="
|
3160
|
-
<doc xml:space="preserve">
|
3161
|
-
<type name="
|
4607
|
+
<parameter name="newline_type" transfer-ownership="none">
|
4608
|
+
<doc xml:space="preserve">the new newline type.</doc>
|
4609
|
+
<type name="NewlineType" c:type="GtkSourceNewlineType"/>
|
3162
4610
|
</parameter>
|
3163
4611
|
</parameters>
|
3164
4612
|
</method>
|
3165
|
-
<property name="
|
3166
|
-
version="3.
|
3167
|
-
writable="1"
|
3168
|
-
construct="1"
|
3169
|
-
transfer-ownership="none">
|
3170
|
-
<doc xml:space="preserve">The type of activation.</doc>
|
3171
|
-
<type name="CompletionActivation"/>
|
3172
|
-
</property>
|
3173
|
-
<property name="icon"
|
4613
|
+
<property name="buffer"
|
4614
|
+
version="3.14"
|
3174
4615
|
writable="1"
|
3175
|
-
construct="1"
|
4616
|
+
construct-only="1"
|
3176
4617
|
transfer-ownership="none">
|
3177
|
-
<
|
4618
|
+
<doc xml:space="preserve">The #GtkSourceBuffer to save. The #GtkSourceFileSaver object has a
|
4619
|
+
weak reference to the buffer.</doc>
|
4620
|
+
<type name="Buffer"/>
|
3178
4621
|
</property>
|
3179
|
-
<property name="
|
4622
|
+
<property name="compression-type"
|
4623
|
+
version="3.14"
|
3180
4624
|
writable="1"
|
3181
4625
|
construct="1"
|
3182
4626
|
transfer-ownership="none">
|
3183
|
-
<
|
4627
|
+
<doc xml:space="preserve">The compression type.</doc>
|
4628
|
+
<type name="CompressionType"/>
|
3184
4629
|
</property>
|
3185
|
-
<property name="
|
4630
|
+
<property name="encoding"
|
4631
|
+
version="3.14"
|
3186
4632
|
writable="1"
|
3187
4633
|
construct="1"
|
3188
4634
|
transfer-ownership="none">
|
3189
|
-
<
|
4635
|
+
<doc xml:space="preserve">The file's encoding.</doc>
|
4636
|
+
<type name="Encoding"/>
|
3190
4637
|
</property>
|
3191
|
-
<property name="
|
4638
|
+
<property name="file"
|
4639
|
+
version="3.14"
|
3192
4640
|
writable="1"
|
3193
|
-
construct="1"
|
4641
|
+
construct-only="1"
|
3194
4642
|
transfer-ownership="none">
|
3195
|
-
<
|
4643
|
+
<doc xml:space="preserve">The #GtkSourceFile. The #GtkSourceFileSaver object has a weak
|
4644
|
+
reference to the file.</doc>
|
4645
|
+
<type name="File"/>
|
3196
4646
|
</property>
|
3197
|
-
<property name="
|
4647
|
+
<property name="flags"
|
4648
|
+
version="3.14"
|
3198
4649
|
writable="1"
|
3199
4650
|
construct="1"
|
3200
4651
|
transfer-ownership="none">
|
3201
|
-
<
|
4652
|
+
<doc xml:space="preserve">File saving flags.</doc>
|
4653
|
+
<type name="FileSaverFlags"/>
|
3202
4654
|
</property>
|
3203
|
-
<property name="
|
4655
|
+
<property name="location"
|
4656
|
+
version="3.14"
|
3204
4657
|
writable="1"
|
3205
|
-
construct="1"
|
4658
|
+
construct-only="1"
|
3206
4659
|
transfer-ownership="none">
|
3207
|
-
<
|
4660
|
+
<doc xml:space="preserve">The #GFile where to save the buffer. By default the location is taken
|
4661
|
+
from the #GtkSourceFile at construction time.</doc>
|
4662
|
+
<type name="Gio.File"/>
|
3208
4663
|
</property>
|
3209
|
-
<property name="
|
4664
|
+
<property name="newline-type"
|
4665
|
+
version="3.14"
|
3210
4666
|
writable="1"
|
3211
4667
|
construct="1"
|
3212
4668
|
transfer-ownership="none">
|
3213
|
-
<
|
4669
|
+
<doc xml:space="preserve">The newline type.</doc>
|
4670
|
+
<type name="NewlineType"/>
|
3214
4671
|
</property>
|
3215
|
-
<field name="
|
4672
|
+
<field name="object">
|
3216
4673
|
<type name="GObject.Object" c:type="GObject"/>
|
3217
4674
|
</field>
|
3218
4675
|
<field name="priv">
|
3219
|
-
<type name="
|
3220
|
-
c:type="GtkSourceCompletionWordsPrivate*"/>
|
4676
|
+
<type name="FileSaverPrivate" c:type="GtkSourceFileSaverPrivate*"/>
|
3221
4677
|
</field>
|
3222
4678
|
</class>
|
3223
|
-
<record name="
|
3224
|
-
c:type="
|
3225
|
-
glib:is-gtype-struct-for="
|
4679
|
+
<record name="FileSaverClass"
|
4680
|
+
c:type="GtkSourceFileSaverClass"
|
4681
|
+
glib:is-gtype-struct-for="FileSaver">
|
3226
4682
|
<field name="parent_class">
|
3227
4683
|
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
3228
4684
|
</field>
|
4685
|
+
<field name="padding">
|
4686
|
+
<array zero-terminated="0" c:type="gpointer" fixed-size="10">
|
4687
|
+
<type name="gpointer" c:type="gpointer"/>
|
4688
|
+
</array>
|
4689
|
+
</field>
|
3229
4690
|
</record>
|
3230
|
-
<
|
3231
|
-
|
3232
|
-
|
3233
|
-
|
3234
|
-
|
3235
|
-
|
3236
|
-
|
3237
|
-
|
3238
|
-
|
3239
|
-
|
3240
|
-
|
3241
|
-
|
3242
|
-
|
3243
|
-
value="1"
|
3244
|
-
c:identifier="GTK_SOURCE_DRAW_SPACES_SPACE"
|
3245
|
-
glib:nick="space">
|
3246
|
-
<doc xml:space="preserve">whether the space character should be drawn.</doc>
|
3247
|
-
</member>
|
3248
|
-
<member name="tab"
|
3249
|
-
value="2"
|
3250
|
-
c:identifier="GTK_SOURCE_DRAW_SPACES_TAB"
|
3251
|
-
glib:nick="tab">
|
3252
|
-
<doc xml:space="preserve">whether the tab character should be drawn.</doc>
|
3253
|
-
</member>
|
3254
|
-
<member name="newline"
|
3255
|
-
value="4"
|
3256
|
-
c:identifier="GTK_SOURCE_DRAW_SPACES_NEWLINE"
|
3257
|
-
glib:nick="newline">
|
3258
|
-
<doc xml:space="preserve">whether the line breaks should be drawn.</doc>
|
4691
|
+
<enumeration name="FileSaverError"
|
4692
|
+
version="3.14"
|
4693
|
+
glib:type-name="GtkSourceFileSaverError"
|
4694
|
+
glib:get-type="gtk_source_file_saver_error_get_type"
|
4695
|
+
c:type="GtkSourceFileSaverError"
|
4696
|
+
glib:error-domain="gtk-source-file-saver-error">
|
4697
|
+
<doc xml:space="preserve">An error code used with the %GTK_SOURCE_FILE_SAVER_ERROR domain.</doc>
|
4698
|
+
<member name="invalid_chars"
|
4699
|
+
value="0"
|
4700
|
+
c:identifier="GTK_SOURCE_FILE_SAVER_ERROR_INVALID_CHARS"
|
4701
|
+
glib:nick="invalid-chars">
|
4702
|
+
<doc xml:space="preserve">The buffer contains invalid
|
4703
|
+
characters.</doc>
|
3259
4704
|
</member>
|
3260
|
-
<member name="
|
3261
|
-
value="
|
3262
|
-
c:identifier="
|
3263
|
-
glib:nick="
|
3264
|
-
<doc xml:space="preserve">
|
4705
|
+
<member name="externally_modified"
|
4706
|
+
value="1"
|
4707
|
+
c:identifier="GTK_SOURCE_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED"
|
4708
|
+
glib:nick="externally-modified">
|
4709
|
+
<doc xml:space="preserve">The file is externally
|
4710
|
+
modified.</doc>
|
3265
4711
|
</member>
|
3266
|
-
<
|
3267
|
-
|
3268
|
-
|
3269
|
-
|
3270
|
-
|
4712
|
+
<function name="quark" c:identifier="gtk_source_file_saver_error_quark">
|
4713
|
+
<return-value transfer-ownership="none">
|
4714
|
+
<type name="GLib.Quark" c:type="GQuark"/>
|
4715
|
+
</return-value>
|
4716
|
+
</function>
|
4717
|
+
</enumeration>
|
4718
|
+
<bitfield name="FileSaverFlags"
|
4719
|
+
version="3.14"
|
4720
|
+
glib:type-name="GtkSourceFileSaverFlags"
|
4721
|
+
glib:get-type="gtk_source_file_saver_flags_get_type"
|
4722
|
+
c:type="GtkSourceFileSaverFlags">
|
4723
|
+
<doc xml:space="preserve">Flags to define the behavior of a #GtkSourceFileSaver.</doc>
|
4724
|
+
<member name="none"
|
4725
|
+
value="0"
|
4726
|
+
c:identifier="GTK_SOURCE_FILE_SAVER_FLAGS_NONE"
|
4727
|
+
glib:nick="none">
|
4728
|
+
<doc xml:space="preserve">No flags.</doc>
|
3271
4729
|
</member>
|
3272
|
-
<member name="
|
3273
|
-
value="
|
3274
|
-
c:identifier="
|
3275
|
-
glib:nick="
|
3276
|
-
<doc xml:space="preserve">
|
4730
|
+
<member name="ignore_invalid_chars"
|
4731
|
+
value="1"
|
4732
|
+
c:identifier="GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS"
|
4733
|
+
glib:nick="ignore-invalid-chars">
|
4734
|
+
<doc xml:space="preserve">Ignore invalid characters.</doc>
|
3277
4735
|
</member>
|
3278
|
-
<member name="
|
3279
|
-
value="
|
3280
|
-
c:identifier="
|
3281
|
-
glib:nick="
|
3282
|
-
<doc xml:space="preserve">
|
4736
|
+
<member name="ignore_modification_time"
|
4737
|
+
value="2"
|
4738
|
+
c:identifier="GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME"
|
4739
|
+
glib:nick="ignore-modification-time">
|
4740
|
+
<doc xml:space="preserve">Save file despite external modifications.</doc>
|
3283
4741
|
</member>
|
3284
|
-
<member name="
|
3285
|
-
value="
|
3286
|
-
c:identifier="
|
3287
|
-
glib:nick="
|
3288
|
-
<doc xml:space="preserve">
|
4742
|
+
<member name="create_backup"
|
4743
|
+
value="4"
|
4744
|
+
c:identifier="GTK_SOURCE_FILE_SAVER_FLAGS_CREATE_BACKUP"
|
4745
|
+
glib:nick="create-backup">
|
4746
|
+
<doc xml:space="preserve">Create a backup before saving the file.</doc>
|
3289
4747
|
</member>
|
3290
4748
|
</bitfield>
|
4749
|
+
<record name="FileSaverPrivate"
|
4750
|
+
c:type="GtkSourceFileSaverPrivate"
|
4751
|
+
disguised="1">
|
4752
|
+
</record>
|
3291
4753
|
<class name="Gutter"
|
3292
4754
|
c:symbol-prefix="gutter"
|
3293
4755
|
c:type="GtkSourceGutter"
|
@@ -3295,7 +4757,11 @@ the line will be drawn (i.e. it has the same effect as specifying all of them).<
|
|
3295
4757
|
glib:type-name="GtkSourceGutter"
|
3296
4758
|
glib:get-type="gtk_source_gutter_get_type"
|
3297
4759
|
glib:type-struct="GutterClass">
|
3298
|
-
<method name="get_padding"
|
4760
|
+
<method name="get_padding"
|
4761
|
+
c:identifier="gtk_source_gutter_get_padding"
|
4762
|
+
deprecated="1"
|
4763
|
+
deprecated-version="3.12">
|
4764
|
+
<doc-deprecated xml:space="preserve">Use gtk_source_gutter_renderer_get_padding() instead.</doc-deprecated>
|
3299
4765
|
<return-value transfer-ownership="none">
|
3300
4766
|
<type name="none" c:type="void"/>
|
3301
4767
|
</return-value>
|
@@ -3335,11 +4801,15 @@ the line will be drawn (i.e. it has the same effect as specifying all of them).<
|
|
3335
4801
|
</method>
|
3336
4802
|
<method name="get_window"
|
3337
4803
|
c:identifier="gtk_source_gutter_get_window"
|
3338
|
-
version="2.8"
|
4804
|
+
version="2.8"
|
4805
|
+
deprecated="1"
|
4806
|
+
deprecated-version="3.12">
|
3339
4807
|
<doc xml:space="preserve">Get the #GdkWindow of the gutter. The window will only be available when the
|
3340
4808
|
gutter has at least one, non-zero width, cell renderer packed.</doc>
|
4809
|
+
<doc-deprecated xml:space="preserve">Use gtk_text_view_get_window() instead.</doc-deprecated>
|
3341
4810
|
<return-value transfer-ownership="none">
|
3342
|
-
<doc xml:space="preserve">the #GdkWindow of the gutter, or %NULL
|
4811
|
+
<doc xml:space="preserve">the #GdkWindow of the gutter, or %NULL
|
4812
|
+
if the gutter has no window.</doc>
|
3343
4813
|
<type name="Gdk.Window" c:type="GdkWindow*"/>
|
3344
4814
|
</return-value>
|
3345
4815
|
<parameters>
|
@@ -3429,7 +4899,11 @@ redraw of the gutter if something has changed and needs to be redrawn.</doc>
|
|
3429
4899
|
</parameter>
|
3430
4900
|
</parameters>
|
3431
4901
|
</method>
|
3432
|
-
<method name="set_padding"
|
4902
|
+
<method name="set_padding"
|
4903
|
+
c:identifier="gtk_source_gutter_set_padding"
|
4904
|
+
deprecated="1"
|
4905
|
+
deprecated-version="3.12">
|
4906
|
+
<doc-deprecated xml:space="preserve">Use gtk_source_gutter_renderer_set_padding() instead.</doc-deprecated>
|
3433
4907
|
<return-value transfer-ownership="none">
|
3434
4908
|
<type name="none" c:type="void"/>
|
3435
4909
|
</return-value>
|
@@ -3449,26 +4923,36 @@ redraw of the gutter if something has changed and needs to be redrawn.</doc>
|
|
3449
4923
|
writable="1"
|
3450
4924
|
construct-only="1"
|
3451
4925
|
transfer-ownership="none">
|
3452
|
-
<doc xml:space="preserve">The #GtkSourceView of the gutter
|
4926
|
+
<doc xml:space="preserve">The #GtkSourceView of the gutter.</doc>
|
3453
4927
|
<type name="View"/>
|
3454
4928
|
</property>
|
3455
4929
|
<property name="window-type"
|
3456
4930
|
writable="1"
|
3457
4931
|
construct-only="1"
|
3458
4932
|
transfer-ownership="none">
|
3459
|
-
<doc xml:space="preserve">The text window type on which the window is placed
|
4933
|
+
<doc xml:space="preserve">The text window type on which the window is placed.</doc>
|
3460
4934
|
<type name="Gtk.TextWindowType"/>
|
3461
4935
|
</property>
|
3462
4936
|
<property name="xpad"
|
4937
|
+
deprecated="1"
|
4938
|
+
deprecated-version="3.12"
|
3463
4939
|
writable="1"
|
3464
4940
|
construct="1"
|
3465
4941
|
transfer-ownership="none">
|
4942
|
+
<doc xml:space="preserve">The x-padding.</doc>
|
4943
|
+
<doc-deprecated xml:space="preserve">Use the #GtkSourceGutterRenderer:xpad property
|
4944
|
+
instead.</doc-deprecated>
|
3466
4945
|
<type name="gint" c:type="gint"/>
|
3467
4946
|
</property>
|
3468
4947
|
<property name="ypad"
|
4948
|
+
deprecated="1"
|
4949
|
+
deprecated-version="3.12"
|
3469
4950
|
writable="1"
|
3470
4951
|
construct="1"
|
3471
4952
|
transfer-ownership="none">
|
4953
|
+
<doc xml:space="preserve">The y-padding.</doc>
|
4954
|
+
<doc-deprecated xml:space="preserve">Use the #GtkSourceGutterRenderer:ypad property
|
4955
|
+
instead.</doc-deprecated>
|
3472
4956
|
<type name="gint" c:type="gint"/>
|
3473
4957
|
</property>
|
3474
4958
|
<field name="parent">
|
@@ -3496,13 +4980,14 @@ redraw of the gutter if something has changed and needs to be redrawn.</doc>
|
|
3496
4980
|
glib:get-type="gtk_source_gutter_renderer_get_type"
|
3497
4981
|
glib:type-struct="GutterRendererClass">
|
3498
4982
|
<virtual-method name="activate" invoker="activate">
|
3499
|
-
<doc xml:space="preserve">Emits the ::activate signal of the renderer. This is
|
3500
|
-
#GtkSourceGutter and should never have to be called manually.</doc>
|
4983
|
+
<doc xml:space="preserve">Emits the #GtkSourceGutterRenderer::activate signal of the renderer. This is
|
4984
|
+
called from #GtkSourceGutter and should never have to be called manually.</doc>
|
3501
4985
|
<return-value transfer-ownership="none">
|
3502
4986
|
<type name="none" c:type="void"/>
|
3503
4987
|
</return-value>
|
3504
4988
|
<parameters>
|
3505
4989
|
<instance-parameter name="renderer" transfer-ownership="none">
|
4990
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
3506
4991
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
3507
4992
|
</instance-parameter>
|
3508
4993
|
<parameter name="iter" transfer-ownership="none">
|
@@ -3522,12 +5007,13 @@ redraw of the gutter if something has changed and needs to be redrawn.</doc>
|
|
3522
5007
|
<virtual-method name="begin" invoker="begin">
|
3523
5008
|
<doc xml:space="preserve">Called when drawing a region begins. The region to be drawn is indicated
|
3524
5009
|
by @start and @end. The purpose is to allow the implementation to precompute
|
3525
|
-
some state before the
|
5010
|
+
some state before the draw method is called for each cell.</doc>
|
3526
5011
|
<return-value transfer-ownership="none">
|
3527
5012
|
<type name="none" c:type="void"/>
|
3528
5013
|
</return-value>
|
3529
5014
|
<parameters>
|
3530
5015
|
<instance-parameter name="renderer" transfer-ownership="none">
|
5016
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
3531
5017
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
3532
5018
|
</instance-parameter>
|
3533
5019
|
<parameter name="cr" transfer-ownership="none">
|
@@ -3592,6 +5078,7 @@ be taken into account to properly draw the different possible states
|
|
3592
5078
|
</return-value>
|
3593
5079
|
<parameters>
|
3594
5080
|
<instance-parameter name="renderer" transfer-ownership="none">
|
5081
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
3595
5082
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
3596
5083
|
</instance-parameter>
|
3597
5084
|
<parameter name="cr" transfer-ownership="none">
|
@@ -3628,6 +5115,7 @@ be taken into account to properly draw the different possible states
|
|
3628
5115
|
</return-value>
|
3629
5116
|
<parameters>
|
3630
5117
|
<instance-parameter name="renderer" transfer-ownership="none">
|
5118
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
3631
5119
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
3632
5120
|
</instance-parameter>
|
3633
5121
|
</parameters>
|
@@ -3642,6 +5130,7 @@ using the mouse pointer.</doc>
|
|
3642
5130
|
</return-value>
|
3643
5131
|
<parameters>
|
3644
5132
|
<instance-parameter name="renderer" transfer-ownership="none">
|
5133
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
3645
5134
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
3646
5135
|
</instance-parameter>
|
3647
5136
|
<parameter name="iter" transfer-ownership="none">
|
@@ -3659,15 +5148,17 @@ using the mouse pointer.</doc>
|
|
3659
5148
|
</parameters>
|
3660
5149
|
</virtual-method>
|
3661
5150
|
<virtual-method name="query_data" invoker="query_data">
|
3662
|
-
<doc xml:space="preserve">Emit the ::query-data signal. This function is called
|
3663
|
-
just before rendering a cell. This is called from the
|
3664
|
-
Implementations can override the default signal handler or
|
3665
|
-
a signal handler externally to the
|
5151
|
+
<doc xml:space="preserve">Emit the #GtkSourceGutterRenderer::query-data signal. This function is called
|
5152
|
+
to query for data just before rendering a cell. This is called from the
|
5153
|
+
#GtkSourceGutter. Implementations can override the default signal handler or
|
5154
|
+
can connect a signal handler externally to the
|
5155
|
+
#GtkSourceGutterRenderer::query-data signal.</doc>
|
3666
5156
|
<return-value transfer-ownership="none">
|
3667
5157
|
<type name="none" c:type="void"/>
|
3668
5158
|
</return-value>
|
3669
5159
|
<parameters>
|
3670
5160
|
<instance-parameter name="renderer" transfer-ownership="none">
|
5161
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer.</doc>
|
3671
5162
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
3672
5163
|
</instance-parameter>
|
3673
5164
|
<parameter name="start" transfer-ownership="none">
|
@@ -3686,15 +5177,16 @@ a signal handler externally to the ::query-data signal.</doc>
|
|
3686
5177
|
</parameters>
|
3687
5178
|
</virtual-method>
|
3688
5179
|
<virtual-method name="query_tooltip" invoker="query_tooltip">
|
3689
|
-
<doc xml:space="preserve">Emits the ::query-tooltip signal. This function is
|
3690
|
-
#GtkSourceGutter. Implementations can override the default signal
|
3691
|
-
or can connect to the signal externally.</doc>
|
5180
|
+
<doc xml:space="preserve">Emits the #GtkSourceGutterRenderer::query-tooltip signal. This function is
|
5181
|
+
called from #GtkSourceGutter. Implementations can override the default signal
|
5182
|
+
handler or can connect to the signal externally.</doc>
|
3692
5183
|
<return-value transfer-ownership="none">
|
3693
5184
|
<doc xml:space="preserve">%TRUE if the tooltip has been set, %FALSE otherwise</doc>
|
3694
5185
|
<type name="gboolean" c:type="gboolean"/>
|
3695
5186
|
</return-value>
|
3696
5187
|
<parameters>
|
3697
5188
|
<instance-parameter name="renderer" transfer-ownership="none">
|
5189
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer.</doc>
|
3698
5190
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
3699
5191
|
</instance-parameter>
|
3700
5192
|
<parameter name="iter" transfer-ownership="none">
|
@@ -3720,22 +5212,23 @@ or can connect to the signal externally.</doc>
|
|
3720
5212
|
</parameters>
|
3721
5213
|
</virtual-method>
|
3722
5214
|
<virtual-method name="queue_draw" invoker="queue_draw">
|
3723
|
-
<doc xml:space="preserve">Emits the ::queue-draw signal of the renderer. Call
|
3724
|
-
implementation to inform that the renderer has changed such that
|
3725
|
-
to redraw.</doc>
|
5215
|
+
<doc xml:space="preserve">Emits the #GtkSourceGutterRenderer::queue-draw signal of the renderer. Call
|
5216
|
+
this from an implementation to inform that the renderer has changed such that
|
5217
|
+
it needs to redraw.</doc>
|
3726
5218
|
<return-value transfer-ownership="none">
|
3727
5219
|
<type name="none" c:type="void"/>
|
3728
5220
|
</return-value>
|
3729
5221
|
<parameters>
|
3730
5222
|
<instance-parameter name="renderer" transfer-ownership="none">
|
5223
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
3731
5224
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
3732
5225
|
</instance-parameter>
|
3733
5226
|
</parameters>
|
3734
5227
|
</virtual-method>
|
3735
5228
|
<method name="activate"
|
3736
5229
|
c:identifier="gtk_source_gutter_renderer_activate">
|
3737
|
-
<doc xml:space="preserve">Emits the ::activate signal of the renderer. This is
|
3738
|
-
#GtkSourceGutter and should never have to be called manually.</doc>
|
5230
|
+
<doc xml:space="preserve">Emits the #GtkSourceGutterRenderer::activate signal of the renderer. This is
|
5231
|
+
called from #GtkSourceGutter and should never have to be called manually.</doc>
|
3739
5232
|
<return-value transfer-ownership="none">
|
3740
5233
|
<type name="none" c:type="void"/>
|
3741
5234
|
</return-value>
|
@@ -3761,7 +5254,7 @@ to redraw.</doc>
|
|
3761
5254
|
<method name="begin" c:identifier="gtk_source_gutter_renderer_begin">
|
3762
5255
|
<doc xml:space="preserve">Called when drawing a region begins. The region to be drawn is indicated
|
3763
5256
|
by @start and @end. The purpose is to allow the implementation to precompute
|
3764
|
-
some state before the
|
5257
|
+
some state before the draw method is called for each cell.</doc>
|
3765
5258
|
<return-value transfer-ownership="none">
|
3766
5259
|
<type name="none" c:type="void"/>
|
3767
5260
|
</return-value>
|
@@ -3863,6 +5356,7 @@ be taken into account to properly draw the different possible states
|
|
3863
5356
|
direction="out"
|
3864
5357
|
caller-allocates="1"
|
3865
5358
|
transfer-ownership="none"
|
5359
|
+
optional="1"
|
3866
5360
|
allow-none="1">
|
3867
5361
|
<doc xml:space="preserve">return location for the x-alignment (can be %NULL)</doc>
|
3868
5362
|
<type name="gfloat" c:type="gfloat*"/>
|
@@ -3871,6 +5365,7 @@ be taken into account to properly draw the different possible states
|
|
3871
5365
|
direction="out"
|
3872
5366
|
caller-allocates="1"
|
3873
5367
|
transfer-ownership="none"
|
5368
|
+
optional="1"
|
3874
5369
|
allow-none="1">
|
3875
5370
|
<doc xml:space="preserve">return location for the y-alignment (can be %NULL)</doc>
|
3876
5371
|
<type name="gfloat" c:type="gfloat*"/>
|
@@ -3909,6 +5404,7 @@ renderer is aligned (see :xalign and :yalign).</doc>
|
|
3909
5404
|
direction="out"
|
3910
5405
|
caller-allocates="1"
|
3911
5406
|
transfer-ownership="none"
|
5407
|
+
optional="1"
|
3912
5408
|
allow-none="1">
|
3913
5409
|
<doc xml:space="preserve">return value for a #GdkRGBA</doc>
|
3914
5410
|
<type name="Gdk.RGBA" c:type="GdkRGBA*"/>
|
@@ -3930,6 +5426,7 @@ renderer is aligned (see :xalign and :yalign).</doc>
|
|
3930
5426
|
direction="out"
|
3931
5427
|
caller-allocates="1"
|
3932
5428
|
transfer-ownership="none"
|
5429
|
+
optional="1"
|
3933
5430
|
allow-none="1">
|
3934
5431
|
<doc xml:space="preserve">return location for the x-padding (can be %NULL)</doc>
|
3935
5432
|
<type name="gint" c:type="gint*"/>
|
@@ -3938,6 +5435,7 @@ renderer is aligned (see :xalign and :yalign).</doc>
|
|
3938
5435
|
direction="out"
|
3939
5436
|
caller-allocates="1"
|
3940
5437
|
transfer-ownership="none"
|
5438
|
+
optional="1"
|
3941
5439
|
allow-none="1">
|
3942
5440
|
<doc xml:space="preserve">return location for the y-padding (can be %NULL)</doc>
|
3943
5441
|
<type name="gint" c:type="gint*"/>
|
@@ -4030,10 +5528,11 @@ using the mouse pointer.</doc>
|
|
4030
5528
|
</method>
|
4031
5529
|
<method name="query_data"
|
4032
5530
|
c:identifier="gtk_source_gutter_renderer_query_data">
|
4033
|
-
<doc xml:space="preserve">Emit the ::query-data signal. This function is called
|
4034
|
-
just before rendering a cell. This is called from the
|
4035
|
-
Implementations can override the default signal handler or
|
4036
|
-
a signal handler externally to the
|
5531
|
+
<doc xml:space="preserve">Emit the #GtkSourceGutterRenderer::query-data signal. This function is called
|
5532
|
+
to query for data just before rendering a cell. This is called from the
|
5533
|
+
#GtkSourceGutter. Implementations can override the default signal handler or
|
5534
|
+
can connect a signal handler externally to the
|
5535
|
+
#GtkSourceGutterRenderer::query-data signal.</doc>
|
4037
5536
|
<return-value transfer-ownership="none">
|
4038
5537
|
<type name="none" c:type="void"/>
|
4039
5538
|
</return-value>
|
@@ -4059,9 +5558,9 @@ a signal handler externally to the ::query-data signal.</doc>
|
|
4059
5558
|
</method>
|
4060
5559
|
<method name="query_tooltip"
|
4061
5560
|
c:identifier="gtk_source_gutter_renderer_query_tooltip">
|
4062
|
-
<doc xml:space="preserve">Emits the ::query-tooltip signal. This function is
|
4063
|
-
#GtkSourceGutter. Implementations can override the default signal
|
4064
|
-
or can connect to the signal externally.</doc>
|
5561
|
+
<doc xml:space="preserve">Emits the #GtkSourceGutterRenderer::query-tooltip signal. This function is
|
5562
|
+
called from #GtkSourceGutter. Implementations can override the default signal
|
5563
|
+
handler or can connect to the signal externally.</doc>
|
4065
5564
|
<return-value transfer-ownership="none">
|
4066
5565
|
<doc xml:space="preserve">%TRUE if the tooltip has been set, %FALSE otherwise</doc>
|
4067
5566
|
<type name="gboolean" c:type="gboolean"/>
|
@@ -4095,9 +5594,9 @@ or can connect to the signal externally.</doc>
|
|
4095
5594
|
</method>
|
4096
5595
|
<method name="queue_draw"
|
4097
5596
|
c:identifier="gtk_source_gutter_renderer_queue_draw">
|
4098
|
-
<doc xml:space="preserve">Emits the ::queue-draw signal of the renderer. Call
|
4099
|
-
implementation to inform that the renderer has changed such that
|
4100
|
-
to redraw.</doc>
|
5597
|
+
<doc xml:space="preserve">Emits the #GtkSourceGutterRenderer::queue-draw signal of the renderer. Call
|
5598
|
+
this from an implementation to inform that the renderer has changed such that
|
5599
|
+
it needs to redraw.</doc>
|
4101
5600
|
<return-value transfer-ownership="none">
|
4102
5601
|
<type name="none" c:type="void"/>
|
4103
5602
|
</return-value>
|
@@ -4112,7 +5611,11 @@ to redraw.</doc>
|
|
4112
5611
|
c:identifier="gtk_source_gutter_renderer_set_alignment">
|
4113
5612
|
<doc xml:space="preserve">Set the alignment of the gutter renderer. Both @xalign and @yalign can be
|
4114
5613
|
-1, which means the values will not be changed (this allows changing only
|
4115
|
-
one of the values)
|
5614
|
+
one of the values).
|
5615
|
+
|
5616
|
+
@xalign is the horizontal alignment. Set to 0 for a left alignment. 1 for a
|
5617
|
+
right alignment. And 0.5 for centering the cells. @yalign is the vertical
|
5618
|
+
alignment. Set to 0 for a top alignment. 1 for a bottom alignment.</doc>
|
4116
5619
|
<return-value transfer-ownership="none">
|
4117
5620
|
<type name="none" c:type="void"/>
|
4118
5621
|
</return-value>
|
@@ -4162,7 +5665,10 @@ renderer will not have a background color.</doc>
|
|
4162
5665
|
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
4163
5666
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
4164
5667
|
</instance-parameter>
|
4165
|
-
<parameter name="color"
|
5668
|
+
<parameter name="color"
|
5669
|
+
transfer-ownership="none"
|
5670
|
+
nullable="1"
|
5671
|
+
allow-none="1">
|
4166
5672
|
<doc xml:space="preserve">a #GdkRGBA or %NULL</doc>
|
4167
5673
|
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
|
4168
5674
|
</parameter>
|
@@ -4172,7 +5678,9 @@ renderer will not have a background color.</doc>
|
|
4172
5678
|
c:identifier="gtk_source_gutter_renderer_set_padding">
|
4173
5679
|
<doc xml:space="preserve">Set the padding of the gutter renderer. Both @xpad and @ypad can be
|
4174
5680
|
-1, which means the values will not be changed (this allows changing only
|
4175
|
-
one of the values)
|
5681
|
+
one of the values).
|
5682
|
+
|
5683
|
+
@xpad is the left and right padding. @ypad is the top and bottom padding.</doc>
|
4176
5684
|
<return-value transfer-ownership="none">
|
4177
5685
|
<type name="none" c:type="void"/>
|
4178
5686
|
</return-value>
|
@@ -4271,28 +5779,32 @@ or right).</doc>
|
|
4271
5779
|
writable="1"
|
4272
5780
|
construct="1"
|
4273
5781
|
transfer-ownership="none">
|
4274
|
-
<doc xml:space="preserve">The
|
5782
|
+
<doc xml:space="preserve">The horizontal alignment of the renderer. Set to 0 for a left
|
5783
|
+
alignment. 1 for a right alignment. And 0.5 for centering the cells.
|
5784
|
+
A value lower than 0 doesn't modify the alignment.</doc>
|
4275
5785
|
<type name="gfloat" c:type="gfloat"/>
|
4276
5786
|
</property>
|
4277
5787
|
<property name="xpad"
|
4278
5788
|
writable="1"
|
4279
5789
|
construct="1"
|
4280
5790
|
transfer-ownership="none">
|
4281
|
-
<doc xml:space="preserve">The
|
5791
|
+
<doc xml:space="preserve">The left and right padding of the renderer.</doc>
|
4282
5792
|
<type name="gint" c:type="gint"/>
|
4283
5793
|
</property>
|
4284
5794
|
<property name="yalign"
|
4285
5795
|
writable="1"
|
4286
5796
|
construct="1"
|
4287
5797
|
transfer-ownership="none">
|
4288
|
-
<doc xml:space="preserve">The
|
5798
|
+
<doc xml:space="preserve">The vertical alignment of the renderer. Set to 0 for a top
|
5799
|
+
alignment. 1 for a bottom alignment. And 0.5 for centering the cells.
|
5800
|
+
A value lower than 0 doesn't modify the alignment.</doc>
|
4289
5801
|
<type name="gfloat" c:type="gfloat"/>
|
4290
5802
|
</property>
|
4291
5803
|
<property name="ypad"
|
4292
5804
|
writable="1"
|
4293
5805
|
construct="1"
|
4294
5806
|
transfer-ownership="none">
|
4295
|
-
<doc xml:space="preserve">The
|
5807
|
+
<doc xml:space="preserve">The top and bottom padding of the renderer.</doc>
|
4296
5808
|
<type name="gint" c:type="gint"/>
|
4297
5809
|
</property>
|
4298
5810
|
<field name="parent">
|
@@ -4445,6 +5957,7 @@ text wrapping).</doc>
|
|
4445
5957
|
</return-value>
|
4446
5958
|
<parameters>
|
4447
5959
|
<parameter name="renderer" transfer-ownership="none">
|
5960
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
4448
5961
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
4449
5962
|
</parameter>
|
4450
5963
|
<parameter name="cr" transfer-ownership="none">
|
@@ -4477,6 +5990,7 @@ text wrapping).</doc>
|
|
4477
5990
|
</return-value>
|
4478
5991
|
<parameters>
|
4479
5992
|
<parameter name="renderer" transfer-ownership="none">
|
5993
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
4480
5994
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
4481
5995
|
</parameter>
|
4482
5996
|
<parameter name="cr" transfer-ownership="none">
|
@@ -4514,6 +6028,7 @@ text wrapping).</doc>
|
|
4514
6028
|
</return-value>
|
4515
6029
|
<parameters>
|
4516
6030
|
<parameter name="renderer" transfer-ownership="none">
|
6031
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
4517
6032
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
4518
6033
|
</parameter>
|
4519
6034
|
</parameters>
|
@@ -4557,6 +6072,7 @@ text wrapping).</doc>
|
|
4557
6072
|
</return-value>
|
4558
6073
|
<parameters>
|
4559
6074
|
<parameter name="renderer" transfer-ownership="none">
|
6075
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
4560
6076
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
4561
6077
|
</parameter>
|
4562
6078
|
<parameter name="iter" transfer-ownership="none">
|
@@ -4581,6 +6097,7 @@ text wrapping).</doc>
|
|
4581
6097
|
</return-value>
|
4582
6098
|
<parameters>
|
4583
6099
|
<parameter name="renderer" transfer-ownership="none">
|
6100
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
4584
6101
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
4585
6102
|
</parameter>
|
4586
6103
|
<parameter name="iter" transfer-ownership="none">
|
@@ -4605,6 +6122,7 @@ text wrapping).</doc>
|
|
4605
6122
|
</return-value>
|
4606
6123
|
<parameters>
|
4607
6124
|
<parameter name="renderer" transfer-ownership="none">
|
6125
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer</doc>
|
4608
6126
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
4609
6127
|
</parameter>
|
4610
6128
|
</parameters>
|
@@ -4618,6 +6136,7 @@ text wrapping).</doc>
|
|
4618
6136
|
</return-value>
|
4619
6137
|
<parameters>
|
4620
6138
|
<parameter name="renderer" transfer-ownership="none">
|
6139
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer.</doc>
|
4621
6140
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
4622
6141
|
</parameter>
|
4623
6142
|
<parameter name="iter" transfer-ownership="none">
|
@@ -4650,6 +6169,7 @@ text wrapping).</doc>
|
|
4650
6169
|
</return-value>
|
4651
6170
|
<parameters>
|
4652
6171
|
<parameter name="renderer" transfer-ownership="none">
|
6172
|
+
<doc xml:space="preserve">a #GtkSourceGutterRenderer.</doc>
|
4653
6173
|
<type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
|
4654
6174
|
</parameter>
|
4655
6175
|
<parameter name="start" transfer-ownership="none">
|
@@ -4728,8 +6248,9 @@ text wrapping).</doc>
|
|
4728
6248
|
</method>
|
4729
6249
|
<method name="get_stock_id"
|
4730
6250
|
c:identifier="gtk_source_gutter_renderer_pixbuf_get_stock_id"
|
4731
|
-
deprecated="
|
6251
|
+
deprecated="1"
|
4732
6252
|
deprecated-version="3.10">
|
6253
|
+
<doc-deprecated xml:space="preserve">Don't use this function.</doc-deprecated>
|
4733
6254
|
<return-value transfer-ownership="none">
|
4734
6255
|
<doc xml:space="preserve">the stock id.</doc>
|
4735
6256
|
<type name="utf8" c:type="const gchar*"/>
|
@@ -4753,7 +6274,10 @@ text wrapping).</doc>
|
|
4753
6274
|
<type name="GutterRendererPixbuf"
|
4754
6275
|
c:type="GtkSourceGutterRendererPixbuf*"/>
|
4755
6276
|
</instance-parameter>
|
4756
|
-
<parameter name="icon"
|
6277
|
+
<parameter name="icon"
|
6278
|
+
transfer-ownership="none"
|
6279
|
+
nullable="1"
|
6280
|
+
allow-none="1">
|
4757
6281
|
<doc xml:space="preserve">the icon</doc>
|
4758
6282
|
<type name="Gio.Icon" c:type="GIcon*"/>
|
4759
6283
|
</parameter>
|
@@ -4770,7 +6294,10 @@ text wrapping).</doc>
|
|
4770
6294
|
<type name="GutterRendererPixbuf"
|
4771
6295
|
c:type="GtkSourceGutterRendererPixbuf*"/>
|
4772
6296
|
</instance-parameter>
|
4773
|
-
<parameter name="icon_name"
|
6297
|
+
<parameter name="icon_name"
|
6298
|
+
transfer-ownership="none"
|
6299
|
+
nullable="1"
|
6300
|
+
allow-none="1">
|
4774
6301
|
<doc xml:space="preserve">the icon name</doc>
|
4775
6302
|
<type name="utf8" c:type="const gchar*"/>
|
4776
6303
|
</parameter>
|
@@ -4787,7 +6314,10 @@ text wrapping).</doc>
|
|
4787
6314
|
<type name="GutterRendererPixbuf"
|
4788
6315
|
c:type="GtkSourceGutterRendererPixbuf*"/>
|
4789
6316
|
</instance-parameter>
|
4790
|
-
<parameter name="pixbuf"
|
6317
|
+
<parameter name="pixbuf"
|
6318
|
+
transfer-ownership="none"
|
6319
|
+
nullable="1"
|
6320
|
+
allow-none="1">
|
4791
6321
|
<doc xml:space="preserve">the pixbuf</doc>
|
4792
6322
|
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
|
4793
6323
|
</parameter>
|
@@ -4795,8 +6325,9 @@ text wrapping).</doc>
|
|
4795
6325
|
</method>
|
4796
6326
|
<method name="set_stock_id"
|
4797
6327
|
c:identifier="gtk_source_gutter_renderer_pixbuf_set_stock_id"
|
4798
|
-
deprecated="
|
6328
|
+
deprecated="1"
|
4799
6329
|
deprecated-version="3.10">
|
6330
|
+
<doc-deprecated xml:space="preserve">Don't use this function.</doc-deprecated>
|
4800
6331
|
<return-value transfer-ownership="none">
|
4801
6332
|
<type name="none" c:type="void"/>
|
4802
6333
|
</return-value>
|
@@ -4806,7 +6337,10 @@ text wrapping).</doc>
|
|
4806
6337
|
<type name="GutterRendererPixbuf"
|
4807
6338
|
c:type="GtkSourceGutterRendererPixbuf*"/>
|
4808
6339
|
</instance-parameter>
|
4809
|
-
<parameter name="stock_id"
|
6340
|
+
<parameter name="stock_id"
|
6341
|
+
transfer-ownership="none"
|
6342
|
+
nullable="1"
|
6343
|
+
allow-none="1">
|
4810
6344
|
<doc xml:space="preserve">the stock id</doc>
|
4811
6345
|
<type name="utf8" c:type="const gchar*"/>
|
4812
6346
|
</parameter>
|
@@ -4822,11 +6356,12 @@ text wrapping).</doc>
|
|
4822
6356
|
<type name="GdkPixbuf.Pixbuf"/>
|
4823
6357
|
</property>
|
4824
6358
|
<property name="stock-id"
|
4825
|
-
deprecated="
|
6359
|
+
deprecated="1"
|
4826
6360
|
deprecated-version="3.10"
|
4827
6361
|
writable="1"
|
4828
6362
|
transfer-ownership="none">
|
4829
6363
|
<doc xml:space="preserve">The stock id.</doc>
|
6364
|
+
<doc-deprecated xml:space="preserve">Don't use this property.</doc-deprecated>
|
4830
6365
|
<type name="utf8" c:type="gchar*"/>
|
4831
6366
|
</property>
|
4832
6367
|
<field name="parent" readable="0" private="1">
|
@@ -4867,19 +6402,22 @@ text wrapping).</doc>
|
|
4867
6402
|
value="1"
|
4868
6403
|
c:identifier="GTK_SOURCE_GUTTER_RENDERER_STATE_CURSOR"
|
4869
6404
|
glib:nick="cursor">
|
4870
|
-
<doc xml:space="preserve">area in the renderer represents the
|
6405
|
+
<doc xml:space="preserve">area in the renderer represents the
|
6406
|
+
line on which the insert cursor is currently positioned</doc>
|
4871
6407
|
</member>
|
4872
6408
|
<member name="prelit"
|
4873
6409
|
value="2"
|
4874
6410
|
c:identifier="GTK_SOURCE_GUTTER_RENDERER_STATE_PRELIT"
|
4875
6411
|
glib:nick="prelit">
|
4876
|
-
<doc xml:space="preserve">the mouse pointer is currently
|
6412
|
+
<doc xml:space="preserve">the mouse pointer is currently
|
6413
|
+
over the activatable area of the renderer</doc>
|
4877
6414
|
</member>
|
4878
6415
|
<member name="selected"
|
4879
6416
|
value="4"
|
4880
6417
|
c:identifier="GTK_SOURCE_GUTTER_RENDERER_STATE_SELECTED"
|
4881
6418
|
glib:nick="selected">
|
4882
|
-
<doc xml:space="preserve">area in the renderer represents
|
6419
|
+
<doc xml:space="preserve">area in the renderer represents
|
6420
|
+
a line in the buffer which contains part of the selection</doc>
|
4883
6421
|
</member>
|
4884
6422
|
</bitfield>
|
4885
6423
|
<class name="GutterRendererText"
|
@@ -5019,7 +6557,9 @@ text wrapping).</doc>
|
|
5019
6557
|
an utility wrapper around gtk_source_language_get_metadata() to
|
5020
6558
|
retrieve the "globs" metadata property and split it into an array.</doc>
|
5021
6559
|
<return-value transfer-ownership="full">
|
5022
|
-
<doc xml:space="preserve">a newly-allocated
|
6560
|
+
<doc xml:space="preserve">a newly-allocated
|
6561
|
+
%NULL terminated array containing the globs or %NULL if no globs are found.
|
6562
|
+
The returned array must be freed with g_strfreev().</doc>
|
5023
6563
|
<array c:type="gchar**">
|
5024
6564
|
<type name="utf8"/>
|
5025
6565
|
</array>
|
@@ -5062,7 +6602,10 @@ or modified.</doc>
|
|
5062
6602
|
<method name="get_metadata"
|
5063
6603
|
c:identifier="gtk_source_language_get_metadata">
|
5064
6604
|
<return-value transfer-ownership="none">
|
5065
|
-
<doc xml:space="preserve">value of property @name stored in the metadata of @language
|
6605
|
+
<doc xml:space="preserve">value of property @name stored in the metadata of @language
|
6606
|
+
or %NULL if language doesn't contain that metadata property.
|
6607
|
+
The returned string is owned by @language and should not be freed
|
6608
|
+
or modified.</doc>
|
5066
6609
|
<type name="utf8" c:type="const gchar*"/>
|
5067
6610
|
</return-value>
|
5068
6611
|
<parameters>
|
@@ -5083,7 +6626,10 @@ an utility wrapper around gtk_source_language_get_metadata() to
|
|
5083
6626
|
retrieve the "mimetypes" metadata property and split it into an
|
5084
6627
|
array.</doc>
|
5085
6628
|
<return-value transfer-ownership="full">
|
5086
|
-
<doc xml:space="preserve">a newly-allocated
|
6629
|
+
<doc xml:space="preserve">a newly-allocated
|
6630
|
+
%NULL terminated array containing the mime types or %NULL if no
|
6631
|
+
mime types are found.
|
6632
|
+
The returned array must be freed with g_strfreev().</doc>
|
5087
6633
|
<array c:type="gchar**">
|
5088
6634
|
<type name="utf8"/>
|
5089
6635
|
</array>
|
@@ -5134,7 +6680,10 @@ or modified.</doc>
|
|
5134
6680
|
<doc xml:space="preserve">Returns the ID of the style to use if the specified @style_id
|
5135
6681
|
is not present in the current style scheme.</doc>
|
5136
6682
|
<return-value transfer-ownership="none">
|
5137
|
-
<doc xml:space="preserve">the ID of the style to use if the specified @style_id
|
6683
|
+
<doc xml:space="preserve">the ID of the style to use if the specified @style_id
|
6684
|
+
is not present in the current style scheme or %NULL if the style has
|
6685
|
+
no fallback defined.
|
6686
|
+
The returned string is owned by the @language and must not be modified.</doc>
|
5138
6687
|
<type name="utf8" c:type="const gchar*"/>
|
5139
6688
|
</return-value>
|
5140
6689
|
<parameters>
|
@@ -5152,7 +6701,10 @@ is not present in the current style scheme.</doc>
|
|
5152
6701
|
c:identifier="gtk_source_language_get_style_ids">
|
5153
6702
|
<doc xml:space="preserve">Returns the ids of the styles defined by this @language.</doc>
|
5154
6703
|
<return-value transfer-ownership="full">
|
5155
|
-
<doc xml:space="preserve">a %NULL terminated
|
6704
|
+
<doc xml:space="preserve">a %NULL terminated
|
6705
|
+
array containing ids of the styles defined by this @language or
|
6706
|
+
%NULL if no style is defined.
|
6707
|
+
The returned array must be freed with g_strfreev().</doc>
|
5156
6708
|
<array c:type="gchar**">
|
5157
6709
|
<type name="utf8"/>
|
5158
6710
|
</array>
|
@@ -5168,7 +6720,10 @@ is not present in the current style scheme.</doc>
|
|
5168
6720
|
c:identifier="gtk_source_language_get_style_name">
|
5169
6721
|
<doc xml:space="preserve">Returns the name of the style with ID @style_id defined by this @language.</doc>
|
5170
6722
|
<return-value transfer-ownership="none">
|
5171
|
-
<doc xml:space="preserve">the name of the style with ID @style_id defined by this @language or
|
6723
|
+
<doc xml:space="preserve">the name of the style with ID @style_id defined by this @language or
|
6724
|
+
%NULL if the style has no name or there is no style with ID @style_id defined
|
6725
|
+
by this @language. The returned string is owned by the @language and must
|
6726
|
+
not be modified.</doc>
|
5172
6727
|
<type name="utf8" c:type="const gchar*"/>
|
5173
6728
|
</return-value>
|
5174
6729
|
<parameters>
|
@@ -5242,7 +6797,8 @@ gtk_source_language_manager_get_default() instead.</doc>
|
|
5242
6797
|
c:identifier="gtk_source_language_manager_get_default">
|
5243
6798
|
<doc xml:space="preserve">Returns the default #GtkSourceLanguageManager instance.</doc>
|
5244
6799
|
<return-value transfer-ownership="none">
|
5245
|
-
<doc xml:space="preserve">a #GtkSourceLanguageManager.
|
6800
|
+
<doc xml:space="preserve">a #GtkSourceLanguageManager.
|
6801
|
+
Return value is owned by GtkSourceView library and must not be unref'ed.</doc>
|
5246
6802
|
<type name="LanguageManager" c:type="GtkSourceLanguageManager*"/>
|
5247
6803
|
</return-value>
|
5248
6804
|
</function>
|
@@ -5250,8 +6806,10 @@ gtk_source_language_manager_get_default() instead.</doc>
|
|
5250
6806
|
c:identifier="gtk_source_language_manager_get_language">
|
5251
6807
|
<doc xml:space="preserve">Gets the #GtkSourceLanguage identified by the given @id in the language
|
5252
6808
|
manager.</doc>
|
5253
|
-
<return-value transfer-ownership="none">
|
5254
|
-
<doc xml:space="preserve">a #GtkSourceLanguage, or %NULL
|
6809
|
+
<return-value transfer-ownership="none" nullable="1">
|
6810
|
+
<doc xml:space="preserve">a #GtkSourceLanguage, or %NULL
|
6811
|
+
if there is no language identified by the given @id. Return value is
|
6812
|
+
owned by @lm and should not be freed.</doc>
|
5255
6813
|
<type name="Language" c:type="GtkSourceLanguage*"/>
|
5256
6814
|
</return-value>
|
5257
6815
|
<parameters>
|
@@ -5268,8 +6826,12 @@ manager.</doc>
|
|
5268
6826
|
<method name="get_language_ids"
|
5269
6827
|
c:identifier="gtk_source_language_manager_get_language_ids">
|
5270
6828
|
<doc xml:space="preserve">Returns the ids of the available languages.</doc>
|
5271
|
-
<return-value transfer-ownership="none">
|
5272
|
-
<doc xml:space="preserve">a %NULL-terminated array of
|
6829
|
+
<return-value transfer-ownership="none" nullable="1">
|
6830
|
+
<doc xml:space="preserve">a %NULL-terminated array of
|
6831
|
+
string containing the ids of the available languages or %NULL if no
|
6832
|
+
language is available. The array is sorted alphabetically
|
6833
|
+
according to the language name. The array is owned by @lm and must
|
6834
|
+
not be modified.</doc>
|
5273
6835
|
<array c:type="const gchar* const*">
|
5274
6836
|
<type name="utf8"/>
|
5275
6837
|
</array>
|
@@ -5285,7 +6847,9 @@ manager.</doc>
|
|
5285
6847
|
c:identifier="gtk_source_language_manager_get_search_path">
|
5286
6848
|
<doc xml:space="preserve">Gets the list directories where @lm looks for language files.</doc>
|
5287
6849
|
<return-value transfer-ownership="none">
|
5288
|
-
<doc xml:space="preserve">%NULL-terminated array
|
6850
|
+
<doc xml:space="preserve">%NULL-terminated array
|
6851
|
+
containg a list of language files directories.
|
6852
|
+
The array is owned by @lm and must not be modified.</doc>
|
5289
6853
|
<array c:type="gchar**">
|
5290
6854
|
<type name="utf8"/>
|
5291
6855
|
</array>
|
@@ -5332,8 +6896,10 @@ or
|
|
5332
6896
|
|
5333
6897
|
etc. Use gtk_source_language_get_mime_types() and gtk_source_language_get_globs()
|
5334
6898
|
if you need full control over file -> language mapping.</doc>
|
5335
|
-
<return-value transfer-ownership="none">
|
5336
|
-
<doc xml:space="preserve">a #GtkSourceLanguage, or %NULL if there
|
6899
|
+
<return-value transfer-ownership="none" nullable="1">
|
6900
|
+
<doc xml:space="preserve">a #GtkSourceLanguage, or %NULL if there
|
6901
|
+
is no suitable language for given @filename and/or @content_type. Return
|
6902
|
+
value is owned by @lm and should not be freed.</doc>
|
5337
6903
|
<type name="Language" c:type="GtkSourceLanguage*"/>
|
5338
6904
|
</return-value>
|
5339
6905
|
<parameters>
|
@@ -5341,12 +6907,16 @@ if you need full control over file -> language mapping.</doc>
|
|
5341
6907
|
<doc xml:space="preserve">a #GtkSourceLanguageManager.</doc>
|
5342
6908
|
<type name="LanguageManager" c:type="GtkSourceLanguageManager*"/>
|
5343
6909
|
</instance-parameter>
|
5344
|
-
<parameter name="filename"
|
6910
|
+
<parameter name="filename"
|
6911
|
+
transfer-ownership="none"
|
6912
|
+
nullable="1"
|
6913
|
+
allow-none="1">
|
5345
6914
|
<doc xml:space="preserve">a filename in Glib filename encoding, or %NULL.</doc>
|
5346
6915
|
<type name="utf8" c:type="const gchar*"/>
|
5347
6916
|
</parameter>
|
5348
6917
|
<parameter name="content_type"
|
5349
6918
|
transfer-ownership="none"
|
6919
|
+
nullable="1"
|
5350
6920
|
allow-none="1">
|
5351
6921
|
<doc xml:space="preserve">a content type (as in GIO API), or %NULL.</doc>
|
5352
6922
|
<type name="utf8" c:type="const gchar*"/>
|
@@ -5375,8 +6945,12 @@ If @dirs is %NULL, the search path is reset to default.
|
|
5375
6945
|
<doc xml:space="preserve">a #GtkSourceLanguageManager.</doc>
|
5376
6946
|
<type name="LanguageManager" c:type="GtkSourceLanguageManager*"/>
|
5377
6947
|
</instance-parameter>
|
5378
|
-
<parameter name="dirs"
|
5379
|
-
|
6948
|
+
<parameter name="dirs"
|
6949
|
+
transfer-ownership="none"
|
6950
|
+
nullable="1"
|
6951
|
+
allow-none="1">
|
6952
|
+
<doc xml:space="preserve">
|
6953
|
+
a %NULL-terminated array of strings or %NULL.</doc>
|
5380
6954
|
<array c:type="gchar**">
|
5381
6955
|
<type name="utf8" c:type="gchar*"/>
|
5382
6956
|
</array>
|
@@ -5467,7 +7041,10 @@ gtk_source_buffer_create_source_mark().</doc>
|
|
5467
7041
|
<type name="utf8" c:type="const gchar*"/>
|
5468
7042
|
</parameter>
|
5469
7043
|
<parameter name="category" transfer-ownership="none">
|
5470
|
-
<doc xml:space="preserve">is used to classify marks according to common characteristics
|
7044
|
+
<doc xml:space="preserve">is used to classify marks according to common characteristics
|
7045
|
+
(e.g. all the marks representing a bookmark could belong to the "bookmark"
|
7046
|
+
category, or all the marks representing a compilation error could belong to
|
7047
|
+
"error" category).</doc>
|
5471
7048
|
<type name="utf8" c:type="const gchar*"/>
|
5472
7049
|
</parameter>
|
5473
7050
|
</parameters>
|
@@ -5492,7 +7069,7 @@ gtk_source_buffer_create_source_mark().</doc>
|
|
5492
7069
|
was not added to a buffer. If there is no next mark, %NULL will be returned.
|
5493
7070
|
|
5494
7071
|
If @category is %NULL, looks for marks of any category.</doc>
|
5495
|
-
<return-value transfer-ownership="none">
|
7072
|
+
<return-value transfer-ownership="none" nullable="1">
|
5496
7073
|
<doc xml:space="preserve">the next #GtkSourceMark, or %NULL.</doc>
|
5497
7074
|
<type name="Mark" c:type="GtkSourceMark*"/>
|
5498
7075
|
</return-value>
|
@@ -5501,7 +7078,10 @@ If @category is %NULL, looks for marks of any category.</doc>
|
|
5501
7078
|
<doc xml:space="preserve">a #GtkSourceMark.</doc>
|
5502
7079
|
<type name="Mark" c:type="GtkSourceMark*"/>
|
5503
7080
|
</instance-parameter>
|
5504
|
-
<parameter name="category"
|
7081
|
+
<parameter name="category"
|
7082
|
+
transfer-ownership="none"
|
7083
|
+
nullable="1"
|
7084
|
+
allow-none="1">
|
5505
7085
|
<doc xml:space="preserve">a string specifying the mark category, or %NULL.</doc>
|
5506
7086
|
<type name="utf8" c:type="const gchar*"/>
|
5507
7087
|
</parameter>
|
@@ -5512,7 +7092,7 @@ If @category is %NULL, looks for marks of any category.</doc>
|
|
5512
7092
|
was not added to a buffer. If there is no previous mark, %NULL is returned.
|
5513
7093
|
|
5514
7094
|
If @category is %NULL, looks for marks of any category</doc>
|
5515
|
-
<return-value transfer-ownership="none">
|
7095
|
+
<return-value transfer-ownership="none" nullable="1">
|
5516
7096
|
<doc xml:space="preserve">the previous #GtkSourceMark, or %NULL.</doc>
|
5517
7097
|
<type name="Mark" c:type="GtkSourceMark*"/>
|
5518
7098
|
</return-value>
|
@@ -5582,7 +7162,8 @@ which pixbuf is used and with which priority it is drawn.</doc>
|
|
5582
7162
|
<doc xml:space="preserve">Gets a #GIcon to be used as a base for rendered icon. Note that the icon can
|
5583
7163
|
be %NULL if it wasn't set earlier.</doc>
|
5584
7164
|
<return-value transfer-ownership="none">
|
5585
|
-
<doc xml:space="preserve">An icon. The icon belongs to @attributes and should
|
7165
|
+
<doc xml:space="preserve">An icon. The icon belongs to @attributes and should
|
7166
|
+
not be unreffed.</doc>
|
5586
7167
|
<type name="Gio.Icon" c:type="GIcon*"/>
|
5587
7168
|
</return-value>
|
5588
7169
|
<parameters>
|
@@ -5597,7 +7178,8 @@ be %NULL if it wasn't set earlier.</doc>
|
|
5597
7178
|
<doc xml:space="preserve">Gets a name of an icon to be used as a base for rendered icon. Note that the
|
5598
7179
|
icon name can be %NULL if it wasn't set earlier.</doc>
|
5599
7180
|
<return-value transfer-ownership="none">
|
5600
|
-
<doc xml:space="preserve">An icon name. The string belongs to @attributes and
|
7181
|
+
<doc xml:space="preserve">An icon name. The string belongs to @attributes and
|
7182
|
+
should not be freed.</doc>
|
5601
7183
|
<type name="utf8" c:type="const gchar*"/>
|
5602
7184
|
</return-value>
|
5603
7185
|
<parameters>
|
@@ -5612,7 +7194,8 @@ icon name can be %NULL if it wasn't set earlier.</doc>
|
|
5612
7194
|
<doc xml:space="preserve">Gets a #GdkPixbuf to be used as a base for rendered icon. Note that the
|
5613
7195
|
pixbuf can be %NULL if it wasn't set earlier.</doc>
|
5614
7196
|
<return-value transfer-ownership="none">
|
5615
|
-
<doc xml:space="preserve">A pixbuf. The pixbuf belongs to @attributes and
|
7197
|
+
<doc xml:space="preserve">A pixbuf. The pixbuf belongs to @attributes and
|
7198
|
+
should not be unreffed.</doc>
|
5616
7199
|
<type name="GdkPixbuf.Pixbuf" c:type="const GdkPixbuf*"/>
|
5617
7200
|
</return-value>
|
5618
7201
|
<parameters>
|
@@ -5624,12 +7207,14 @@ pixbuf can be %NULL if it wasn't set earlier.</doc>
|
|
5624
7207
|
</method>
|
5625
7208
|
<method name="get_stock_id"
|
5626
7209
|
c:identifier="gtk_source_mark_attributes_get_stock_id"
|
5627
|
-
deprecated="
|
7210
|
+
deprecated="1"
|
5628
7211
|
deprecated-version="3.10">
|
5629
7212
|
<doc xml:space="preserve">Gets a stock id of an icon used by this attributes. Note that the stock id can
|
5630
7213
|
be %NULL if it wasn't set earlier.</doc>
|
7214
|
+
<doc-deprecated xml:space="preserve">Don't use this function.</doc-deprecated>
|
5631
7215
|
<return-value transfer-ownership="none">
|
5632
|
-
<doc xml:space="preserve">Stock id. Returned string is owned by @attributes and
|
7216
|
+
<doc xml:space="preserve">Stock id. Returned string is owned by @attributes and
|
7217
|
+
shouldn't be freed.</doc>
|
5633
7218
|
<type name="utf8" c:type="const gchar*"/>
|
5634
7219
|
</return-value>
|
5635
7220
|
<parameters>
|
@@ -5645,7 +7230,8 @@ be %NULL if it wasn't set earlier.</doc>
|
|
5645
7230
|
a #GtkSourceMarkAttributes::query-tooltip-markup signal. The tooltip may contain
|
5646
7231
|
a markup.</doc>
|
5647
7232
|
<return-value transfer-ownership="full">
|
5648
|
-
<doc xml:space="preserve">A tooltip. The returned string should be freed by
|
7233
|
+
<doc xml:space="preserve">A tooltip. The returned string should be freed by
|
7234
|
+
using g_free() when done with it.</doc>
|
5649
7235
|
<type name="utf8" c:type="gchar*"/>
|
5650
7236
|
</return-value>
|
5651
7237
|
<parameters>
|
@@ -5665,7 +7251,8 @@ a markup.</doc>
|
|
5665
7251
|
a #GtkSourceMarkAttributes::query-tooltip-text signal. The tooltip is a plain
|
5666
7252
|
text.</doc>
|
5667
7253
|
<return-value transfer-ownership="full">
|
5668
|
-
<doc xml:space="preserve">A tooltip. The returned string should be freed by
|
7254
|
+
<doc xml:space="preserve">A tooltip. The returned string should be freed by
|
7255
|
+
using g_free() when done with it.</doc>
|
5669
7256
|
<type name="utf8" c:type="gchar*"/>
|
5670
7257
|
</return-value>
|
5671
7258
|
<parameters>
|
@@ -5687,7 +7274,8 @@ gtk_source_mark_attributes_set_gicon(),
|
|
5687
7274
|
gtk_source_mark_attributes_set_icon_name() or
|
5688
7275
|
gtk_source_mark_attributes_set_stock_id(). @size cannot be lower than 1.</doc>
|
5689
7276
|
<return-value transfer-ownership="none">
|
5690
|
-
<doc xml:space="preserve">A rendered pixbuf. The pixbuf belongs to @attributes
|
7277
|
+
<doc xml:space="preserve">A rendered pixbuf. The pixbuf belongs to @attributes
|
7278
|
+
and should not be unreffed.</doc>
|
5691
7279
|
<type name="GdkPixbuf.Pixbuf" c:type="const GdkPixbuf*"/>
|
5692
7280
|
</return-value>
|
5693
7281
|
<parameters>
|
@@ -5775,9 +7363,10 @@ gtk_source_mark_attributes_set_stock_id(). @size cannot be lower than 1.</doc>
|
|
5775
7363
|
</method>
|
5776
7364
|
<method name="set_stock_id"
|
5777
7365
|
c:identifier="gtk_source_mark_attributes_set_stock_id"
|
5778
|
-
deprecated="
|
7366
|
+
deprecated="1"
|
5779
7367
|
deprecated-version="3.10">
|
5780
7368
|
<doc xml:space="preserve">Sets stock id to be used as a base for rendered icon.</doc>
|
7369
|
+
<doc-deprecated xml:space="preserve">Don't use this function.</doc-deprecated>
|
5781
7370
|
<return-value transfer-ownership="none">
|
5782
7371
|
<type name="none" c:type="void"/>
|
5783
7372
|
</return-value>
|
@@ -5809,11 +7398,12 @@ gtk_source_mark_attributes_set_stock_id(). @size cannot be lower than 1.</doc>
|
|
5809
7398
|
<type name="GdkPixbuf.Pixbuf"/>
|
5810
7399
|
</property>
|
5811
7400
|
<property name="stock-id"
|
5812
|
-
deprecated="
|
7401
|
+
deprecated="1"
|
5813
7402
|
deprecated-version="3.10"
|
5814
7403
|
writable="1"
|
5815
7404
|
transfer-ownership="none">
|
5816
7405
|
<doc xml:space="preserve">A stock id that may be a base of a rendered icon.</doc>
|
7406
|
+
<doc-deprecated xml:space="preserve">Don't use this property.</doc-deprecated>
|
5817
7407
|
<type name="utf8" c:type="gchar*"/>
|
5818
7408
|
</property>
|
5819
7409
|
<field name="parent" readable="0" private="1">
|
@@ -5827,7 +7417,8 @@ gtk_source_mark_attributes_set_stock_id(). @size cannot be lower than 1.</doc>
|
|
5827
7417
|
<doc xml:space="preserve">The code should connect to this signal to provide a tooltip for given
|
5828
7418
|
@mark. The tooltip can contain a markup.</doc>
|
5829
7419
|
<return-value transfer-ownership="full">
|
5830
|
-
<doc xml:space="preserve">A tooltip. The string should be freed with
|
7420
|
+
<doc xml:space="preserve">A tooltip. The string should be freed with
|
7421
|
+
g_free() when done with it.</doc>
|
5831
7422
|
<type name="utf8" c:type="gchar*"/>
|
5832
7423
|
</return-value>
|
5833
7424
|
<parameters>
|
@@ -5841,7 +7432,8 @@ gtk_source_mark_attributes_set_stock_id(). @size cannot be lower than 1.</doc>
|
|
5841
7432
|
<doc xml:space="preserve">The code should connect to this signal to provide a tooltip for given
|
5842
7433
|
@mark. The tooltip should be just a plain text.</doc>
|
5843
7434
|
<return-value transfer-ownership="full">
|
5844
|
-
<doc xml:space="preserve">A tooltip. The string should be freed with
|
7435
|
+
<doc xml:space="preserve">A tooltip. The string should be freed with
|
7436
|
+
g_free() when done with it.</doc>
|
5845
7437
|
<type name="utf8" c:type="gchar*"/>
|
5846
7438
|
</return-value>
|
5847
7439
|
<parameters>
|
@@ -5886,6 +7478,51 @@ gtk_source_mark_attributes_set_stock_id(). @size cannot be lower than 1.</doc>
|
|
5886
7478
|
</record>
|
5887
7479
|
<record name="MarkPrivate" c:type="GtkSourceMarkPrivate" disguised="1">
|
5888
7480
|
</record>
|
7481
|
+
<callback name="MountOperationFactory"
|
7482
|
+
c:type="GtkSourceMountOperationFactory"
|
7483
|
+
version="3.14"
|
7484
|
+
introspectable="0">
|
7485
|
+
<doc xml:space="preserve">Type definition for a function that will be called to create a
|
7486
|
+
#GMountOperation. This is useful for creating a #GtkMountOperation.</doc>
|
7487
|
+
<return-value>
|
7488
|
+
<type name="Gio.MountOperation" c:type="GMountOperation*"/>
|
7489
|
+
</return-value>
|
7490
|
+
<parameters>
|
7491
|
+
<parameter name="file" transfer-ownership="none">
|
7492
|
+
<doc xml:space="preserve">a #GtkSourceFile.</doc>
|
7493
|
+
<type name="File" c:type="GtkSourceFile*"/>
|
7494
|
+
</parameter>
|
7495
|
+
<parameter name="userdata" transfer-ownership="none">
|
7496
|
+
<doc xml:space="preserve">user data</doc>
|
7497
|
+
<type name="gpointer" c:type="gpointer"/>
|
7498
|
+
</parameter>
|
7499
|
+
</parameters>
|
7500
|
+
</callback>
|
7501
|
+
<enumeration name="NewlineType"
|
7502
|
+
version="3.14"
|
7503
|
+
glib:type-name="GtkSourceNewlineType"
|
7504
|
+
glib:get-type="gtk_source_newline_type_get_type"
|
7505
|
+
c:type="GtkSourceNewlineType">
|
7506
|
+
<member name="lf"
|
7507
|
+
value="0"
|
7508
|
+
c:identifier="GTK_SOURCE_NEWLINE_TYPE_LF"
|
7509
|
+
glib:nick="lf">
|
7510
|
+
<doc xml:space="preserve">line feed, used on UNIX.</doc>
|
7511
|
+
</member>
|
7512
|
+
<member name="cr"
|
7513
|
+
value="1"
|
7514
|
+
c:identifier="GTK_SOURCE_NEWLINE_TYPE_CR"
|
7515
|
+
glib:nick="cr">
|
7516
|
+
<doc xml:space="preserve">carriage return, used on Mac.</doc>
|
7517
|
+
</member>
|
7518
|
+
<member name="cr_lf"
|
7519
|
+
value="2"
|
7520
|
+
c:identifier="GTK_SOURCE_NEWLINE_TYPE_CR_LF"
|
7521
|
+
glib:nick="cr-lf">
|
7522
|
+
<doc xml:space="preserve">carriage return followed by a line feed, used
|
7523
|
+
on Windows.</doc>
|
7524
|
+
</member>
|
7525
|
+
</enumeration>
|
5889
7526
|
<class name="PrintCompositor"
|
5890
7527
|
c:symbol-prefix="print_compositor"
|
5891
7528
|
c:type="GtkSourcePrintCompositor"
|
@@ -5963,7 +7600,8 @@ draw_page (GtkPrintOperation *operation,
|
|
5963
7600
|
<type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
|
5964
7601
|
</instance-parameter>
|
5965
7602
|
<parameter name="context" transfer-ownership="none">
|
5966
|
-
<doc xml:space="preserve">the #GtkPrintContext encapsulating the context information that is required when
|
7603
|
+
<doc xml:space="preserve">the #GtkPrintContext encapsulating the context information that is required when
|
7604
|
+
drawing the page for printing.</doc>
|
5967
7605
|
<type name="Gtk.PrintContext" c:type="GtkPrintContext*"/>
|
5968
7606
|
</parameter>
|
5969
7607
|
<parameter name="page_nr" transfer-ownership="none">
|
@@ -5978,7 +7616,8 @@ draw_page (GtkPrintOperation *operation,
|
|
5978
7616
|
<doc xml:space="preserve">Returns the name of the font used to print the text body. The returned string
|
5979
7617
|
must be freed with g_free().</doc>
|
5980
7618
|
<return-value transfer-ownership="full">
|
5981
|
-
<doc xml:space="preserve">a new string containing the name of the font used to print the
|
7619
|
+
<doc xml:space="preserve">a new string containing the name of the font used to print the
|
7620
|
+
text body.</doc>
|
5982
7621
|
<type name="utf8" c:type="gchar*"/>
|
5983
7622
|
</return-value>
|
5984
7623
|
<parameters>
|
@@ -6030,7 +7669,8 @@ should not be unreferenced.</doc>
|
|
6030
7669
|
<doc xml:space="preserve">Returns the name of the font used to print the page footer.
|
6031
7670
|
The returned string must be freed with g_free().</doc>
|
6032
7671
|
<return-value transfer-ownership="full">
|
6033
|
-
<doc xml:space="preserve">a new string containing the name of the font used to print
|
7672
|
+
<doc xml:space="preserve">a new string containing the name of the font used to print
|
7673
|
+
the page footer.</doc>
|
6034
7674
|
<type name="utf8" c:type="gchar*"/>
|
6035
7675
|
</return-value>
|
6036
7676
|
<parameters>
|
@@ -6046,7 +7686,8 @@ The returned string must be freed with g_free().</doc>
|
|
6046
7686
|
<doc xml:space="preserve">Returns the name of the font used to print the page header.
|
6047
7687
|
The returned string must be freed with g_free().</doc>
|
6048
7688
|
<return-value transfer-ownership="full">
|
6049
|
-
<doc xml:space="preserve">a new string containing the name of the font used to print
|
7689
|
+
<doc xml:space="preserve">a new string containing the name of the font used to print
|
7690
|
+
the page header.</doc>
|
6050
7691
|
<type name="utf8" c:type="gchar*"/>
|
6051
7692
|
</return-value>
|
6052
7693
|
<parameters>
|
@@ -6098,7 +7739,8 @@ only if the buffer to print has highlighting activated.</doc>
|
|
6098
7739
|
<doc xml:space="preserve">Returns the name of the font used to print line numbers on the left margin.
|
6099
7740
|
The returned string must be freed with g_free().</doc>
|
6100
7741
|
<return-value transfer-ownership="full">
|
6101
|
-
<doc xml:space="preserve">a new string containing the name of the font used to print
|
7742
|
+
<doc xml:space="preserve">a new string containing the name of the font used to print
|
7743
|
+
line numbers on the left margin.</doc>
|
6102
7744
|
<type name="utf8" c:type="gchar*"/>
|
6103
7745
|
</return-value>
|
6104
7746
|
<parameters>
|
@@ -6114,7 +7756,8 @@ The returned string must be freed with g_free().</doc>
|
|
6114
7756
|
<doc xml:space="preserve">Returns the number of pages in the document or <code>-1</code> if the
|
6115
7757
|
document has not been completely paginated.</doc>
|
6116
7758
|
<return-value transfer-ownership="none">
|
6117
|
-
<doc xml:space="preserve">the number of pages in the document or <code>-1</code> if the
|
7759
|
+
<doc xml:space="preserve">the number of pages in the document or <code>-1</code> if the
|
7760
|
+
document has not been completely paginated.</doc>
|
6118
7761
|
<type name="gint" c:type="gint"/>
|
6119
7762
|
</return-value>
|
6120
7763
|
<parameters>
|
@@ -6333,7 +7976,8 @@ begin_print (GtkPrintOperation *operation,
|
|
6333
7976
|
<type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
|
6334
7977
|
</instance-parameter>
|
6335
7978
|
<parameter name="context" transfer-ownership="none">
|
6336
|
-
<doc xml:space="preserve">the #GtkPrintContext whose parameters (e.g. paper size, print margins, etc.)
|
7979
|
+
<doc xml:space="preserve">the #GtkPrintContext whose parameters (e.g. paper size, print margins, etc.)
|
7980
|
+
are used by the the @compositor to paginate the document.</doc>
|
6337
7981
|
<type name="Gtk.PrintContext" c:type="GtkPrintContext*"/>
|
6338
7982
|
</parameter>
|
6339
7983
|
</parameters>
|
@@ -6408,7 +8052,10 @@ gtk_source_print_compositor_paginate() function.</doc>
|
|
6408
8052
|
<doc xml:space="preserve">a #GtkSourcePrintCompositor.</doc>
|
6409
8053
|
<type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
|
6410
8054
|
</instance-parameter>
|
6411
|
-
<parameter name="font_name"
|
8055
|
+
<parameter name="font_name"
|
8056
|
+
transfer-ownership="none"
|
8057
|
+
nullable="1"
|
8058
|
+
allow-none="1">
|
6412
8059
|
<doc xml:space="preserve">the name of the font for the footer text, or %NULL.</doc>
|
6413
8060
|
<type name="utf8" c:type="const gchar*"/>
|
6414
8061
|
</parameter>
|
@@ -6447,15 +8094,24 @@ gtk_source_print_compositor_paginate() function.</doc>
|
|
6447
8094
|
<doc xml:space="preserve">%TRUE if you want a separator line to be printed.</doc>
|
6448
8095
|
<type name="gboolean" c:type="gboolean"/>
|
6449
8096
|
</parameter>
|
6450
|
-
<parameter name="left"
|
8097
|
+
<parameter name="left"
|
8098
|
+
transfer-ownership="none"
|
8099
|
+
nullable="1"
|
8100
|
+
allow-none="1">
|
6451
8101
|
<doc xml:space="preserve">a format string to print on the left of the footer.</doc>
|
6452
8102
|
<type name="utf8" c:type="const gchar*"/>
|
6453
8103
|
</parameter>
|
6454
|
-
<parameter name="center"
|
8104
|
+
<parameter name="center"
|
8105
|
+
transfer-ownership="none"
|
8106
|
+
nullable="1"
|
8107
|
+
allow-none="1">
|
6455
8108
|
<doc xml:space="preserve">a format string to print on the center of the footer.</doc>
|
6456
8109
|
<type name="utf8" c:type="const gchar*"/>
|
6457
8110
|
</parameter>
|
6458
|
-
<parameter name="right"
|
8111
|
+
<parameter name="right"
|
8112
|
+
transfer-ownership="none"
|
8113
|
+
nullable="1"
|
8114
|
+
allow-none="1">
|
6459
8115
|
<doc xml:space="preserve">a format string to print on the right of the footer.</doc>
|
6460
8116
|
<type name="utf8" c:type="const gchar*"/>
|
6461
8117
|
</parameter>
|
@@ -6483,7 +8139,10 @@ gtk_source_print_compositor_paginate() function.</doc>
|
|
6483
8139
|
<doc xml:space="preserve">a #GtkSourcePrintCompositor.</doc>
|
6484
8140
|
<type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
|
6485
8141
|
</instance-parameter>
|
6486
|
-
<parameter name="font_name"
|
8142
|
+
<parameter name="font_name"
|
8143
|
+
transfer-ownership="none"
|
8144
|
+
nullable="1"
|
8145
|
+
allow-none="1">
|
6487
8146
|
<doc xml:space="preserve">the name of the font for header text, or %NULL.</doc>
|
6488
8147
|
<type name="utf8" c:type="const gchar*"/>
|
6489
8148
|
</parameter>
|
@@ -6522,15 +8181,24 @@ gtk_source_print_compositor_paginate() function.</doc>
|
|
6522
8181
|
<doc xml:space="preserve">%TRUE if you want a separator line to be printed.</doc>
|
6523
8182
|
<type name="gboolean" c:type="gboolean"/>
|
6524
8183
|
</parameter>
|
6525
|
-
<parameter name="left"
|
8184
|
+
<parameter name="left"
|
8185
|
+
transfer-ownership="none"
|
8186
|
+
nullable="1"
|
8187
|
+
allow-none="1">
|
6526
8188
|
<doc xml:space="preserve">a format string to print on the left of the header.</doc>
|
6527
8189
|
<type name="utf8" c:type="const gchar*"/>
|
6528
8190
|
</parameter>
|
6529
|
-
<parameter name="center"
|
8191
|
+
<parameter name="center"
|
8192
|
+
transfer-ownership="none"
|
8193
|
+
nullable="1"
|
8194
|
+
allow-none="1">
|
6530
8195
|
<doc xml:space="preserve">a format string to print on the center of the header.</doc>
|
6531
8196
|
<type name="utf8" c:type="const gchar*"/>
|
6532
8197
|
</parameter>
|
6533
|
-
<parameter name="right"
|
8198
|
+
<parameter name="right"
|
8199
|
+
transfer-ownership="none"
|
8200
|
+
nullable="1"
|
8201
|
+
allow-none="1">
|
6534
8202
|
<doc xml:space="preserve">a format string to print on the right of the header.</doc>
|
6535
8203
|
<type name="utf8" c:type="const gchar*"/>
|
6536
8204
|
</parameter>
|
@@ -6602,7 +8270,10 @@ gtk_source_print_compositor_paginate() function.</doc>
|
|
6602
8270
|
<doc xml:space="preserve">a #GtkSourcePrintCompositor.</doc>
|
6603
8271
|
<type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
|
6604
8272
|
</instance-parameter>
|
6605
|
-
<parameter name="font_name"
|
8273
|
+
<parameter name="font_name"
|
8274
|
+
transfer-ownership="none"
|
8275
|
+
nullable="1"
|
8276
|
+
allow-none="1">
|
6606
8277
|
<doc xml:space="preserve">the name of the font for line numbers, or %NULL.</doc>
|
6607
8278
|
<type name="utf8" c:type="const gchar*"/>
|
6608
8279
|
</parameter>
|
@@ -6971,7 +8642,10 @@ gtk_source_search_context_get_settings().</doc>
|
|
6971
8642
|
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
6972
8643
|
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
6973
8644
|
</parameter>
|
6974
|
-
<parameter name="settings"
|
8645
|
+
<parameter name="settings"
|
8646
|
+
transfer-ownership="none"
|
8647
|
+
nullable="1"
|
8648
|
+
allow-none="1">
|
6975
8649
|
<doc xml:space="preserve">a #GtkSourceSearchSettings, or %NULL.</doc>
|
6976
8650
|
<type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
|
6977
8651
|
</parameter>
|
@@ -7000,6 +8674,7 @@ that the @buffer is small, this function is more convenient to use.</doc>
|
|
7000
8674
|
direction="out"
|
7001
8675
|
caller-allocates="1"
|
7002
8676
|
transfer-ownership="none"
|
8677
|
+
optional="1"
|
7003
8678
|
allow-none="1">
|
7004
8679
|
<doc xml:space="preserve">return location for start of match, or %NULL.</doc>
|
7005
8680
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
@@ -7008,6 +8683,7 @@ that the @buffer is small, this function is more convenient to use.</doc>
|
|
7008
8683
|
direction="out"
|
7009
8684
|
caller-allocates="1"
|
7010
8685
|
transfer-ownership="none"
|
8686
|
+
optional="1"
|
7011
8687
|
allow-none="1">
|
7012
8688
|
<doc xml:space="preserve">return location for end of match, or %NULL.</doc>
|
7013
8689
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
@@ -7037,12 +8713,14 @@ ownership of @cancellable, so you can unref it after calling this function.</doc
|
|
7037
8713
|
</parameter>
|
7038
8714
|
<parameter name="cancellable"
|
7039
8715
|
transfer-ownership="none"
|
8716
|
+
nullable="1"
|
7040
8717
|
allow-none="1">
|
7041
8718
|
<doc xml:space="preserve">a #GCancellable, or %NULL.</doc>
|
7042
8719
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
7043
8720
|
</parameter>
|
7044
8721
|
<parameter name="callback"
|
7045
8722
|
transfer-ownership="none"
|
8723
|
+
nullable="1"
|
7046
8724
|
allow-none="1"
|
7047
8725
|
scope="async"
|
7048
8726
|
closure="3">
|
@@ -7078,6 +8756,7 @@ gtk_source_search_context_backward_async().</doc>
|
|
7078
8756
|
direction="out"
|
7079
8757
|
caller-allocates="1"
|
7080
8758
|
transfer-ownership="none"
|
8759
|
+
optional="1"
|
7081
8760
|
allow-none="1">
|
7082
8761
|
<doc xml:space="preserve">return location for start of match, or %NULL.</doc>
|
7083
8762
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
@@ -7086,6 +8765,7 @@ gtk_source_search_context_backward_async().</doc>
|
|
7086
8765
|
direction="out"
|
7087
8766
|
caller-allocates="1"
|
7088
8767
|
transfer-ownership="none"
|
8768
|
+
optional="1"
|
7089
8769
|
allow-none="1">
|
7090
8770
|
<doc xml:space="preserve">return location for end of match, or %NULL.</doc>
|
7091
8771
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
@@ -7115,6 +8795,7 @@ that the @buffer is small, this function is more convenient to use.</doc>
|
|
7115
8795
|
direction="out"
|
7116
8796
|
caller-allocates="1"
|
7117
8797
|
transfer-ownership="none"
|
8798
|
+
optional="1"
|
7118
8799
|
allow-none="1">
|
7119
8800
|
<doc xml:space="preserve">return location for start of match, or %NULL.</doc>
|
7120
8801
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
@@ -7123,6 +8804,7 @@ that the @buffer is small, this function is more convenient to use.</doc>
|
|
7123
8804
|
direction="out"
|
7124
8805
|
caller-allocates="1"
|
7125
8806
|
transfer-ownership="none"
|
8807
|
+
optional="1"
|
7126
8808
|
allow-none="1">
|
7127
8809
|
<doc xml:space="preserve">return location for end of match, or %NULL.</doc>
|
7128
8810
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
@@ -7152,12 +8834,14 @@ ownership of @cancellable, so you can unref it after calling this function.</doc
|
|
7152
8834
|
</parameter>
|
7153
8835
|
<parameter name="cancellable"
|
7154
8836
|
transfer-ownership="none"
|
8837
|
+
nullable="1"
|
7155
8838
|
allow-none="1">
|
7156
8839
|
<doc xml:space="preserve">a #GCancellable, or %NULL.</doc>
|
7157
8840
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
7158
8841
|
</parameter>
|
7159
8842
|
<parameter name="callback"
|
7160
8843
|
transfer-ownership="none"
|
8844
|
+
nullable="1"
|
7161
8845
|
allow-none="1"
|
7162
8846
|
scope="async"
|
7163
8847
|
closure="3">
|
@@ -7193,6 +8877,7 @@ gtk_source_search_context_forward_async().</doc>
|
|
7193
8877
|
direction="out"
|
7194
8878
|
caller-allocates="1"
|
7195
8879
|
transfer-ownership="none"
|
8880
|
+
optional="1"
|
7196
8881
|
allow-none="1">
|
7197
8882
|
<doc xml:space="preserve">return location for start of match, or %NULL.</doc>
|
7198
8883
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
@@ -7201,6 +8886,7 @@ gtk_source_search_context_forward_async().</doc>
|
|
7201
8886
|
direction="out"
|
7202
8887
|
caller-allocates="1"
|
7203
8888
|
transfer-ownership="none"
|
8889
|
+
optional="1"
|
7204
8890
|
allow-none="1">
|
7205
8891
|
<doc xml:space="preserve">return location for end of match, or %NULL.</doc>
|
7206
8892
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
@@ -7243,7 +8929,9 @@ scanned, the position may be unknown, and -1 is returned. If 0 is returned,
|
|
7243
8929
|
it means that this part of the buffer has already been scanned, and that
|
7244
8930
|
@match_start and @match_end don't delimit an occurrence.</doc>
|
7245
8931
|
<return-value transfer-ownership="none">
|
7246
|
-
<doc xml:space="preserve">the position of the search occurrence. The first occurrence has the
|
8932
|
+
<doc xml:space="preserve">the position of the search occurrence. The first occurrence has the
|
8933
|
+
position 1 (not 0). Returns 0 if @match_start and @match_end don't delimit
|
8934
|
+
an occurrence. Returns -1 if the position is not yet known.</doc>
|
7247
8935
|
<type name="gint" c:type="gint"/>
|
7248
8936
|
</return-value>
|
7249
8937
|
<parameters>
|
@@ -7286,7 +8974,7 @@ returned.</doc>
|
|
7286
8974
|
with this function. The error domain is #G_REGEX_ERROR.
|
7287
8975
|
|
7288
8976
|
Free the return value with g_error_free().</doc>
|
7289
|
-
<return-value transfer-ownership="full">
|
8977
|
+
<return-value transfer-ownership="full" nullable="1">
|
7290
8978
|
<doc xml:space="preserve">the #GError, or %NULL if the pattern is valid.</doc>
|
7291
8979
|
<type name="GLib.Error" c:type="GError*"/>
|
7292
8980
|
</return-value>
|
@@ -7410,7 +9098,10 @@ The search context holds a reference to @settings.</doc>
|
|
7410
9098
|
<doc xml:space="preserve">a #GtkSourceSearchContext.</doc>
|
7411
9099
|
<type name="SearchContext" c:type="GtkSourceSearchContext*"/>
|
7412
9100
|
</instance-parameter>
|
7413
|
-
<parameter name="settings"
|
9101
|
+
<parameter name="settings"
|
9102
|
+
transfer-ownership="none"
|
9103
|
+
nullable="1"
|
9104
|
+
allow-none="1">
|
7414
9105
|
<doc xml:space="preserve">the new #GtkSourceSearchSettings, or %NULL.</doc>
|
7415
9106
|
<type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
|
7416
9107
|
</parameter>
|
@@ -7544,7 +9235,7 @@ Free with g_error_free().</doc>
|
|
7544
9235
|
|
7545
9236
|
You may be interested to call gtk_source_utils_escape_search_text() after
|
7546
9237
|
this function.</doc>
|
7547
|
-
<return-value transfer-ownership="none">
|
9238
|
+
<return-value transfer-ownership="none" nullable="1">
|
7548
9239
|
<doc xml:space="preserve">the text to search, or %NULL if the search is disabled.</doc>
|
7549
9240
|
<type name="utf8" c:type="const gchar*"/>
|
7550
9241
|
</return-value>
|
@@ -7647,6 +9338,7 @@ this function.</doc>
|
|
7647
9338
|
</instance-parameter>
|
7648
9339
|
<parameter name="search_text"
|
7649
9340
|
transfer-ownership="none"
|
9341
|
+
nullable="1"
|
7650
9342
|
allow-none="1">
|
7651
9343
|
<doc xml:space="preserve">the nul-terminated text to search, or %NULL to disable the search.</doc>
|
7652
9344
|
<type name="utf8" c:type="const gchar*"/>
|
@@ -7758,19 +9450,24 @@ end of the buffer.</doc>
|
|
7758
9450
|
value="1"
|
7759
9451
|
c:identifier="GTK_SOURCE_SMART_HOME_END_BEFORE"
|
7760
9452
|
glib:nick="before">
|
7761
|
-
<doc xml:space="preserve">move to the first/last
|
9453
|
+
<doc xml:space="preserve">move to the first/last
|
9454
|
+
non-whitespace character on the first press of the HOME/END keys and
|
9455
|
+
to the beginning/end of the line on the second press.</doc>
|
7762
9456
|
</member>
|
7763
9457
|
<member name="after"
|
7764
9458
|
value="2"
|
7765
9459
|
c:identifier="GTK_SOURCE_SMART_HOME_END_AFTER"
|
7766
9460
|
glib:nick="after">
|
7767
|
-
<doc xml:space="preserve">move to the beginning/end of the
|
9461
|
+
<doc xml:space="preserve">move to the beginning/end of the
|
9462
|
+
line on the first press of the HOME/END keys and to the first/last
|
9463
|
+
non-whitespace character on the second press.</doc>
|
7768
9464
|
</member>
|
7769
9465
|
<member name="always"
|
7770
9466
|
value="3"
|
7771
9467
|
c:identifier="GTK_SOURCE_SMART_HOME_END_ALWAYS"
|
7772
9468
|
glib:nick="always">
|
7773
|
-
<doc xml:space="preserve">always move to the first/last
|
9469
|
+
<doc xml:space="preserve">always move to the first/last
|
9470
|
+
non-whitespace character when the HOME/END keys are pressed.</doc>
|
7774
9471
|
</member>
|
7775
9472
|
</enumeration>
|
7776
9473
|
<class name="Style"
|
@@ -7784,7 +9481,8 @@ end of the buffer.</doc>
|
|
7784
9481
|
<doc xml:space="preserve">Creates a copy of @style, that is a new #GtkSourceStyle instance which
|
7785
9482
|
has the same attributes set.</doc>
|
7786
9483
|
<return-value transfer-ownership="full">
|
7787
|
-
<doc xml:space="preserve">copy of @style, call g_object_unref()
|
9484
|
+
<doc xml:space="preserve">copy of @style, call g_object_unref()
|
9485
|
+
when you are done with it.</doc>
|
7788
9486
|
<type name="Style" c:type="GtkSourceStyle*"/>
|
7789
9487
|
</return-value>
|
7790
9488
|
<parameters>
|
@@ -7854,6 +9552,18 @@ has the same attributes set.</doc>
|
|
7854
9552
|
transfer-ownership="none">
|
7855
9553
|
<type name="gboolean" c:type="gboolean"/>
|
7856
9554
|
</property>
|
9555
|
+
<property name="scale"
|
9556
|
+
writable="1"
|
9557
|
+
construct-only="1"
|
9558
|
+
transfer-ownership="none">
|
9559
|
+
<type name="utf8" c:type="gchar*"/>
|
9560
|
+
</property>
|
9561
|
+
<property name="scale-set"
|
9562
|
+
writable="1"
|
9563
|
+
construct-only="1"
|
9564
|
+
transfer-ownership="none">
|
9565
|
+
<type name="gboolean" c:type="gboolean"/>
|
9566
|
+
</property>
|
7857
9567
|
<property name="strikethrough"
|
7858
9568
|
writable="1"
|
7859
9569
|
construct-only="1"
|
@@ -7894,8 +9604,10 @@ has the same attributes set.</doc>
|
|
7894
9604
|
<method name="get_authors"
|
7895
9605
|
c:identifier="gtk_source_style_scheme_get_authors"
|
7896
9606
|
version="2.0">
|
7897
|
-
<return-value transfer-ownership="none">
|
7898
|
-
<doc xml:space="preserve">a
|
9607
|
+
<return-value transfer-ownership="none" nullable="1">
|
9608
|
+
<doc xml:space="preserve">a
|
9609
|
+
%NULL-terminated array containing the @scheme authors or %NULL if
|
9610
|
+
no author is specified by the style scheme.</doc>
|
7899
9611
|
<array c:type="gchar**">
|
7900
9612
|
<type name="utf8"/>
|
7901
9613
|
</array>
|
@@ -7910,7 +9622,7 @@ has the same attributes set.</doc>
|
|
7910
9622
|
<method name="get_description"
|
7911
9623
|
c:identifier="gtk_source_style_scheme_get_description"
|
7912
9624
|
version="2.0">
|
7913
|
-
<return-value transfer-ownership="none">
|
9625
|
+
<return-value transfer-ownership="none" nullable="1">
|
7914
9626
|
<doc xml:space="preserve">@scheme description (if defined), or %NULL.</doc>
|
7915
9627
|
<type name="utf8" c:type="const gchar*"/>
|
7916
9628
|
</return-value>
|
@@ -7924,8 +9636,9 @@ has the same attributes set.</doc>
|
|
7924
9636
|
<method name="get_filename"
|
7925
9637
|
c:identifier="gtk_source_style_scheme_get_filename"
|
7926
9638
|
version="2.0">
|
7927
|
-
<return-value transfer-ownership="none">
|
7928
|
-
<doc xml:space="preserve">@scheme file name if the scheme was created
|
9639
|
+
<return-value transfer-ownership="none" nullable="1">
|
9640
|
+
<doc xml:space="preserve">@scheme file name if the scheme was created
|
9641
|
+
parsing a style scheme file or %NULL in the other cases.</doc>
|
7929
9642
|
<type name="utf8" c:type="const gchar*"/>
|
7930
9643
|
</return-value>
|
7931
9644
|
<parameters>
|
@@ -7966,8 +9679,10 @@ has the same attributes set.</doc>
|
|
7966
9679
|
<method name="get_style"
|
7967
9680
|
c:identifier="gtk_source_style_scheme_get_style"
|
7968
9681
|
version="2.0">
|
7969
|
-
<return-value transfer-ownership="none">
|
7970
|
-
<doc xml:space="preserve">style which corresponds to @style_id in
|
9682
|
+
<return-value transfer-ownership="none" nullable="1">
|
9683
|
+
<doc xml:space="preserve">style which corresponds to @style_id in
|
9684
|
+
the @scheme, or %NULL when no style with this name found. It is owned by
|
9685
|
+
@scheme and may not be unref'ed.</doc>
|
7971
9686
|
<type name="Style" c:type="GtkSourceStyle*"/>
|
7972
9687
|
</return-value>
|
7973
9688
|
<parameters>
|
@@ -8050,7 +9765,8 @@ manager then use gtk_source_style_scheme_manager_get_default() instead.</doc>
|
|
8050
9765
|
c:identifier="gtk_source_style_scheme_manager_get_default">
|
8051
9766
|
<doc xml:space="preserve">Returns the default #GtkSourceStyleSchemeManager instance.</doc>
|
8052
9767
|
<return-value transfer-ownership="none">
|
8053
|
-
<doc xml:space="preserve">a #GtkSourceStyleSchemeManager. Return value
|
9768
|
+
<doc xml:space="preserve">a #GtkSourceStyleSchemeManager. Return value
|
9769
|
+
is owned by GtkSourceView library and must not be unref'ed.</doc>
|
8054
9770
|
<type name="StyleSchemeManager"
|
8055
9771
|
c:type="GtkSourceStyleSchemeManager*"/>
|
8056
9772
|
</return-value>
|
@@ -8095,7 +9811,8 @@ the @manager is accessed.</doc>
|
|
8095
9811
|
c:identifier="gtk_source_style_scheme_manager_get_scheme">
|
8096
9812
|
<doc xml:space="preserve">Looks up style scheme by id.</doc>
|
8097
9813
|
<return-value transfer-ownership="none">
|
8098
|
-
<doc xml:space="preserve">a #GtkSourceStyleScheme object. Returned value is owned by
|
9814
|
+
<doc xml:space="preserve">a #GtkSourceStyleScheme object. Returned value is owned by
|
9815
|
+
@manager and must not be unref'ed.</doc>
|
8099
9816
|
<type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
|
8100
9817
|
</return-value>
|
8101
9818
|
<parameters>
|
@@ -8114,7 +9831,11 @@ the @manager is accessed.</doc>
|
|
8114
9831
|
c:identifier="gtk_source_style_scheme_manager_get_scheme_ids">
|
8115
9832
|
<doc xml:space="preserve">Returns the ids of the available style schemes.</doc>
|
8116
9833
|
<return-value transfer-ownership="none">
|
8117
|
-
<doc xml:space="preserve">a %NULL-terminated array
|
9834
|
+
<doc xml:space="preserve">a %NULL-terminated array
|
9835
|
+
of string containing the ids of the available style schemes or %NULL if no
|
9836
|
+
style scheme is available.
|
9837
|
+
The array is sorted alphabetically according to the scheme name.
|
9838
|
+
The array is owned by the @manager and must not be modified.</doc>
|
8118
9839
|
<array c:type="gchar**">
|
8119
9840
|
<type name="utf8"/>
|
8120
9841
|
</array>
|
@@ -8132,7 +9853,9 @@ the @manager is accessed.</doc>
|
|
8132
9853
|
<doc xml:space="preserve">Returns the current search path for the @manager.
|
8133
9854
|
See gtk_source_style_scheme_manager_set_search_path() for details.</doc>
|
8134
9855
|
<return-value transfer-ownership="none">
|
8135
|
-
<doc xml:space="preserve">a %NULL-terminated array
|
9856
|
+
<doc xml:space="preserve">a %NULL-terminated array
|
9857
|
+
of string containing the search path.
|
9858
|
+
The array is owned by the @manager and must not be modified.</doc>
|
8136
9859
|
<array c:type="gchar**">
|
8137
9860
|
<type name="utf8"/>
|
8138
9861
|
</array>
|
@@ -8179,8 +9902,12 @@ If @path is %NULL, the search path is reset to default.</doc>
|
|
8179
9902
|
<type name="StyleSchemeManager"
|
8180
9903
|
c:type="GtkSourceStyleSchemeManager*"/>
|
8181
9904
|
</instance-parameter>
|
8182
|
-
<parameter name="path"
|
8183
|
-
|
9905
|
+
<parameter name="path"
|
9906
|
+
transfer-ownership="none"
|
9907
|
+
nullable="1"
|
9908
|
+
allow-none="1">
|
9909
|
+
<doc xml:space="preserve">
|
9910
|
+
a %NULL-terminated array of strings or %NULL.</doc>
|
8184
9911
|
<array c:type="gchar**">
|
8185
9912
|
<type name="utf8" c:type="gchar*"/>
|
8186
9913
|
</array>
|
@@ -8255,177 +9982,251 @@ If @path is %NULL, the search path is reset to default.</doc>
|
|
8255
9982
|
glib:get-type="gtk_source_undo_manager_get_type"
|
8256
9983
|
glib:type-struct="UndoManagerIface">
|
8257
9984
|
<virtual-method name="begin_not_undoable_action"
|
8258
|
-
invoker="begin_not_undoable_action"
|
9985
|
+
invoker="begin_not_undoable_action"
|
9986
|
+
version="2.10">
|
9987
|
+
<doc xml:space="preserve">Begin a not undoable action on the buffer. All changes between this call
|
9988
|
+
and the call to gtk_source_undo_manager_end_not_undoable_action() cannot
|
9989
|
+
be undone. This function should be re-entrant.</doc>
|
8259
9990
|
<return-value transfer-ownership="none">
|
8260
9991
|
<type name="none" c:type="void"/>
|
8261
9992
|
</return-value>
|
8262
9993
|
<parameters>
|
8263
9994
|
<instance-parameter name="manager" transfer-ownership="none">
|
9995
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8264
9996
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8265
9997
|
</instance-parameter>
|
8266
9998
|
</parameters>
|
8267
9999
|
</virtual-method>
|
8268
|
-
<virtual-method name="can_redo" invoker="can_redo">
|
10000
|
+
<virtual-method name="can_redo" invoker="can_redo" version="2.10">
|
10001
|
+
<doc xml:space="preserve">Get whether there are redo operations available.</doc>
|
8269
10002
|
<return-value transfer-ownership="none">
|
10003
|
+
<doc xml:space="preserve">%TRUE if there are redo operations available, %FALSE otherwise</doc>
|
8270
10004
|
<type name="gboolean" c:type="gboolean"/>
|
8271
10005
|
</return-value>
|
8272
10006
|
<parameters>
|
8273
10007
|
<instance-parameter name="manager" transfer-ownership="none">
|
10008
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8274
10009
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8275
10010
|
</instance-parameter>
|
8276
10011
|
</parameters>
|
8277
10012
|
</virtual-method>
|
8278
|
-
<virtual-method name="can_redo_changed"
|
10013
|
+
<virtual-method name="can_redo_changed"
|
10014
|
+
invoker="can_redo_changed"
|
10015
|
+
version="2.10">
|
10016
|
+
<doc xml:space="preserve">Emits the #GtkSourceUndoManager::can-redo-changed signal.</doc>
|
8279
10017
|
<return-value transfer-ownership="none">
|
8280
10018
|
<type name="none" c:type="void"/>
|
8281
10019
|
</return-value>
|
8282
10020
|
<parameters>
|
8283
10021
|
<instance-parameter name="manager" transfer-ownership="none">
|
10022
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8284
10023
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8285
10024
|
</instance-parameter>
|
8286
10025
|
</parameters>
|
8287
10026
|
</virtual-method>
|
8288
|
-
<virtual-method name="can_undo" invoker="can_undo">
|
10027
|
+
<virtual-method name="can_undo" invoker="can_undo" version="2.10">
|
10028
|
+
<doc xml:space="preserve">Get whether there are undo operations available.</doc>
|
8289
10029
|
<return-value transfer-ownership="none">
|
10030
|
+
<doc xml:space="preserve">%TRUE if there are undo operations available, %FALSE otherwise</doc>
|
8290
10031
|
<type name="gboolean" c:type="gboolean"/>
|
8291
10032
|
</return-value>
|
8292
10033
|
<parameters>
|
8293
10034
|
<instance-parameter name="manager" transfer-ownership="none">
|
10035
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8294
10036
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8295
10037
|
</instance-parameter>
|
8296
10038
|
</parameters>
|
8297
10039
|
</virtual-method>
|
8298
|
-
<virtual-method name="can_undo_changed"
|
10040
|
+
<virtual-method name="can_undo_changed"
|
10041
|
+
invoker="can_undo_changed"
|
10042
|
+
version="2.10">
|
10043
|
+
<doc xml:space="preserve">Emits the #GtkSourceUndoManager::can-undo-changed signal.</doc>
|
8299
10044
|
<return-value transfer-ownership="none">
|
8300
10045
|
<type name="none" c:type="void"/>
|
8301
10046
|
</return-value>
|
8302
10047
|
<parameters>
|
8303
10048
|
<instance-parameter name="manager" transfer-ownership="none">
|
10049
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8304
10050
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8305
10051
|
</instance-parameter>
|
8306
10052
|
</parameters>
|
8307
10053
|
</virtual-method>
|
8308
10054
|
<virtual-method name="end_not_undoable_action"
|
8309
|
-
invoker="end_not_undoable_action"
|
10055
|
+
invoker="end_not_undoable_action"
|
10056
|
+
version="2.10">
|
10057
|
+
<doc xml:space="preserve">Ends a not undoable action on the buffer.</doc>
|
8310
10058
|
<return-value transfer-ownership="none">
|
8311
10059
|
<type name="none" c:type="void"/>
|
8312
10060
|
</return-value>
|
8313
10061
|
<parameters>
|
8314
10062
|
<instance-parameter name="manager" transfer-ownership="none">
|
10063
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8315
10064
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8316
10065
|
</instance-parameter>
|
8317
10066
|
</parameters>
|
8318
10067
|
</virtual-method>
|
8319
|
-
<virtual-method name="redo" invoker="redo">
|
10068
|
+
<virtual-method name="redo" invoker="redo" version="2.10">
|
10069
|
+
<doc xml:space="preserve">Perform a single redo. Calling this function when there are no redo operations
|
10070
|
+
available is an error. Use gtk_source_undo_manager_can_redo() to find out
|
10071
|
+
if there are redo operations available.</doc>
|
8320
10072
|
<return-value transfer-ownership="none">
|
8321
10073
|
<type name="none" c:type="void"/>
|
8322
10074
|
</return-value>
|
8323
10075
|
<parameters>
|
8324
10076
|
<instance-parameter name="manager" transfer-ownership="none">
|
10077
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8325
10078
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8326
10079
|
</instance-parameter>
|
8327
10080
|
</parameters>
|
8328
10081
|
</virtual-method>
|
8329
|
-
<virtual-method name="undo" invoker="undo">
|
10082
|
+
<virtual-method name="undo" invoker="undo" version="2.10">
|
10083
|
+
<doc xml:space="preserve">Perform a single undo. Calling this function when there are no undo operations
|
10084
|
+
available is an error. Use gtk_source_undo_manager_can_undo() to find out
|
10085
|
+
if there are undo operations available.</doc>
|
8330
10086
|
<return-value transfer-ownership="none">
|
8331
10087
|
<type name="none" c:type="void"/>
|
8332
10088
|
</return-value>
|
8333
10089
|
<parameters>
|
8334
10090
|
<instance-parameter name="manager" transfer-ownership="none">
|
10091
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8335
10092
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8336
10093
|
</instance-parameter>
|
8337
10094
|
</parameters>
|
8338
10095
|
</virtual-method>
|
8339
10096
|
<method name="begin_not_undoable_action"
|
8340
|
-
c:identifier="gtk_source_undo_manager_begin_not_undoable_action"
|
10097
|
+
c:identifier="gtk_source_undo_manager_begin_not_undoable_action"
|
10098
|
+
version="2.10">
|
10099
|
+
<doc xml:space="preserve">Begin a not undoable action on the buffer. All changes between this call
|
10100
|
+
and the call to gtk_source_undo_manager_end_not_undoable_action() cannot
|
10101
|
+
be undone. This function should be re-entrant.</doc>
|
8341
10102
|
<return-value transfer-ownership="none">
|
8342
10103
|
<type name="none" c:type="void"/>
|
8343
10104
|
</return-value>
|
8344
10105
|
<parameters>
|
8345
10106
|
<instance-parameter name="manager" transfer-ownership="none">
|
10107
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8346
10108
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8347
10109
|
</instance-parameter>
|
8348
10110
|
</parameters>
|
8349
10111
|
</method>
|
8350
|
-
<method name="can_redo"
|
10112
|
+
<method name="can_redo"
|
10113
|
+
c:identifier="gtk_source_undo_manager_can_redo"
|
10114
|
+
version="2.10">
|
10115
|
+
<doc xml:space="preserve">Get whether there are redo operations available.</doc>
|
8351
10116
|
<return-value transfer-ownership="none">
|
10117
|
+
<doc xml:space="preserve">%TRUE if there are redo operations available, %FALSE otherwise</doc>
|
8352
10118
|
<type name="gboolean" c:type="gboolean"/>
|
8353
10119
|
</return-value>
|
8354
10120
|
<parameters>
|
8355
10121
|
<instance-parameter name="manager" transfer-ownership="none">
|
10122
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8356
10123
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8357
10124
|
</instance-parameter>
|
8358
10125
|
</parameters>
|
8359
10126
|
</method>
|
8360
10127
|
<method name="can_redo_changed"
|
8361
|
-
c:identifier="gtk_source_undo_manager_can_redo_changed"
|
10128
|
+
c:identifier="gtk_source_undo_manager_can_redo_changed"
|
10129
|
+
version="2.10">
|
10130
|
+
<doc xml:space="preserve">Emits the #GtkSourceUndoManager::can-redo-changed signal.</doc>
|
8362
10131
|
<return-value transfer-ownership="none">
|
8363
10132
|
<type name="none" c:type="void"/>
|
8364
10133
|
</return-value>
|
8365
10134
|
<parameters>
|
8366
10135
|
<instance-parameter name="manager" transfer-ownership="none">
|
10136
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8367
10137
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8368
10138
|
</instance-parameter>
|
8369
10139
|
</parameters>
|
8370
10140
|
</method>
|
8371
|
-
<method name="can_undo"
|
10141
|
+
<method name="can_undo"
|
10142
|
+
c:identifier="gtk_source_undo_manager_can_undo"
|
10143
|
+
version="2.10">
|
10144
|
+
<doc xml:space="preserve">Get whether there are undo operations available.</doc>
|
8372
10145
|
<return-value transfer-ownership="none">
|
10146
|
+
<doc xml:space="preserve">%TRUE if there are undo operations available, %FALSE otherwise</doc>
|
8373
10147
|
<type name="gboolean" c:type="gboolean"/>
|
8374
10148
|
</return-value>
|
8375
10149
|
<parameters>
|
8376
10150
|
<instance-parameter name="manager" transfer-ownership="none">
|
10151
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8377
10152
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8378
10153
|
</instance-parameter>
|
8379
10154
|
</parameters>
|
8380
10155
|
</method>
|
8381
10156
|
<method name="can_undo_changed"
|
8382
|
-
c:identifier="gtk_source_undo_manager_can_undo_changed"
|
10157
|
+
c:identifier="gtk_source_undo_manager_can_undo_changed"
|
10158
|
+
version="2.10">
|
10159
|
+
<doc xml:space="preserve">Emits the #GtkSourceUndoManager::can-undo-changed signal.</doc>
|
8383
10160
|
<return-value transfer-ownership="none">
|
8384
10161
|
<type name="none" c:type="void"/>
|
8385
10162
|
</return-value>
|
8386
10163
|
<parameters>
|
8387
10164
|
<instance-parameter name="manager" transfer-ownership="none">
|
10165
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8388
10166
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8389
10167
|
</instance-parameter>
|
8390
10168
|
</parameters>
|
8391
10169
|
</method>
|
8392
10170
|
<method name="end_not_undoable_action"
|
8393
|
-
c:identifier="gtk_source_undo_manager_end_not_undoable_action"
|
10171
|
+
c:identifier="gtk_source_undo_manager_end_not_undoable_action"
|
10172
|
+
version="2.10">
|
10173
|
+
<doc xml:space="preserve">Ends a not undoable action on the buffer.</doc>
|
8394
10174
|
<return-value transfer-ownership="none">
|
8395
10175
|
<type name="none" c:type="void"/>
|
8396
10176
|
</return-value>
|
8397
10177
|
<parameters>
|
8398
10178
|
<instance-parameter name="manager" transfer-ownership="none">
|
10179
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8399
10180
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8400
10181
|
</instance-parameter>
|
8401
10182
|
</parameters>
|
8402
10183
|
</method>
|
8403
|
-
<method name="redo"
|
10184
|
+
<method name="redo"
|
10185
|
+
c:identifier="gtk_source_undo_manager_redo"
|
10186
|
+
version="2.10">
|
10187
|
+
<doc xml:space="preserve">Perform a single redo. Calling this function when there are no redo operations
|
10188
|
+
available is an error. Use gtk_source_undo_manager_can_redo() to find out
|
10189
|
+
if there are redo operations available.</doc>
|
8404
10190
|
<return-value transfer-ownership="none">
|
8405
10191
|
<type name="none" c:type="void"/>
|
8406
10192
|
</return-value>
|
8407
10193
|
<parameters>
|
8408
10194
|
<instance-parameter name="manager" transfer-ownership="none">
|
10195
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8409
10196
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8410
10197
|
</instance-parameter>
|
8411
10198
|
</parameters>
|
8412
10199
|
</method>
|
8413
|
-
<method name="undo"
|
10200
|
+
<method name="undo"
|
10201
|
+
c:identifier="gtk_source_undo_manager_undo"
|
10202
|
+
version="2.10">
|
10203
|
+
<doc xml:space="preserve">Perform a single undo. Calling this function when there are no undo operations
|
10204
|
+
available is an error. Use gtk_source_undo_manager_can_undo() to find out
|
10205
|
+
if there are undo operations available.</doc>
|
8414
10206
|
<return-value transfer-ownership="none">
|
8415
10207
|
<type name="none" c:type="void"/>
|
8416
10208
|
</return-value>
|
8417
10209
|
<parameters>
|
8418
10210
|
<instance-parameter name="manager" transfer-ownership="none">
|
10211
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8419
10212
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8420
10213
|
</instance-parameter>
|
8421
10214
|
</parameters>
|
8422
10215
|
</method>
|
8423
|
-
<glib:signal name="can-redo-changed"
|
10216
|
+
<glib:signal name="can-redo-changed"
|
10217
|
+
when="last"
|
10218
|
+
action="1"
|
10219
|
+
version="2.10">
|
10220
|
+
<doc xml:space="preserve">Emitted when the ability to redo has changed.</doc>
|
8424
10221
|
<return-value transfer-ownership="none">
|
8425
10222
|
<type name="none" c:type="void"/>
|
8426
10223
|
</return-value>
|
8427
10224
|
</glib:signal>
|
8428
|
-
<glib:signal name="can-undo-changed"
|
10225
|
+
<glib:signal name="can-undo-changed"
|
10226
|
+
when="last"
|
10227
|
+
action="1"
|
10228
|
+
version="2.10">
|
10229
|
+
<doc xml:space="preserve">Emitted when the ability to undo has changed.</doc>
|
8429
10230
|
<return-value transfer-ownership="none">
|
8430
10231
|
<type name="none" c:type="void"/>
|
8431
10232
|
</return-value>
|
@@ -8440,10 +10241,12 @@ If @path is %NULL, the search path is reset to default.</doc>
|
|
8440
10241
|
<field name="can_undo">
|
8441
10242
|
<callback name="can_undo">
|
8442
10243
|
<return-value transfer-ownership="none">
|
10244
|
+
<doc xml:space="preserve">%TRUE if there are undo operations available, %FALSE otherwise</doc>
|
8443
10245
|
<type name="gboolean" c:type="gboolean"/>
|
8444
10246
|
</return-value>
|
8445
10247
|
<parameters>
|
8446
10248
|
<parameter name="manager" transfer-ownership="none">
|
10249
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8447
10250
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8448
10251
|
</parameter>
|
8449
10252
|
</parameters>
|
@@ -8452,10 +10255,12 @@ If @path is %NULL, the search path is reset to default.</doc>
|
|
8452
10255
|
<field name="can_redo">
|
8453
10256
|
<callback name="can_redo">
|
8454
10257
|
<return-value transfer-ownership="none">
|
10258
|
+
<doc xml:space="preserve">%TRUE if there are redo operations available, %FALSE otherwise</doc>
|
8455
10259
|
<type name="gboolean" c:type="gboolean"/>
|
8456
10260
|
</return-value>
|
8457
10261
|
<parameters>
|
8458
10262
|
<parameter name="manager" transfer-ownership="none">
|
10263
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8459
10264
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8460
10265
|
</parameter>
|
8461
10266
|
</parameters>
|
@@ -8468,6 +10273,7 @@ If @path is %NULL, the search path is reset to default.</doc>
|
|
8468
10273
|
</return-value>
|
8469
10274
|
<parameters>
|
8470
10275
|
<parameter name="manager" transfer-ownership="none">
|
10276
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8471
10277
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8472
10278
|
</parameter>
|
8473
10279
|
</parameters>
|
@@ -8480,6 +10286,7 @@ If @path is %NULL, the search path is reset to default.</doc>
|
|
8480
10286
|
</return-value>
|
8481
10287
|
<parameters>
|
8482
10288
|
<parameter name="manager" transfer-ownership="none">
|
10289
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8483
10290
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8484
10291
|
</parameter>
|
8485
10292
|
</parameters>
|
@@ -8492,6 +10299,7 @@ If @path is %NULL, the search path is reset to default.</doc>
|
|
8492
10299
|
</return-value>
|
8493
10300
|
<parameters>
|
8494
10301
|
<parameter name="manager" transfer-ownership="none">
|
10302
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8495
10303
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8496
10304
|
</parameter>
|
8497
10305
|
</parameters>
|
@@ -8504,6 +10312,7 @@ If @path is %NULL, the search path is reset to default.</doc>
|
|
8504
10312
|
</return-value>
|
8505
10313
|
<parameters>
|
8506
10314
|
<parameter name="manager" transfer-ownership="none">
|
10315
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8507
10316
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8508
10317
|
</parameter>
|
8509
10318
|
</parameters>
|
@@ -8516,6 +10325,7 @@ If @path is %NULL, the search path is reset to default.</doc>
|
|
8516
10325
|
</return-value>
|
8517
10326
|
<parameters>
|
8518
10327
|
<parameter name="manager" transfer-ownership="none">
|
10328
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8519
10329
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8520
10330
|
</parameter>
|
8521
10331
|
</parameters>
|
@@ -8528,6 +10338,7 @@ If @path is %NULL, the search path is reset to default.</doc>
|
|
8528
10338
|
</return-value>
|
8529
10339
|
<parameters>
|
8530
10340
|
<parameter name="manager" transfer-ownership="none">
|
10341
|
+
<doc xml:space="preserve">a #GtkSourceUndoManager.</doc>
|
8531
10342
|
<type name="UndoManager" c:type="GtkSourceUndoManager*"/>
|
8532
10343
|
</parameter>
|
8533
10344
|
</parameters>
|
@@ -8661,7 +10472,8 @@ gtk_source_view_new_with_buffer().</doc>
|
|
8661
10472
|
c:identifier="gtk_source_view_get_completion">
|
8662
10473
|
<doc xml:space="preserve">Gets the #GtkSourceCompletion associated with @view.</doc>
|
8663
10474
|
<return-value transfer-ownership="none">
|
8664
|
-
<doc xml:space="preserve">
|
10475
|
+
<doc xml:space="preserve">
|
10476
|
+
the #GtkSourceCompletion associated with @view.</doc>
|
8665
10477
|
<type name="Completion" c:type="GtkSourceCompletion*"/>
|
8666
10478
|
</return-value>
|
8667
10479
|
<parameters>
|
@@ -8773,7 +10585,8 @@ be replaced by a group of space characters.</doc>
|
|
8773
10585
|
c:identifier="gtk_source_view_get_mark_attributes">
|
8774
10586
|
<doc xml:space="preserve">Gets attributes and priority for the @category.</doc>
|
8775
10587
|
<return-value transfer-ownership="none">
|
8776
|
-
<doc xml:space="preserve">#GtkSourceMarkAttributes for the @category.
|
10588
|
+
<doc xml:space="preserve">#GtkSourceMarkAttributes for the @category.
|
10589
|
+
The object belongs to @view, so it must not be unreffed.</doc>
|
8777
10590
|
<type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
|
8778
10591
|
</return-value>
|
8779
10592
|
<parameters>
|
@@ -8926,7 +10739,8 @@ disable display of spaces.</doc>
|
|
8926
10739
|
<type name="View" c:type="GtkSourceView*"/>
|
8927
10740
|
</instance-parameter>
|
8928
10741
|
<parameter name="flags" transfer-ownership="none">
|
8929
|
-
<doc xml:space="preserve">#GtkSourceDrawSpacesFlags specifing how white spaces should
|
10742
|
+
<doc xml:space="preserve">#GtkSourceDrawSpacesFlags specifing how white spaces should
|
10743
|
+
be displayed</doc>
|
8930
10744
|
<type name="DrawSpacesFlags" c:type="GtkSourceDrawSpacesFlags"/>
|
8931
10745
|
</parameter>
|
8932
10746
|
</parameters>
|
@@ -8971,7 +10785,7 @@ the \t characters. Shift+Tab unindents the selection.</doc>
|
|
8971
10785
|
<method name="set_indent_width"
|
8972
10786
|
c:identifier="gtk_source_view_set_indent_width">
|
8973
10787
|
<doc xml:space="preserve">Sets the number of spaces to use for each step of indent.
|
8974
|
-
If @width is -1, the value of the GtkSourceView
|
10788
|
+
If @width is -1, the value of the #GtkSourceView:tab-width property
|
8975
10789
|
will be used.</doc>
|
8976
10790
|
<return-value transfer-ownership="none">
|
8977
10791
|
<type name="none" c:type="void"/>
|
@@ -9195,7 +11009,7 @@ are pressed.</doc>
|
|
9195
11009
|
<type name="SmartHomeEndType"/>
|
9196
11010
|
</property>
|
9197
11011
|
<property name="tab-width" writable="1" transfer-ownership="none">
|
9198
|
-
<doc xml:space="preserve">Width of
|
11012
|
+
<doc xml:space="preserve">Width of a tab character expressed in number of spaces.</doc>
|
9199
11013
|
<type name="guint" c:type="guint"/>
|
9200
11014
|
</property>
|
9201
11015
|
<field name="parent">
|
@@ -9233,7 +11047,8 @@ or the current line by @count. For the moment, only
|
|
9233
11047
|
</return-value>
|
9234
11048
|
<parameters>
|
9235
11049
|
<parameter name="copy" transfer-ownership="none">
|
9236
|
-
<doc xml:space="preserve">%TRUE if the line should be copied,
|
11050
|
+
<doc xml:space="preserve">%TRUE if the line should be copied,
|
11051
|
+
%FALSE if it should be moved</doc>
|
9237
11052
|
<type name="gboolean" c:type="gboolean"/>
|
9238
11053
|
</parameter>
|
9239
11054
|
<parameter name="count" transfer-ownership="none">
|
@@ -9405,13 +11220,15 @@ home/end.</doc>
|
|
9405
11220
|
value="-30"
|
9406
11221
|
c:identifier="GTK_SOURCE_VIEW_GUTTER_POSITION_LINES"
|
9407
11222
|
glib:nick="lines">
|
9408
|
-
<doc xml:space="preserve">the gutter position of the lines
|
11223
|
+
<doc xml:space="preserve">the gutter position of the lines
|
11224
|
+
renderer</doc>
|
9409
11225
|
</member>
|
9410
11226
|
<member name="marks"
|
9411
11227
|
value="-20"
|
9412
11228
|
c:identifier="GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS"
|
9413
11229
|
glib:nick="marks">
|
9414
|
-
<doc xml:space="preserve">the gutter position of the marks
|
11230
|
+
<doc xml:space="preserve">the gutter position of the marks
|
11231
|
+
renderer</doc>
|
9415
11232
|
</member>
|
9416
11233
|
</enumeration>
|
9417
11234
|
<record name="ViewPrivate" c:type="GtkSourceViewPrivate" disguised="1">
|
@@ -9423,6 +11240,70 @@ home/end.</doc>
|
|
9423
11240
|
<type name="GLib.Quark" c:type="GQuark"/>
|
9424
11241
|
</return-value>
|
9425
11242
|
</function>
|
11243
|
+
<function name="encoding_get_all"
|
11244
|
+
c:identifier="gtk_source_encoding_get_all"
|
11245
|
+
moved-to="Encoding.get_all"
|
11246
|
+
version="3.14">
|
11247
|
+
<doc xml:space="preserve">Gets all encodings.</doc>
|
11248
|
+
<return-value transfer-ownership="container">
|
11249
|
+
<doc xml:space="preserve">a list of
|
11250
|
+
all #GtkSourceEncoding's. Free with g_slist_free().</doc>
|
11251
|
+
<type name="GLib.SList" c:type="GSList*">
|
11252
|
+
<type name="Encoding"/>
|
11253
|
+
</type>
|
11254
|
+
</return-value>
|
11255
|
+
</function>
|
11256
|
+
<function name="encoding_get_current"
|
11257
|
+
c:identifier="gtk_source_encoding_get_current"
|
11258
|
+
moved-to="Encoding.get_current"
|
11259
|
+
version="3.14">
|
11260
|
+
<doc xml:space="preserve">Gets the #GtkSourceEncoding for the current locale. See also g_get_charset().</doc>
|
11261
|
+
<return-value transfer-ownership="none">
|
11262
|
+
<doc xml:space="preserve">the current locale encoding.</doc>
|
11263
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
11264
|
+
</return-value>
|
11265
|
+
</function>
|
11266
|
+
<function name="encoding_get_from_charset"
|
11267
|
+
c:identifier="gtk_source_encoding_get_from_charset"
|
11268
|
+
moved-to="Encoding.get_from_charset"
|
11269
|
+
version="3.14">
|
11270
|
+
<doc xml:space="preserve">Gets a #GtkSourceEncoding from a character set such as "UTF-8" or
|
11271
|
+
"ISO-8859-1".</doc>
|
11272
|
+
<return-value transfer-ownership="none" nullable="1">
|
11273
|
+
<doc xml:space="preserve">the corresponding #GtkSourceEncoding, or %NULL
|
11274
|
+
if not found.</doc>
|
11275
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
11276
|
+
</return-value>
|
11277
|
+
<parameters>
|
11278
|
+
<parameter name="charset" transfer-ownership="none">
|
11279
|
+
<doc xml:space="preserve">a character set.</doc>
|
11280
|
+
<type name="utf8" c:type="const gchar*"/>
|
11281
|
+
</parameter>
|
11282
|
+
</parameters>
|
11283
|
+
</function>
|
11284
|
+
<function name="encoding_get_utf8"
|
11285
|
+
c:identifier="gtk_source_encoding_get_utf8"
|
11286
|
+
moved-to="Encoding.get_utf8"
|
11287
|
+
version="3.14">
|
11288
|
+
<return-value transfer-ownership="none">
|
11289
|
+
<doc xml:space="preserve">the UTF-8 encoding.</doc>
|
11290
|
+
<type name="Encoding" c:type="const GtkSourceEncoding*"/>
|
11291
|
+
</return-value>
|
11292
|
+
</function>
|
11293
|
+
<function name="file_loader_error_quark"
|
11294
|
+
c:identifier="gtk_source_file_loader_error_quark"
|
11295
|
+
moved-to="FileLoaderError.quark">
|
11296
|
+
<return-value transfer-ownership="none">
|
11297
|
+
<type name="GLib.Quark" c:type="GQuark"/>
|
11298
|
+
</return-value>
|
11299
|
+
</function>
|
11300
|
+
<function name="file_saver_error_quark"
|
11301
|
+
c:identifier="gtk_source_file_saver_error_quark"
|
11302
|
+
moved-to="FileSaverError.quark">
|
11303
|
+
<return-value transfer-ownership="none">
|
11304
|
+
<type name="GLib.Quark" c:type="GQuark"/>
|
11305
|
+
</return-value>
|
11306
|
+
</function>
|
9426
11307
|
<function name="utils_escape_search_text"
|
9427
11308
|
c:identifier="gtk_source_utils_escape_search_text"
|
9428
11309
|
version="3.10">
|