gtksourceview3 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/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
@@ -8,23 +8,18 @@
|
|
8
8
|
<link rel="up" href="ch01.html" title="API reference">
|
9
9
|
<link rel="prev" href="gtksourceview-3.0-GtkSourceUtils.html" title="GtkSourceUtils">
|
10
10
|
<link rel="next" href="ch02.html" title="Syntax highlighting reference">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#GtkSourceView.
|
20
|
-
|
21
|
-
<a href="#GtkSourceView.
|
22
|
-
|
23
|
-
<a href="#GtkSourceView.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
24
|
-
|
|
25
|
-
<a href="#GtkSourceView.properties" class="shortcut">Properties</a>
|
26
|
-
|
|
27
|
-
<a href="#GtkSourceView.signals" class="shortcut">Signals</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#GtkSourceView.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceView.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceView.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
|
21
|
+
<a href="#GtkSourceView.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
|
22
|
+
<a href="#GtkSourceView.signals" class="shortcut">Signals</a></span>
|
28
23
|
</td>
|
29
24
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
30
25
|
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -38,1230 +33,1706 @@
|
|
38
33
|
<h2><span class="refentrytitle"><a name="GtkSourceView.top_of_page"></a>GtkSourceView</span></h2>
|
39
34
|
<p>GtkSourceView — The view object</p>
|
40
35
|
</td>
|
41
|
-
<td valign="top" align="right"></td>
|
36
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
42
37
|
</tr></table></div>
|
43
|
-
<div class="refsynopsisdiv">
|
44
|
-
<a name="GtkSourceView.synopsis"></a><h2>Synopsis</h2>
|
45
|
-
<pre class="synopsis">
|
46
|
-
#include <gtksourceview/gtksource.h>
|
47
|
-
|
48
|
-
<a class="link" href="GtkSourceView.html#GtkSourceView-struct" title="GtkSourceView">GtkSourceView</a>;
|
49
|
-
enum <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType">GtkSourceSmartHomeEndType</a>;
|
50
|
-
enum <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags">GtkSourceDrawSpacesFlags</a>;
|
51
|
-
enum <a class="link" href="GtkSourceView.html#GtkSourceViewGutterPosition" title="enum GtkSourceViewGutterPosition">GtkSourceViewGutterPosition</a>;
|
52
|
-
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkSourceView.html#gtk-source-view-new" title="gtk_source_view_new ()">gtk_source_view_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
53
|
-
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()">gtk_source_view_new_with_buffer</a> (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
54
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-auto-indent" title="gtk_source_view_set_auto_indent ()">gtk_source_view_set_auto_indent</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
55
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
|
56
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-auto-indent" title="gtk_source_view_get_auto_indent ()">gtk_source_view_get_auto_indent</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
57
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-on-tab" title="gtk_source_view_set_indent_on_tab ()">gtk_source_view_set_indent_on_tab</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
58
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
|
59
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-on-tab" title="gtk_source_view_get_indent_on_tab ()">gtk_source_view_get_indent_on_tab</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
60
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width ()">gtk_source_view_set_indent_width</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
61
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);
|
62
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-width" title="gtk_source_view_get_indent_width ()">gtk_source_view_get_indent_width</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
63
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-insert-spaces-instead-of-tabs" title="gtk_source_view_set_insert_spaces_instead_of_tabs ()">gtk_source_view_set_insert_spaces_instead_of_tabs</a>
|
64
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
65
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
|
66
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-insert-spaces-instead-of-tabs" title="gtk_source_view_get_insert_spaces_instead_of_tabs ()">gtk_source_view_get_insert_spaces_instead_of_tabs</a>
|
67
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
68
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-smart-home-end" title="gtk_source_view_set_smart_home_end ()">gtk_source_view_set_smart_home_end</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
69
|
-
<em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> smart_he</code></em>);
|
70
|
-
<a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-smart-home-end" title="gtk_source_view_get_smart_home_end ()">gtk_source_view_get_smart_home_end</a>
|
71
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
72
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-attributes" title="gtk_source_view_set_mark_attributes ()">gtk_source_view_set_mark_attributes</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
73
|
-
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
|
74
|
-
<em class="parameter"><code><a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="type">GtkSourceMarkAttributes</span></a> *attributes</code></em>,
|
75
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);
|
76
|
-
<a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="returnvalue">GtkSourceMarkAttributes</span></a> * <a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-attributes" title="gtk_source_view_get_mark_attributes ()">gtk_source_view_get_mark_attributes</a>
|
77
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
78
|
-
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
|
79
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *priority</code></em>);
|
80
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-highlight-current-line" title="gtk_source_view_set_highlight_current_line ()">gtk_source_view_set_highlight_current_line</a>
|
81
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
82
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> hl</code></em>);
|
83
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-highlight-current-line" title="gtk_source_view_get_highlight_current_line ()">gtk_source_view_get_highlight_current_line</a>
|
84
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
85
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-show-line-marks" title="gtk_source_view_set_show_line_marks ()">gtk_source_view_set_show_line_marks</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
86
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
|
87
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-marks" title="gtk_source_view_get_show_line_marks ()">gtk_source_view_get_show_line_marks</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
88
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-show-line-numbers" title="gtk_source_view_set_show_line_numbers ()">gtk_source_view_set_show_line_numbers</a>
|
89
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
90
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
|
91
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-numbers" title="gtk_source_view_get_show_line_numbers ()">gtk_source_view_get_show_line_numbers</a>
|
92
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
93
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-show-right-margin" title="gtk_source_view_set_show_right_margin ()">gtk_source_view_set_show_right_margin</a>
|
94
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
95
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
|
96
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-right-margin" title="gtk_source_view_get_show_right_margin ()">gtk_source_view_get_show_right_margin</a>
|
97
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
98
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-right-margin-position" title="gtk_source_view_set_right_margin_position ()">gtk_source_view_set_right_margin_position</a>
|
99
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
100
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>);
|
101
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-right-margin-position" title="gtk_source_view_get_right_margin_position ()">gtk_source_view_get_right_margin_position</a>
|
102
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
103
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-tab-width" title="gtk_source_view_set_tab_width ()">gtk_source_view_set_tab_width</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
104
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);
|
105
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-tab-width" title="gtk_source_view_get_tab_width ()">gtk_source_view_get_tab_width</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
106
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceView.html#gtk-source-view-set-draw-spaces" title="gtk_source_view_set_draw_spaces ()">gtk_source_view_set_draw_spaces</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
107
|
-
<em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> flags</code></em>);
|
108
|
-
<a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="returnvalue">GtkSourceDrawSpacesFlags</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-draw-spaces" title="gtk_source_view_get_draw_spaces ()">gtk_source_view_get_draw_spaces</a>
|
109
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
110
|
-
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> * <a class="link" href="GtkSourceView.html#gtk-source-view-get-completion" title="gtk_source_view_get_completion ()">gtk_source_view_get_completion</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
111
|
-
<a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> * <a class="link" href="GtkSourceView.html#gtk-source-view-get-gutter" title="gtk_source_view_get_gutter ()">gtk_source_view_get_gutter</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
112
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> window_type</code></em>);
|
113
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GtkSourceView.html#gtk-source-view-get-visual-column" title="gtk_source_view_get_visual_column ()">gtk_source_view_get_visual_column</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
114
|
-
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);
|
115
|
-
</pre>
|
116
|
-
</div>
|
117
|
-
<div class="refsect1">
|
118
|
-
<a name="GtkSourceView.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
119
|
-
<pre class="synopsis">
|
120
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
121
|
-
+----<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
122
|
-
+----<a href="http://developer.gnome.org/gtk2/GtkWidget.html">GtkWidget</a>
|
123
|
-
+----<a href="http://developer.gnome.org/gtk2/GtkContainer.html">GtkContainer</a>
|
124
|
-
+----<a href="http://developer.gnome.org/gtk2/GtkTextView.html">GtkTextView</a>
|
125
|
-
+----GtkSourceView
|
126
|
-
</pre>
|
127
|
-
</div>
|
128
|
-
<div class="refsect1">
|
129
|
-
<a name="GtkSourceView.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
130
|
-
<p>
|
131
|
-
GtkSourceView implements
|
132
|
-
AtkImplementorIface, <a href="http://developer.gnome.org/gtk2/GtkBuildable.html">GtkBuildable</a> and <a href="http://developer.gnome.org/gtk2/GtkScrollable.html">GtkScrollable</a>.</p>
|
133
|
-
</div>
|
134
38
|
<div class="refsect1">
|
135
|
-
<a name="GtkSourceView.
|
136
|
-
<
|
137
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--auto-indent" title='The "auto-indent" property'>auto-indent</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
138
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--completion" title='The "completion" property'>completion</a>" <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>* : Read
|
139
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--draw-spaces" title='The "draw-spaces" property'>draw-spaces</a>" <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> : Read / Write
|
140
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--highlight-current-line" title='The "highlight-current-line" property'>highlight-current-line</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
141
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--indent-on-tab" title='The "indent-on-tab" property'>indent-on-tab</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
142
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--indent-width" title='The "indent-width" property'>indent-width</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
143
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--insert-spaces-instead-of-tabs" title='The "insert-spaces-instead-of-tabs" property'>insert-spaces-instead-of-tabs</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
144
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--right-margin-position" title='The "right-margin-position" property'>right-margin-position</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
145
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--show-line-marks" title='The "show-line-marks" property'>show-line-marks</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
146
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--show-line-numbers" title='The "show-line-numbers" property'>show-line-numbers</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
147
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--show-right-margin" title='The "show-right-margin" property'>show-right-margin</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
148
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--smart-home-end" title='The "smart-home-end" property'>smart-home-end</a>" <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> : Read / Write
|
149
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title='The "tab-width" property'>tab-width</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
150
|
-
</pre>
|
151
|
-
</div>
|
152
|
-
<div class="refsect1">
|
153
|
-
<a name="GtkSourceView.signals"></a><h2>Signals</h2>
|
154
|
-
<pre class="synopsis">
|
155
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView-line-mark-activated" title='The "line-mark-activated" signal'>line-mark-activated</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
156
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView-move-lines" title='The "move-lines" signal'>move-lines</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
157
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView-move-words" title='The "move-words" signal'>move-words</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
158
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView-redo" title='The "redo" signal'>redo</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
159
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView-show-completion" title='The "show-completion" signal'>show-completion</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
160
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView-smart-home-end" title='The "smart-home-end" signal'>smart-home-end</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
161
|
-
"<a class="link" href="GtkSourceView.html#GtkSourceView-undo" title='The "undo" signal'>undo</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
162
|
-
</pre>
|
163
|
-
</div>
|
164
|
-
<div class="refsect1">
|
165
|
-
<a name="GtkSourceView.description"></a><h2>Description</h2>
|
166
|
-
<p>
|
167
|
-
<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> is the main object of the GtkSourceView library. It provides
|
168
|
-
a text view with syntax highlighting, undo/redo and text marks. Use a
|
169
|
-
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to display text with a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
|
170
|
-
</p>
|
171
|
-
</div>
|
172
|
-
<div class="refsect1">
|
173
|
-
<a name="GtkSourceView.details"></a><h2>Details</h2>
|
174
|
-
<div class="refsect2">
|
175
|
-
<a name="GtkSourceView-struct"></a><h3>GtkSourceView</h3>
|
176
|
-
<pre class="programlisting">typedef struct _GtkSourceView GtkSourceView;</pre>
|
177
|
-
</div>
|
178
|
-
<hr>
|
179
|
-
<div class="refsect2">
|
180
|
-
<a name="GtkSourceSmartHomeEndType"></a><h3>enum GtkSourceSmartHomeEndType</h3>
|
181
|
-
<pre class="programlisting">typedef enum {
|
182
|
-
GTK_SOURCE_SMART_HOME_END_DISABLED,
|
183
|
-
GTK_SOURCE_SMART_HOME_END_BEFORE,
|
184
|
-
GTK_SOURCE_SMART_HOME_END_AFTER,
|
185
|
-
GTK_SOURCE_SMART_HOME_END_ALWAYS
|
186
|
-
} GtkSourceSmartHomeEndType;
|
187
|
-
</pre>
|
188
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
39
|
+
<a name="GtkSourceView.functions"></a><h2>Functions</h2>
|
40
|
+
<div class="informaltable"><table width="100%" border="0">
|
189
41
|
<colgroup>
|
190
|
-
<col
|
191
|
-
<col>
|
42
|
+
<col width="150px" class="functions_return">
|
43
|
+
<col class="functions_name">
|
192
44
|
</colgroup>
|
193
45
|
<tbody>
|
194
46
|
<tr>
|
195
|
-
<td
|
196
|
-
<
|
47
|
+
<td class="function_type">
|
48
|
+
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
49
|
+
</td>
|
50
|
+
<td class="function_name">
|
51
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-new" title="gtk_source_view_new ()">gtk_source_view_new</a> <span class="c_punctuation">()</span>
|
197
52
|
</td>
|
198
53
|
</tr>
|
199
54
|
<tr>
|
200
|
-
<td
|
201
|
-
<
|
202
|
-
|
203
|
-
|
55
|
+
<td class="function_type">
|
56
|
+
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
57
|
+
</td>
|
58
|
+
<td class="function_name">
|
59
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()">gtk_source_view_new_with_buffer</a> <span class="c_punctuation">()</span>
|
204
60
|
</td>
|
205
61
|
</tr>
|
206
62
|
<tr>
|
207
|
-
<td
|
208
|
-
<
|
209
|
-
|
210
|
-
|
63
|
+
<td class="function_type">
|
64
|
+
<span class="returnvalue">void</span>
|
65
|
+
</td>
|
66
|
+
<td class="function_name">
|
67
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-auto-indent" title="gtk_source_view_set_auto_indent ()">gtk_source_view_set_auto_indent</a> <span class="c_punctuation">()</span>
|
211
68
|
</td>
|
212
69
|
</tr>
|
213
70
|
<tr>
|
214
|
-
<td
|
215
|
-
<
|
216
|
-
|
71
|
+
<td class="function_type">
|
72
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
73
|
+
</td>
|
74
|
+
<td class="function_name">
|
75
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-auto-indent" title="gtk_source_view_get_auto_indent ()">gtk_source_view_get_auto_indent</a> <span class="c_punctuation">()</span>
|
217
76
|
</td>
|
218
77
|
</tr>
|
219
|
-
</tbody>
|
220
|
-
</table></div>
|
221
|
-
</div>
|
222
|
-
<hr>
|
223
|
-
<div class="refsect2">
|
224
|
-
<a name="GtkSourceDrawSpacesFlags"></a><h3>enum GtkSourceDrawSpacesFlags</h3>
|
225
|
-
<pre class="programlisting">typedef enum {
|
226
|
-
GTK_SOURCE_DRAW_SPACES_SPACE = 1 << 0,
|
227
|
-
GTK_SOURCE_DRAW_SPACES_TAB = 1 << 1,
|
228
|
-
GTK_SOURCE_DRAW_SPACES_NEWLINE = 1 << 2,
|
229
|
-
GTK_SOURCE_DRAW_SPACES_NBSP = 1 << 3,
|
230
|
-
GTK_SOURCE_DRAW_SPACES_LEADING = 1 << 4,
|
231
|
-
GTK_SOURCE_DRAW_SPACES_TEXT = 1 << 5,
|
232
|
-
GTK_SOURCE_DRAW_SPACES_TRAILING = 1 << 6,
|
233
|
-
GTK_SOURCE_DRAW_SPACES_ALL = 0x7f
|
234
|
-
} GtkSourceDrawSpacesFlags;
|
235
|
-
</pre>
|
236
|
-
<p>
|
237
|
-
GtkSourceDrawSpacesFlags determine what kind of spaces whould be drawn. If none
|
238
|
-
of GTK_SOURCE_DRAW_SPACES_LEADING, GTK_SOURCE_DRAW_SPACES_TEXT or
|
239
|
-
GTK_SOURCE_DRAW_SPACES_TRAILING is specified, whitespaces at any position in
|
240
|
-
the line will be drawn (i.e. it has the same effect as specifying all of them).
|
241
|
-
</p>
|
242
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
243
|
-
<colgroup>
|
244
|
-
<col align="left" valign="top">
|
245
|
-
<col>
|
246
|
-
</colgroup>
|
247
|
-
<tbody>
|
248
78
|
<tr>
|
249
|
-
<td
|
250
|
-
<
|
79
|
+
<td class="function_type">
|
80
|
+
<span class="returnvalue">void</span>
|
81
|
+
</td>
|
82
|
+
<td class="function_name">
|
83
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-on-tab" title="gtk_source_view_set_indent_on_tab ()">gtk_source_view_set_indent_on_tab</a> <span class="c_punctuation">()</span>
|
251
84
|
</td>
|
252
85
|
</tr>
|
253
86
|
<tr>
|
254
|
-
<td
|
255
|
-
<
|
87
|
+
<td class="function_type">
|
88
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
89
|
+
</td>
|
90
|
+
<td class="function_name">
|
91
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-on-tab" title="gtk_source_view_get_indent_on_tab ()">gtk_source_view_get_indent_on_tab</a> <span class="c_punctuation">()</span>
|
256
92
|
</td>
|
257
93
|
</tr>
|
258
94
|
<tr>
|
259
|
-
<td
|
260
|
-
<
|
95
|
+
<td class="function_type">
|
96
|
+
<span class="returnvalue">void</span>
|
97
|
+
</td>
|
98
|
+
<td class="function_name">
|
99
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width ()">gtk_source_view_set_indent_width</a> <span class="c_punctuation">()</span>
|
261
100
|
</td>
|
262
101
|
</tr>
|
263
102
|
<tr>
|
264
|
-
<td
|
265
|
-
<
|
103
|
+
<td class="function_type">
|
104
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
105
|
+
</td>
|
106
|
+
<td class="function_name">
|
107
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-width" title="gtk_source_view_get_indent_width ()">gtk_source_view_get_indent_width</a> <span class="c_punctuation">()</span>
|
266
108
|
</td>
|
267
109
|
</tr>
|
268
110
|
<tr>
|
269
|
-
<td
|
270
|
-
<
|
111
|
+
<td class="function_type">
|
112
|
+
<span class="returnvalue">void</span>
|
113
|
+
</td>
|
114
|
+
<td class="function_name">
|
115
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-insert-spaces-instead-of-tabs" title="gtk_source_view_set_insert_spaces_instead_of_tabs ()">gtk_source_view_set_insert_spaces_instead_of_tabs</a> <span class="c_punctuation">()</span>
|
271
116
|
</td>
|
272
117
|
</tr>
|
273
118
|
<tr>
|
274
|
-
<td
|
275
|
-
<
|
119
|
+
<td class="function_type">
|
120
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
121
|
+
</td>
|
122
|
+
<td class="function_name">
|
123
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-insert-spaces-instead-of-tabs" title="gtk_source_view_get_insert_spaces_instead_of_tabs ()">gtk_source_view_get_insert_spaces_instead_of_tabs</a> <span class="c_punctuation">()</span>
|
276
124
|
</td>
|
277
125
|
</tr>
|
278
126
|
<tr>
|
279
|
-
<td
|
280
|
-
<
|
127
|
+
<td class="function_type">
|
128
|
+
<span class="returnvalue">void</span>
|
129
|
+
</td>
|
130
|
+
<td class="function_name">
|
131
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-smart-home-end" title="gtk_source_view_set_smart_home_end ()">gtk_source_view_set_smart_home_end</a> <span class="c_punctuation">()</span>
|
281
132
|
</td>
|
282
133
|
</tr>
|
283
134
|
<tr>
|
284
|
-
<td
|
285
|
-
<
|
135
|
+
<td class="function_type">
|
136
|
+
<a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a>
|
137
|
+
</td>
|
138
|
+
<td class="function_name">
|
139
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-smart-home-end" title="gtk_source_view_get_smart_home_end ()">gtk_source_view_get_smart_home_end</a> <span class="c_punctuation">()</span>
|
140
|
+
</td>
|
141
|
+
</tr>
|
142
|
+
<tr>
|
143
|
+
<td class="function_type">
|
144
|
+
<span class="returnvalue">void</span>
|
145
|
+
</td>
|
146
|
+
<td class="function_name">
|
147
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-attributes" title="gtk_source_view_set_mark_attributes ()">gtk_source_view_set_mark_attributes</a> <span class="c_punctuation">()</span>
|
148
|
+
</td>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td class="function_type">
|
152
|
+
<a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="returnvalue">GtkSourceMarkAttributes</span></a> *
|
153
|
+
</td>
|
154
|
+
<td class="function_name">
|
155
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-attributes" title="gtk_source_view_get_mark_attributes ()">gtk_source_view_get_mark_attributes</a> <span class="c_punctuation">()</span>
|
156
|
+
</td>
|
157
|
+
</tr>
|
158
|
+
<tr>
|
159
|
+
<td class="function_type">
|
160
|
+
<span class="returnvalue">void</span>
|
161
|
+
</td>
|
162
|
+
<td class="function_name">
|
163
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-highlight-current-line" title="gtk_source_view_set_highlight_current_line ()">gtk_source_view_set_highlight_current_line</a> <span class="c_punctuation">()</span>
|
164
|
+
</td>
|
165
|
+
</tr>
|
166
|
+
<tr>
|
167
|
+
<td class="function_type">
|
168
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
169
|
+
</td>
|
170
|
+
<td class="function_name">
|
171
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-highlight-current-line" title="gtk_source_view_get_highlight_current_line ()">gtk_source_view_get_highlight_current_line</a> <span class="c_punctuation">()</span>
|
172
|
+
</td>
|
173
|
+
</tr>
|
174
|
+
<tr>
|
175
|
+
<td class="function_type">
|
176
|
+
<span class="returnvalue">void</span>
|
177
|
+
</td>
|
178
|
+
<td class="function_name">
|
179
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-show-line-marks" title="gtk_source_view_set_show_line_marks ()">gtk_source_view_set_show_line_marks</a> <span class="c_punctuation">()</span>
|
180
|
+
</td>
|
181
|
+
</tr>
|
182
|
+
<tr>
|
183
|
+
<td class="function_type">
|
184
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
185
|
+
</td>
|
186
|
+
<td class="function_name">
|
187
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-marks" title="gtk_source_view_get_show_line_marks ()">gtk_source_view_get_show_line_marks</a> <span class="c_punctuation">()</span>
|
188
|
+
</td>
|
189
|
+
</tr>
|
190
|
+
<tr>
|
191
|
+
<td class="function_type">
|
192
|
+
<span class="returnvalue">void</span>
|
193
|
+
</td>
|
194
|
+
<td class="function_name">
|
195
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-show-line-numbers" title="gtk_source_view_set_show_line_numbers ()">gtk_source_view_set_show_line_numbers</a> <span class="c_punctuation">()</span>
|
196
|
+
</td>
|
197
|
+
</tr>
|
198
|
+
<tr>
|
199
|
+
<td class="function_type">
|
200
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
201
|
+
</td>
|
202
|
+
<td class="function_name">
|
203
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-numbers" title="gtk_source_view_get_show_line_numbers ()">gtk_source_view_get_show_line_numbers</a> <span class="c_punctuation">()</span>
|
204
|
+
</td>
|
205
|
+
</tr>
|
206
|
+
<tr>
|
207
|
+
<td class="function_type">
|
208
|
+
<span class="returnvalue">void</span>
|
209
|
+
</td>
|
210
|
+
<td class="function_name">
|
211
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-show-right-margin" title="gtk_source_view_set_show_right_margin ()">gtk_source_view_set_show_right_margin</a> <span class="c_punctuation">()</span>
|
286
212
|
</td>
|
287
213
|
</tr>
|
288
|
-
</tbody>
|
289
|
-
</table></div>
|
290
|
-
</div>
|
291
|
-
<hr>
|
292
|
-
<div class="refsect2">
|
293
|
-
<a name="GtkSourceViewGutterPosition"></a><h3>enum GtkSourceViewGutterPosition</h3>
|
294
|
-
<pre class="programlisting">typedef enum {
|
295
|
-
GTK_SOURCE_VIEW_GUTTER_POSITION_LINES = -30,
|
296
|
-
GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS = -20
|
297
|
-
} GtkSourceViewGutterPosition;
|
298
|
-
</pre>
|
299
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
300
|
-
<colgroup>
|
301
|
-
<col align="left" valign="top">
|
302
|
-
<col>
|
303
|
-
</colgroup>
|
304
|
-
<tbody>
|
305
214
|
<tr>
|
306
|
-
<td
|
307
|
-
<
|
308
|
-
|
215
|
+
<td class="function_type">
|
216
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
217
|
+
</td>
|
218
|
+
<td class="function_name">
|
219
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-show-right-margin" title="gtk_source_view_get_show_right_margin ()">gtk_source_view_get_show_right_margin</a> <span class="c_punctuation">()</span>
|
309
220
|
</td>
|
310
221
|
</tr>
|
311
222
|
<tr>
|
312
|
-
<td
|
313
|
-
<
|
314
|
-
|
223
|
+
<td class="function_type">
|
224
|
+
<span class="returnvalue">void</span>
|
225
|
+
</td>
|
226
|
+
<td class="function_name">
|
227
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-right-margin-position" title="gtk_source_view_set_right_margin_position ()">gtk_source_view_set_right_margin_position</a> <span class="c_punctuation">()</span>
|
228
|
+
</td>
|
229
|
+
</tr>
|
230
|
+
<tr>
|
231
|
+
<td class="function_type">
|
232
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
233
|
+
</td>
|
234
|
+
<td class="function_name">
|
235
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-right-margin-position" title="gtk_source_view_get_right_margin_position ()">gtk_source_view_get_right_margin_position</a> <span class="c_punctuation">()</span>
|
236
|
+
</td>
|
237
|
+
</tr>
|
238
|
+
<tr>
|
239
|
+
<td class="function_type">
|
240
|
+
<span class="returnvalue">void</span>
|
241
|
+
</td>
|
242
|
+
<td class="function_name">
|
243
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-tab-width" title="gtk_source_view_set_tab_width ()">gtk_source_view_set_tab_width</a> <span class="c_punctuation">()</span>
|
244
|
+
</td>
|
245
|
+
</tr>
|
246
|
+
<tr>
|
247
|
+
<td class="function_type">
|
248
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
249
|
+
</td>
|
250
|
+
<td class="function_name">
|
251
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-tab-width" title="gtk_source_view_get_tab_width ()">gtk_source_view_get_tab_width</a> <span class="c_punctuation">()</span>
|
252
|
+
</td>
|
253
|
+
</tr>
|
254
|
+
<tr>
|
255
|
+
<td class="function_type">
|
256
|
+
<span class="returnvalue">void</span>
|
257
|
+
</td>
|
258
|
+
<td class="function_name">
|
259
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-draw-spaces" title="gtk_source_view_set_draw_spaces ()">gtk_source_view_set_draw_spaces</a> <span class="c_punctuation">()</span>
|
260
|
+
</td>
|
261
|
+
</tr>
|
262
|
+
<tr>
|
263
|
+
<td class="function_type">
|
264
|
+
<a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="returnvalue">GtkSourceDrawSpacesFlags</span></a>
|
265
|
+
</td>
|
266
|
+
<td class="function_name">
|
267
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-draw-spaces" title="gtk_source_view_get_draw_spaces ()">gtk_source_view_get_draw_spaces</a> <span class="c_punctuation">()</span>
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
<tr>
|
271
|
+
<td class="function_type">
|
272
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> *
|
273
|
+
</td>
|
274
|
+
<td class="function_name">
|
275
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-completion" title="gtk_source_view_get_completion ()">gtk_source_view_get_completion</a> <span class="c_punctuation">()</span>
|
276
|
+
</td>
|
277
|
+
</tr>
|
278
|
+
<tr>
|
279
|
+
<td class="function_type">
|
280
|
+
<a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *
|
281
|
+
</td>
|
282
|
+
<td class="function_name">
|
283
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-gutter" title="gtk_source_view_get_gutter ()">gtk_source_view_get_gutter</a> <span class="c_punctuation">()</span>
|
284
|
+
</td>
|
285
|
+
</tr>
|
286
|
+
<tr>
|
287
|
+
<td class="function_type">
|
288
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
289
|
+
</td>
|
290
|
+
<td class="function_name">
|
291
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-visual-column" title="gtk_source_view_get_visual_column ()">gtk_source_view_get_visual_column</a> <span class="c_punctuation">()</span>
|
315
292
|
</td>
|
316
293
|
</tr>
|
317
294
|
</tbody>
|
318
295
|
</table></div>
|
319
296
|
</div>
|
320
|
-
<
|
321
|
-
<
|
322
|
-
<
|
323
|
-
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gtk_source_view_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
324
|
-
<p>
|
325
|
-
Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>. An empty default buffer will be
|
326
|
-
created for you. If you want to specify your own buffer, consider
|
327
|
-
<a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()"><code class="function">gtk_source_view_new_with_buffer()</code></a>.
|
328
|
-
</p>
|
329
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
297
|
+
<div class="refsect1">
|
298
|
+
<a name="GtkSourceView.properties"></a><h2>Properties</h2>
|
299
|
+
<div class="informaltable"><table border="0">
|
330
300
|
<colgroup>
|
331
|
-
<col
|
332
|
-
<col>
|
301
|
+
<col width="150px" class="properties_type">
|
302
|
+
<col width="300px" class="properties_name">
|
303
|
+
<col width="200px" class="properties_flags">
|
333
304
|
</colgroup>
|
334
|
-
<tbody
|
335
|
-
<
|
336
|
-
<td
|
337
|
-
</
|
305
|
+
<tbody>
|
306
|
+
<tr>
|
307
|
+
<td class="property_type"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
308
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--auto-indent" title="The “auto-indent” property">auto-indent</a></td>
|
309
|
+
<td class="property_flags">Read / Write</td>
|
310
|
+
</tr>
|
311
|
+
<tr>
|
312
|
+
<td class="property_type">
|
313
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *</td>
|
314
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--completion" title="The “completion” property">completion</a></td>
|
315
|
+
<td class="property_flags">Read</td>
|
316
|
+
</tr>
|
317
|
+
<tr>
|
318
|
+
<td class="property_type"><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a></td>
|
319
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--draw-spaces" title="The “draw-spaces” property">draw-spaces</a></td>
|
320
|
+
<td class="property_flags">Read / Write</td>
|
321
|
+
</tr>
|
322
|
+
<tr>
|
323
|
+
<td class="property_type"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
324
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--highlight-current-line" title="The “highlight-current-line” property">highlight-current-line</a></td>
|
325
|
+
<td class="property_flags">Read / Write</td>
|
326
|
+
</tr>
|
327
|
+
<tr>
|
328
|
+
<td class="property_type"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
329
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--indent-on-tab" title="The “indent-on-tab” property">indent-on-tab</a></td>
|
330
|
+
<td class="property_flags">Read / Write</td>
|
331
|
+
</tr>
|
332
|
+
<tr>
|
333
|
+
<td class="property_type"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
334
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--indent-width" title="The “indent-width” property">indent-width</a></td>
|
335
|
+
<td class="property_flags">Read / Write</td>
|
336
|
+
</tr>
|
337
|
+
<tr>
|
338
|
+
<td class="property_type"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
339
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--insert-spaces-instead-of-tabs" title="The “insert-spaces-instead-of-tabs” property">insert-spaces-instead-of-tabs</a></td>
|
340
|
+
<td class="property_flags">Read / Write</td>
|
341
|
+
</tr>
|
342
|
+
<tr>
|
343
|
+
<td class="property_type"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
344
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--right-margin-position" title="The “right-margin-position” property">right-margin-position</a></td>
|
345
|
+
<td class="property_flags">Read / Write</td>
|
346
|
+
</tr>
|
347
|
+
<tr>
|
348
|
+
<td class="property_type"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
349
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--show-line-marks" title="The “show-line-marks” property">show-line-marks</a></td>
|
350
|
+
<td class="property_flags">Read / Write</td>
|
351
|
+
</tr>
|
352
|
+
<tr>
|
353
|
+
<td class="property_type"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
354
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--show-line-numbers" title="The “show-line-numbers” property">show-line-numbers</a></td>
|
355
|
+
<td class="property_flags">Read / Write</td>
|
356
|
+
</tr>
|
357
|
+
<tr>
|
358
|
+
<td class="property_type"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
359
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--show-right-margin" title="The “show-right-margin” property">show-right-margin</a></td>
|
360
|
+
<td class="property_flags">Read / Write</td>
|
361
|
+
</tr>
|
362
|
+
<tr>
|
363
|
+
<td class="property_type"><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a></td>
|
364
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--smart-home-end" title="The “smart-home-end” property">smart-home-end</a></td>
|
365
|
+
<td class="property_flags">Read / Write</td>
|
366
|
+
</tr>
|
367
|
+
<tr>
|
368
|
+
<td class="property_type"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
369
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title="The “tab-width” property">tab-width</a></td>
|
370
|
+
<td class="property_flags">Read / Write</td>
|
371
|
+
</tr>
|
372
|
+
</tbody>
|
338
373
|
</table></div>
|
339
374
|
</div>
|
340
|
-
<
|
341
|
-
<
|
342
|
-
<
|
343
|
-
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gtk_source_view_new_with_buffer (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
344
|
-
<p>
|
345
|
-
Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> widget displaying the buffer
|
346
|
-
<em class="parameter"><code>buffer</code></em>. One buffer can be shared among many widgets.
|
347
|
-
</p>
|
348
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
375
|
+
<div class="refsect1">
|
376
|
+
<a name="GtkSourceView.signals"></a><h2>Signals</h2>
|
377
|
+
<div class="informaltable"><table border="0">
|
349
378
|
<colgroup>
|
350
|
-
<col
|
351
|
-
<col>
|
379
|
+
<col width="150px" class="signals_return">
|
380
|
+
<col width="300px" class="signals_name">
|
381
|
+
<col width="200px" class="signals_flags">
|
352
382
|
</colgroup>
|
353
383
|
<tbody>
|
354
384
|
<tr>
|
355
|
-
<td
|
356
|
-
<td
|
385
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
386
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-line-mark-activated" title="The “line-mark-activated” signal">line-mark-activated</a></td>
|
387
|
+
<td class="signal_flags">Run Last</td>
|
388
|
+
</tr>
|
389
|
+
<tr>
|
390
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
391
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-move-lines" title="The “move-lines” signal">move-lines</a></td>
|
392
|
+
<td class="signal_flags">Action</td>
|
393
|
+
</tr>
|
394
|
+
<tr>
|
395
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
396
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-move-words" title="The “move-words” signal">move-words</a></td>
|
397
|
+
<td class="signal_flags">Action</td>
|
357
398
|
</tr>
|
358
399
|
<tr>
|
359
|
-
<td
|
360
|
-
<td
|
400
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
401
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-redo" title="The “redo” signal">redo</a></td>
|
402
|
+
<td class="signal_flags">Action</td>
|
403
|
+
</tr>
|
404
|
+
<tr>
|
405
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
406
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-show-completion" title="The “show-completion” signal">show-completion</a></td>
|
407
|
+
<td class="signal_flags">Action</td>
|
408
|
+
</tr>
|
409
|
+
<tr>
|
410
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
411
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-smart-home-end" title="The “smart-home-end” signal">smart-home-end</a></td>
|
412
|
+
<td class="signal_flags">Run Last</td>
|
413
|
+
</tr>
|
414
|
+
<tr>
|
415
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
416
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-undo" title="The “undo” signal">undo</a></td>
|
417
|
+
<td class="signal_flags">Action</td>
|
361
418
|
</tr>
|
362
419
|
</tbody>
|
363
420
|
</table></div>
|
364
421
|
</div>
|
365
|
-
<
|
366
|
-
<
|
367
|
-
<
|
368
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_view_set_auto_indent (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
369
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
370
|
-
<p>
|
371
|
-
If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> auto indentation of text is enabled.
|
372
|
-
</p>
|
373
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
422
|
+
<div class="refsect1">
|
423
|
+
<a name="GtkSourceView.other"></a><h2>Types and Values</h2>
|
424
|
+
<div class="informaltable"><table width="100%" border="0">
|
374
425
|
<colgroup>
|
375
|
-
<col
|
376
|
-
<col>
|
426
|
+
<col width="150px" class="name">
|
427
|
+
<col class="description">
|
377
428
|
</colgroup>
|
378
429
|
<tbody>
|
379
430
|
<tr>
|
380
|
-
<td
|
381
|
-
<td
|
431
|
+
<td class="datatype_keyword"> </td>
|
432
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceView-struct" title="GtkSourceView">GtkSourceView</a></td>
|
433
|
+
</tr>
|
434
|
+
<tr>
|
435
|
+
<td class="datatype_keyword">enum</td>
|
436
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType">GtkSourceSmartHomeEndType</a></td>
|
382
437
|
</tr>
|
383
438
|
<tr>
|
384
|
-
<td
|
385
|
-
<td
|
439
|
+
<td class="datatype_keyword">enum</td>
|
440
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags">GtkSourceDrawSpacesFlags</a></td>
|
441
|
+
</tr>
|
442
|
+
<tr>
|
443
|
+
<td class="datatype_keyword">enum</td>
|
444
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceViewGutterPosition" title="enum GtkSourceViewGutterPosition">GtkSourceViewGutterPosition</a></td>
|
386
445
|
</tr>
|
387
446
|
</tbody>
|
388
447
|
</table></div>
|
389
448
|
</div>
|
449
|
+
<div class="refsect1">
|
450
|
+
<a name="GtkSourceView.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
451
|
+
<pre class="screen"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
452
|
+
<span class="lineart">╰──</span> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
453
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkWidget.html">GtkWidget</a>
|
454
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkContainer.html">GtkContainer</a>
|
455
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkTextView.html">GtkTextView</a>
|
456
|
+
<span class="lineart">╰──</span> GtkSourceView
|
457
|
+
</pre>
|
458
|
+
</div>
|
459
|
+
<div class="refsect1">
|
460
|
+
<a name="GtkSourceView.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
461
|
+
<p>
|
462
|
+
GtkSourceView implements
|
463
|
+
AtkImplementorIface, <a href="http://developer.gnome.org/gtk2/GtkBuildable.html">GtkBuildable</a> and <a href="http://developer.gnome.org/gtk2/GtkScrollable.html">GtkScrollable</a>.</p>
|
464
|
+
</div>
|
465
|
+
<div class="refsect1">
|
466
|
+
<a name="GtkSourceView.includes"></a><h2>Includes</h2>
|
467
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
468
|
+
</pre>
|
469
|
+
</div>
|
470
|
+
<div class="refsect1">
|
471
|
+
<a name="GtkSourceView.description"></a><h2>Description</h2>
|
472
|
+
<p><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> is the main object of the GtkSourceView library. It provides
|
473
|
+
a text view with syntax highlighting, undo/redo and text marks. Use a
|
474
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to display text with a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p>
|
475
|
+
<div class="refsect2">
|
476
|
+
<a name="id-1.2.30.10.3"></a><h3>GtkSourceView as GtkBuildable</h3>
|
477
|
+
<p>The GtkSourceView implementation of the <a href="http://developer.gnome.org/gtk2/GtkBuildable.html"><span class="type">GtkBuildable</span></a> interface exposes the
|
478
|
+
<a class="link" href="GtkSourceView.html#GtkSourceView--completion" title="The “completion” property"><span class="type">“completion”</span></a> object with the internal-child "completion".</p>
|
479
|
+
<p>An example of a UI definition fragment with GtkSourceView:</p>
|
480
|
+
<div class="informalexample">
|
481
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
482
|
+
<tbody>
|
483
|
+
<tr>
|
484
|
+
<td class="listing_lines" align="right"><pre>1
|
485
|
+
2
|
486
|
+
3
|
487
|
+
4
|
488
|
+
5
|
489
|
+
6
|
490
|
+
7
|
491
|
+
8
|
492
|
+
9</pre></td>
|
493
|
+
<td class="listing_code"><pre class="programlisting"><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkSourceView"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"source_view"</span><span class="symbol">></span>
|
494
|
+
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"tab_width"</span><span class="symbol">></span><span class="number">4</span><span class="symbol"></</span><span class="normal">property</span><span class="symbol">></span>
|
495
|
+
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"auto_indent"</span><span class="symbol">></span><span class="normal">True</span><span class="symbol"></</span><span class="normal">property</span><span class="symbol">></span>
|
496
|
+
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">child</span><span class="normal"> internal</span><span class="symbol">-</span><span class="normal">child</span><span class="symbol">=</span><span class="string">"completion"</span><span class="symbol">></span>
|
497
|
+
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkSourceCompletion"</span><span class="symbol">></span>
|
498
|
+
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"select_on_show"</span><span class="symbol">></span><span class="normal">False</span><span class="symbol"></</span><span class="normal">property</span><span class="symbol">></span>
|
499
|
+
<span class="normal"> </span><span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span>
|
500
|
+
<span class="normal"> </span><span class="symbol"></</span><span class="normal">child</span><span class="symbol">></span>
|
501
|
+
<span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span></pre></td>
|
502
|
+
</tr>
|
503
|
+
</tbody>
|
504
|
+
</table>
|
505
|
+
</div>
|
506
|
+
|
507
|
+
<p></p>
|
508
|
+
</div>
|
509
|
+
</div>
|
510
|
+
<div class="refsect1">
|
511
|
+
<a name="GtkSourceView.functions_details"></a><h2>Functions</h2>
|
512
|
+
<div class="refsect2">
|
513
|
+
<a name="gtk-source-view-new"></a><h3>gtk_source_view_new ()</h3>
|
514
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
515
|
+
gtk_source_view_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
516
|
+
<p>Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>. An empty default buffer will be
|
517
|
+
created for you. If you want to specify your own buffer, consider
|
518
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()"><code class="function">gtk_source_view_new_with_buffer()</code></a>.</p>
|
519
|
+
<div class="refsect3">
|
520
|
+
<a name="id-1.2.30.11.2.5"></a><h4>Returns</h4>
|
521
|
+
<p> a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p>
|
522
|
+
<p></p>
|
523
|
+
</div>
|
524
|
+
</div>
|
390
525
|
<hr>
|
391
526
|
<div class="refsect2">
|
392
|
-
<a name="gtk-source-view-
|
393
|
-
<pre class="programlisting"><a href="
|
394
|
-
<
|
395
|
-
|
396
|
-
</
|
397
|
-
|
527
|
+
<a name="gtk-source-view-new-with-buffer"></a><h3>gtk_source_view_new_with_buffer ()</h3>
|
528
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
529
|
+
gtk_source_view_new_with_buffer (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
530
|
+
<p>Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> widget displaying the buffer
|
531
|
+
<em class="parameter"><code>buffer</code></em>
|
532
|
+
. One buffer can be shared among many widgets.</p>
|
533
|
+
<div class="refsect3">
|
534
|
+
<a name="id-1.2.30.11.3.5"></a><h4>Parameters</h4>
|
535
|
+
<div class="informaltable"><table width="100%" border="0">
|
536
|
+
<colgroup>
|
537
|
+
<col width="150px" class="parameters_name">
|
538
|
+
<col class="parameters_description">
|
539
|
+
<col width="200px" class="parameters_annotations">
|
540
|
+
</colgroup>
|
541
|
+
<tbody><tr>
|
542
|
+
<td class="parameter_name"><p>buffer</p></td>
|
543
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
|
544
|
+
<td class="parameter_annotations"> </td>
|
545
|
+
</tr></tbody>
|
546
|
+
</table></div>
|
547
|
+
</div>
|
548
|
+
<div class="refsect3">
|
549
|
+
<a name="id-1.2.30.11.3.6"></a><h4>Returns</h4>
|
550
|
+
<p> a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p>
|
551
|
+
<p></p>
|
552
|
+
</div>
|
553
|
+
</div>
|
554
|
+
<hr>
|
555
|
+
<div class="refsect2">
|
556
|
+
<a name="gtk-source-view-set-auto-indent"></a><h3>gtk_source_view_set_auto_indent ()</h3>
|
557
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
558
|
+
gtk_source_view_set_auto_indent (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
559
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
560
|
+
<p>If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> auto indentation of text is enabled.</p>
|
561
|
+
<div class="refsect3">
|
562
|
+
<a name="id-1.2.30.11.4.5"></a><h4>Parameters</h4>
|
563
|
+
<div class="informaltable"><table width="100%" border="0">
|
398
564
|
<colgroup>
|
399
|
-
<col
|
400
|
-
<col>
|
565
|
+
<col width="150px" class="parameters_name">
|
566
|
+
<col class="parameters_description">
|
567
|
+
<col width="200px" class="parameters_annotations">
|
401
568
|
</colgroup>
|
402
569
|
<tbody>
|
403
570
|
<tr>
|
404
|
-
<td
|
405
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
571
|
+
<td class="parameter_name"><p>view</p></td>
|
572
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
573
|
+
<td class="parameter_annotations"> </td>
|
406
574
|
</tr>
|
407
575
|
<tr>
|
408
|
-
<td
|
409
|
-
<td>
|
410
|
-
<
|
576
|
+
<td class="parameter_name"><p>enable</p></td>
|
577
|
+
<td class="parameter_description"><p>whether to enable auto indentation.</p></td>
|
578
|
+
<td class="parameter_annotations"> </td>
|
411
579
|
</tr>
|
412
580
|
</tbody>
|
413
581
|
</table></div>
|
414
582
|
</div>
|
583
|
+
</div>
|
415
584
|
<hr>
|
416
585
|
<div class="refsect2">
|
417
|
-
<a name="gtk-source-view-
|
418
|
-
<pre class="programlisting"><
|
419
|
-
|
420
|
-
<p>
|
421
|
-
|
586
|
+
<a name="gtk-source-view-get-auto-indent"></a><h3>gtk_source_view_get_auto_indent ()</h3>
|
587
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
588
|
+
gtk_source_view_get_auto_indent (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
589
|
+
<p>Returns whether auto indentation of text is enabled.</p>
|
590
|
+
<div class="refsect3">
|
591
|
+
<a name="id-1.2.30.11.5.5"></a><h4>Parameters</h4>
|
592
|
+
<div class="informaltable"><table width="100%" border="0">
|
593
|
+
<colgroup>
|
594
|
+
<col width="150px" class="parameters_name">
|
595
|
+
<col class="parameters_description">
|
596
|
+
<col width="200px" class="parameters_annotations">
|
597
|
+
</colgroup>
|
598
|
+
<tbody><tr>
|
599
|
+
<td class="parameter_name"><p>view</p></td>
|
600
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
601
|
+
<td class="parameter_annotations"> </td>
|
602
|
+
</tr></tbody>
|
603
|
+
</table></div>
|
604
|
+
</div>
|
605
|
+
<div class="refsect3">
|
606
|
+
<a name="id-1.2.30.11.5.6"></a><h4>Returns</h4>
|
607
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if auto indentation is enabled.</p>
|
608
|
+
<p></p>
|
609
|
+
</div>
|
610
|
+
</div>
|
611
|
+
<hr>
|
612
|
+
<div class="refsect2">
|
613
|
+
<a name="gtk-source-view-set-indent-on-tab"></a><h3>gtk_source_view_set_indent_on_tab ()</h3>
|
614
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
615
|
+
gtk_source_view_set_indent_on_tab (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
616
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
617
|
+
<p>If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, when the tab key is pressed and there is a selection, the
|
422
618
|
selected text is indented of one level instead of being replaced with
|
423
|
-
the \t characters. Shift+Tab unindents the selection
|
424
|
-
|
425
|
-
<
|
619
|
+
the \t characters. Shift+Tab unindents the selection.</p>
|
620
|
+
<div class="refsect3">
|
621
|
+
<a name="id-1.2.30.11.6.5"></a><h4>Parameters</h4>
|
622
|
+
<div class="informaltable"><table width="100%" border="0">
|
426
623
|
<colgroup>
|
427
|
-
<col
|
428
|
-
<col>
|
624
|
+
<col width="150px" class="parameters_name">
|
625
|
+
<col class="parameters_description">
|
626
|
+
<col width="200px" class="parameters_annotations">
|
429
627
|
</colgroup>
|
430
628
|
<tbody>
|
431
629
|
<tr>
|
432
|
-
<td
|
433
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
630
|
+
<td class="parameter_name"><p>view</p></td>
|
631
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
632
|
+
<td class="parameter_annotations"> </td>
|
434
633
|
</tr>
|
435
634
|
<tr>
|
436
|
-
<td
|
437
|
-
<td>whether to indent a block when tab is pressed.</td>
|
635
|
+
<td class="parameter_name"><p>enable</p></td>
|
636
|
+
<td class="parameter_description"><p>whether to indent a block when tab is pressed.</p></td>
|
637
|
+
<td class="parameter_annotations"> </td>
|
438
638
|
</tr>
|
439
639
|
</tbody>
|
440
640
|
</table></div>
|
641
|
+
</div>
|
441
642
|
<p class="since">Since 1.8</p>
|
442
643
|
</div>
|
443
644
|
<hr>
|
444
645
|
<div class="refsect2">
|
445
|
-
<a name="gtk-source-view-get-indent-on-tab"></a><h3>gtk_source_view_get_indent_on_tab
|
446
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
447
|
-
<
|
448
|
-
Returns whether when the tab key is pressed the current selection
|
449
|
-
should get indented instead of replaced with the \t character
|
450
|
-
|
451
|
-
<
|
646
|
+
<a name="gtk-source-view-get-indent-on-tab"></a><h3>gtk_source_view_get_indent_on_tab ()</h3>
|
647
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
648
|
+
gtk_source_view_get_indent_on_tab (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
649
|
+
<p>Returns whether when the tab key is pressed the current selection
|
650
|
+
should get indented instead of replaced with the \t character.</p>
|
651
|
+
<div class="refsect3">
|
652
|
+
<a name="id-1.2.30.11.7.5"></a><h4>Parameters</h4>
|
653
|
+
<div class="informaltable"><table width="100%" border="0">
|
452
654
|
<colgroup>
|
453
|
-
<col
|
454
|
-
<col>
|
655
|
+
<col width="150px" class="parameters_name">
|
656
|
+
<col class="parameters_description">
|
657
|
+
<col width="200px" class="parameters_annotations">
|
455
658
|
</colgroup>
|
456
|
-
<tbody>
|
457
|
-
<
|
458
|
-
<td><p
|
459
|
-
<td
|
460
|
-
</tr>
|
461
|
-
<tr>
|
462
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
463
|
-
<td>
|
464
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the selection is indented when tab is pressed.</td>
|
465
|
-
</tr>
|
466
|
-
</tbody>
|
659
|
+
<tbody><tr>
|
660
|
+
<td class="parameter_name"><p>view</p></td>
|
661
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
662
|
+
<td class="parameter_annotations"> </td>
|
663
|
+
</tr></tbody>
|
467
664
|
</table></div>
|
665
|
+
</div>
|
666
|
+
<div class="refsect3">
|
667
|
+
<a name="id-1.2.30.11.7.6"></a><h4>Returns</h4>
|
668
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the selection is indented when tab is pressed.</p>
|
669
|
+
<p></p>
|
670
|
+
</div>
|
468
671
|
<p class="since">Since 1.8</p>
|
469
672
|
</div>
|
470
673
|
<hr>
|
471
674
|
<div class="refsect2">
|
472
|
-
<a name="gtk-source-view-set-indent-width"></a><h3>gtk_source_view_set_indent_width
|
473
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
474
|
-
|
475
|
-
<
|
476
|
-
Sets the number of spaces to use for each step of indent.
|
477
|
-
If <em class="parameter"><code>width</code></em>
|
478
|
-
|
479
|
-
|
480
|
-
<div class="
|
675
|
+
<a name="gtk-source-view-set-indent-width"></a><h3>gtk_source_view_set_indent_width ()</h3>
|
676
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
677
|
+
gtk_source_view_set_indent_width (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
678
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
|
679
|
+
<p>Sets the number of spaces to use for each step of indent.
|
680
|
+
If <em class="parameter"><code>width</code></em>
|
681
|
+
is -1, the value of the <a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title="The “tab-width” property"><span class="type">“tab-width”</span></a> property
|
682
|
+
will be used.</p>
|
683
|
+
<div class="refsect3">
|
684
|
+
<a name="id-1.2.30.11.8.5"></a><h4>Parameters</h4>
|
685
|
+
<div class="informaltable"><table width="100%" border="0">
|
481
686
|
<colgroup>
|
482
|
-
<col
|
483
|
-
<col>
|
687
|
+
<col width="150px" class="parameters_name">
|
688
|
+
<col class="parameters_description">
|
689
|
+
<col width="200px" class="parameters_annotations">
|
484
690
|
</colgroup>
|
485
691
|
<tbody>
|
486
692
|
<tr>
|
487
|
-
<td
|
488
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
693
|
+
<td class="parameter_name"><p>view</p></td>
|
694
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
695
|
+
<td class="parameter_annotations"> </td>
|
489
696
|
</tr>
|
490
697
|
<tr>
|
491
|
-
<td
|
492
|
-
<td>indent width in characters.</td>
|
698
|
+
<td class="parameter_name"><p>width</p></td>
|
699
|
+
<td class="parameter_description"><p>indent width in characters.</p></td>
|
700
|
+
<td class="parameter_annotations"> </td>
|
493
701
|
</tr>
|
494
702
|
</tbody>
|
495
703
|
</table></div>
|
496
704
|
</div>
|
705
|
+
</div>
|
497
706
|
<hr>
|
498
707
|
<div class="refsect2">
|
499
|
-
<a name="gtk-source-view-get-indent-width"></a><h3>gtk_source_view_get_indent_width
|
500
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
501
|
-
<
|
502
|
-
Returns the number of spaces to use for each step of indent.
|
503
|
-
See <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width
|
504
|
-
|
505
|
-
<
|
708
|
+
<a name="gtk-source-view-get-indent-width"></a><h3>gtk_source_view_get_indent_width ()</h3>
|
709
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
710
|
+
gtk_source_view_get_indent_width (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
711
|
+
<p>Returns the number of spaces to use for each step of indent.
|
712
|
+
See <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width ()"><code class="function">gtk_source_view_set_indent_width()</code></a> for details.</p>
|
713
|
+
<div class="refsect3">
|
714
|
+
<a name="id-1.2.30.11.9.5"></a><h4>Parameters</h4>
|
715
|
+
<div class="informaltable"><table width="100%" border="0">
|
506
716
|
<colgroup>
|
507
|
-
<col
|
508
|
-
<col>
|
717
|
+
<col width="150px" class="parameters_name">
|
718
|
+
<col class="parameters_description">
|
719
|
+
<col width="200px" class="parameters_annotations">
|
509
720
|
</colgroup>
|
510
|
-
<tbody>
|
511
|
-
<
|
512
|
-
<td><p
|
513
|
-
<td
|
514
|
-
</tr>
|
515
|
-
<tr>
|
516
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
517
|
-
<td>indent width.</td>
|
518
|
-
</tr>
|
519
|
-
</tbody>
|
721
|
+
<tbody><tr>
|
722
|
+
<td class="parameter_name"><p>view</p></td>
|
723
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
724
|
+
<td class="parameter_annotations"> </td>
|
725
|
+
</tr></tbody>
|
520
726
|
</table></div>
|
521
727
|
</div>
|
728
|
+
<div class="refsect3">
|
729
|
+
<a name="id-1.2.30.11.9.6"></a><h4>Returns</h4>
|
730
|
+
<p> indent width.</p>
|
731
|
+
<p></p>
|
732
|
+
</div>
|
733
|
+
</div>
|
522
734
|
<hr>
|
523
735
|
<div class="refsect2">
|
524
|
-
<a name="gtk-source-view-set-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_set_insert_spaces_instead_of_tabs
|
525
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
526
|
-
|
527
|
-
|
528
|
-
<
|
529
|
-
If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> any tabulator character inserted is replaced by a group
|
530
|
-
of space characters
|
531
|
-
|
532
|
-
<
|
736
|
+
<a name="gtk-source-view-set-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_set_insert_spaces_instead_of_tabs ()</h3>
|
737
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
738
|
+
gtk_source_view_set_insert_spaces_instead_of_tabs
|
739
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
740
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
741
|
+
<p>If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> any tabulator character inserted is replaced by a group
|
742
|
+
of space characters.</p>
|
743
|
+
<div class="refsect3">
|
744
|
+
<a name="id-1.2.30.11.10.5"></a><h4>Parameters</h4>
|
745
|
+
<div class="informaltable"><table width="100%" border="0">
|
533
746
|
<colgroup>
|
534
|
-
<col
|
535
|
-
<col>
|
747
|
+
<col width="150px" class="parameters_name">
|
748
|
+
<col class="parameters_description">
|
749
|
+
<col width="200px" class="parameters_annotations">
|
536
750
|
</colgroup>
|
537
751
|
<tbody>
|
538
752
|
<tr>
|
539
|
-
<td
|
540
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
753
|
+
<td class="parameter_name"><p>view</p></td>
|
754
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
755
|
+
<td class="parameter_annotations"> </td>
|
541
756
|
</tr>
|
542
757
|
<tr>
|
543
|
-
<td
|
544
|
-
<td>whether to insert spaces instead of tabs.</td>
|
758
|
+
<td class="parameter_name"><p>enable</p></td>
|
759
|
+
<td class="parameter_description"><p>whether to insert spaces instead of tabs.</p></td>
|
760
|
+
<td class="parameter_annotations"> </td>
|
545
761
|
</tr>
|
546
762
|
</tbody>
|
547
763
|
</table></div>
|
548
764
|
</div>
|
765
|
+
</div>
|
549
766
|
<hr>
|
550
767
|
<div class="refsect2">
|
551
|
-
<a name="gtk-source-view-get-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_get_insert_spaces_instead_of_tabs
|
552
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
553
|
-
|
554
|
-
<
|
555
|
-
Returns whether when inserting a tabulator character it should
|
556
|
-
be replaced by a group of space characters
|
557
|
-
|
558
|
-
<
|
768
|
+
<a name="gtk-source-view-get-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_get_insert_spaces_instead_of_tabs ()</h3>
|
769
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
770
|
+
gtk_source_view_get_insert_spaces_instead_of_tabs
|
771
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
772
|
+
<p>Returns whether when inserting a tabulator character it should
|
773
|
+
be replaced by a group of space characters.</p>
|
774
|
+
<div class="refsect3">
|
775
|
+
<a name="id-1.2.30.11.11.5"></a><h4>Parameters</h4>
|
776
|
+
<div class="informaltable"><table width="100%" border="0">
|
559
777
|
<colgroup>
|
560
|
-
<col
|
561
|
-
<col>
|
778
|
+
<col width="150px" class="parameters_name">
|
779
|
+
<col class="parameters_description">
|
780
|
+
<col width="200px" class="parameters_annotations">
|
562
781
|
</colgroup>
|
563
|
-
<tbody>
|
564
|
-
<
|
565
|
-
<td><p
|
566
|
-
<td
|
567
|
-
</tr>
|
568
|
-
<tr>
|
569
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
570
|
-
<td>
|
571
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if spaces are inserted instead of tabs.</td>
|
572
|
-
</tr>
|
573
|
-
</tbody>
|
782
|
+
<tbody><tr>
|
783
|
+
<td class="parameter_name"><p>view</p></td>
|
784
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
785
|
+
<td class="parameter_annotations"> </td>
|
786
|
+
</tr></tbody>
|
574
787
|
</table></div>
|
575
788
|
</div>
|
789
|
+
<div class="refsect3">
|
790
|
+
<a name="id-1.2.30.11.11.6"></a><h4>Returns</h4>
|
791
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if spaces are inserted instead of tabs.</p>
|
792
|
+
<p></p>
|
793
|
+
</div>
|
794
|
+
</div>
|
576
795
|
<hr>
|
577
796
|
<div class="refsect2">
|
578
|
-
<a name="gtk-source-view-set-smart-home-end"></a><h3>gtk_source_view_set_smart_home_end
|
579
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
580
|
-
|
581
|
-
<
|
582
|
-
Set the desired movement of the cursor when HOME and END keys
|
583
|
-
are pressed
|
584
|
-
|
585
|
-
<
|
797
|
+
<a name="gtk-source-view-set-smart-home-end"></a><h3>gtk_source_view_set_smart_home_end ()</h3>
|
798
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
799
|
+
gtk_source_view_set_smart_home_end (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
800
|
+
<em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> smart_he</code></em>);</pre>
|
801
|
+
<p>Set the desired movement of the cursor when HOME and END keys
|
802
|
+
are pressed.</p>
|
803
|
+
<div class="refsect3">
|
804
|
+
<a name="id-1.2.30.11.12.5"></a><h4>Parameters</h4>
|
805
|
+
<div class="informaltable"><table width="100%" border="0">
|
586
806
|
<colgroup>
|
587
|
-
<col
|
588
|
-
<col>
|
807
|
+
<col width="150px" class="parameters_name">
|
808
|
+
<col class="parameters_description">
|
809
|
+
<col width="200px" class="parameters_annotations">
|
589
810
|
</colgroup>
|
590
811
|
<tbody>
|
591
812
|
<tr>
|
592
|
-
<td
|
593
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
813
|
+
<td class="parameter_name"><p>view</p></td>
|
814
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
815
|
+
<td class="parameter_annotations"> </td>
|
594
816
|
</tr>
|
595
817
|
<tr>
|
596
|
-
<td
|
597
|
-
<td>the desired behavior among <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a>.</td>
|
818
|
+
<td class="parameter_name"><p>smart_he</p></td>
|
819
|
+
<td class="parameter_description"><p>the desired behavior among <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a>.</p></td>
|
820
|
+
<td class="parameter_annotations"> </td>
|
598
821
|
</tr>
|
599
822
|
</tbody>
|
600
823
|
</table></div>
|
601
824
|
</div>
|
825
|
+
</div>
|
602
826
|
<hr>
|
603
827
|
<div class="refsect2">
|
604
|
-
<a name="gtk-source-view-get-smart-home-end"></a><h3>gtk_source_view_get_smart_home_end
|
605
|
-
<pre class="programlisting"><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a>
|
606
|
-
|
607
|
-
<p>
|
608
|
-
|
609
|
-
|
610
|
-
</
|
611
|
-
<div class="
|
828
|
+
<a name="gtk-source-view-get-smart-home-end"></a><h3>gtk_source_view_get_smart_home_end ()</h3>
|
829
|
+
<pre class="programlisting"><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a>
|
830
|
+
gtk_source_view_get_smart_home_end (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
831
|
+
<p>Returns a <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> end value specifying
|
832
|
+
how the cursor will move when HOME and END keys are pressed.</p>
|
833
|
+
<div class="refsect3">
|
834
|
+
<a name="id-1.2.30.11.13.5"></a><h4>Parameters</h4>
|
835
|
+
<div class="informaltable"><table width="100%" border="0">
|
612
836
|
<colgroup>
|
613
|
-
<col
|
614
|
-
<col>
|
837
|
+
<col width="150px" class="parameters_name">
|
838
|
+
<col class="parameters_description">
|
839
|
+
<col width="200px" class="parameters_annotations">
|
615
840
|
</colgroup>
|
616
|
-
<tbody>
|
617
|
-
<
|
618
|
-
<td><p
|
619
|
-
<td
|
620
|
-
</tr>
|
621
|
-
<tr>
|
622
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
623
|
-
<td>a <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> value.</td>
|
624
|
-
</tr>
|
625
|
-
</tbody>
|
841
|
+
<tbody><tr>
|
842
|
+
<td class="parameter_name"><p>view</p></td>
|
843
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
844
|
+
<td class="parameter_annotations"> </td>
|
845
|
+
</tr></tbody>
|
626
846
|
</table></div>
|
627
847
|
</div>
|
848
|
+
<div class="refsect3">
|
849
|
+
<a name="id-1.2.30.11.13.6"></a><h4>Returns</h4>
|
850
|
+
<p> a <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> value.</p>
|
851
|
+
<p></p>
|
852
|
+
</div>
|
853
|
+
</div>
|
628
854
|
<hr>
|
629
855
|
<div class="refsect2">
|
630
|
-
<a name="gtk-source-view-set-mark-attributes"></a><h3>gtk_source_view_set_mark_attributes
|
631
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
<
|
636
|
-
Sets attributes and priority for the <em class="parameter"><code>category</code></em
|
637
|
-
|
638
|
-
<div class="
|
856
|
+
<a name="gtk-source-view-set-mark-attributes"></a><h3>gtk_source_view_set_mark_attributes ()</h3>
|
857
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
858
|
+
gtk_source_view_set_mark_attributes (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
859
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
|
860
|
+
<em class="parameter"><code><a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="type">GtkSourceMarkAttributes</span></a> *attributes</code></em>,
|
861
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);</pre>
|
862
|
+
<p>Sets attributes and priority for the <em class="parameter"><code>category</code></em>
|
863
|
+
.</p>
|
864
|
+
<div class="refsect3">
|
865
|
+
<a name="id-1.2.30.11.14.5"></a><h4>Parameters</h4>
|
866
|
+
<div class="informaltable"><table width="100%" border="0">
|
639
867
|
<colgroup>
|
640
|
-
<col
|
641
|
-
<col>
|
868
|
+
<col width="150px" class="parameters_name">
|
869
|
+
<col class="parameters_description">
|
870
|
+
<col width="200px" class="parameters_annotations">
|
642
871
|
</colgroup>
|
643
872
|
<tbody>
|
644
873
|
<tr>
|
645
|
-
<td
|
646
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
874
|
+
<td class="parameter_name"><p>view</p></td>
|
875
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
876
|
+
<td class="parameter_annotations"> </td>
|
647
877
|
</tr>
|
648
878
|
<tr>
|
649
|
-
<td
|
650
|
-
<td>the category.</td>
|
879
|
+
<td class="parameter_name"><p>category</p></td>
|
880
|
+
<td class="parameter_description"><p>the category.</p></td>
|
881
|
+
<td class="parameter_annotations"> </td>
|
651
882
|
</tr>
|
652
883
|
<tr>
|
653
|
-
<td
|
654
|
-
<td>mark attributes.</td>
|
884
|
+
<td class="parameter_name"><p>attributes</p></td>
|
885
|
+
<td class="parameter_description"><p>mark attributes.</p></td>
|
886
|
+
<td class="parameter_annotations"> </td>
|
655
887
|
</tr>
|
656
888
|
<tr>
|
657
|
-
<td
|
658
|
-
<td>priority of the category.</td>
|
889
|
+
<td class="parameter_name"><p>priority</p></td>
|
890
|
+
<td class="parameter_description"><p>priority of the category.</p></td>
|
891
|
+
<td class="parameter_annotations"> </td>
|
659
892
|
</tr>
|
660
893
|
</tbody>
|
661
894
|
</table></div>
|
662
895
|
</div>
|
896
|
+
</div>
|
663
897
|
<hr>
|
664
898
|
<div class="refsect2">
|
665
|
-
<a name="gtk-source-view-get-mark-attributes"></a><h3>gtk_source_view_get_mark_attributes
|
666
|
-
<pre class="programlisting"><a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="returnvalue">GtkSourceMarkAttributes</span></a>
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
<p>
|
671
|
-
|
672
|
-
|
673
|
-
<
|
899
|
+
<a name="gtk-source-view-get-mark-attributes"></a><h3>gtk_source_view_get_mark_attributes ()</h3>
|
900
|
+
<pre class="programlisting"><a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="returnvalue">GtkSourceMarkAttributes</span></a> *
|
901
|
+
gtk_source_view_get_mark_attributes (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
902
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
|
903
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *priority</code></em>);</pre>
|
904
|
+
<p>Gets attributes and priority for the <em class="parameter"><code>category</code></em>
|
905
|
+
.</p>
|
906
|
+
<div class="refsect3">
|
907
|
+
<a name="id-1.2.30.11.15.5"></a><h4>Parameters</h4>
|
908
|
+
<div class="informaltable"><table width="100%" border="0">
|
674
909
|
<colgroup>
|
675
|
-
<col
|
676
|
-
<col>
|
910
|
+
<col width="150px" class="parameters_name">
|
911
|
+
<col class="parameters_description">
|
912
|
+
<col width="200px" class="parameters_annotations">
|
677
913
|
</colgroup>
|
678
914
|
<tbody>
|
679
915
|
<tr>
|
680
|
-
<td
|
681
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
682
|
-
</
|
683
|
-
<tr>
|
684
|
-
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
|
685
|
-
<td>the category.</td>
|
916
|
+
<td class="parameter_name"><p>view</p></td>
|
917
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
918
|
+
<td class="parameter_annotations"> </td>
|
686
919
|
</tr>
|
687
920
|
<tr>
|
688
|
-
<td
|
689
|
-
<td>
|
921
|
+
<td class="parameter_name"><p>category</p></td>
|
922
|
+
<td class="parameter_description"><p>the category.</p></td>
|
923
|
+
<td class="parameter_annotations"> </td>
|
690
924
|
</tr>
|
691
925
|
<tr>
|
692
|
-
<td
|
693
|
-
<td>
|
694
|
-
<
|
695
|
-
The object belongs to <em class="parameter"><code>view</code></em>, so it must not be unreffed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
696
|
-
</td>
|
926
|
+
<td class="parameter_name"><p>priority</p></td>
|
927
|
+
<td class="parameter_description"><p>place where priority of the category will be stored.</p></td>
|
928
|
+
<td class="parameter_annotations"> </td>
|
697
929
|
</tr>
|
698
930
|
</tbody>
|
699
931
|
</table></div>
|
700
932
|
</div>
|
933
|
+
<div class="refsect3">
|
934
|
+
<a name="id-1.2.30.11.15.6"></a><h4>Returns</h4>
|
935
|
+
<p> <a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="type">GtkSourceMarkAttributes</span></a> for the <em class="parameter"><code>category</code></em>
|
936
|
+
.
|
937
|
+
The object belongs to <em class="parameter"><code>view</code></em>
|
938
|
+
, so it must not be unreffed. </p>
|
939
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
940
|
+
</div>
|
941
|
+
</div>
|
701
942
|
<hr>
|
702
943
|
<div class="refsect2">
|
703
|
-
<a name="gtk-source-view-set-highlight-current-line"></a><h3>gtk_source_view_set_highlight_current_line
|
704
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
705
|
-
|
706
|
-
|
707
|
-
<
|
708
|
-
If <em class="parameter"><code>hl</code></em>
|
709
|
-
</p>
|
710
|
-
<div class="
|
944
|
+
<a name="gtk-source-view-set-highlight-current-line"></a><h3>gtk_source_view_set_highlight_current_line ()</h3>
|
945
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
946
|
+
gtk_source_view_set_highlight_current_line
|
947
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
948
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> hl</code></em>);</pre>
|
949
|
+
<p>If <em class="parameter"><code>hl</code></em>
|
950
|
+
is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the current line is highlighted.</p>
|
951
|
+
<div class="refsect3">
|
952
|
+
<a name="id-1.2.30.11.16.5"></a><h4>Parameters</h4>
|
953
|
+
<div class="informaltable"><table width="100%" border="0">
|
711
954
|
<colgroup>
|
712
|
-
<col
|
713
|
-
<col>
|
955
|
+
<col width="150px" class="parameters_name">
|
956
|
+
<col class="parameters_description">
|
957
|
+
<col width="200px" class="parameters_annotations">
|
714
958
|
</colgroup>
|
715
959
|
<tbody>
|
716
960
|
<tr>
|
717
|
-
<td
|
718
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
961
|
+
<td class="parameter_name"><p>view</p></td>
|
962
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
963
|
+
<td class="parameter_annotations"> </td>
|
719
964
|
</tr>
|
720
965
|
<tr>
|
721
|
-
<td
|
722
|
-
<td>whether to highlight the current line.</td>
|
966
|
+
<td class="parameter_name"><p>hl</p></td>
|
967
|
+
<td class="parameter_description"><p>whether to highlight the current line.</p></td>
|
968
|
+
<td class="parameter_annotations"> </td>
|
723
969
|
</tr>
|
724
970
|
</tbody>
|
725
971
|
</table></div>
|
726
972
|
</div>
|
973
|
+
</div>
|
727
974
|
<hr>
|
728
975
|
<div class="refsect2">
|
729
|
-
<a name="gtk-source-view-get-highlight-current-line"></a><h3>gtk_source_view_get_highlight_current_line
|
730
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
731
|
-
|
732
|
-
<
|
733
|
-
Returns whether the current line is highlighted
|
734
|
-
|
735
|
-
<
|
976
|
+
<a name="gtk-source-view-get-highlight-current-line"></a><h3>gtk_source_view_get_highlight_current_line ()</h3>
|
977
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
978
|
+
gtk_source_view_get_highlight_current_line
|
979
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
980
|
+
<p>Returns whether the current line is highlighted.</p>
|
981
|
+
<div class="refsect3">
|
982
|
+
<a name="id-1.2.30.11.17.5"></a><h4>Parameters</h4>
|
983
|
+
<div class="informaltable"><table width="100%" border="0">
|
736
984
|
<colgroup>
|
737
|
-
<col
|
738
|
-
<col>
|
985
|
+
<col width="150px" class="parameters_name">
|
986
|
+
<col class="parameters_description">
|
987
|
+
<col width="200px" class="parameters_annotations">
|
739
988
|
</colgroup>
|
740
|
-
<tbody>
|
741
|
-
<
|
742
|
-
<td><p
|
743
|
-
<td
|
744
|
-
</tr>
|
745
|
-
<tr>
|
746
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
747
|
-
<td>
|
748
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the current line is highlighted.</td>
|
749
|
-
</tr>
|
750
|
-
</tbody>
|
989
|
+
<tbody><tr>
|
990
|
+
<td class="parameter_name"><p>view</p></td>
|
991
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
992
|
+
<td class="parameter_annotations"> </td>
|
993
|
+
</tr></tbody>
|
751
994
|
</table></div>
|
752
995
|
</div>
|
996
|
+
<div class="refsect3">
|
997
|
+
<a name="id-1.2.30.11.17.6"></a><h4>Returns</h4>
|
998
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the current line is highlighted.</p>
|
999
|
+
<p></p>
|
1000
|
+
</div>
|
1001
|
+
</div>
|
753
1002
|
<hr>
|
754
1003
|
<div class="refsect2">
|
755
|
-
<a name="gtk-source-view-set-show-line-marks"></a><h3>gtk_source_view_set_show_line_marks
|
756
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
757
|
-
|
758
|
-
<
|
759
|
-
If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> line marks will be displayed beside the text
|
760
|
-
|
761
|
-
<
|
1004
|
+
<a name="gtk-source-view-set-show-line-marks"></a><h3>gtk_source_view_set_show_line_marks ()</h3>
|
1005
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1006
|
+
gtk_source_view_set_show_line_marks (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1007
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
|
1008
|
+
<p>If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> line marks will be displayed beside the text.</p>
|
1009
|
+
<div class="refsect3">
|
1010
|
+
<a name="id-1.2.30.11.18.5"></a><h4>Parameters</h4>
|
1011
|
+
<div class="informaltable"><table width="100%" border="0">
|
762
1012
|
<colgroup>
|
763
|
-
<col
|
764
|
-
<col>
|
1013
|
+
<col width="150px" class="parameters_name">
|
1014
|
+
<col class="parameters_description">
|
1015
|
+
<col width="200px" class="parameters_annotations">
|
765
1016
|
</colgroup>
|
766
1017
|
<tbody>
|
767
1018
|
<tr>
|
768
|
-
<td
|
769
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
1019
|
+
<td class="parameter_name"><p>view</p></td>
|
1020
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1021
|
+
<td class="parameter_annotations"> </td>
|
770
1022
|
</tr>
|
771
1023
|
<tr>
|
772
|
-
<td
|
773
|
-
<td>whether line marks should be displayed.</td>
|
1024
|
+
<td class="parameter_name"><p>show</p></td>
|
1025
|
+
<td class="parameter_description"><p>whether line marks should be displayed.</p></td>
|
1026
|
+
<td class="parameter_annotations"> </td>
|
774
1027
|
</tr>
|
775
1028
|
</tbody>
|
776
1029
|
</table></div>
|
1030
|
+
</div>
|
777
1031
|
<p class="since">Since 2.2</p>
|
778
1032
|
</div>
|
779
1033
|
<hr>
|
780
1034
|
<div class="refsect2">
|
781
|
-
<a name="gtk-source-view-get-show-line-marks"></a><h3>gtk_source_view_get_show_line_marks
|
782
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
783
|
-
<
|
784
|
-
Returns whether line marks are displayed beside the text
|
785
|
-
|
786
|
-
<
|
1035
|
+
<a name="gtk-source-view-get-show-line-marks"></a><h3>gtk_source_view_get_show_line_marks ()</h3>
|
1036
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1037
|
+
gtk_source_view_get_show_line_marks (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1038
|
+
<p>Returns whether line marks are displayed beside the text.</p>
|
1039
|
+
<div class="refsect3">
|
1040
|
+
<a name="id-1.2.30.11.19.5"></a><h4>Parameters</h4>
|
1041
|
+
<div class="informaltable"><table width="100%" border="0">
|
787
1042
|
<colgroup>
|
788
|
-
<col
|
789
|
-
<col>
|
1043
|
+
<col width="150px" class="parameters_name">
|
1044
|
+
<col class="parameters_description">
|
1045
|
+
<col width="200px" class="parameters_annotations">
|
790
1046
|
</colgroup>
|
791
|
-
<tbody>
|
792
|
-
<
|
793
|
-
<td><p
|
794
|
-
<td
|
795
|
-
</tr>
|
796
|
-
<tr>
|
797
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
798
|
-
<td>
|
799
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line marks are displayed.</td>
|
800
|
-
</tr>
|
801
|
-
</tbody>
|
1047
|
+
<tbody><tr>
|
1048
|
+
<td class="parameter_name"><p>view</p></td>
|
1049
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1050
|
+
<td class="parameter_annotations"> </td>
|
1051
|
+
</tr></tbody>
|
802
1052
|
</table></div>
|
1053
|
+
</div>
|
1054
|
+
<div class="refsect3">
|
1055
|
+
<a name="id-1.2.30.11.19.6"></a><h4>Returns</h4>
|
1056
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line marks are displayed.</p>
|
1057
|
+
<p></p>
|
1058
|
+
</div>
|
803
1059
|
<p class="since">Since 2.2</p>
|
804
1060
|
</div>
|
805
1061
|
<hr>
|
806
1062
|
<div class="refsect2">
|
807
|
-
<a name="gtk-source-view-set-show-line-numbers"></a><h3>gtk_source_view_set_show_line_numbers
|
808
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
809
|
-
|
810
|
-
|
811
|
-
<p>
|
812
|
-
|
813
|
-
</
|
814
|
-
<div class="
|
1063
|
+
<a name="gtk-source-view-set-show-line-numbers"></a><h3>gtk_source_view_set_show_line_numbers ()</h3>
|
1064
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1065
|
+
gtk_source_view_set_show_line_numbers (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1066
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
|
1067
|
+
<p>If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> line numbers will be displayed beside the text.</p>
|
1068
|
+
<div class="refsect3">
|
1069
|
+
<a name="id-1.2.30.11.20.5"></a><h4>Parameters</h4>
|
1070
|
+
<div class="informaltable"><table width="100%" border="0">
|
815
1071
|
<colgroup>
|
816
|
-
<col
|
817
|
-
<col>
|
1072
|
+
<col width="150px" class="parameters_name">
|
1073
|
+
<col class="parameters_description">
|
1074
|
+
<col width="200px" class="parameters_annotations">
|
818
1075
|
</colgroup>
|
819
1076
|
<tbody>
|
820
1077
|
<tr>
|
821
|
-
<td
|
822
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
1078
|
+
<td class="parameter_name"><p>view</p></td>
|
1079
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1080
|
+
<td class="parameter_annotations"> </td>
|
823
1081
|
</tr>
|
824
1082
|
<tr>
|
825
|
-
<td
|
826
|
-
<td>whether line numbers should be displayed.</td>
|
1083
|
+
<td class="parameter_name"><p>show</p></td>
|
1084
|
+
<td class="parameter_description"><p>whether line numbers should be displayed.</p></td>
|
1085
|
+
<td class="parameter_annotations"> </td>
|
827
1086
|
</tr>
|
828
1087
|
</tbody>
|
829
1088
|
</table></div>
|
830
1089
|
</div>
|
1090
|
+
</div>
|
831
1091
|
<hr>
|
832
1092
|
<div class="refsect2">
|
833
|
-
<a name="gtk-source-view-get-show-line-numbers"></a><h3>gtk_source_view_get_show_line_numbers
|
834
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
835
|
-
|
836
|
-
<p>
|
837
|
-
|
838
|
-
</
|
839
|
-
<div class="
|
1093
|
+
<a name="gtk-source-view-get-show-line-numbers"></a><h3>gtk_source_view_get_show_line_numbers ()</h3>
|
1094
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1095
|
+
gtk_source_view_get_show_line_numbers (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1096
|
+
<p>Returns whether line numbers are displayed beside the text.</p>
|
1097
|
+
<div class="refsect3">
|
1098
|
+
<a name="id-1.2.30.11.21.5"></a><h4>Parameters</h4>
|
1099
|
+
<div class="informaltable"><table width="100%" border="0">
|
840
1100
|
<colgroup>
|
841
|
-
<col
|
842
|
-
<col>
|
1101
|
+
<col width="150px" class="parameters_name">
|
1102
|
+
<col class="parameters_description">
|
1103
|
+
<col width="200px" class="parameters_annotations">
|
843
1104
|
</colgroup>
|
844
|
-
<tbody>
|
845
|
-
<
|
846
|
-
<td><p
|
847
|
-
<td
|
848
|
-
</tr>
|
849
|
-
<tr>
|
850
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
851
|
-
<td>
|
852
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line numbers are displayed.</td>
|
853
|
-
</tr>
|
854
|
-
</tbody>
|
1105
|
+
<tbody><tr>
|
1106
|
+
<td class="parameter_name"><p>view</p></td>
|
1107
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1108
|
+
<td class="parameter_annotations"> </td>
|
1109
|
+
</tr></tbody>
|
855
1110
|
</table></div>
|
856
1111
|
</div>
|
1112
|
+
<div class="refsect3">
|
1113
|
+
<a name="id-1.2.30.11.21.6"></a><h4>Returns</h4>
|
1114
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line numbers are displayed.</p>
|
1115
|
+
<p></p>
|
1116
|
+
</div>
|
1117
|
+
</div>
|
857
1118
|
<hr>
|
858
1119
|
<div class="refsect2">
|
859
|
-
<a name="gtk-source-view-set-show-right-margin"></a><h3>gtk_source_view_set_show_right_margin
|
860
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
861
|
-
|
862
|
-
|
863
|
-
<p>
|
864
|
-
|
865
|
-
</
|
866
|
-
<div class="
|
1120
|
+
<a name="gtk-source-view-set-show-right-margin"></a><h3>gtk_source_view_set_show_right_margin ()</h3>
|
1121
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1122
|
+
gtk_source_view_set_show_right_margin (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1123
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
|
1124
|
+
<p>If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> a right margin is displayed.</p>
|
1125
|
+
<div class="refsect3">
|
1126
|
+
<a name="id-1.2.30.11.22.5"></a><h4>Parameters</h4>
|
1127
|
+
<div class="informaltable"><table width="100%" border="0">
|
867
1128
|
<colgroup>
|
868
|
-
<col
|
869
|
-
<col>
|
1129
|
+
<col width="150px" class="parameters_name">
|
1130
|
+
<col class="parameters_description">
|
1131
|
+
<col width="200px" class="parameters_annotations">
|
870
1132
|
</colgroup>
|
871
1133
|
<tbody>
|
872
1134
|
<tr>
|
873
|
-
<td
|
874
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
1135
|
+
<td class="parameter_name"><p>view</p></td>
|
1136
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1137
|
+
<td class="parameter_annotations"> </td>
|
875
1138
|
</tr>
|
876
1139
|
<tr>
|
877
|
-
<td
|
878
|
-
<td>whether to show a right margin.</td>
|
1140
|
+
<td class="parameter_name"><p>show</p></td>
|
1141
|
+
<td class="parameter_description"><p>whether to show a right margin.</p></td>
|
1142
|
+
<td class="parameter_annotations"> </td>
|
879
1143
|
</tr>
|
880
1144
|
</tbody>
|
881
1145
|
</table></div>
|
882
1146
|
</div>
|
1147
|
+
</div>
|
883
1148
|
<hr>
|
884
1149
|
<div class="refsect2">
|
885
|
-
<a name="gtk-source-view-get-show-right-margin"></a><h3>gtk_source_view_get_show_right_margin
|
886
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
887
|
-
|
888
|
-
<p>
|
889
|
-
|
890
|
-
</
|
891
|
-
<div class="
|
1150
|
+
<a name="gtk-source-view-get-show-right-margin"></a><h3>gtk_source_view_get_show_right_margin ()</h3>
|
1151
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1152
|
+
gtk_source_view_get_show_right_margin (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1153
|
+
<p>Returns whether a right margin is displayed.</p>
|
1154
|
+
<div class="refsect3">
|
1155
|
+
<a name="id-1.2.30.11.23.5"></a><h4>Parameters</h4>
|
1156
|
+
<div class="informaltable"><table width="100%" border="0">
|
892
1157
|
<colgroup>
|
893
|
-
<col
|
894
|
-
<col>
|
1158
|
+
<col width="150px" class="parameters_name">
|
1159
|
+
<col class="parameters_description">
|
1160
|
+
<col width="200px" class="parameters_annotations">
|
895
1161
|
</colgroup>
|
896
|
-
<tbody>
|
897
|
-
<
|
898
|
-
<td><p
|
899
|
-
<td
|
900
|
-
</tr>
|
901
|
-
<tr>
|
902
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
903
|
-
<td>
|
904
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the right margin is shown.</td>
|
905
|
-
</tr>
|
906
|
-
</tbody>
|
1162
|
+
<tbody><tr>
|
1163
|
+
<td class="parameter_name"><p>view</p></td>
|
1164
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1165
|
+
<td class="parameter_annotations"> </td>
|
1166
|
+
</tr></tbody>
|
907
1167
|
</table></div>
|
908
1168
|
</div>
|
1169
|
+
<div class="refsect3">
|
1170
|
+
<a name="id-1.2.30.11.23.6"></a><h4>Returns</h4>
|
1171
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the right margin is shown.</p>
|
1172
|
+
<p></p>
|
1173
|
+
</div>
|
1174
|
+
</div>
|
909
1175
|
<hr>
|
910
1176
|
<div class="refsect2">
|
911
|
-
<a name="gtk-source-view-set-right-margin-position"></a><h3>gtk_source_view_set_right_margin_position
|
912
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
913
|
-
|
914
|
-
|
915
|
-
<
|
916
|
-
Sets the position of the right margin in the given <em class="parameter"><code>view</code></em
|
917
|
-
|
918
|
-
<div class="
|
1177
|
+
<a name="gtk-source-view-set-right-margin-position"></a><h3>gtk_source_view_set_right_margin_position ()</h3>
|
1178
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1179
|
+
gtk_source_view_set_right_margin_position
|
1180
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1181
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>);</pre>
|
1182
|
+
<p>Sets the position of the right margin in the given <em class="parameter"><code>view</code></em>
|
1183
|
+
.</p>
|
1184
|
+
<div class="refsect3">
|
1185
|
+
<a name="id-1.2.30.11.24.5"></a><h4>Parameters</h4>
|
1186
|
+
<div class="informaltable"><table width="100%" border="0">
|
919
1187
|
<colgroup>
|
920
|
-
<col
|
921
|
-
<col>
|
1188
|
+
<col width="150px" class="parameters_name">
|
1189
|
+
<col class="parameters_description">
|
1190
|
+
<col width="200px" class="parameters_annotations">
|
922
1191
|
</colgroup>
|
923
1192
|
<tbody>
|
924
1193
|
<tr>
|
925
|
-
<td
|
926
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
1194
|
+
<td class="parameter_name"><p>view</p></td>
|
1195
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1196
|
+
<td class="parameter_annotations"> </td>
|
927
1197
|
</tr>
|
928
1198
|
<tr>
|
929
|
-
<td
|
930
|
-
<td>the width in characters where to position the right margin.</td>
|
1199
|
+
<td class="parameter_name"><p>pos</p></td>
|
1200
|
+
<td class="parameter_description"><p>the width in characters where to position the right margin.</p></td>
|
1201
|
+
<td class="parameter_annotations"> </td>
|
931
1202
|
</tr>
|
932
1203
|
</tbody>
|
933
1204
|
</table></div>
|
934
1205
|
</div>
|
1206
|
+
</div>
|
935
1207
|
<hr>
|
936
1208
|
<div class="refsect2">
|
937
|
-
<a name="gtk-source-view-get-right-margin-position"></a><h3>gtk_source_view_get_right_margin_position
|
938
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
939
|
-
|
940
|
-
<
|
941
|
-
Gets the position of the right margin in the given <em class="parameter"><code>view</code></em
|
942
|
-
|
943
|
-
<div class="
|
1209
|
+
<a name="gtk-source-view-get-right-margin-position"></a><h3>gtk_source_view_get_right_margin_position ()</h3>
|
1210
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
1211
|
+
gtk_source_view_get_right_margin_position
|
1212
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1213
|
+
<p>Gets the position of the right margin in the given <em class="parameter"><code>view</code></em>
|
1214
|
+
.</p>
|
1215
|
+
<div class="refsect3">
|
1216
|
+
<a name="id-1.2.30.11.25.5"></a><h4>Parameters</h4>
|
1217
|
+
<div class="informaltable"><table width="100%" border="0">
|
944
1218
|
<colgroup>
|
945
|
-
<col
|
946
|
-
<col>
|
1219
|
+
<col width="150px" class="parameters_name">
|
1220
|
+
<col class="parameters_description">
|
1221
|
+
<col width="200px" class="parameters_annotations">
|
947
1222
|
</colgroup>
|
948
|
-
<tbody>
|
949
|
-
<
|
950
|
-
<td><p
|
951
|
-
<td
|
952
|
-
</tr>
|
953
|
-
<tr>
|
954
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
955
|
-
<td>the position of the right margin.</td>
|
956
|
-
</tr>
|
957
|
-
</tbody>
|
1223
|
+
<tbody><tr>
|
1224
|
+
<td class="parameter_name"><p>view</p></td>
|
1225
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1226
|
+
<td class="parameter_annotations"> </td>
|
1227
|
+
</tr></tbody>
|
958
1228
|
</table></div>
|
959
1229
|
</div>
|
1230
|
+
<div class="refsect3">
|
1231
|
+
<a name="id-1.2.30.11.25.6"></a><h4>Returns</h4>
|
1232
|
+
<p> the position of the right margin.</p>
|
1233
|
+
<p></p>
|
1234
|
+
</div>
|
1235
|
+
</div>
|
960
1236
|
<hr>
|
961
1237
|
<div class="refsect2">
|
962
|
-
<a name="gtk-source-view-set-tab-width"></a><h3>gtk_source_view_set_tab_width
|
963
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
964
|
-
|
965
|
-
<
|
966
|
-
Sets the width of tabulation in characters
|
967
|
-
|
968
|
-
<
|
1238
|
+
<a name="gtk-source-view-set-tab-width"></a><h3>gtk_source_view_set_tab_width ()</h3>
|
1239
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1240
|
+
gtk_source_view_set_tab_width (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1241
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);</pre>
|
1242
|
+
<p>Sets the width of tabulation in characters.</p>
|
1243
|
+
<div class="refsect3">
|
1244
|
+
<a name="id-1.2.30.11.26.5"></a><h4>Parameters</h4>
|
1245
|
+
<div class="informaltable"><table width="100%" border="0">
|
969
1246
|
<colgroup>
|
970
|
-
<col
|
971
|
-
<col>
|
1247
|
+
<col width="150px" class="parameters_name">
|
1248
|
+
<col class="parameters_description">
|
1249
|
+
<col width="200px" class="parameters_annotations">
|
972
1250
|
</colgroup>
|
973
1251
|
<tbody>
|
974
1252
|
<tr>
|
975
|
-
<td
|
976
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
1253
|
+
<td class="parameter_name"><p>view</p></td>
|
1254
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1255
|
+
<td class="parameter_annotations"> </td>
|
977
1256
|
</tr>
|
978
1257
|
<tr>
|
979
|
-
<td
|
980
|
-
<td>width of tab in characters.</td>
|
1258
|
+
<td class="parameter_name"><p>width</p></td>
|
1259
|
+
<td class="parameter_description"><p>width of tab in characters.</p></td>
|
1260
|
+
<td class="parameter_annotations"> </td>
|
981
1261
|
</tr>
|
982
1262
|
</tbody>
|
983
1263
|
</table></div>
|
984
1264
|
</div>
|
1265
|
+
</div>
|
985
1266
|
<hr>
|
986
1267
|
<div class="refsect2">
|
987
|
-
<a name="gtk-source-view-get-tab-width"></a><h3>gtk_source_view_get_tab_width
|
988
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
989
|
-
<
|
990
|
-
Returns the width of tabulation in characters
|
991
|
-
|
992
|
-
<
|
1268
|
+
<a name="gtk-source-view-get-tab-width"></a><h3>gtk_source_view_get_tab_width ()</h3>
|
1269
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
1270
|
+
gtk_source_view_get_tab_width (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1271
|
+
<p>Returns the width of tabulation in characters.</p>
|
1272
|
+
<div class="refsect3">
|
1273
|
+
<a name="id-1.2.30.11.27.5"></a><h4>Parameters</h4>
|
1274
|
+
<div class="informaltable"><table width="100%" border="0">
|
1275
|
+
<colgroup>
|
1276
|
+
<col width="150px" class="parameters_name">
|
1277
|
+
<col class="parameters_description">
|
1278
|
+
<col width="200px" class="parameters_annotations">
|
1279
|
+
</colgroup>
|
1280
|
+
<tbody><tr>
|
1281
|
+
<td class="parameter_name"><p>view</p></td>
|
1282
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1283
|
+
<td class="parameter_annotations"> </td>
|
1284
|
+
</tr></tbody>
|
1285
|
+
</table></div>
|
1286
|
+
</div>
|
1287
|
+
<div class="refsect3">
|
1288
|
+
<a name="id-1.2.30.11.27.6"></a><h4>Returns</h4>
|
1289
|
+
<p> width of tab.</p>
|
1290
|
+
<p></p>
|
1291
|
+
</div>
|
1292
|
+
</div>
|
1293
|
+
<hr>
|
1294
|
+
<div class="refsect2">
|
1295
|
+
<a name="gtk-source-view-set-draw-spaces"></a><h3>gtk_source_view_set_draw_spaces ()</h3>
|
1296
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1297
|
+
gtk_source_view_set_draw_spaces (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1298
|
+
<em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> flags</code></em>);</pre>
|
1299
|
+
<p>Set if and how the spaces should be visualized. Specifying <em class="parameter"><code>flags</code></em>
|
1300
|
+
as 0 will
|
1301
|
+
disable display of spaces.</p>
|
1302
|
+
<div class="refsect3">
|
1303
|
+
<a name="id-1.2.30.11.28.5"></a><h4>Parameters</h4>
|
1304
|
+
<div class="informaltable"><table width="100%" border="0">
|
993
1305
|
<colgroup>
|
994
|
-
<col
|
995
|
-
<col>
|
1306
|
+
<col width="150px" class="parameters_name">
|
1307
|
+
<col class="parameters_description">
|
1308
|
+
<col width="200px" class="parameters_annotations">
|
996
1309
|
</colgroup>
|
997
1310
|
<tbody>
|
998
1311
|
<tr>
|
999
|
-
<td
|
1000
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
1312
|
+
<td class="parameter_name"><p>view</p></td>
|
1313
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1314
|
+
<td class="parameter_annotations"> </td>
|
1001
1315
|
</tr>
|
1002
1316
|
<tr>
|
1003
|
-
<td
|
1004
|
-
<td>
|
1317
|
+
<td class="parameter_name"><p>flags</p></td>
|
1318
|
+
<td class="parameter_description"><p><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> specifing how white spaces should
|
1319
|
+
be displayed</p></td>
|
1320
|
+
<td class="parameter_annotations"> </td>
|
1005
1321
|
</tr>
|
1006
1322
|
</tbody>
|
1007
1323
|
</table></div>
|
1008
1324
|
</div>
|
1325
|
+
</div>
|
1009
1326
|
<hr>
|
1010
1327
|
<div class="refsect2">
|
1011
|
-
<a name="gtk-source-view-
|
1012
|
-
<pre class="programlisting"><
|
1013
|
-
|
1014
|
-
<p>
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
<
|
1328
|
+
<a name="gtk-source-view-get-draw-spaces"></a><h3>gtk_source_view_get_draw_spaces ()</h3>
|
1329
|
+
<pre class="programlisting"><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="returnvalue">GtkSourceDrawSpacesFlags</span></a>
|
1330
|
+
gtk_source_view_get_draw_spaces (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1331
|
+
<p>Returns the <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> specifying if and how spaces
|
1332
|
+
should be displayed for this <em class="parameter"><code>view</code></em>
|
1333
|
+
.</p>
|
1334
|
+
<div class="refsect3">
|
1335
|
+
<a name="id-1.2.30.11.29.5"></a><h4>Parameters</h4>
|
1336
|
+
<div class="informaltable"><table width="100%" border="0">
|
1337
|
+
<colgroup>
|
1338
|
+
<col width="150px" class="parameters_name">
|
1339
|
+
<col class="parameters_description">
|
1340
|
+
<col width="200px" class="parameters_annotations">
|
1341
|
+
</colgroup>
|
1342
|
+
<tbody><tr>
|
1343
|
+
<td class="parameter_name"><p>view</p></td>
|
1344
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
1345
|
+
<td class="parameter_annotations"> </td>
|
1346
|
+
</tr></tbody>
|
1347
|
+
</table></div>
|
1348
|
+
</div>
|
1349
|
+
<div class="refsect3">
|
1350
|
+
<a name="id-1.2.30.11.29.6"></a><h4>Returns</h4>
|
1351
|
+
<p> the <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a>, 0 if no spaces should be drawn.</p>
|
1352
|
+
<p></p>
|
1353
|
+
</div>
|
1354
|
+
</div>
|
1355
|
+
<hr>
|
1356
|
+
<div class="refsect2">
|
1357
|
+
<a name="gtk-source-view-get-completion"></a><h3>gtk_source_view_get_completion ()</h3>
|
1358
|
+
<pre class="programlisting"><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> *
|
1359
|
+
gtk_source_view_get_completion (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1360
|
+
<p>Gets the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> associated with <em class="parameter"><code>view</code></em>
|
1361
|
+
.</p>
|
1362
|
+
<div class="refsect3">
|
1363
|
+
<a name="id-1.2.30.11.30.5"></a><h4>Parameters</h4>
|
1364
|
+
<div class="informaltable"><table width="100%" border="0">
|
1365
|
+
<colgroup>
|
1366
|
+
<col width="150px" class="parameters_name">
|
1367
|
+
<col class="parameters_description">
|
1368
|
+
<col width="200px" class="parameters_annotations">
|
1369
|
+
</colgroup>
|
1370
|
+
<tbody><tr>
|
1371
|
+
<td class="parameter_name"><p>view</p></td>
|
1372
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1373
|
+
<td class="parameter_annotations"> </td>
|
1374
|
+
</tr></tbody>
|
1375
|
+
</table></div>
|
1376
|
+
</div>
|
1377
|
+
<div class="refsect3">
|
1378
|
+
<a name="id-1.2.30.11.30.6"></a><h4>Returns</h4>
|
1379
|
+
<p>the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> associated with <em class="parameter"><code>view</code></em>
|
1380
|
+
. </p>
|
1381
|
+
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GtkSource.Completion][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1382
|
+
</div>
|
1383
|
+
</div>
|
1384
|
+
<hr>
|
1385
|
+
<div class="refsect2">
|
1386
|
+
<a name="gtk-source-view-get-gutter"></a><h3>gtk_source_view_get_gutter ()</h3>
|
1387
|
+
<pre class="programlisting"><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *
|
1388
|
+
gtk_source_view_get_gutter (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1389
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> window_type</code></em>);</pre>
|
1390
|
+
<p>Returns the <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> object associated with <em class="parameter"><code>window_type</code></em>
|
1391
|
+
for <em class="parameter"><code>view</code></em>
|
1392
|
+
.
|
1393
|
+
Only GTK_TEXT_WINDOW_LEFT and GTK_TEXT_WINDOW_RIGHT are supported,
|
1394
|
+
respectively corresponding to the left and right gutter. The line numbers
|
1395
|
+
and mark category icons are rendered in the gutter corresponding to
|
1396
|
+
GTK_TEXT_WINDOW_LEFT.</p>
|
1397
|
+
<div class="refsect3">
|
1398
|
+
<a name="id-1.2.30.11.31.5"></a><h4>Parameters</h4>
|
1399
|
+
<div class="informaltable"><table width="100%" border="0">
|
1019
1400
|
<colgroup>
|
1020
|
-
<col
|
1021
|
-
<col>
|
1401
|
+
<col width="150px" class="parameters_name">
|
1402
|
+
<col class="parameters_description">
|
1403
|
+
<col width="200px" class="parameters_annotations">
|
1022
1404
|
</colgroup>
|
1023
1405
|
<tbody>
|
1024
1406
|
<tr>
|
1025
|
-
<td
|
1026
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</td>
|
1407
|
+
<td class="parameter_name"><p>view</p></td>
|
1408
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1409
|
+
<td class="parameter_annotations"> </td>
|
1027
1410
|
</tr>
|
1028
1411
|
<tr>
|
1029
|
-
<td
|
1030
|
-
<td>
|
1031
|
-
<
|
1032
|
-
be displayed</td>
|
1412
|
+
<td class="parameter_name"><p>window_type</p></td>
|
1413
|
+
<td class="parameter_description"><p>the gutter window type.</p></td>
|
1414
|
+
<td class="parameter_annotations"> </td>
|
1033
1415
|
</tr>
|
1034
1416
|
</tbody>
|
1035
1417
|
</table></div>
|
1036
1418
|
</div>
|
1419
|
+
<div class="refsect3">
|
1420
|
+
<a name="id-1.2.30.11.31.6"></a><h4>Returns</h4>
|
1421
|
+
<p> the <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>. </p>
|
1422
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1423
|
+
</div>
|
1424
|
+
<p class="since">Since 2.8</p>
|
1425
|
+
</div>
|
1037
1426
|
<hr>
|
1038
1427
|
<div class="refsect2">
|
1039
|
-
<a name="gtk-source-view-get-
|
1040
|
-
<pre class="programlisting"><a
|
1041
|
-
|
1042
|
-
<
|
1043
|
-
|
1044
|
-
|
1045
|
-
</
|
1046
|
-
|
1428
|
+
<a name="gtk-source-view-get-visual-column"></a><h3>gtk_source_view_get_visual_column ()</h3>
|
1429
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
1430
|
+
gtk_source_view_get_visual_column (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1431
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
1432
|
+
<p>Determines the visual column at <em class="parameter"><code>iter</code></em>
|
1433
|
+
taking into
|
1434
|
+
consideration the indent width of <em class="parameter"><code>view</code></em>
|
1435
|
+
.</p>
|
1436
|
+
<div class="refsect3">
|
1437
|
+
<a name="id-1.2.30.11.32.5"></a><h4>Parameters</h4>
|
1438
|
+
<div class="informaltable"><table width="100%" border="0">
|
1047
1439
|
<colgroup>
|
1048
|
-
<col
|
1049
|
-
<col>
|
1440
|
+
<col width="150px" class="parameters_name">
|
1441
|
+
<col class="parameters_description">
|
1442
|
+
<col width="200px" class="parameters_annotations">
|
1050
1443
|
</colgroup>
|
1051
1444
|
<tbody>
|
1052
1445
|
<tr>
|
1053
|
-
<td
|
1054
|
-
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
|
1055
|
-
</td>
|
1446
|
+
<td class="parameter_name"><p>view</p></td>
|
1447
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1448
|
+
<td class="parameter_annotations"> </td>
|
1056
1449
|
</tr>
|
1057
1450
|
<tr>
|
1058
|
-
<td
|
1059
|
-
<td
|
1451
|
+
<td class="parameter_name"><p>iter</p></td>
|
1452
|
+
<td class="parameter_description"><p>a position in <em class="parameter"><code>view</code></em>
|
1453
|
+
.</p></td>
|
1454
|
+
<td class="parameter_annotations"> </td>
|
1060
1455
|
</tr>
|
1061
1456
|
</tbody>
|
1062
1457
|
</table></div>
|
1063
1458
|
</div>
|
1459
|
+
<div class="refsect3">
|
1460
|
+
<a name="id-1.2.30.11.32.6"></a><h4>Returns</h4>
|
1461
|
+
<p> the visual column at <em class="parameter"><code>iter</code></em>
|
1462
|
+
.</p>
|
1463
|
+
<p></p>
|
1464
|
+
</div>
|
1465
|
+
</div>
|
1466
|
+
</div>
|
1467
|
+
<div class="refsect1">
|
1468
|
+
<a name="GtkSourceView.other_details"></a><h2>Types and Values</h2>
|
1469
|
+
<div class="refsect2">
|
1470
|
+
<a name="GtkSourceView-struct"></a><h3>GtkSourceView</h3>
|
1471
|
+
<pre class="programlisting">typedef struct _GtkSourceView GtkSourceView;</pre>
|
1472
|
+
</div>
|
1064
1473
|
<hr>
|
1065
1474
|
<div class="refsect2">
|
1066
|
-
<a name="
|
1067
|
-
<
|
1068
|
-
<
|
1069
|
-
|
1070
|
-
</p>
|
1071
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1475
|
+
<a name="GtkSourceSmartHomeEndType"></a><h3>enum GtkSourceSmartHomeEndType</h3>
|
1476
|
+
<div class="refsect3">
|
1477
|
+
<a name="id-1.2.30.12.3.3"></a><h4>Members</h4>
|
1478
|
+
<div class="informaltable"><table width="100%" border="0">
|
1072
1479
|
<colgroup>
|
1073
|
-
<col
|
1074
|
-
<col>
|
1480
|
+
<col width="300px" class="enum_members_name">
|
1481
|
+
<col class="enum_members_description">
|
1482
|
+
<col width="200px" class="enum_members_annotations">
|
1075
1483
|
</colgroup>
|
1076
1484
|
<tbody>
|
1077
1485
|
<tr>
|
1078
|
-
<td
|
1079
|
-
<td
|
1486
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-DISABLED:CAPS"></a>GTK_SOURCE_SMART_HOME_END_DISABLED</p></td>
|
1487
|
+
<td class="enum_member_description">
|
1488
|
+
<p>smart-home-end disabled.</p>
|
1489
|
+
</td>
|
1490
|
+
<td class="enum_member_annotations"> </td>
|
1080
1491
|
</tr>
|
1081
1492
|
<tr>
|
1082
|
-
<td
|
1083
|
-
<td
|
1493
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-BEFORE:CAPS"></a>GTK_SOURCE_SMART_HOME_END_BEFORE</p></td>
|
1494
|
+
<td class="enum_member_description">
|
1495
|
+
<p>move to the first/last
|
1496
|
+
non-whitespace character on the first press of the HOME/END keys and
|
1497
|
+
to the beginning/end of the line on the second press.</p>
|
1084
1498
|
</td>
|
1499
|
+
<td class="enum_member_annotations"> </td>
|
1500
|
+
</tr>
|
1501
|
+
<tr>
|
1502
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-AFTER:CAPS"></a>GTK_SOURCE_SMART_HOME_END_AFTER</p></td>
|
1503
|
+
<td class="enum_member_description">
|
1504
|
+
<p>move to the beginning/end of the
|
1505
|
+
line on the first press of the HOME/END keys and to the first/last
|
1506
|
+
non-whitespace character on the second press.</p>
|
1507
|
+
</td>
|
1508
|
+
<td class="enum_member_annotations"> </td>
|
1509
|
+
</tr>
|
1510
|
+
<tr>
|
1511
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-ALWAYS:CAPS"></a>GTK_SOURCE_SMART_HOME_END_ALWAYS</p></td>
|
1512
|
+
<td class="enum_member_description">
|
1513
|
+
<p>always move to the first/last
|
1514
|
+
non-whitespace character when the HOME/END keys are pressed.</p>
|
1515
|
+
</td>
|
1516
|
+
<td class="enum_member_annotations"> </td>
|
1085
1517
|
</tr>
|
1086
1518
|
</tbody>
|
1087
1519
|
</table></div>
|
1088
1520
|
</div>
|
1521
|
+
</div>
|
1089
1522
|
<hr>
|
1090
1523
|
<div class="refsect2">
|
1091
|
-
<a name="
|
1092
|
-
<
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
GTK_TEXT_WINDOW_LEFT.
|
1100
|
-
</p>
|
1101
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1524
|
+
<a name="GtkSourceDrawSpacesFlags"></a><h3>enum GtkSourceDrawSpacesFlags</h3>
|
1525
|
+
<p>GtkSourceDrawSpacesFlags determine what kind of spaces whould be drawn. If none
|
1526
|
+
of GTK_SOURCE_DRAW_SPACES_LEADING, GTK_SOURCE_DRAW_SPACES_TEXT or
|
1527
|
+
GTK_SOURCE_DRAW_SPACES_TRAILING is specified, whitespaces at any position in
|
1528
|
+
the line will be drawn (i.e. it has the same effect as specifying all of them).</p>
|
1529
|
+
<div class="refsect3">
|
1530
|
+
<a name="id-1.2.30.12.4.4"></a><h4>Members</h4>
|
1531
|
+
<div class="informaltable"><table width="100%" border="0">
|
1102
1532
|
<colgroup>
|
1103
|
-
<col
|
1104
|
-
<col>
|
1533
|
+
<col width="300px" class="enum_members_name">
|
1534
|
+
<col class="enum_members_description">
|
1535
|
+
<col width="200px" class="enum_members_annotations">
|
1105
1536
|
</colgroup>
|
1106
1537
|
<tbody>
|
1107
1538
|
<tr>
|
1108
|
-
<td
|
1109
|
-
<td
|
1539
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-SPACE:CAPS"></a>GTK_SOURCE_DRAW_SPACES_SPACE</p></td>
|
1540
|
+
<td class="enum_member_description">
|
1541
|
+
<p>whether the space character should be drawn.</p>
|
1542
|
+
</td>
|
1543
|
+
<td class="enum_member_annotations"> </td>
|
1544
|
+
</tr>
|
1545
|
+
<tr>
|
1546
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-TAB:CAPS"></a>GTK_SOURCE_DRAW_SPACES_TAB</p></td>
|
1547
|
+
<td class="enum_member_description">
|
1548
|
+
<p>whether the tab character should be drawn.</p>
|
1549
|
+
</td>
|
1550
|
+
<td class="enum_member_annotations"> </td>
|
1110
1551
|
</tr>
|
1111
1552
|
<tr>
|
1112
|
-
<td
|
1113
|
-
<td
|
1553
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-NEWLINE:CAPS"></a>GTK_SOURCE_DRAW_SPACES_NEWLINE</p></td>
|
1554
|
+
<td class="enum_member_description">
|
1555
|
+
<p>whether the line breaks should be drawn.</p>
|
1556
|
+
</td>
|
1557
|
+
<td class="enum_member_annotations"> </td>
|
1114
1558
|
</tr>
|
1115
1559
|
<tr>
|
1116
|
-
<td
|
1117
|
-
<td
|
1560
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-NBSP:CAPS"></a>GTK_SOURCE_DRAW_SPACES_NBSP</p></td>
|
1561
|
+
<td class="enum_member_description">
|
1562
|
+
<p>whether the non-breaking whitespaces should be drawn.</p>
|
1118
1563
|
</td>
|
1564
|
+
<td class="enum_member_annotations"> </td>
|
1565
|
+
</tr>
|
1566
|
+
<tr>
|
1567
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-LEADING:CAPS"></a>GTK_SOURCE_DRAW_SPACES_LEADING</p></td>
|
1568
|
+
<td class="enum_member_description">
|
1569
|
+
<p>whether leading whitespaces should be drawn.</p>
|
1570
|
+
</td>
|
1571
|
+
<td class="enum_member_annotations"> </td>
|
1572
|
+
</tr>
|
1573
|
+
<tr>
|
1574
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-TEXT:CAPS"></a>GTK_SOURCE_DRAW_SPACES_TEXT</p></td>
|
1575
|
+
<td class="enum_member_description">
|
1576
|
+
<p>whether whitespaces inside text should be drawn.</p>
|
1577
|
+
</td>
|
1578
|
+
<td class="enum_member_annotations"> </td>
|
1579
|
+
</tr>
|
1580
|
+
<tr>
|
1581
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-TRAILING:CAPS"></a>GTK_SOURCE_DRAW_SPACES_TRAILING</p></td>
|
1582
|
+
<td class="enum_member_description">
|
1583
|
+
<p>whether trailing whitespaces should be drawn.</p>
|
1584
|
+
</td>
|
1585
|
+
<td class="enum_member_annotations"> </td>
|
1586
|
+
</tr>
|
1587
|
+
<tr>
|
1588
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-ALL:CAPS"></a>GTK_SOURCE_DRAW_SPACES_ALL</p></td>
|
1589
|
+
<td class="enum_member_description">
|
1590
|
+
<p>wheter all kind of spaces should be drawn.</p>
|
1591
|
+
</td>
|
1592
|
+
<td class="enum_member_annotations"> </td>
|
1119
1593
|
</tr>
|
1120
1594
|
</tbody>
|
1121
1595
|
</table></div>
|
1122
|
-
|
1596
|
+
</div>
|
1123
1597
|
</div>
|
1124
1598
|
<hr>
|
1125
1599
|
<div class="refsect2">
|
1126
|
-
<a name="
|
1127
|
-
<
|
1128
|
-
|
1129
|
-
<
|
1130
|
-
Determines the visual column at <em class="parameter"><code>iter</code></em> taking into
|
1131
|
-
consideration the indent width of <em class="parameter"><code>view</code></em>.
|
1132
|
-
</p>
|
1133
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1600
|
+
<a name="GtkSourceViewGutterPosition"></a><h3>enum GtkSourceViewGutterPosition</h3>
|
1601
|
+
<div class="refsect3">
|
1602
|
+
<a name="id-1.2.30.12.5.3"></a><h4>Members</h4>
|
1603
|
+
<div class="informaltable"><table width="100%" border="0">
|
1134
1604
|
<colgroup>
|
1135
|
-
<col
|
1136
|
-
<col>
|
1605
|
+
<col width="300px" class="enum_members_name">
|
1606
|
+
<col class="enum_members_description">
|
1607
|
+
<col width="200px" class="enum_members_annotations">
|
1137
1608
|
</colgroup>
|
1138
1609
|
<tbody>
|
1139
1610
|
<tr>
|
1140
|
-
<td
|
1141
|
-
<td
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
<td
|
1611
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-VIEW-GUTTER-POSITION-LINES:CAPS"></a>GTK_SOURCE_VIEW_GUTTER_POSITION_LINES</p></td>
|
1612
|
+
<td class="enum_member_description">
|
1613
|
+
<p>the gutter position of the lines
|
1614
|
+
renderer</p>
|
1615
|
+
</td>
|
1616
|
+
<td class="enum_member_annotations"> </td>
|
1146
1617
|
</tr>
|
1147
1618
|
<tr>
|
1148
|
-
<td
|
1149
|
-
<td
|
1619
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-VIEW-GUTTER-POSITION-MARKS:CAPS"></a>GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS</p></td>
|
1620
|
+
<td class="enum_member_description">
|
1621
|
+
<p>the gutter position of the marks
|
1622
|
+
renderer</p>
|
1623
|
+
</td>
|
1624
|
+
<td class="enum_member_annotations"> </td>
|
1150
1625
|
</tr>
|
1151
1626
|
</tbody>
|
1152
1627
|
</table></div>
|
1153
1628
|
</div>
|
1154
1629
|
</div>
|
1630
|
+
</div>
|
1155
1631
|
<div class="refsect1">
|
1156
1632
|
<a name="GtkSourceView.property-details"></a><h2>Property Details</h2>
|
1157
1633
|
<div class="refsect2">
|
1158
|
-
<a name="GtkSourceView--auto-indent"></a><h3>The <code class="literal"
|
1159
|
-
<pre class="programlisting">
|
1634
|
+
<a name="GtkSourceView--auto-indent"></a><h3>The <code class="literal">“auto-indent”</code> property</h3>
|
1635
|
+
<pre class="programlisting"> “auto-indent” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1160
1636
|
<p>Whether to enable auto indentation.</p>
|
1637
|
+
<p>Flags: Read / Write</p>
|
1161
1638
|
<p>Default value: FALSE</p>
|
1162
1639
|
</div>
|
1163
1640
|
<hr>
|
1164
1641
|
<div class="refsect2">
|
1165
|
-
<a name="GtkSourceView--completion"></a><h3>The <code class="literal"
|
1166
|
-
<pre class="programlisting">
|
1167
|
-
<p>
|
1168
|
-
|
1169
|
-
</p>
|
1642
|
+
<a name="GtkSourceView--completion"></a><h3>The <code class="literal">“completion”</code> property</h3>
|
1643
|
+
<pre class="programlisting"> “completion” <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *</pre>
|
1644
|
+
<p>The completion object associated with the view</p>
|
1645
|
+
<p>Flags: Read</p>
|
1170
1646
|
</div>
|
1171
1647
|
<hr>
|
1172
1648
|
<div class="refsect2">
|
1173
|
-
<a name="GtkSourceView--draw-spaces"></a><h3>The <code class="literal"
|
1174
|
-
<pre class="programlisting">
|
1175
|
-
<p>
|
1176
|
-
|
1177
|
-
</p>
|
1649
|
+
<a name="GtkSourceView--draw-spaces"></a><h3>The <code class="literal">“draw-spaces”</code> property</h3>
|
1650
|
+
<pre class="programlisting"> “draw-spaces” <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a></pre>
|
1651
|
+
<p>Set if and how the spaces should be visualized.</p>
|
1652
|
+
<p>Flags: Read / Write</p>
|
1178
1653
|
<p class="since">Since 2.4</p>
|
1179
1654
|
</div>
|
1180
1655
|
<hr>
|
1181
1656
|
<div class="refsect2">
|
1182
|
-
<a name="GtkSourceView--highlight-current-line"></a><h3>The <code class="literal"
|
1183
|
-
<pre class="programlisting">
|
1657
|
+
<a name="GtkSourceView--highlight-current-line"></a><h3>The <code class="literal">“highlight-current-line”</code> property</h3>
|
1658
|
+
<pre class="programlisting"> “highlight-current-line” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1184
1659
|
<p>Whether to highlight the current line.</p>
|
1660
|
+
<p>Flags: Read / Write</p>
|
1185
1661
|
<p>Default value: FALSE</p>
|
1186
1662
|
</div>
|
1187
1663
|
<hr>
|
1188
1664
|
<div class="refsect2">
|
1189
|
-
<a name="GtkSourceView--indent-on-tab"></a><h3>The <code class="literal"
|
1190
|
-
<pre class="programlisting">
|
1665
|
+
<a name="GtkSourceView--indent-on-tab"></a><h3>The <code class="literal">“indent-on-tab”</code> property</h3>
|
1666
|
+
<pre class="programlisting"> “indent-on-tab” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1191
1667
|
<p>Whether to indent the selected text when the tab key is pressed.</p>
|
1668
|
+
<p>Flags: Read / Write</p>
|
1192
1669
|
<p>Default value: TRUE</p>
|
1193
1670
|
</div>
|
1194
1671
|
<hr>
|
1195
1672
|
<div class="refsect2">
|
1196
|
-
<a name="GtkSourceView--indent-width"></a><h3>The <code class="literal"
|
1197
|
-
<pre class="programlisting">
|
1198
|
-
<p>
|
1199
|
-
|
1200
|
-
</p>
|
1673
|
+
<a name="GtkSourceView--indent-width"></a><h3>The <code class="literal">“indent-width”</code> property</h3>
|
1674
|
+
<pre class="programlisting"> “indent-width” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1675
|
+
<p>Width of an indentation step expressed in number of spaces.</p>
|
1676
|
+
<p>Flags: Read / Write</p>
|
1201
1677
|
<p>Allowed values: [-1,32]</p>
|
1202
1678
|
<p>Default value: -1</p>
|
1203
1679
|
</div>
|
1204
1680
|
<hr>
|
1205
1681
|
<div class="refsect2">
|
1206
|
-
<a name="GtkSourceView--insert-spaces-instead-of-tabs"></a><h3>The <code class="literal"
|
1207
|
-
<pre class="programlisting">
|
1682
|
+
<a name="GtkSourceView--insert-spaces-instead-of-tabs"></a><h3>The <code class="literal">“insert-spaces-instead-of-tabs”</code> property</h3>
|
1683
|
+
<pre class="programlisting"> “insert-spaces-instead-of-tabs” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1208
1684
|
<p>Whether to insert spaces instead of tabs.</p>
|
1685
|
+
<p>Flags: Read / Write</p>
|
1209
1686
|
<p>Default value: FALSE</p>
|
1210
1687
|
</div>
|
1211
1688
|
<hr>
|
1212
1689
|
<div class="refsect2">
|
1213
|
-
<a name="GtkSourceView--right-margin-position"></a><h3>The <code class="literal"
|
1214
|
-
<pre class="programlisting">
|
1215
|
-
<p>
|
1216
|
-
|
1217
|
-
</p>
|
1690
|
+
<a name="GtkSourceView--right-margin-position"></a><h3>The <code class="literal">“right-margin-position”</code> property</h3>
|
1691
|
+
<pre class="programlisting"> “right-margin-position” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
1692
|
+
<p>Position of the right margin.</p>
|
1693
|
+
<p>Flags: Read / Write</p>
|
1218
1694
|
<p>Allowed values: [1,1000]</p>
|
1219
1695
|
<p>Default value: 80</p>
|
1220
1696
|
</div>
|
1221
1697
|
<hr>
|
1222
1698
|
<div class="refsect2">
|
1223
|
-
<a name="GtkSourceView--show-line-marks"></a><h3>The <code class="literal"
|
1224
|
-
<pre class="programlisting">
|
1225
|
-
<p>
|
1226
|
-
|
1227
|
-
</p>
|
1699
|
+
<a name="GtkSourceView--show-line-marks"></a><h3>The <code class="literal">“show-line-marks”</code> property</h3>
|
1700
|
+
<pre class="programlisting"> “show-line-marks” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1701
|
+
<p>Whether to display line mark pixbufs</p>
|
1702
|
+
<p>Flags: Read / Write</p>
|
1228
1703
|
<p>Default value: FALSE</p>
|
1229
1704
|
</div>
|
1230
1705
|
<hr>
|
1231
1706
|
<div class="refsect2">
|
1232
|
-
<a name="GtkSourceView--show-line-numbers"></a><h3>The <code class="literal"
|
1233
|
-
<pre class="programlisting">
|
1234
|
-
<p>
|
1235
|
-
|
1236
|
-
</p>
|
1707
|
+
<a name="GtkSourceView--show-line-numbers"></a><h3>The <code class="literal">“show-line-numbers”</code> property</h3>
|
1708
|
+
<pre class="programlisting"> “show-line-numbers” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1709
|
+
<p>Whether to display line numbers</p>
|
1710
|
+
<p>Flags: Read / Write</p>
|
1237
1711
|
<p>Default value: FALSE</p>
|
1238
1712
|
</div>
|
1239
1713
|
<hr>
|
1240
1714
|
<div class="refsect2">
|
1241
|
-
<a name="GtkSourceView--show-right-margin"></a><h3>The <code class="literal"
|
1242
|
-
<pre class="programlisting">
|
1243
|
-
<p>
|
1244
|
-
|
1245
|
-
</p>
|
1715
|
+
<a name="GtkSourceView--show-right-margin"></a><h3>The <code class="literal">“show-right-margin”</code> property</h3>
|
1716
|
+
<pre class="programlisting"> “show-right-margin” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1717
|
+
<p>Whether to display the right margin.</p>
|
1718
|
+
<p>Flags: Read / Write</p>
|
1246
1719
|
<p>Default value: FALSE</p>
|
1247
1720
|
</div>
|
1248
1721
|
<hr>
|
1249
1722
|
<div class="refsect2">
|
1250
|
-
<a name="GtkSourceView--smart-home-end"></a><h3>The <code class="literal"
|
1251
|
-
<pre class="programlisting">
|
1252
|
-
<p>
|
1253
|
-
|
1254
|
-
</p>
|
1723
|
+
<a name="GtkSourceView--smart-home-end"></a><h3>The <code class="literal">“smart-home-end”</code> property</h3>
|
1724
|
+
<pre class="programlisting"> “smart-home-end” <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a></pre>
|
1725
|
+
<p>Set the behavior of the HOME and END keys.</p>
|
1726
|
+
<p>Flags: Read / Write</p>
|
1255
1727
|
<p>Default value: GTK_SOURCE_SMART_HOME_END_DISABLED</p>
|
1256
1728
|
<p class="since">Since 2.0</p>
|
1257
1729
|
</div>
|
1258
1730
|
<hr>
|
1259
1731
|
<div class="refsect2">
|
1260
|
-
<a name="GtkSourceView--tab-width"></a><h3>The <code class="literal"
|
1261
|
-
<pre class="programlisting">
|
1262
|
-
<p>
|
1263
|
-
|
1264
|
-
</p>
|
1732
|
+
<a name="GtkSourceView--tab-width"></a><h3>The <code class="literal">“tab-width”</code> property</h3>
|
1733
|
+
<pre class="programlisting"> “tab-width” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
1734
|
+
<p>Width of a tab character expressed in number of spaces.</p>
|
1735
|
+
<p>Flags: Read / Write</p>
|
1265
1736
|
<p>Allowed values: [1,32]</p>
|
1266
1737
|
<p>Default value: 8</p>
|
1267
1738
|
</div>
|
@@ -1269,217 +1740,252 @@ Width of an tab character expressed in number of spaces.
|
|
1269
1740
|
<div class="refsect1">
|
1270
1741
|
<a name="GtkSourceView.signal-details"></a><h2>Signal Details</h2>
|
1271
1742
|
<div class="refsect2">
|
1272
|
-
<a name="GtkSourceView-line-mark-activated"></a><h3>The <code class="literal"
|
1273
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
<
|
1278
|
-
Emitted when a line mark has been activated (for instance when there
|
1279
|
-
was a button press in the line marks gutter). You can use <em class="parameter"><code>iter</code></em>
|
1280
|
-
|
1281
|
-
|
1282
|
-
<div class="
|
1743
|
+
<a name="GtkSourceView-line-mark-activated"></a><h3>The <code class="literal">“line-mark-activated”</code> signal</h3>
|
1744
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1745
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
1746
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter,
|
1747
|
+
<a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
1748
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1749
|
+
<p>Emitted when a line mark has been activated (for instance when there
|
1750
|
+
was a button press in the line marks gutter). You can use <em class="parameter"><code>iter</code></em>
|
1751
|
+
to
|
1752
|
+
determine on which line the activation took place.</p>
|
1753
|
+
<div class="refsect3">
|
1754
|
+
<a name="id-1.2.30.14.2.5"></a><h4>Parameters</h4>
|
1755
|
+
<div class="informaltable"><table width="100%" border="0">
|
1283
1756
|
<colgroup>
|
1284
|
-
<col
|
1285
|
-
<col>
|
1757
|
+
<col width="150px" class="parameters_name">
|
1758
|
+
<col class="parameters_description">
|
1759
|
+
<col width="200px" class="parameters_annotations">
|
1286
1760
|
</colgroup>
|
1287
1761
|
<tbody>
|
1288
1762
|
<tr>
|
1289
|
-
<td
|
1290
|
-
<td>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
|
1291
|
-
</td>
|
1763
|
+
<td class="parameter_name"><p>view</p></td>
|
1764
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
1765
|
+
<td class="parameter_annotations"> </td>
|
1292
1766
|
</tr>
|
1293
1767
|
<tr>
|
1294
|
-
<td
|
1295
|
-
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>
|
1296
|
-
</td>
|
1768
|
+
<td class="parameter_name"><p>iter</p></td>
|
1769
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a></p></td>
|
1770
|
+
<td class="parameter_annotations"> </td>
|
1297
1771
|
</tr>
|
1298
1772
|
<tr>
|
1299
|
-
<td
|
1300
|
-
<td>the <a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that activated the event</td>
|
1773
|
+
<td class="parameter_name"><p>event</p></td>
|
1774
|
+
<td class="parameter_description"><p>the <a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that activated the event</p></td>
|
1775
|
+
<td class="parameter_annotations"> </td>
|
1301
1776
|
</tr>
|
1302
1777
|
<tr>
|
1303
|
-
<td
|
1304
|
-
<td>user data set when the signal handler was connected.</td>
|
1778
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1779
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1780
|
+
<td class="parameter_annotations"> </td>
|
1305
1781
|
</tr>
|
1306
1782
|
</tbody>
|
1307
1783
|
</table></div>
|
1308
1784
|
</div>
|
1785
|
+
<p>Flags: Run Last</p>
|
1786
|
+
</div>
|
1309
1787
|
<hr>
|
1310
1788
|
<div class="refsect2">
|
1311
|
-
<a name="GtkSourceView-move-lines"></a><h3>The <code class="literal"
|
1312
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
<
|
1317
|
-
The ::move-lines signal is a keybinding which gets emitted
|
1789
|
+
<a name="GtkSourceView-move-lines"></a><h3>The <code class="literal">“move-lines”</code> signal</h3>
|
1790
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1791
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
1792
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy,
|
1793
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count,
|
1794
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1795
|
+
<p>The ::move-lines signal is a keybinding which gets emitted
|
1318
1796
|
when the user initiates moving a line. The default binding key
|
1319
1797
|
is Alt+Up/Down arrow. And moves the currently selected lines,
|
1320
|
-
or the current line by <em class="parameter"><code>count</code></em
|
1321
|
-
|
1322
|
-
</
|
1323
|
-
|
1798
|
+
or the current line by <em class="parameter"><code>count</code></em>
|
1799
|
+
. For the moment, only
|
1800
|
+
<em class="parameter"><code>count</code></em>
|
1801
|
+
of -1 or 1 is valid.</p>
|
1802
|
+
<div class="refsect3">
|
1803
|
+
<a name="id-1.2.30.14.3.5"></a><h4>Parameters</h4>
|
1804
|
+
<div class="informaltable"><table width="100%" border="0">
|
1324
1805
|
<colgroup>
|
1325
|
-
<col
|
1326
|
-
<col>
|
1806
|
+
<col width="150px" class="parameters_name">
|
1807
|
+
<col class="parameters_description">
|
1808
|
+
<col width="200px" class="parameters_annotations">
|
1327
1809
|
</colgroup>
|
1328
1810
|
<tbody>
|
1329
1811
|
<tr>
|
1330
|
-
<td
|
1331
|
-
<td>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> which received the signal</td>
|
1812
|
+
<td class="parameter_name"><p>view</p></td>
|
1813
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> which received the signal</p></td>
|
1814
|
+
<td class="parameter_annotations"> </td>
|
1332
1815
|
</tr>
|
1333
1816
|
<tr>
|
1334
|
-
<td
|
1335
|
-
<td>
|
1336
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#
|
1337
|
-
<
|
1817
|
+
<td class="parameter_name"><p>copy</p></td>
|
1818
|
+
<td class="parameter_description"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line should be copied,
|
1819
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it should be moved</p></td>
|
1820
|
+
<td class="parameter_annotations"> </td>
|
1338
1821
|
</tr>
|
1339
1822
|
<tr>
|
1340
|
-
<td
|
1341
|
-
<td>the number of lines to move over.</td>
|
1823
|
+
<td class="parameter_name"><p>count</p></td>
|
1824
|
+
<td class="parameter_description"><p>the number of lines to move over.</p></td>
|
1825
|
+
<td class="parameter_annotations"> </td>
|
1342
1826
|
</tr>
|
1343
1827
|
<tr>
|
1344
|
-
<td
|
1345
|
-
<td>user data set when the signal handler was connected.</td>
|
1828
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1829
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1830
|
+
<td class="parameter_annotations"> </td>
|
1346
1831
|
</tr>
|
1347
1832
|
</tbody>
|
1348
1833
|
</table></div>
|
1834
|
+
</div>
|
1835
|
+
<p>Flags: Action</p>
|
1349
1836
|
<p class="since">Since 2.10</p>
|
1350
1837
|
</div>
|
1351
1838
|
<hr>
|
1352
1839
|
<div class="refsect2">
|
1353
|
-
<a name="GtkSourceView-move-words"></a><h3>The <code class="literal"
|
1354
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1355
|
-
|
1356
|
-
|
1357
|
-
<
|
1358
|
-
The ::move-words signal is a keybinding which gets emitted
|
1840
|
+
<a name="GtkSourceView-move-words"></a><h3>The <code class="literal">“move-words”</code> signal</h3>
|
1841
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1842
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
1843
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count,
|
1844
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1845
|
+
<p>The ::move-words signal is a keybinding which gets emitted
|
1359
1846
|
when the user initiates moving a word. The default binding key
|
1360
1847
|
is Alt+Left/Right Arrow and moves the current selection, or the current
|
1361
|
-
word by one word
|
1362
|
-
|
1363
|
-
<
|
1848
|
+
word by one word.</p>
|
1849
|
+
<div class="refsect3">
|
1850
|
+
<a name="id-1.2.30.14.4.5"></a><h4>Parameters</h4>
|
1851
|
+
<div class="informaltable"><table width="100%" border="0">
|
1364
1852
|
<colgroup>
|
1365
|
-
<col
|
1366
|
-
<col>
|
1853
|
+
<col width="150px" class="parameters_name">
|
1854
|
+
<col class="parameters_description">
|
1855
|
+
<col width="200px" class="parameters_annotations">
|
1367
1856
|
</colgroup>
|
1368
1857
|
<tbody>
|
1369
1858
|
<tr>
|
1370
|
-
<td
|
1371
|
-
<td>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> which received the signal</td>
|
1859
|
+
<td class="parameter_name"><p>view</p></td>
|
1860
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> which received the signal</p></td>
|
1861
|
+
<td class="parameter_annotations"> </td>
|
1372
1862
|
</tr>
|
1373
1863
|
<tr>
|
1374
|
-
<td
|
1375
|
-
<td>the number of words to move over</td>
|
1864
|
+
<td class="parameter_name"><p>count</p></td>
|
1865
|
+
<td class="parameter_description"><p>the number of words to move over</p></td>
|
1866
|
+
<td class="parameter_annotations"> </td>
|
1376
1867
|
</tr>
|
1377
1868
|
<tr>
|
1378
|
-
<td
|
1379
|
-
<td>user data set when the signal handler was connected.</td>
|
1869
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1870
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1871
|
+
<td class="parameter_annotations"> </td>
|
1380
1872
|
</tr>
|
1381
1873
|
</tbody>
|
1382
1874
|
</table></div>
|
1875
|
+
</div>
|
1876
|
+
<p>Flags: Action</p>
|
1383
1877
|
<p class="since">Since 3.0</p>
|
1384
1878
|
</div>
|
1385
1879
|
<hr>
|
1386
1880
|
<div class="refsect2">
|
1387
|
-
<a name="GtkSourceView-redo"></a><h3>The <code class="literal"
|
1388
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1389
|
-
|
1881
|
+
<a name="GtkSourceView-redo"></a><h3>The <code class="literal">“redo”</code> signal</h3>
|
1882
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1883
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *sourceview,
|
1884
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1885
|
+
<p>Flags: Action</p>
|
1390
1886
|
</div>
|
1391
1887
|
<hr>
|
1392
1888
|
<div class="refsect2">
|
1393
|
-
<a name="GtkSourceView-show-completion"></a><h3>The <code class="literal"
|
1394
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1395
|
-
|
1396
|
-
<
|
1397
|
-
The ::show-completion signal is a key binding signal which gets
|
1398
|
-
emitted when the user requests a completion, by pressing
|
1889
|
+
<a name="GtkSourceView-show-completion"></a><h3>The <code class="literal">“show-completion”</code> signal</h3>
|
1890
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1891
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
1892
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1893
|
+
<p>The ::show-completion signal is a key binding signal which gets
|
1894
|
+
emitted when the user requests a completion, by pressing</p>
|
1399
1895
|
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>space</strong></span>.
|
1400
|
-
|
1401
|
-
<p>
|
1402
|
-
|
1403
|
-
type as <a class="link" href="GtkSourceCompletionContext.html#GTK-SOURCE-COMPLETION-ACTIVATION-USER-REQUESTED:CAPS"><code class="literal">GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED</code></a>.
|
1404
|
-
</p>
|
1405
|
-
<p>
|
1406
|
-
Applications should not connect to it, but may emit it with
|
1896
|
+
<p>This will create a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> with the activation
|
1897
|
+
type as <a class="link" href="GtkSourceCompletionContext.html#GTK-SOURCE-COMPLETION-ACTIVATION-USER-REQUESTED:CAPS"><code class="literal">GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED</code></a>.</p>
|
1898
|
+
<p>Applications should not connect to it, but may emit it with
|
1407
1899
|
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to activate the completion by
|
1408
|
-
another means, for example with another key binding or a menu entry
|
1409
|
-
|
1410
|
-
<
|
1900
|
+
another means, for example with another key binding or a menu entry.</p>
|
1901
|
+
<div class="refsect3">
|
1902
|
+
<a name="id-1.2.30.14.6.8"></a><h4>Parameters</h4>
|
1903
|
+
<div class="informaltable"><table width="100%" border="0">
|
1411
1904
|
<colgroup>
|
1412
|
-
<col
|
1413
|
-
<col>
|
1905
|
+
<col width="150px" class="parameters_name">
|
1906
|
+
<col class="parameters_description">
|
1907
|
+
<col width="200px" class="parameters_annotations">
|
1414
1908
|
</colgroup>
|
1415
1909
|
<tbody>
|
1416
1910
|
<tr>
|
1417
|
-
<td
|
1418
|
-
<td>The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> who emits the signal</td>
|
1911
|
+
<td class="parameter_name"><p>view</p></td>
|
1912
|
+
<td class="parameter_description"><p>The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> who emits the signal</p></td>
|
1913
|
+
<td class="parameter_annotations"> </td>
|
1419
1914
|
</tr>
|
1420
1915
|
<tr>
|
1421
|
-
<td
|
1422
|
-
<td>user data set when the signal handler was connected.</td>
|
1916
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1917
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1918
|
+
<td class="parameter_annotations"> </td>
|
1423
1919
|
</tr>
|
1424
1920
|
</tbody>
|
1425
1921
|
</table></div>
|
1426
1922
|
</div>
|
1923
|
+
<p>Flags: Action</p>
|
1924
|
+
</div>
|
1427
1925
|
<hr>
|
1428
1926
|
<div class="refsect2">
|
1429
|
-
<a name="GtkSourceView-smart-home-end"></a><h3>The <code class="literal"
|
1430
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
<
|
1435
|
-
Emitted when a the cursor was moved according to the smart home
|
1927
|
+
<a name="GtkSourceView-smart-home-end"></a><h3>The <code class="literal">“smart-home-end”</code> signal</h3>
|
1928
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1929
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
1930
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter,
|
1931
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count,
|
1932
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1933
|
+
<p>Emitted when a the cursor was moved according to the smart home
|
1436
1934
|
end setting. The signal is emitted after the cursor is moved, but
|
1437
1935
|
during the GtkTextView::move-cursor action. This can be used to find
|
1438
1936
|
out whether the cursor was moved by a normal home/end or by a smart
|
1439
|
-
home/end
|
1440
|
-
|
1441
|
-
<
|
1937
|
+
home/end.</p>
|
1938
|
+
<div class="refsect3">
|
1939
|
+
<a name="id-1.2.30.14.7.5"></a><h4>Parameters</h4>
|
1940
|
+
<div class="informaltable"><table width="100%" border="0">
|
1442
1941
|
<colgroup>
|
1443
|
-
<col
|
1444
|
-
<col>
|
1942
|
+
<col width="150px" class="parameters_name">
|
1943
|
+
<col class="parameters_description">
|
1944
|
+
<col width="200px" class="parameters_annotations">
|
1445
1945
|
</colgroup>
|
1446
1946
|
<tbody>
|
1447
1947
|
<tr>
|
1448
|
-
<td
|
1449
|
-
<td>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
|
1450
|
-
</td>
|
1948
|
+
<td class="parameter_name"><p>view</p></td>
|
1949
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
1950
|
+
<td class="parameter_annotations"> </td>
|
1451
1951
|
</tr>
|
1452
1952
|
<tr>
|
1453
|
-
<td
|
1454
|
-
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>
|
1455
|
-
</td>
|
1953
|
+
<td class="parameter_name"><p>iter</p></td>
|
1954
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a></p></td>
|
1955
|
+
<td class="parameter_annotations"> </td>
|
1456
1956
|
</tr>
|
1457
1957
|
<tr>
|
1458
|
-
<td
|
1459
|
-
<td>the count</td>
|
1958
|
+
<td class="parameter_name"><p>count</p></td>
|
1959
|
+
<td class="parameter_description"><p>the count</p></td>
|
1960
|
+
<td class="parameter_annotations"> </td>
|
1460
1961
|
</tr>
|
1461
1962
|
<tr>
|
1462
|
-
<td
|
1463
|
-
<td>user data set when the signal handler was connected.</td>
|
1963
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1964
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1965
|
+
<td class="parameter_annotations"> </td>
|
1464
1966
|
</tr>
|
1465
1967
|
</tbody>
|
1466
1968
|
</table></div>
|
1969
|
+
</div>
|
1970
|
+
<p>Flags: Run Last</p>
|
1467
1971
|
<p class="since">Since 3.0</p>
|
1468
1972
|
</div>
|
1469
1973
|
<hr>
|
1470
1974
|
<div class="refsect2">
|
1471
|
-
<a name="GtkSourceView-undo"></a><h3>The <code class="literal"
|
1472
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1473
|
-
|
1975
|
+
<a name="GtkSourceView-undo"></a><h3>The <code class="literal">“undo”</code> signal</h3>
|
1976
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1977
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *sourceview,
|
1978
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1979
|
+
<p>Flags: Action</p>
|
1474
1980
|
</div>
|
1475
1981
|
</div>
|
1476
1982
|
<div class="refsect1">
|
1477
1983
|
<a name="GtkSourceView.see-also"></a><h2>See Also</h2>
|
1478
|
-
<a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a
|
1984
|
+
<p><a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a>, <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a></p>
|
1479
1985
|
</div>
|
1480
1986
|
</div>
|
1481
1987
|
<div class="footer">
|
1482
1988
|
<hr>
|
1483
|
-
Generated by GTK-Doc V1.
|
1989
|
+
Generated by GTK-Doc V1.21.1</div>
|
1484
1990
|
</body>
|
1485
1991
|
</html>
|