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,21 +8,18 @@
|
|
8
8
|
<link rel="up" href="ch01.html" title="API reference">
|
9
9
|
<link rel="prev" href="GtkSourceBuffer.html" title="GtkSourceBuffer">
|
10
10
|
<link rel="next" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext">
|
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="#GtkSourceCompletion.
|
20
|
-
|
21
|
-
<a href="#GtkSourceCompletion.
|
22
|
-
|
23
|
-
<a href="#GtkSourceCompletion.properties" class="shortcut">Properties</a>
|
24
|
-
|
|
25
|
-
<a href="#GtkSourceCompletion.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="#GtkSourceCompletion.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceCompletion.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceCompletion.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
|
21
|
+
<a href="#GtkSourceCompletion.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
|
22
|
+
<a href="#GtkSourceCompletion.signals" class="shortcut">Signals</a></span>
|
26
23
|
</td>
|
27
24
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
28
25
|
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -36,848 +33,1096 @@
|
|
36
33
|
<h2><span class="refentrytitle"><a name="GtkSourceCompletion.top_of_page"></a>GtkSourceCompletion</span></h2>
|
37
34
|
<p>GtkSourceCompletion — Main Completion Object</p>
|
38
35
|
</td>
|
39
|
-
<td valign="top" align="right"></td>
|
36
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
40
37
|
</tr></table></div>
|
41
|
-
<div class="
|
42
|
-
<a name="GtkSourceCompletion.
|
43
|
-
<
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
<
|
51
|
-
|
52
|
-
|
53
|
-
<
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
<
|
58
|
-
<
|
59
|
-
|
60
|
-
|
61
|
-
<
|
62
|
-
<a class="link" href="
|
63
|
-
|
64
|
-
|
65
|
-
<
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
<
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
38
|
+
<div class="refsect1">
|
39
|
+
<a name="GtkSourceCompletion.functions"></a><h2>Functions</h2>
|
40
|
+
<div class="informaltable"><table width="100%" border="0">
|
41
|
+
<colgroup>
|
42
|
+
<col width="150px" class="functions_return">
|
43
|
+
<col class="functions_name">
|
44
|
+
</colgroup>
|
45
|
+
<tbody>
|
46
|
+
<tr>
|
47
|
+
<td class="function_type">
|
48
|
+
<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>
|
49
|
+
</td>
|
50
|
+
<td class="function_name">
|
51
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-add-provider" title="gtk_source_completion_add_provider ()">gtk_source_completion_add_provider</a> <span class="c_punctuation">()</span>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td class="function_type">
|
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>
|
57
|
+
</td>
|
58
|
+
<td class="function_name">
|
59
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-remove-provider" title="gtk_source_completion_remove_provider ()">gtk_source_completion_remove_provider</a> <span class="c_punctuation">()</span>
|
60
|
+
</td>
|
61
|
+
</tr>
|
62
|
+
<tr>
|
63
|
+
<td class="function_type">
|
64
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
65
|
+
</td>
|
66
|
+
<td class="function_name">
|
67
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-get-providers" title="gtk_source_completion_get_providers ()">gtk_source_completion_get_providers</a> <span class="c_punctuation">()</span>
|
68
|
+
</td>
|
69
|
+
</tr>
|
70
|
+
<tr>
|
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="GtkSourceCompletion.html#gtk-source-completion-show" title="gtk_source_completion_show ()">gtk_source_completion_show</a> <span class="c_punctuation">()</span>
|
76
|
+
</td>
|
77
|
+
</tr>
|
78
|
+
<tr>
|
79
|
+
<td class="function_type">
|
80
|
+
<span class="returnvalue">void</span>
|
81
|
+
</td>
|
82
|
+
<td class="function_name">
|
83
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-hide" title="gtk_source_completion_hide ()">gtk_source_completion_hide</a> <span class="c_punctuation">()</span>
|
84
|
+
</td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td class="function_type">
|
88
|
+
<a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="returnvalue">GtkSourceCompletionInfo</span></a> *
|
89
|
+
</td>
|
90
|
+
<td class="function_name">
|
91
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-get-info-window" title="gtk_source_completion_get_info_window ()">gtk_source_completion_get_info_window</a> <span class="c_punctuation">()</span>
|
92
|
+
</td>
|
93
|
+
</tr>
|
94
|
+
<tr>
|
95
|
+
<td class="function_type">
|
96
|
+
<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *
|
97
|
+
</td>
|
98
|
+
<td class="function_name">
|
99
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-get-view" title="gtk_source_completion_get_view ()">gtk_source_completion_get_view</a> <span class="c_punctuation">()</span>
|
100
|
+
</td>
|
101
|
+
</tr>
|
102
|
+
<tr>
|
103
|
+
<td class="function_type">
|
104
|
+
<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="returnvalue">GtkSourceCompletionContext</span></a> *
|
105
|
+
</td>
|
106
|
+
<td class="function_name">
|
107
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-create-context" title="gtk_source_completion_create_context ()">gtk_source_completion_create_context</a> <span class="c_punctuation">()</span>
|
108
|
+
</td>
|
109
|
+
</tr>
|
110
|
+
<tr>
|
111
|
+
<td class="function_type">
|
112
|
+
<span class="returnvalue">void</span>
|
113
|
+
</td>
|
114
|
+
<td class="function_name">
|
115
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-move-window" title="gtk_source_completion_move_window ()">gtk_source_completion_move_window</a> <span class="c_punctuation">()</span>
|
116
|
+
</td>
|
117
|
+
</tr>
|
118
|
+
<tr>
|
119
|
+
<td class="function_type">
|
120
|
+
<span class="returnvalue">void</span>
|
121
|
+
</td>
|
122
|
+
<td class="function_name">
|
123
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-block-interactive" title="gtk_source_completion_block_interactive ()">gtk_source_completion_block_interactive</a> <span class="c_punctuation">()</span>
|
124
|
+
</td>
|
125
|
+
</tr>
|
126
|
+
<tr>
|
127
|
+
<td class="function_type">
|
128
|
+
<span class="returnvalue">void</span>
|
129
|
+
</td>
|
130
|
+
<td class="function_name">
|
131
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-unblock-interactive" title="gtk_source_completion_unblock_interactive ()">gtk_source_completion_unblock_interactive</a> <span class="c_punctuation">()</span>
|
132
|
+
</td>
|
133
|
+
</tr>
|
134
|
+
</tbody>
|
135
|
+
</table></div>
|
136
|
+
</div>
|
137
|
+
<div class="refsect1">
|
138
|
+
<a name="GtkSourceCompletion.properties"></a><h2>Properties</h2>
|
139
|
+
<div class="informaltable"><table border="0">
|
140
|
+
<colgroup>
|
141
|
+
<col width="150px" class="properties_type">
|
142
|
+
<col width="300px" class="properties_name">
|
143
|
+
<col width="200px" class="properties_flags">
|
144
|
+
</colgroup>
|
145
|
+
<tbody>
|
146
|
+
<tr>
|
147
|
+
<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>
|
148
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--accelerators" title="The “accelerators” property">accelerators</a></td>
|
149
|
+
<td class="property_flags">Read / Write / Construct</td>
|
150
|
+
</tr>
|
151
|
+
<tr>
|
152
|
+
<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>
|
153
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--auto-complete-delay" title="The “auto-complete-delay” property">auto-complete-delay</a></td>
|
154
|
+
<td class="property_flags">Read / Write / Construct</td>
|
155
|
+
</tr>
|
156
|
+
<tr>
|
157
|
+
<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>
|
158
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--proposal-page-size" title="The “proposal-page-size” property">proposal-page-size</a></td>
|
159
|
+
<td class="property_flags">Read / Write / Construct</td>
|
160
|
+
</tr>
|
161
|
+
<tr>
|
162
|
+
<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>
|
163
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--provider-page-size" title="The “provider-page-size” property">provider-page-size</a></td>
|
164
|
+
<td class="property_flags">Read / Write / Construct</td>
|
165
|
+
</tr>
|
166
|
+
<tr>
|
167
|
+
<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>
|
168
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--remember-info-visibility" title="The “remember-info-visibility” property">remember-info-visibility</a></td>
|
169
|
+
<td class="property_flags">Read / Write / Construct</td>
|
170
|
+
</tr>
|
171
|
+
<tr>
|
172
|
+
<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>
|
173
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--select-on-show" title="The “select-on-show” property">select-on-show</a></td>
|
174
|
+
<td class="property_flags">Read / Write / Construct</td>
|
175
|
+
</tr>
|
176
|
+
<tr>
|
177
|
+
<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>
|
178
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--show-headers" title="The “show-headers” property">show-headers</a></td>
|
179
|
+
<td class="property_flags">Read / Write / Construct</td>
|
180
|
+
</tr>
|
181
|
+
<tr>
|
182
|
+
<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>
|
183
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--show-icons" title="The “show-icons” property">show-icons</a></td>
|
184
|
+
<td class="property_flags">Read / Write / Construct</td>
|
185
|
+
</tr>
|
186
|
+
<tr>
|
187
|
+
<td class="property_type">
|
188
|
+
<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *</td>
|
189
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--view" title="The “view” property">view</a></td>
|
190
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
191
|
+
</tr>
|
192
|
+
</tbody>
|
193
|
+
</table></div>
|
194
|
+
</div>
|
195
|
+
<div class="refsect1">
|
196
|
+
<a name="GtkSourceCompletion.signals"></a><h2>Signals</h2>
|
197
|
+
<div class="informaltable"><table border="0">
|
198
|
+
<colgroup>
|
199
|
+
<col width="150px" class="signals_return">
|
200
|
+
<col width="300px" class="signals_name">
|
201
|
+
<col width="200px" class="signals_flags">
|
202
|
+
</colgroup>
|
203
|
+
<tbody>
|
204
|
+
<tr>
|
205
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
206
|
+
<td class="signal_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-activate-proposal" title="The “activate-proposal” signal">activate-proposal</a></td>
|
207
|
+
<td class="signal_flags">Action</td>
|
208
|
+
</tr>
|
209
|
+
<tr>
|
210
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
211
|
+
<td class="signal_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-hide" title="The “hide” signal">hide</a></td>
|
212
|
+
<td class="signal_flags">Action</td>
|
213
|
+
</tr>
|
214
|
+
<tr>
|
215
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
216
|
+
<td class="signal_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-cursor" title="The “move-cursor” signal">move-cursor</a></td>
|
217
|
+
<td class="signal_flags">Action</td>
|
218
|
+
</tr>
|
219
|
+
<tr>
|
220
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
221
|
+
<td class="signal_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title="The “move-page” signal">move-page</a></td>
|
222
|
+
<td class="signal_flags">Action</td>
|
223
|
+
</tr>
|
224
|
+
<tr>
|
225
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
226
|
+
<td class="signal_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-populate-context" title="The “populate-context” signal">populate-context</a></td>
|
227
|
+
<td class="signal_flags">Action</td>
|
228
|
+
</tr>
|
229
|
+
<tr>
|
230
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
231
|
+
<td class="signal_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-show" title="The “show” signal">show</a></td>
|
232
|
+
<td class="signal_flags">Action</td>
|
233
|
+
</tr>
|
234
|
+
</tbody>
|
235
|
+
</table></div>
|
236
|
+
</div>
|
237
|
+
<div class="refsect1">
|
238
|
+
<a name="GtkSourceCompletion.other"></a><h2>Types and Values</h2>
|
239
|
+
<div class="informaltable"><table width="100%" border="0">
|
240
|
+
<colgroup>
|
241
|
+
<col width="150px" class="name">
|
242
|
+
<col class="description">
|
243
|
+
</colgroup>
|
244
|
+
<tbody>
|
245
|
+
<tr>
|
246
|
+
<td class="datatype_keyword"> </td>
|
247
|
+
<td class="function_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-struct" title="GtkSourceCompletion">GtkSourceCompletion</a></td>
|
248
|
+
</tr>
|
249
|
+
<tr>
|
250
|
+
<td class="define_keyword">#define</td>
|
251
|
+
<td class="function_name"><a class="link" href="GtkSourceCompletion.html#GTK-SOURCE-COMPLETION-ERROR:CAPS" title="GTK_SOURCE_COMPLETION_ERROR">GTK_SOURCE_COMPLETION_ERROR</a></td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td class="datatype_keyword">enum</td>
|
255
|
+
<td class="function_name"><a class="link" href="GtkSourceCompletion.html#GtkSourceCompletionError" title="enum GtkSourceCompletionError">GtkSourceCompletionError</a></td>
|
256
|
+
</tr>
|
257
|
+
</tbody>
|
258
|
+
</table></div>
|
75
259
|
</div>
|
76
260
|
<div class="refsect1">
|
77
261
|
<a name="GtkSourceCompletion.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
78
|
-
<pre class="
|
79
|
-
|
80
|
-
+----GtkSourceCompletion
|
262
|
+
<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>
|
263
|
+
<span class="lineart">╰──</span> GtkSourceCompletion
|
81
264
|
</pre>
|
82
265
|
</div>
|
83
266
|
<div class="refsect1">
|
84
|
-
<a name="GtkSourceCompletion.
|
85
|
-
<
|
86
|
-
|
87
|
-
|
88
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--proposal-page-size" title='The "proposal-page-size" property'>proposal-page-size</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 / Construct
|
89
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--provider-page-size" title='The "provider-page-size" property'>provider-page-size</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 / Construct
|
90
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--remember-info-visibility" title='The "remember-info-visibility" property'>remember-info-visibility</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 / Construct
|
91
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--select-on-show" title='The "select-on-show" property'>select-on-show</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 / Construct
|
92
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--show-headers" title='The "show-headers" property'>show-headers</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 / Construct
|
93
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--show-icons" title='The "show-icons" property'>show-icons</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 / Construct
|
94
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--view" title='The "view" property'>view</a>" <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>* : Read / Write / Construct Only
|
95
|
-
</pre>
|
267
|
+
<a name="GtkSourceCompletion.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
268
|
+
<p>
|
269
|
+
GtkSourceCompletion implements
|
270
|
+
<a href="http://developer.gnome.org/gtk2/GtkBuildable.html">GtkBuildable</a>.</p>
|
96
271
|
</div>
|
97
272
|
<div class="refsect1">
|
98
|
-
<a name="GtkSourceCompletion.
|
99
|
-
<pre class="synopsis"
|
100
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-activate-proposal" title='The "activate-proposal" signal'>activate-proposal</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>
|
101
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-hide" title='The "hide" signal'>hide</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>
|
102
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-cursor" title='The "move-cursor" signal'>move-cursor</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>
|
103
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title='The "move-page" signal'>move-page</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>
|
104
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-populate-context" title='The "populate-context" signal'>populate-context</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>
|
105
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-show" title='The "show" signal'>show</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>
|
273
|
+
<a name="GtkSourceCompletion.includes"></a><h2>Includes</h2>
|
274
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
106
275
|
</pre>
|
107
276
|
</div>
|
108
277
|
<div class="refsect1">
|
109
278
|
<a name="GtkSourceCompletion.description"></a><h2>Description</h2>
|
110
|
-
<p>
|
111
|
-
The completion system helps the user when he writes some text, such
|
279
|
+
<p>The completion system helps the user when he writes some text, such
|
112
280
|
as words, command names, functions, and suchlike. Proposals can be
|
113
281
|
shown, to complete the text the user is writing. Each proposal can
|
114
282
|
contain an additional piece of information, that is displayed when
|
115
|
-
the "Details" button is active
|
116
|
-
|
117
|
-
<p>
|
118
|
-
Proposals are created via a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>. There can
|
283
|
+
the "Details" button is active.</p>
|
284
|
+
<p>Proposals are created via a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>. There can
|
119
285
|
be for example a provider to complete words (see
|
120
286
|
<a class="link" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords"><span class="type">GtkSourceCompletionWords</span></a>), another provider for the completion of
|
121
287
|
function's names, etc. To add a provider, call
|
122
|
-
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-add-provider" title="gtk_source_completion_add_provider
|
123
|
-
|
124
|
-
<p>
|
125
|
-
When the completion is activated, a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> object is
|
288
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-add-provider" title="gtk_source_completion_add_provider ()"><code class="function">gtk_source_completion_add_provider()</code></a>.</p>
|
289
|
+
<p>When the completion is activated, a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> object is
|
126
290
|
created. The providers are asked whether they match the context, with
|
127
|
-
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-match" title="gtk_source_completion_provider_match
|
291
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-match" title="gtk_source_completion_provider_match ()"><code class="function">gtk_source_completion_provider_match()</code></a>. If a provider doesn't match the
|
128
292
|
context, it will not be visible in the completion window. On the
|
129
293
|
other hand, if the provider matches the context, its proposals will
|
130
|
-
be displayed
|
131
|
-
|
132
|
-
<p>
|
133
|
-
When several providers match, they are all shown in the completion
|
294
|
+
be displayed.</p>
|
295
|
+
<p>When several providers match, they are all shown in the completion
|
134
296
|
window, but one can switch between providers: see the
|
135
|
-
<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title=
|
297
|
+
<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title="The “move-page” signal"><span class="type">“move-page”</span></a> signal. It is also possible to
|
136
298
|
activate the first proposals with key bindings, see the
|
137
|
-
<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--accelerators" title=
|
138
|
-
|
139
|
-
<p>
|
140
|
-
The <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> interface represents a proposal.
|
299
|
+
<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--accelerators" title="The “accelerators” property"><span class="type">“accelerators”</span></a> property.</p>
|
300
|
+
<p>The <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> interface represents a proposal.
|
141
301
|
The <a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="type">GtkSourceCompletionItem</span></a> class is a simple implementation of this
|
142
|
-
interface
|
143
|
-
|
144
|
-
<
|
145
|
-
If a proposal contains extra information (see
|
146
|
-
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-info-widget" title="gtk_source_completion_provider_get_info_widget ()"><code class="function">gtk_source_completion_provider_get_info_widget()</code></a>), it will be
|
302
|
+
interface.</p>
|
303
|
+
<p>If a proposal contains extra information (see
|
304
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-info-widget" title="gtk_source_completion_provider_get_info_widget ()"><code class="function">gtk_source_completion_provider_get_info_widget()</code></a>), it will be
|
147
305
|
displayed in a <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> window, which appears when
|
148
|
-
the "Details" button is clicked
|
149
|
-
|
150
|
-
<p>
|
151
|
-
A <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> window can also be used to display
|
306
|
+
the "Details" button is clicked.</p>
|
307
|
+
<p>A <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> window can also be used to display
|
152
308
|
calltips. When no proposals are available, it can be useful to
|
153
309
|
display extra information like a function's prototype (number of
|
154
|
-
parameters, types of parameters, etc)
|
155
|
-
|
156
|
-
<p>
|
157
|
-
Each <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> object is associated with a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>
|
310
|
+
parameters, types of parameters, etc).</p>
|
311
|
+
<p>Each <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> object is associated with a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>
|
158
312
|
instance. This instance can be obtained with
|
159
|
-
<a class="link" href="GtkSourceView.html#gtk-source-view-get-completion" title="gtk_source_view_get_completion
|
160
|
-
<a class="link" href="GtkSourceView.html#GtkSourceView-show-completion" title=
|
161
|
-
|
162
|
-
<p>
|
163
|
-
A same <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> object can be used for several
|
164
|
-
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.
|
165
|
-
</p>
|
166
|
-
</div>
|
167
|
-
<div class="refsect1">
|
168
|
-
<a name="GtkSourceCompletion.details"></a><h2>Details</h2>
|
313
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-completion" title="gtk_source_view_get_completion ()"><code class="function">gtk_source_view_get_completion()</code></a>. The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> class contains also the
|
314
|
+
<a class="link" href="GtkSourceView.html#GtkSourceView-show-completion" title="The “show-completion” signal"><span class="type">“show-completion”</span></a> signal.</p>
|
315
|
+
<p>A same <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> object can be used for several
|
316
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p>
|
169
317
|
<div class="refsect2">
|
170
|
-
<a name="
|
171
|
-
<
|
318
|
+
<a name="id-1.2.3.10.11"></a><h3>GtkSourceCompletion as GtkBuildable</h3>
|
319
|
+
<p>The GtkSourceCompletion implementation of the <a href="http://developer.gnome.org/gtk2/GtkBuildable.html"><span class="type">GtkBuildable</span></a> interface exposes
|
320
|
+
the info window object (see <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-get-info-window" title="gtk_source_completion_get_info_window ()"><code class="function">gtk_source_completion_get_info_window()</code></a>) with the
|
321
|
+
internal-child "info_window".</p>
|
322
|
+
<p>An example of a UI definition fragment with GtkSourceCompletion:</p>
|
323
|
+
<div class="informalexample">
|
324
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
325
|
+
<tbody>
|
326
|
+
<tr>
|
327
|
+
<td class="listing_lines" align="right"><pre>1
|
328
|
+
2
|
329
|
+
3
|
330
|
+
4
|
331
|
+
5
|
332
|
+
6
|
333
|
+
7
|
334
|
+
8</pre></td>
|
335
|
+
<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">"GtkSourceCompletion"</span><span class="symbol">></span>
|
336
|
+
<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>
|
337
|
+
<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">"info_window"</span><span class="symbol">></span>
|
338
|
+
<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">"GtkSourceCompletionInfo"</span><span class="symbol">></span>
|
339
|
+
<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">"border_width"</span><span class="symbol">></span><span class="number">6</span><span class="symbol"></</span><span class="normal">property</span><span class="symbol">></span>
|
340
|
+
<span class="normal"> </span><span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span>
|
341
|
+
<span class="normal"> </span><span class="symbol"></</span><span class="normal">child</span><span class="symbol">></span>
|
342
|
+
<span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span></pre></td>
|
343
|
+
</tr>
|
344
|
+
</tbody>
|
345
|
+
</table>
|
172
346
|
</div>
|
173
|
-
|
174
|
-
<
|
175
|
-
<a name="GTK-SOURCE-COMPLETION-ERROR:CAPS"></a><h3>GTK_SOURCE_COMPLETION_ERROR</h3>
|
176
|
-
<pre class="programlisting">#define GTK_SOURCE_COMPLETION_ERROR (gtk_source_completion_error_quark ())
|
177
|
-
</pre>
|
178
|
-
<p>
|
179
|
-
Error domain for the completion. Errors in this domain will be from the
|
180
|
-
<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletionError" title="enum GtkSourceCompletionError"><span class="type">GtkSourceCompletionError</span></a> enumeration. See <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for more information on
|
181
|
-
error domains.
|
182
|
-
</p>
|
347
|
+
|
348
|
+
<p></p>
|
183
349
|
</div>
|
184
|
-
<hr>
|
185
|
-
<div class="refsect2">
|
186
|
-
<a name="GtkSourceCompletionError"></a><h3>enum GtkSourceCompletionError</h3>
|
187
|
-
<pre class="programlisting">typedef enum {
|
188
|
-
GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND = 0,
|
189
|
-
GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND
|
190
|
-
} GtkSourceCompletionError;
|
191
|
-
</pre>
|
192
|
-
<p>
|
193
|
-
An error code used with <a class="link" href="GtkSourceCompletion.html#GTK-SOURCE-COMPLETION-ERROR:CAPS" title="GTK_SOURCE_COMPLETION_ERROR"><code class="literal">GTK_SOURCE_COMPLETION_ERROR</code></a> in a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> returned
|
194
|
-
from a completion-related function.
|
195
|
-
</p>
|
196
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
197
|
-
<colgroup>
|
198
|
-
<col align="left" valign="top">
|
199
|
-
<col>
|
200
|
-
</colgroup>
|
201
|
-
<tbody>
|
202
|
-
<tr>
|
203
|
-
<td><p><a name="GTK-SOURCE-COMPLETION-ERROR-ALREADY-BOUND:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND</code></span></p></td>
|
204
|
-
<td>The <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>
|
205
|
-
is already bound to the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> object.
|
206
|
-
</td>
|
207
|
-
</tr>
|
208
|
-
<tr>
|
209
|
-
<td><p><a name="GTK-SOURCE-COMPLETION-ERROR-NOT-BOUND:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND</code></span></p></td>
|
210
|
-
<td>The <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> is
|
211
|
-
not bound to the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> object.
|
212
|
-
</td>
|
213
|
-
</tr>
|
214
|
-
</tbody>
|
215
|
-
</table></div>
|
216
350
|
</div>
|
217
|
-
<
|
351
|
+
<div class="refsect1">
|
352
|
+
<a name="GtkSourceCompletion.functions_details"></a><h2>Functions</h2>
|
218
353
|
<div class="refsect2">
|
219
|
-
<a name="gtk-source-completion-add-provider"></a><h3>gtk_source_completion_add_provider
|
220
|
-
<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>
|
221
|
-
|
222
|
-
|
223
|
-
<
|
224
|
-
Add a new <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> to the completion object. This will
|
225
|
-
add a reference <em class="parameter"><code>provider</code></em
|
226
|
-
|
227
|
-
|
228
|
-
<div class="
|
354
|
+
<a name="gtk-source-completion-add-provider"></a><h3>gtk_source_completion_add_provider ()</h3>
|
355
|
+
<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>
|
356
|
+
gtk_source_completion_add_provider (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
357
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
358
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
359
|
+
<p>Add a new <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> to the completion object. This will
|
360
|
+
add a reference <em class="parameter"><code>provider</code></em>
|
361
|
+
, so make sure to unref your own copy when you
|
362
|
+
no longer need it.</p>
|
363
|
+
<div class="refsect3">
|
364
|
+
<a name="id-1.2.3.11.2.5"></a><h4>Parameters</h4>
|
365
|
+
<div class="informaltable"><table width="100%" border="0">
|
229
366
|
<colgroup>
|
230
|
-
<col
|
231
|
-
<col>
|
367
|
+
<col width="150px" class="parameters_name">
|
368
|
+
<col class="parameters_description">
|
369
|
+
<col width="200px" class="parameters_annotations">
|
232
370
|
</colgroup>
|
233
371
|
<tbody>
|
234
372
|
<tr>
|
235
|
-
<td
|
236
|
-
<td>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</td>
|
373
|
+
<td class="parameter_name"><p>completion</p></td>
|
374
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p></td>
|
375
|
+
<td class="parameter_annotations"> </td>
|
237
376
|
</tr>
|
238
377
|
<tr>
|
239
|
-
<td
|
240
|
-
<td>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</td>
|
378
|
+
<td class="parameter_name"><p>provider</p></td>
|
379
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
380
|
+
<td class="parameter_annotations"> </td>
|
241
381
|
</tr>
|
242
382
|
<tr>
|
243
|
-
<td
|
244
|
-
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.
|
245
|
-
</td>
|
246
|
-
</tr>
|
247
|
-
<tr>
|
248
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
249
|
-
<td>
|
250
|
-
<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 <em class="parameter"><code>provider</code></em> was successfully added, otherwise if <em class="parameter"><code>error</code></em>
|
251
|
-
is provided, it will be set with the error and <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> is returned.</td>
|
383
|
+
<td class="parameter_name"><p>error</p></td>
|
384
|
+
<td class="parameter_description"><p> a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. </p></td>
|
385
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
252
386
|
</tr>
|
253
387
|
</tbody>
|
254
388
|
</table></div>
|
255
389
|
</div>
|
390
|
+
<div class="refsect3">
|
391
|
+
<a name="id-1.2.3.11.2.6"></a><h4>Returns</h4>
|
392
|
+
<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 <em class="parameter"><code>provider</code></em>
|
393
|
+
was successfully added, otherwise if <em class="parameter"><code>error</code></em>
|
394
|
+
is provided, it will be set with the error and <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> is returned.</p>
|
395
|
+
<p></p>
|
396
|
+
</div>
|
397
|
+
</div>
|
256
398
|
<hr>
|
257
399
|
<div class="refsect2">
|
258
|
-
<a name="gtk-source-completion-remove-provider"></a><h3>gtk_source_completion_remove_provider
|
259
|
-
<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>
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
<p>
|
264
|
-
|
265
|
-
|
266
|
-
<
|
400
|
+
<a name="gtk-source-completion-remove-provider"></a><h3>gtk_source_completion_remove_provider ()</h3>
|
401
|
+
<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>
|
402
|
+
gtk_source_completion_remove_provider (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
403
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
404
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
405
|
+
<p>Remove <em class="parameter"><code>provider</code></em>
|
406
|
+
from the completion.</p>
|
407
|
+
<div class="refsect3">
|
408
|
+
<a name="id-1.2.3.11.3.5"></a><h4>Parameters</h4>
|
409
|
+
<div class="informaltable"><table width="100%" border="0">
|
267
410
|
<colgroup>
|
268
|
-
<col
|
269
|
-
<col>
|
411
|
+
<col width="150px" class="parameters_name">
|
412
|
+
<col class="parameters_description">
|
413
|
+
<col width="200px" class="parameters_annotations">
|
270
414
|
</colgroup>
|
271
415
|
<tbody>
|
272
416
|
<tr>
|
273
|
-
<td
|
274
|
-
<td>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</td>
|
417
|
+
<td class="parameter_name"><p>completion</p></td>
|
418
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p></td>
|
419
|
+
<td class="parameter_annotations"> </td>
|
275
420
|
</tr>
|
276
421
|
<tr>
|
277
|
-
<td
|
278
|
-
<td>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</td>
|
422
|
+
<td class="parameter_name"><p>provider</p></td>
|
423
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
424
|
+
<td class="parameter_annotations"> </td>
|
279
425
|
</tr>
|
280
426
|
<tr>
|
281
|
-
<td
|
282
|
-
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.
|
283
|
-
</td>
|
284
|
-
</tr>
|
285
|
-
<tr>
|
286
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
287
|
-
<td>
|
288
|
-
<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 <em class="parameter"><code>provider</code></em> was successfully removed, otherwise if <em class="parameter"><code>error</code></em>
|
289
|
-
is provided, it will be set with the error and <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> is returned.</td>
|
427
|
+
<td class="parameter_name"><p>error</p></td>
|
428
|
+
<td class="parameter_description"><p> a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. </p></td>
|
429
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
290
430
|
</tr>
|
291
431
|
</tbody>
|
292
432
|
</table></div>
|
293
433
|
</div>
|
434
|
+
<div class="refsect3">
|
435
|
+
<a name="id-1.2.3.11.3.6"></a><h4>Returns</h4>
|
436
|
+
<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 <em class="parameter"><code>provider</code></em>
|
437
|
+
was successfully removed, otherwise if <em class="parameter"><code>error</code></em>
|
438
|
+
is provided, it will be set with the error and <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> is returned.</p>
|
439
|
+
<p></p>
|
440
|
+
</div>
|
441
|
+
</div>
|
294
442
|
<hr>
|
295
443
|
<div class="refsect2">
|
296
|
-
<a name="gtk-source-completion-get-providers"></a><h3>gtk_source_completion_get_providers
|
297
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a>
|
298
|
-
<
|
299
|
-
Get list of providers registered on <em class="parameter"><code>completion</code></em
|
300
|
-
|
301
|
-
|
302
|
-
<div class="
|
444
|
+
<a name="gtk-source-completion-get-providers"></a><h3>gtk_source_completion_get_providers ()</h3>
|
445
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
446
|
+
gtk_source_completion_get_providers (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);</pre>
|
447
|
+
<p>Get list of providers registered on <em class="parameter"><code>completion</code></em>
|
448
|
+
. The returned list is owned
|
449
|
+
by the completion and should not be freed.</p>
|
450
|
+
<div class="refsect3">
|
451
|
+
<a name="id-1.2.3.11.4.5"></a><h4>Parameters</h4>
|
452
|
+
<div class="informaltable"><table width="100%" border="0">
|
303
453
|
<colgroup>
|
304
|
-
<col
|
305
|
-
<col>
|
454
|
+
<col width="150px" class="parameters_name">
|
455
|
+
<col class="parameters_description">
|
456
|
+
<col width="200px" class="parameters_annotations">
|
306
457
|
</colgroup>
|
307
|
-
<tbody>
|
308
|
-
<
|
309
|
-
<td><p
|
310
|
-
<td
|
311
|
-
</tr>
|
312
|
-
<tr>
|
313
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
314
|
-
<td>list of <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.CompletionProvider][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
315
|
-
</td>
|
316
|
-
</tr>
|
317
|
-
</tbody>
|
458
|
+
<tbody><tr>
|
459
|
+
<td class="parameter_name"><p>completion</p></td>
|
460
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p></td>
|
461
|
+
<td class="parameter_annotations"> </td>
|
462
|
+
</tr></tbody>
|
318
463
|
</table></div>
|
319
464
|
</div>
|
465
|
+
<div class="refsect3">
|
466
|
+
<a name="id-1.2.3.11.4.6"></a><h4>Returns</h4>
|
467
|
+
<p>list of <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>. </p>
|
468
|
+
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.CompletionProvider][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
469
|
+
</div>
|
470
|
+
</div>
|
320
471
|
<hr>
|
321
472
|
<div class="refsect2">
|
322
|
-
<a name="gtk-source-completion-show"></a><h3>gtk_source_completion_show
|
323
|
-
<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>
|
324
|
-
|
325
|
-
|
326
|
-
<
|
327
|
-
Starts a new completion with the specified <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> and
|
328
|
-
a list of potential candidate providers for completion
|
329
|
-
|
330
|
-
<p>
|
331
|
-
|
332
|
-
|
333
|
-
</p>
|
334
|
-
<
|
335
|
-
|
336
|
-
<
|
337
|
-
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-match" title="gtk_source_completion_provider_match ()"><code class="function">gtk_source_completion_provider_match()</code></a> for each provider.
|
338
|
-
</p>
|
339
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
473
|
+
<a name="gtk-source-completion-show"></a><h3>gtk_source_completion_show ()</h3>
|
474
|
+
<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>
|
475
|
+
gtk_source_completion_show (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
476
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *providers</code></em>,
|
477
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);</pre>
|
478
|
+
<p>Starts a new completion with the specified <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> and
|
479
|
+
a list of potential candidate providers for completion.</p>
|
480
|
+
<p>It can be convenient for showing a completion on-the-fly, without the need to
|
481
|
+
add or remove providers to the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p>
|
482
|
+
<p>Another solution is to add providers with
|
483
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-add-provider" title="gtk_source_completion_add_provider ()"><code class="function">gtk_source_completion_add_provider()</code></a>, and implement
|
484
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-match" title="gtk_source_completion_provider_match ()"><code class="function">gtk_source_completion_provider_match()</code></a> for each provider.</p>
|
485
|
+
<div class="refsect3">
|
486
|
+
<a name="id-1.2.3.11.5.7"></a><h4>Parameters</h4>
|
487
|
+
<div class="informaltable"><table width="100%" border="0">
|
340
488
|
<colgroup>
|
341
|
-
<col
|
342
|
-
<col>
|
489
|
+
<col width="150px" class="parameters_name">
|
490
|
+
<col class="parameters_description">
|
491
|
+
<col width="200px" class="parameters_annotations">
|
343
492
|
</colgroup>
|
344
493
|
<tbody>
|
345
494
|
<tr>
|
346
|
-
<td
|
347
|
-
<td>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</td>
|
495
|
+
<td class="parameter_name"><p>completion</p></td>
|
496
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p></td>
|
497
|
+
<td class="parameter_annotations"> </td>
|
348
498
|
</tr>
|
349
499
|
<tr>
|
350
|
-
<td
|
351
|
-
<td>a list of <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
352
|
-
</td>
|
500
|
+
<td class="parameter_name"><p>providers</p></td>
|
501
|
+
<td class="parameter_description"><p>a list of <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
502
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.CompletionProvider][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
353
503
|
</tr>
|
354
504
|
<tr>
|
355
|
-
<td
|
356
|
-
<td>The <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>
|
357
|
-
with which to start the completion.
|
358
|
-
</td>
|
359
|
-
</tr>
|
360
|
-
<tr>
|
361
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
362
|
-
<td>
|
363
|
-
<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 it was possible to the show completion window.</td>
|
505
|
+
<td class="parameter_name"><p>context</p></td>
|
506
|
+
<td class="parameter_description"><p> The <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>
|
507
|
+
with which to start the completion. </p></td>
|
508
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Alias for transfer none, used for objects with floating refs."><span class="acronym">transfer floating</span></acronym>]</span></td>
|
364
509
|
</tr>
|
365
510
|
</tbody>
|
366
511
|
</table></div>
|
367
512
|
</div>
|
513
|
+
<div class="refsect3">
|
514
|
+
<a name="id-1.2.3.11.5.8"></a><h4>Returns</h4>
|
515
|
+
<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 it was possible to the show completion window.</p>
|
516
|
+
<p></p>
|
517
|
+
</div>
|
518
|
+
</div>
|
368
519
|
<hr>
|
369
520
|
<div class="refsect2">
|
370
|
-
<a name="gtk-source-completion-hide"></a><h3>gtk_source_completion_hide
|
371
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
372
|
-
<
|
373
|
-
Hides the completion if it is active (visible)
|
374
|
-
|
375
|
-
<
|
521
|
+
<a name="gtk-source-completion-hide"></a><h3>gtk_source_completion_hide ()</h3>
|
522
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
523
|
+
gtk_source_completion_hide (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);</pre>
|
524
|
+
<p>Hides the completion if it is active (visible).</p>
|
525
|
+
<div class="refsect3">
|
526
|
+
<a name="id-1.2.3.11.6.5"></a><h4>Parameters</h4>
|
527
|
+
<div class="informaltable"><table width="100%" border="0">
|
376
528
|
<colgroup>
|
377
|
-
<col
|
378
|
-
<col>
|
529
|
+
<col width="150px" class="parameters_name">
|
530
|
+
<col class="parameters_description">
|
531
|
+
<col width="200px" class="parameters_annotations">
|
379
532
|
</colgroup>
|
380
533
|
<tbody><tr>
|
381
|
-
<td
|
382
|
-
<td>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</td>
|
534
|
+
<td class="parameter_name"><p>completion</p></td>
|
535
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p></td>
|
536
|
+
<td class="parameter_annotations"> </td>
|
383
537
|
</tr></tbody>
|
384
538
|
</table></div>
|
385
539
|
</div>
|
540
|
+
</div>
|
386
541
|
<hr>
|
387
542
|
<div class="refsect2">
|
388
|
-
<a name="gtk-source-completion-get-info-window"></a><h3>gtk_source_completion_get_info_window
|
389
|
-
<pre class="programlisting"><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="returnvalue">GtkSourceCompletionInfo</span></a>
|
390
|
-
|
391
|
-
<p>
|
392
|
-
|
393
|
-
|
394
|
-
</
|
395
|
-
<div class="
|
543
|
+
<a name="gtk-source-completion-get-info-window"></a><h3>gtk_source_completion_get_info_window ()</h3>
|
544
|
+
<pre class="programlisting"><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="returnvalue">GtkSourceCompletionInfo</span></a> *
|
545
|
+
gtk_source_completion_get_info_window (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);</pre>
|
546
|
+
<p>The info widget is the window where the completion displays optional extra
|
547
|
+
information of the proposal.</p>
|
548
|
+
<div class="refsect3">
|
549
|
+
<a name="id-1.2.3.11.7.5"></a><h4>Parameters</h4>
|
550
|
+
<div class="informaltable"><table width="100%" border="0">
|
396
551
|
<colgroup>
|
397
|
-
<col
|
398
|
-
<col>
|
552
|
+
<col width="150px" class="parameters_name">
|
553
|
+
<col class="parameters_description">
|
554
|
+
<col width="200px" class="parameters_annotations">
|
399
555
|
</colgroup>
|
400
|
-
<tbody>
|
401
|
-
<
|
402
|
-
<td><p
|
403
|
-
<td
|
404
|
-
</tr>
|
405
|
-
<tr>
|
406
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
407
|
-
<td>The <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> window
|
408
|
-
associated with <em class="parameter"><code>completion</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
409
|
-
</td>
|
410
|
-
</tr>
|
411
|
-
</tbody>
|
556
|
+
<tbody><tr>
|
557
|
+
<td class="parameter_name"><p>completion</p></td>
|
558
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p></td>
|
559
|
+
<td class="parameter_annotations"> </td>
|
560
|
+
</tr></tbody>
|
412
561
|
</table></div>
|
413
562
|
</div>
|
563
|
+
<div class="refsect3">
|
564
|
+
<a name="id-1.2.3.11.7.6"></a><h4>Returns</h4>
|
565
|
+
<p> The <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> window
|
566
|
+
associated with <em class="parameter"><code>completion</code></em>
|
567
|
+
. </p>
|
568
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
569
|
+
</div>
|
570
|
+
</div>
|
414
571
|
<hr>
|
415
572
|
<div class="refsect2">
|
416
|
-
<a name="gtk-source-completion-get-view"></a><h3>gtk_source_completion_get_view
|
417
|
-
<pre class="programlisting"><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a>
|
418
|
-
<
|
419
|
-
The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> associated with <em class="parameter"><code>completion</code></em
|
420
|
-
|
421
|
-
<div class="
|
573
|
+
<a name="gtk-source-completion-get-view"></a><h3>gtk_source_completion_get_view ()</h3>
|
574
|
+
<pre class="programlisting"><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *
|
575
|
+
gtk_source_completion_get_view (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);</pre>
|
576
|
+
<p>The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> associated with <em class="parameter"><code>completion</code></em>
|
577
|
+
.</p>
|
578
|
+
<div class="refsect3">
|
579
|
+
<a name="id-1.2.3.11.8.5"></a><h4>Parameters</h4>
|
580
|
+
<div class="informaltable"><table width="100%" border="0">
|
422
581
|
<colgroup>
|
423
|
-
<col
|
424
|
-
<col>
|
582
|
+
<col width="150px" class="parameters_name">
|
583
|
+
<col class="parameters_description">
|
584
|
+
<col width="200px" class="parameters_annotations">
|
425
585
|
</colgroup>
|
426
|
-
<tbody>
|
427
|
-
<
|
428
|
-
<td><p
|
429
|
-
<td
|
430
|
-
</tr>
|
431
|
-
<tr>
|
432
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
433
|
-
<td>The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> associated with <em class="parameter"><code>completion</code></em>. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GtkSource.View][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
434
|
-
</td>
|
435
|
-
</tr>
|
436
|
-
</tbody>
|
586
|
+
<tbody><tr>
|
587
|
+
<td class="parameter_name"><p>completion</p></td>
|
588
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p></td>
|
589
|
+
<td class="parameter_annotations"> </td>
|
590
|
+
</tr></tbody>
|
437
591
|
</table></div>
|
438
592
|
</div>
|
593
|
+
<div class="refsect3">
|
594
|
+
<a name="id-1.2.3.11.8.6"></a><h4>Returns</h4>
|
595
|
+
<p>The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> associated with <em class="parameter"><code>completion</code></em>
|
596
|
+
. </p>
|
597
|
+
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GtkSource.View][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
598
|
+
</div>
|
599
|
+
</div>
|
439
600
|
<hr>
|
440
601
|
<div class="refsect2">
|
441
|
-
<a name="gtk-source-completion-create-context"></a><h3>gtk_source_completion_create_context
|
442
|
-
<pre class="programlisting"><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="returnvalue">GtkSourceCompletionContext</span></a>
|
443
|
-
|
444
|
-
|
445
|
-
<p>
|
446
|
-
|
447
|
-
the completion occurs can be specified by <em class="parameter"><code>position</code></em
|
448
|
-
|
449
|
-
</
|
450
|
-
|
602
|
+
<a name="gtk-source-completion-create-context"></a><h3>gtk_source_completion_create_context ()</h3>
|
603
|
+
<pre class="programlisting"><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="returnvalue">GtkSourceCompletionContext</span></a> *
|
604
|
+
gtk_source_completion_create_context (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
605
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *position</code></em>);</pre>
|
606
|
+
<p>Create a new <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> for <em class="parameter"><code>completion</code></em>
|
607
|
+
. The position where
|
608
|
+
the completion occurs can be specified by <em class="parameter"><code>position</code></em>
|
609
|
+
. If <em class="parameter"><code>position</code></em>
|
610
|
+
is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
611
|
+
the current cursor position will be used.</p>
|
612
|
+
<div class="refsect3">
|
613
|
+
<a name="id-1.2.3.11.9.5"></a><h4>Parameters</h4>
|
614
|
+
<div class="informaltable"><table width="100%" border="0">
|
451
615
|
<colgroup>
|
452
|
-
<col
|
453
|
-
<col>
|
616
|
+
<col width="150px" class="parameters_name">
|
617
|
+
<col class="parameters_description">
|
618
|
+
<col width="200px" class="parameters_annotations">
|
454
619
|
</colgroup>
|
455
620
|
<tbody>
|
456
621
|
<tr>
|
457
|
-
<td
|
458
|
-
<td>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</td>
|
459
|
-
</
|
460
|
-
<tr>
|
461
|
-
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
462
|
-
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
463
|
-
</td>
|
622
|
+
<td class="parameter_name"><p>completion</p></td>
|
623
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p></td>
|
624
|
+
<td class="parameter_annotations"> </td>
|
464
625
|
</tr>
|
465
626
|
<tr>
|
466
|
-
<td
|
467
|
-
<td>a
|
468
|
-
|
469
|
-
so if you invoke <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-show" title="gtk_source_completion_show ()"><code class="function">gtk_source_completion_show()</code></a> with this context
|
470
|
-
you don't need to unref it. <span class="annotation">[<acronym title="Alias for transfer none, used for objects with floating refs."><span class="acronym">transfer floating</span></acronym>]</span>
|
471
|
-
</td>
|
627
|
+
<td class="parameter_name"><p>position</p></td>
|
628
|
+
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
629
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
472
630
|
</tr>
|
473
631
|
</tbody>
|
474
632
|
</table></div>
|
475
633
|
</div>
|
634
|
+
<div class="refsect3">
|
635
|
+
<a name="id-1.2.3.11.9.6"></a><h4>Returns</h4>
|
636
|
+
<p> a new <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.
|
637
|
+
The reference being returned is a 'floating' reference,
|
638
|
+
so if you invoke <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-show" title="gtk_source_completion_show ()"><code class="function">gtk_source_completion_show()</code></a> with this context
|
639
|
+
you don't need to unref it. </p>
|
640
|
+
<p><span class="annotation">[<acronym title="Alias for transfer none, used for objects with floating refs."><span class="acronym">transfer floating</span></acronym>]</span></p>
|
641
|
+
</div>
|
642
|
+
</div>
|
476
643
|
<hr>
|
477
644
|
<div class="refsect2">
|
478
|
-
<a name="gtk-source-completion-move-window"></a><h3>gtk_source_completion_move_window
|
479
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
480
|
-
|
645
|
+
<a name="gtk-source-completion-move-window"></a><h3>gtk_source_completion_move_window ()</h3>
|
646
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
647
|
+
gtk_source_completion_move_window (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
648
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
481
649
|
<div class="warning">
|
482
|
-
<
|
483
|
-
<p
|
650
|
+
<p><code class="literal">gtk_source_completion_move_window</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
|
651
|
+
<p>Use <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-start-iter" title="gtk_source_completion_provider_get_start_iter ()"><code class="function">gtk_source_completion_provider_get_start_iter()</code></a> instead.</p>
|
484
652
|
</div>
|
485
|
-
<p>
|
486
|
-
|
487
|
-
</
|
488
|
-
<div class="
|
653
|
+
<p>Move the completion window to a specific iter.</p>
|
654
|
+
<div class="refsect3">
|
655
|
+
<a name="id-1.2.3.11.10.6"></a><h4>Parameters</h4>
|
656
|
+
<div class="informaltable"><table width="100%" border="0">
|
489
657
|
<colgroup>
|
490
|
-
<col
|
491
|
-
<col>
|
658
|
+
<col width="150px" class="parameters_name">
|
659
|
+
<col class="parameters_description">
|
660
|
+
<col width="200px" class="parameters_annotations">
|
492
661
|
</colgroup>
|
493
662
|
<tbody>
|
494
663
|
<tr>
|
495
|
-
<td
|
496
|
-
<td>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</td>
|
664
|
+
<td class="parameter_name"><p>completion</p></td>
|
665
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p></td>
|
666
|
+
<td class="parameter_annotations"> </td>
|
497
667
|
</tr>
|
498
668
|
<tr>
|
499
|
-
<td
|
500
|
-
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</td>
|
669
|
+
<td class="parameter_name"><p>iter</p></td>
|
670
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
671
|
+
<td class="parameter_annotations"> </td>
|
501
672
|
</tr>
|
502
673
|
</tbody>
|
503
674
|
</table></div>
|
504
675
|
</div>
|
676
|
+
</div>
|
505
677
|
<hr>
|
506
678
|
<div class="refsect2">
|
507
|
-
<a name="gtk-source-completion-block-interactive"></a><h3>gtk_source_completion_block_interactive
|
508
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
509
|
-
|
510
|
-
<
|
511
|
-
Block interactive completion. This can be used to disable interactive
|
679
|
+
<a name="gtk-source-completion-block-interactive"></a><h3>gtk_source_completion_block_interactive ()</h3>
|
680
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
681
|
+
gtk_source_completion_block_interactive
|
682
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);</pre>
|
683
|
+
<p>Block interactive completion. This can be used to disable interactive
|
512
684
|
completion when inserting or deleting text from the buffer associated with
|
513
|
-
the completion. Use <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-unblock-interactive" title="gtk_source_completion_unblock_interactive
|
514
|
-
interactive completion again
|
515
|
-
|
516
|
-
<
|
685
|
+
the completion. Use <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-unblock-interactive" title="gtk_source_completion_unblock_interactive ()"><code class="function">gtk_source_completion_unblock_interactive()</code></a> to enable
|
686
|
+
interactive completion again.</p>
|
687
|
+
<p>This function may be called multiple times. It will continue to block
|
688
|
+
interactive completion until <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-unblock-interactive" title="gtk_source_completion_unblock_interactive ()"><code class="function">gtk_source_completion_unblock_interactive()</code></a>
|
689
|
+
has been called the same number of times.</p>
|
690
|
+
<div class="refsect3">
|
691
|
+
<a name="id-1.2.3.11.11.6"></a><h4>Parameters</h4>
|
692
|
+
<div class="informaltable"><table width="100%" border="0">
|
517
693
|
<colgroup>
|
518
|
-
<col
|
519
|
-
<col>
|
694
|
+
<col width="150px" class="parameters_name">
|
695
|
+
<col class="parameters_description">
|
696
|
+
<col width="200px" class="parameters_annotations">
|
520
697
|
</colgroup>
|
521
698
|
<tbody><tr>
|
522
|
-
<td
|
523
|
-
<td>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</td>
|
699
|
+
<td class="parameter_name"><p>completion</p></td>
|
700
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p></td>
|
701
|
+
<td class="parameter_annotations"> </td>
|
524
702
|
</tr></tbody>
|
525
703
|
</table></div>
|
526
704
|
</div>
|
705
|
+
</div>
|
527
706
|
<hr>
|
528
707
|
<div class="refsect2">
|
529
|
-
<a name="gtk-source-completion-unblock-interactive"></a><h3>gtk_source_completion_unblock_interactive
|
530
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
531
|
-
|
532
|
-
<
|
533
|
-
Unblock interactive completion. This can be used after using
|
534
|
-
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-block-interactive" title="gtk_source_completion_block_interactive
|
535
|
-
again
|
536
|
-
|
537
|
-
<
|
708
|
+
<a name="gtk-source-completion-unblock-interactive"></a><h3>gtk_source_completion_unblock_interactive ()</h3>
|
709
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
710
|
+
gtk_source_completion_unblock_interactive
|
711
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);</pre>
|
712
|
+
<p>Unblock interactive completion. This can be used after using
|
713
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-block-interactive" title="gtk_source_completion_block_interactive ()"><code class="function">gtk_source_completion_block_interactive()</code></a> to enable interactive completion
|
714
|
+
again.</p>
|
715
|
+
<div class="refsect3">
|
716
|
+
<a name="id-1.2.3.11.12.5"></a><h4>Parameters</h4>
|
717
|
+
<div class="informaltable"><table width="100%" border="0">
|
538
718
|
<colgroup>
|
539
|
-
<col
|
540
|
-
<col>
|
719
|
+
<col width="150px" class="parameters_name">
|
720
|
+
<col class="parameters_description">
|
721
|
+
<col width="200px" class="parameters_annotations">
|
541
722
|
</colgroup>
|
542
723
|
<tbody><tr>
|
543
|
-
<td
|
544
|
-
<td>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</td>
|
724
|
+
<td class="parameter_name"><p>completion</p></td>
|
725
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p></td>
|
726
|
+
<td class="parameter_annotations"> </td>
|
545
727
|
</tr></tbody>
|
546
728
|
</table></div>
|
547
729
|
</div>
|
548
730
|
</div>
|
731
|
+
</div>
|
732
|
+
<div class="refsect1">
|
733
|
+
<a name="GtkSourceCompletion.other_details"></a><h2>Types and Values</h2>
|
734
|
+
<div class="refsect2">
|
735
|
+
<a name="GtkSourceCompletion-struct"></a><h3>GtkSourceCompletion</h3>
|
736
|
+
<pre class="programlisting">typedef struct _GtkSourceCompletion GtkSourceCompletion;</pre>
|
737
|
+
</div>
|
738
|
+
<hr>
|
739
|
+
<div class="refsect2">
|
740
|
+
<a name="GTK-SOURCE-COMPLETION-ERROR:CAPS"></a><h3>GTK_SOURCE_COMPLETION_ERROR</h3>
|
741
|
+
<pre class="programlisting">#define GTK_SOURCE_COMPLETION_ERROR (gtk_source_completion_error_quark ())
|
742
|
+
</pre>
|
743
|
+
<p>Error domain for the completion. Errors in this domain will be from the
|
744
|
+
<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletionError" title="enum GtkSourceCompletionError"><span class="type">GtkSourceCompletionError</span></a> enumeration. See <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for more information on
|
745
|
+
error domains.</p>
|
746
|
+
</div>
|
747
|
+
<hr>
|
748
|
+
<div class="refsect2">
|
749
|
+
<a name="GtkSourceCompletionError"></a><h3>enum GtkSourceCompletionError</h3>
|
750
|
+
<p>An error code used with <a class="link" href="GtkSourceCompletion.html#GTK-SOURCE-COMPLETION-ERROR:CAPS" title="GTK_SOURCE_COMPLETION_ERROR"><code class="literal">GTK_SOURCE_COMPLETION_ERROR</code></a> in a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> returned
|
751
|
+
from a completion-related function.</p>
|
752
|
+
<div class="refsect3">
|
753
|
+
<a name="id-1.2.3.12.4.4"></a><h4>Members</h4>
|
754
|
+
<div class="informaltable"><table width="100%" border="0">
|
755
|
+
<colgroup>
|
756
|
+
<col width="300px" class="enum_members_name">
|
757
|
+
<col class="enum_members_description">
|
758
|
+
<col width="200px" class="enum_members_annotations">
|
759
|
+
</colgroup>
|
760
|
+
<tbody>
|
761
|
+
<tr>
|
762
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ERROR-ALREADY-BOUND:CAPS"></a>GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND</p></td>
|
763
|
+
<td class="enum_member_description">
|
764
|
+
<p>The <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>
|
765
|
+
is already bound to the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> object.</p>
|
766
|
+
</td>
|
767
|
+
<td class="enum_member_annotations"> </td>
|
768
|
+
</tr>
|
769
|
+
<tr>
|
770
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ERROR-NOT-BOUND:CAPS"></a>GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND</p></td>
|
771
|
+
<td class="enum_member_description">
|
772
|
+
<p>The <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> is
|
773
|
+
not bound to the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> object.</p>
|
774
|
+
</td>
|
775
|
+
<td class="enum_member_annotations"> </td>
|
776
|
+
</tr>
|
777
|
+
</tbody>
|
778
|
+
</table></div>
|
779
|
+
</div>
|
780
|
+
</div>
|
781
|
+
</div>
|
549
782
|
<div class="refsect1">
|
550
783
|
<a name="GtkSourceCompletion.property-details"></a><h2>Property Details</h2>
|
551
784
|
<div class="refsect2">
|
552
|
-
<a name="GtkSourceCompletion--accelerators"></a><h3>The <code class="literal"
|
553
|
-
<pre class="programlisting">
|
554
|
-
<p>
|
555
|
-
|
556
|
-
example, to activate the first proposal, the user can press
|
785
|
+
<a name="GtkSourceCompletion--accelerators"></a><h3>The <code class="literal">“accelerators”</code> property</h3>
|
786
|
+
<pre class="programlisting"> “accelerators” <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>
|
787
|
+
<p>Number of keyboard accelerators to show for the first proposals. For
|
788
|
+
example, to activate the first proposal, the user can press</p>
|
557
789
|
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>1</strong></span>.
|
558
|
-
</p>
|
790
|
+
<p>Flags: Read / Write / Construct</p>
|
559
791
|
<p>Allowed values: <= 10</p>
|
560
792
|
<p>Default value: 5</p>
|
561
793
|
</div>
|
562
794
|
<hr>
|
563
795
|
<div class="refsect2">
|
564
|
-
<a name="GtkSourceCompletion--auto-complete-delay"></a><h3>The <code class="literal"
|
565
|
-
<pre class="programlisting">
|
566
|
-
<p>
|
567
|
-
|
568
|
-
|
569
|
-
</p>
|
796
|
+
<a name="GtkSourceCompletion--auto-complete-delay"></a><h3>The <code class="literal">“auto-complete-delay”</code> property</h3>
|
797
|
+
<pre class="programlisting"> “auto-complete-delay” <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>
|
798
|
+
<p>Determines the popup delay (in milliseconds) at which the completion
|
799
|
+
will be shown for interactive completion.</p>
|
800
|
+
<p>Flags: Read / Write / Construct</p>
|
570
801
|
<p>Default value: 250</p>
|
571
802
|
</div>
|
572
803
|
<hr>
|
573
804
|
<div class="refsect2">
|
574
|
-
<a name="GtkSourceCompletion--proposal-page-size"></a><h3>The <code class="literal"
|
575
|
-
<pre class="programlisting">
|
576
|
-
<p>
|
577
|
-
|
578
|
-
other words, when <span class="keycap"><strong>PageDown</strong></span> or
|
805
|
+
<a name="GtkSourceCompletion--proposal-page-size"></a><h3>The <code class="literal">“proposal-page-size”</code> property</h3>
|
806
|
+
<pre class="programlisting"> “proposal-page-size” <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>
|
807
|
+
<p>The scroll page size of the proposals in the completion window. In
|
808
|
+
other words, when <span class="keycap"><strong>PageDown</strong></span> or</p>
|
579
809
|
<span class="keycap"><strong>PageUp</strong></span> is pressed, the selected
|
580
|
-
proposal becomes the one which is located one page size backward or
|
581
|
-
forward
|
582
|
-
|
583
|
-
<p>
|
584
|
-
See also the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-cursor" title='The "move-cursor" signal'><span class="type">"move-cursor"</span></a> signal.
|
585
|
-
</p>
|
810
|
+
<p>proposal becomes the one which is located one page size backward or
|
811
|
+
forward.</p>
|
812
|
+
<p>See also the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-cursor" title="The “move-cursor” signal"><span class="type">“move-cursor”</span></a> signal.</p>
|
813
|
+
<p>Flags: Read / Write / Construct</p>
|
586
814
|
<p>Allowed values: >= 1</p>
|
587
815
|
<p>Default value: 5</p>
|
588
816
|
</div>
|
589
817
|
<hr>
|
590
818
|
<div class="refsect2">
|
591
|
-
<a name="GtkSourceCompletion--provider-page-size"></a><h3>The <code class="literal"
|
592
|
-
<pre class="programlisting">
|
593
|
-
<p>
|
594
|
-
|
595
|
-
</p>
|
596
|
-
<p>
|
597
|
-
See the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title='The "move-page" signal'><span class="type">"move-page"</span></a> signal.
|
598
|
-
</p>
|
819
|
+
<a name="GtkSourceCompletion--provider-page-size"></a><h3>The <code class="literal">“provider-page-size”</code> property</h3>
|
820
|
+
<pre class="programlisting"> “provider-page-size” <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>
|
821
|
+
<p>The scroll page size of the provider pages in the completion window.</p>
|
822
|
+
<p>See the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title="The “move-page” signal"><span class="type">“move-page”</span></a> signal.</p>
|
823
|
+
<p>Flags: Read / Write / Construct</p>
|
599
824
|
<p>Allowed values: >= 1</p>
|
600
825
|
<p>Default value: 5</p>
|
601
826
|
</div>
|
602
827
|
<hr>
|
603
828
|
<div class="refsect2">
|
604
|
-
<a name="GtkSourceCompletion--remember-info-visibility"></a><h3>The <code class="literal"
|
605
|
-
<pre class="programlisting">
|
606
|
-
<p>
|
607
|
-
Determines whether the visibility of the info window should be
|
829
|
+
<a name="GtkSourceCompletion--remember-info-visibility"></a><h3>The <code class="literal">“remember-info-visibility”</code> property</h3>
|
830
|
+
<pre class="programlisting"> “remember-info-visibility” <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>
|
831
|
+
<p>Determines whether the visibility of the info window should be
|
608
832
|
saved when the completion is hidden, and restored when the completion
|
609
|
-
is shown again
|
610
|
-
</p>
|
833
|
+
is shown again.</p>
|
834
|
+
<p>Flags: Read / Write / Construct</p>
|
611
835
|
<p>Default value: FALSE</p>
|
612
836
|
</div>
|
613
837
|
<hr>
|
614
838
|
<div class="refsect2">
|
615
|
-
<a name="GtkSourceCompletion--select-on-show"></a><h3>The <code class="literal"
|
616
|
-
<pre class="programlisting">
|
617
|
-
<p>
|
618
|
-
|
619
|
-
|
620
|
-
</p>
|
839
|
+
<a name="GtkSourceCompletion--select-on-show"></a><h3>The <code class="literal">“select-on-show”</code> property</h3>
|
840
|
+
<pre class="programlisting"> “select-on-show” <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>
|
841
|
+
<p>Determines whether the first proposal should be selected when the
|
842
|
+
completion is first shown.</p>
|
843
|
+
<p>Flags: Read / Write / Construct</p>
|
621
844
|
<p>Default value: TRUE</p>
|
622
845
|
</div>
|
623
846
|
<hr>
|
624
847
|
<div class="refsect2">
|
625
|
-
<a name="GtkSourceCompletion--show-headers"></a><h3>The <code class="literal"
|
626
|
-
<pre class="programlisting">
|
627
|
-
<p>
|
628
|
-
|
629
|
-
|
630
|
-
</p>
|
848
|
+
<a name="GtkSourceCompletion--show-headers"></a><h3>The <code class="literal">“show-headers”</code> property</h3>
|
849
|
+
<pre class="programlisting"> “show-headers” <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>
|
850
|
+
<p>Determines whether provider headers should be shown in the proposal
|
851
|
+
list. It can be useful to disable when there is only one provider.</p>
|
852
|
+
<p>Flags: Read / Write / Construct</p>
|
631
853
|
<p>Default value: TRUE</p>
|
632
854
|
</div>
|
633
855
|
<hr>
|
634
856
|
<div class="refsect2">
|
635
|
-
<a name="GtkSourceCompletion--show-icons"></a><h3>The <code class="literal"
|
636
|
-
<pre class="programlisting">
|
637
|
-
<p>
|
638
|
-
|
639
|
-
|
640
|
-
</p>
|
857
|
+
<a name="GtkSourceCompletion--show-icons"></a><h3>The <code class="literal">“show-icons”</code> property</h3>
|
858
|
+
<pre class="programlisting"> “show-icons” <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>
|
859
|
+
<p>Determines whether provider and proposal icons should be shown in
|
860
|
+
the completion popup.</p>
|
861
|
+
<p>Flags: Read / Write / Construct</p>
|
641
862
|
<p>Default value: TRUE</p>
|
642
863
|
</div>
|
643
864
|
<hr>
|
644
865
|
<div class="refsect2">
|
645
|
-
<a name="GtkSourceCompletion--view"></a><h3>The <code class="literal"
|
646
|
-
<pre class="programlisting">
|
647
|
-
<p>
|
648
|
-
|
649
|
-
</p>
|
866
|
+
<a name="GtkSourceCompletion--view"></a><h3>The <code class="literal">“view”</code> property</h3>
|
867
|
+
<pre class="programlisting"> “view” <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *</pre>
|
868
|
+
<p>The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> bound to the completion object.</p>
|
869
|
+
<p>Flags: Read / Write / Construct Only</p>
|
650
870
|
</div>
|
651
871
|
</div>
|
652
872
|
<div class="refsect1">
|
653
873
|
<a name="GtkSourceCompletion.signal-details"></a><h2>Signal Details</h2>
|
654
874
|
<div class="refsect2">
|
655
|
-
<a name="GtkSourceCompletion-activate-proposal"></a><h3>The <code class="literal"
|
656
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
657
|
-
|
658
|
-
<
|
659
|
-
The <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-activate-proposal" title=
|
875
|
+
<a name="GtkSourceCompletion-activate-proposal"></a><h3>The <code class="literal">“activate-proposal”</code> signal</h3>
|
876
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
877
|
+
user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
878
|
+
<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>
|
879
|
+
<p>The <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-activate-proposal" title="The “activate-proposal” signal"><span class="type">“activate-proposal”</span></a> signal is a
|
660
880
|
keybinding signal which gets emitted when the user initiates
|
661
|
-
a proposal activation
|
662
|
-
|
663
|
-
<p>
|
664
|
-
Applications should not connect to it, but may emit it with
|
881
|
+
a proposal activation.</p>
|
882
|
+
<p>Applications should not connect to it, but may emit it with
|
665
883
|
<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 control the proposal
|
666
|
-
activation programmatically
|
667
|
-
|
668
|
-
<
|
884
|
+
activation programmatically.</p>
|
885
|
+
<div class="refsect3">
|
886
|
+
<a name="id-1.2.3.14.2.6"></a><h4>Parameters</h4>
|
887
|
+
<div class="informaltable"><table width="100%" border="0">
|
669
888
|
<colgroup>
|
670
|
-
<col
|
671
|
-
<col>
|
889
|
+
<col width="150px" class="parameters_name">
|
890
|
+
<col class="parameters_description">
|
891
|
+
<col width="200px" class="parameters_annotations">
|
672
892
|
</colgroup>
|
673
893
|
<tbody>
|
674
894
|
<tr>
|
675
|
-
<td
|
676
|
-
<td>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</td>
|
895
|
+
<td class="parameter_name"><p>completion</p></td>
|
896
|
+
<td class="parameter_description"><p>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</p></td>
|
897
|
+
<td class="parameter_annotations"> </td>
|
677
898
|
</tr>
|
678
899
|
<tr>
|
679
|
-
<td
|
680
|
-
<td>user data set when the signal handler was connected.</td>
|
900
|
+
<td class="parameter_name"><p>user_data</p></td>
|
901
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
902
|
+
<td class="parameter_annotations"> </td>
|
681
903
|
</tr>
|
682
904
|
</tbody>
|
683
905
|
</table></div>
|
684
906
|
</div>
|
907
|
+
<p>Flags: Action</p>
|
908
|
+
</div>
|
685
909
|
<hr>
|
686
910
|
<div class="refsect2">
|
687
|
-
<a name="GtkSourceCompletion-hide"></a><h3>The <code class="literal"
|
688
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
689
|
-
|
690
|
-
<
|
691
|
-
Emitted when the completion window is hidden. The default handler
|
692
|
-
will actually hide the window
|
693
|
-
|
694
|
-
<
|
911
|
+
<a name="GtkSourceCompletion-hide"></a><h3>The <code class="literal">“hide”</code> signal</h3>
|
912
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
913
|
+
user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
914
|
+
<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>
|
915
|
+
<p>Emitted when the completion window is hidden. The default handler
|
916
|
+
will actually hide the window.</p>
|
917
|
+
<div class="refsect3">
|
918
|
+
<a name="id-1.2.3.14.3.5"></a><h4>Parameters</h4>
|
919
|
+
<div class="informaltable"><table width="100%" border="0">
|
695
920
|
<colgroup>
|
696
|
-
<col
|
697
|
-
<col>
|
921
|
+
<col width="150px" class="parameters_name">
|
922
|
+
<col class="parameters_description">
|
923
|
+
<col width="200px" class="parameters_annotations">
|
698
924
|
</colgroup>
|
699
925
|
<tbody>
|
700
926
|
<tr>
|
701
|
-
<td
|
702
|
-
<td>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</td>
|
927
|
+
<td class="parameter_name"><p>completion</p></td>
|
928
|
+
<td class="parameter_description"><p>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</p></td>
|
929
|
+
<td class="parameter_annotations"> </td>
|
703
930
|
</tr>
|
704
931
|
<tr>
|
705
|
-
<td
|
706
|
-
<td>user data set when the signal handler was connected.</td>
|
932
|
+
<td class="parameter_name"><p>user_data</p></td>
|
933
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
934
|
+
<td class="parameter_annotations"> </td>
|
707
935
|
</tr>
|
708
936
|
</tbody>
|
709
937
|
</table></div>
|
710
938
|
</div>
|
939
|
+
<p>Flags: Action</p>
|
940
|
+
</div>
|
711
941
|
<hr>
|
712
942
|
<div class="refsect2">
|
713
|
-
<a name="GtkSourceCompletion-move-cursor"></a><h3>The <code class="literal"
|
714
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
<
|
719
|
-
The <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-cursor" title=
|
943
|
+
<a name="GtkSourceCompletion-move-cursor"></a><h3>The <code class="literal">“move-cursor”</code> signal</h3>
|
944
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
945
|
+
user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
946
|
+
<a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a> step,
|
947
|
+
<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> num,
|
948
|
+
<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>
|
949
|
+
<p>The <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-cursor" title="The “move-cursor” signal"><span class="type">“move-cursor”</span></a> signal is a keybinding
|
720
950
|
signal which gets emitted when the user initiates a cursor
|
721
|
-
movement
|
722
|
-
</p>
|
723
|
-
<p>
|
724
|
-
The <span class="keycap"><strong>Up</strong></span>, <span class="keycap"><strong>Down</strong></span>,
|
951
|
+
movement.</p>
|
952
|
+
<p>The <span class="keycap"><strong>Up</strong></span>, <span class="keycap"><strong>Down</strong></span>,</p>
|
725
953
|
<span class="keycap"><strong>PageUp</strong></span>, <span class="keycap"><strong>PageDown</strong></span>,
|
726
954
|
<span class="keycap"><strong>Home</strong></span> and <span class="keycap"><strong>End</strong></span> keys are bound to the
|
727
|
-
normal behavior expected by those keys
|
728
|
-
|
729
|
-
<
|
730
|
-
|
731
|
-
the <
|
732
|
-
|
733
|
-
</p>
|
734
|
-
<p>
|
735
|
-
Applications should not connect to it, but may emit it with
|
955
|
+
<p>normal behavior expected by those keys.</p>
|
956
|
+
<p>When <em class="parameter"><code>step</code></em>
|
957
|
+
is equal to <code class="literal">GTK_SCROLL_PAGES</code>, the page size is defined by
|
958
|
+
the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--proposal-page-size" title="The “proposal-page-size” property"><span class="type">“proposal-page-size”</span></a> property. It is used for
|
959
|
+
the <span class="keycap"><strong>PageDown</strong></span> and <span class="keycap"><strong>PageUp</strong></span> keys.</p>
|
960
|
+
<p>Applications should not connect to it, but may emit it with
|
736
961
|
<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 control the cursor
|
737
|
-
programmatically
|
738
|
-
|
739
|
-
<
|
962
|
+
programmatically.</p>
|
963
|
+
<div class="refsect3">
|
964
|
+
<a name="id-1.2.3.14.4.13"></a><h4>Parameters</h4>
|
965
|
+
<div class="informaltable"><table width="100%" border="0">
|
740
966
|
<colgroup>
|
741
|
-
<col
|
742
|
-
<col>
|
967
|
+
<col width="150px" class="parameters_name">
|
968
|
+
<col class="parameters_description">
|
969
|
+
<col width="200px" class="parameters_annotations">
|
743
970
|
</colgroup>
|
744
971
|
<tbody>
|
745
972
|
<tr>
|
746
|
-
<td
|
747
|
-
<td>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</td>
|
973
|
+
<td class="parameter_name"><p>completion</p></td>
|
974
|
+
<td class="parameter_description"><p>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</p></td>
|
975
|
+
<td class="parameter_annotations"> </td>
|
748
976
|
</tr>
|
749
977
|
<tr>
|
750
|
-
<td
|
751
|
-
<td>The <a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a> by which to move the cursor</td>
|
978
|
+
<td class="parameter_name"><p>step</p></td>
|
979
|
+
<td class="parameter_description"><p>The <a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a> by which to move the cursor</p></td>
|
980
|
+
<td class="parameter_annotations"> </td>
|
752
981
|
</tr>
|
753
982
|
<tr>
|
754
|
-
<td
|
755
|
-
<td>The amount of steps to move the cursor</td>
|
983
|
+
<td class="parameter_name"><p>num</p></td>
|
984
|
+
<td class="parameter_description"><p>The amount of steps to move the cursor</p></td>
|
985
|
+
<td class="parameter_annotations"> </td>
|
756
986
|
</tr>
|
757
987
|
<tr>
|
758
|
-
<td
|
759
|
-
<td>user data set when the signal handler was connected.</td>
|
988
|
+
<td class="parameter_name"><p>user_data</p></td>
|
989
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
990
|
+
<td class="parameter_annotations"> </td>
|
760
991
|
</tr>
|
761
992
|
</tbody>
|
762
993
|
</table></div>
|
763
994
|
</div>
|
995
|
+
<p>Flags: Action</p>
|
996
|
+
</div>
|
764
997
|
<hr>
|
765
998
|
<div class="refsect2">
|
766
|
-
<a name="GtkSourceCompletion-move-page"></a><h3>The <code class="literal"
|
767
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
<
|
772
|
-
The <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title=
|
999
|
+
<a name="GtkSourceCompletion-move-page"></a><h3>The <code class="literal">“move-page”</code> signal</h3>
|
1000
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1001
|
+
user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
1002
|
+
<a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a> step,
|
1003
|
+
<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> num,
|
1004
|
+
<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>
|
1005
|
+
<p>The <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title="The “move-page” signal"><span class="type">“move-page”</span></a> signal is a keybinding
|
773
1006
|
signal which gets emitted when the user initiates a page
|
774
|
-
movement (i.e. switches between provider pages)
|
775
|
-
</p>
|
776
|
-
<p>
|
777
|
-
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>
|
778
|
-
is for going to the
|
779
|
-
<
|
780
|
-
is
|
781
|
-
<
|
782
|
-
|
783
|
-
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>End</strong></span>
|
784
|
-
is for going to the last provider.
|
785
|
-
</p>
|
786
|
-
<p>
|
787
|
-
When <em class="parameter"><code>step</code></em> is equal to <a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GTK-SCROLL-PAGES:CAPS"><span class="type">GTK_SCROLL_PAGES</span></a>, the page size is defined by
|
788
|
-
the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--provider-page-size" title='The "provider-page-size" property'><span class="type">"provider-page-size"</span></a> property.
|
789
|
-
</p>
|
790
|
-
<p>
|
791
|
-
Applications should not connect to it, but may emit it with
|
1007
|
+
movement (i.e. switches between provider pages).</p>
|
1008
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>Left</strong></span><p>is for going to the previous provider.</p>
|
1009
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>Right</strong></span><p>is for going to the next provider.</p>
|
1010
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>Home</strong></span><p>is for displaying all the providers.</p>
|
1011
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>End</strong></span><p>is for going to the last provider.</p>
|
1012
|
+
<p>When <em class="parameter"><code>step</code></em>
|
1013
|
+
is equal to <span class="type">GTK_SCROLL_PAGES</span>, the page size is defined by
|
1014
|
+
the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--provider-page-size" title="The “provider-page-size” property"><span class="type">“provider-page-size”</span></a> property.</p>
|
1015
|
+
<p>Applications should not connect to it, but may emit it with
|
792
1016
|
<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 control the page selection
|
793
|
-
programmatically
|
794
|
-
|
795
|
-
<
|
1017
|
+
programmatically.</p>
|
1018
|
+
<div class="refsect3">
|
1019
|
+
<a name="id-1.2.3.14.5.15"></a><h4>Parameters</h4>
|
1020
|
+
<div class="informaltable"><table width="100%" border="0">
|
796
1021
|
<colgroup>
|
797
|
-
<col
|
798
|
-
<col>
|
1022
|
+
<col width="150px" class="parameters_name">
|
1023
|
+
<col class="parameters_description">
|
1024
|
+
<col width="200px" class="parameters_annotations">
|
799
1025
|
</colgroup>
|
800
1026
|
<tbody>
|
801
1027
|
<tr>
|
802
|
-
<td
|
803
|
-
<td>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</td>
|
1028
|
+
<td class="parameter_name"><p>completion</p></td>
|
1029
|
+
<td class="parameter_description"><p>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</p></td>
|
1030
|
+
<td class="parameter_annotations"> </td>
|
804
1031
|
</tr>
|
805
1032
|
<tr>
|
806
|
-
<td
|
807
|
-
<td>The <a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a> by which to move the page</td>
|
1033
|
+
<td class="parameter_name"><p>step</p></td>
|
1034
|
+
<td class="parameter_description"><p>The <a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a> by which to move the page</p></td>
|
1035
|
+
<td class="parameter_annotations"> </td>
|
808
1036
|
</tr>
|
809
1037
|
<tr>
|
810
|
-
<td
|
811
|
-
<td>The amount of steps to move the page</td>
|
1038
|
+
<td class="parameter_name"><p>num</p></td>
|
1039
|
+
<td class="parameter_description"><p>The amount of steps to move the page</p></td>
|
1040
|
+
<td class="parameter_annotations"> </td>
|
812
1041
|
</tr>
|
813
1042
|
<tr>
|
814
|
-
<td
|
815
|
-
<td>user data set when the signal handler was connected.</td>
|
1043
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1044
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1045
|
+
<td class="parameter_annotations"> </td>
|
816
1046
|
</tr>
|
817
1047
|
</tbody>
|
818
1048
|
</table></div>
|
819
1049
|
</div>
|
1050
|
+
<p>Flags: Action</p>
|
1051
|
+
</div>
|
820
1052
|
<hr>
|
821
1053
|
<div class="refsect2">
|
822
|
-
<a name="GtkSourceCompletion-populate-context"></a><h3>The <code class="literal"
|
823
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
824
|
-
|
825
|
-
|
826
|
-
<
|
827
|
-
Emitted just before starting to populate the completion with providers.
|
828
|
-
You can use this signal to add additional attributes in the context
|
829
|
-
|
830
|
-
<
|
1054
|
+
<a name="GtkSourceCompletion-populate-context"></a><h3>The <code class="literal">“populate-context”</code> signal</h3>
|
1055
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1056
|
+
user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
1057
|
+
<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context,
|
1058
|
+
<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>
|
1059
|
+
<p>Emitted just before starting to populate the completion with providers.
|
1060
|
+
You can use this signal to add additional attributes in the context.</p>
|
1061
|
+
<div class="refsect3">
|
1062
|
+
<a name="id-1.2.3.14.6.5"></a><h4>Parameters</h4>
|
1063
|
+
<div class="informaltable"><table width="100%" border="0">
|
831
1064
|
<colgroup>
|
832
|
-
<col
|
833
|
-
<col>
|
1065
|
+
<col width="150px" class="parameters_name">
|
1066
|
+
<col class="parameters_description">
|
1067
|
+
<col width="200px" class="parameters_annotations">
|
834
1068
|
</colgroup>
|
835
1069
|
<tbody>
|
836
1070
|
<tr>
|
837
|
-
<td
|
838
|
-
<td>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</td>
|
1071
|
+
<td class="parameter_name"><p>completion</p></td>
|
1072
|
+
<td class="parameter_description"><p>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</p></td>
|
1073
|
+
<td class="parameter_annotations"> </td>
|
839
1074
|
</tr>
|
840
1075
|
<tr>
|
841
|
-
<td
|
842
|
-
<td>The <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> for the current completion</td>
|
1076
|
+
<td class="parameter_name"><p>context</p></td>
|
1077
|
+
<td class="parameter_description"><p>The <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> for the current completion</p></td>
|
1078
|
+
<td class="parameter_annotations"> </td>
|
843
1079
|
</tr>
|
844
1080
|
<tr>
|
845
|
-
<td
|
846
|
-
<td>user data set when the signal handler was connected.</td>
|
1081
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1082
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1083
|
+
<td class="parameter_annotations"> </td>
|
847
1084
|
</tr>
|
848
1085
|
</tbody>
|
849
1086
|
</table></div>
|
850
1087
|
</div>
|
1088
|
+
<p>Flags: Action</p>
|
1089
|
+
</div>
|
851
1090
|
<hr>
|
852
1091
|
<div class="refsect2">
|
853
|
-
<a name="GtkSourceCompletion-show"></a><h3>The <code class="literal"
|
854
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
855
|
-
|
856
|
-
<
|
857
|
-
Emitted when the completion window is shown. The default handler
|
858
|
-
will actually show the window
|
859
|
-
|
860
|
-
<
|
1092
|
+
<a name="GtkSourceCompletion-show"></a><h3>The <code class="literal">“show”</code> signal</h3>
|
1093
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1094
|
+
user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
1095
|
+
<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>
|
1096
|
+
<p>Emitted when the completion window is shown. The default handler
|
1097
|
+
will actually show the window.</p>
|
1098
|
+
<div class="refsect3">
|
1099
|
+
<a name="id-1.2.3.14.7.5"></a><h4>Parameters</h4>
|
1100
|
+
<div class="informaltable"><table width="100%" border="0">
|
861
1101
|
<colgroup>
|
862
|
-
<col
|
863
|
-
<col>
|
1102
|
+
<col width="150px" class="parameters_name">
|
1103
|
+
<col class="parameters_description">
|
1104
|
+
<col width="200px" class="parameters_annotations">
|
864
1105
|
</colgroup>
|
865
1106
|
<tbody>
|
866
1107
|
<tr>
|
867
|
-
<td
|
868
|
-
<td>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</td>
|
1108
|
+
<td class="parameter_name"><p>completion</p></td>
|
1109
|
+
<td class="parameter_description"><p>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> who emits the signal</p></td>
|
1110
|
+
<td class="parameter_annotations"> </td>
|
869
1111
|
</tr>
|
870
1112
|
<tr>
|
871
|
-
<td
|
872
|
-
<td>user data set when the signal handler was connected.</td>
|
1113
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1114
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1115
|
+
<td class="parameter_annotations"> </td>
|
873
1116
|
</tr>
|
874
1117
|
</tbody>
|
875
1118
|
</table></div>
|
876
1119
|
</div>
|
1120
|
+
<p>Flags: Action</p>
|
1121
|
+
</div>
|
877
1122
|
</div>
|
878
1123
|
</div>
|
879
1124
|
<div class="footer">
|
880
1125
|
<hr>
|
881
|
-
Generated by GTK-Doc V1.
|
1126
|
+
Generated by GTK-Doc V1.21.1</div>
|
882
1127
|
</body>
|
883
1128
|
</html>
|