gtksourceview3 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/ext/gtksourceview3/extconf.rb +1 -2
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +1 -25
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +7 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +0 -1
- data/lib/2.0/gtksourceview3.so +0 -0
- data/test/run-test.rb +17 -7
- data/test/test_mark_attributes.rb +1 -1
- data/test/test_source_gutter_renderer.rb +33 -0
- data/test/test_source_language_manager.rb +46 -0
- data/test/test_source_view.rb +34 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +28 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +48 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +1 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +33 -0
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +3 -3
- data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +2211 -330
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +1682 -983
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +818 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +267 -189
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +209 -157
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +247 -167
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +428 -295
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +558 -420
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +217 -125
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +341 -196
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1211 -827
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +327 -206
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +156 -96
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +431 -269
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +300 -235
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +203 -139
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +640 -452
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +1444 -1114
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +794 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +421 -280
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +232 -99
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +283 -178
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +326 -220
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +313 -194
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1430 -924
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +33 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +39 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +35 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +742 -430
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +31 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +95 -81
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +519 -463
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +32 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +326 -153
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +151 -57
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +42 -37
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +39 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +260 -105
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +3 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +536 -345
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +6 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +25 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +8 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +1 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +85 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +238 -137
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +389 -133
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +16 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +12 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +15 -15
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +62 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +13 -2
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +16 -5
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +11 -3
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +14 -4
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +14 -2
- data/vendor/local/share/license/gtksourceview/AUTHORS +1 -0
- data/vendor/local/share/license/gtksourceview/COPYING +415 -251
- metadata +31 -13
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
@@ -8,21 +8,17 @@
|
|
8
8
|
<link rel="up" href="ch01.html" title="API reference">
|
9
9
|
<link rel="prev" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal">
|
10
10
|
<link rel="next" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords">
|
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="#GtkSourceCompletionProvider.
|
20
|
-
|
21
|
-
<a href="#GtkSourceCompletionProvider.
|
22
|
-
|
|
23
|
-
<a href="#GtkSourceCompletionProvider.prerequisites" class="shortcut">Prerequisites</a>
|
24
|
-
|
|
25
|
-
<a href="#GtkSourceCompletionProvider.implementations" class="shortcut">Known Implementations</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="#GtkSourceCompletionProvider.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceCompletionProvider.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_prerequisites"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceCompletionProvider.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations"> <span class="dim">|</span>
|
21
|
+
<a href="#GtkSourceCompletionProvider.implementations" class="shortcut">Known Implementations</a></span>
|
26
22
|
</td>
|
27
23
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
28
24
|
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -36,577 +32,719 @@
|
|
36
32
|
<h2><span class="refentrytitle"><a name="GtkSourceCompletionProvider.top_of_page"></a>GtkSourceCompletionProvider</span></h2>
|
37
33
|
<p>GtkSourceCompletionProvider — Completion provider interface</p>
|
38
34
|
</td>
|
39
|
-
<td valign="top" align="right"></td>
|
35
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
40
36
|
</tr></table></div>
|
41
|
-
<div class="refsynopsisdiv">
|
42
|
-
<a name="GtkSourceCompletionProvider.synopsis"></a><h2>Synopsis</h2>
|
43
|
-
<pre class="synopsis">
|
44
|
-
#include <gtksourceview/gtksource.h>
|
45
|
-
|
46
|
-
<a class="link" href="GtkSourceCompletionProvider.html#GtkSourceCompletionProvider-struct" title="GtkSourceCompletionProvider">GtkSourceCompletionProvider</a>;
|
47
|
-
struct <a class="link" href="GtkSourceCompletionProvider.html#GtkSourceCompletionProviderIface" title="struct GtkSourceCompletionProviderIface">GtkSourceCompletionProviderIface</a>;
|
48
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-name" title="gtk_source_completion_provider_get_name ()">gtk_source_completion_provider_get_name</a>
|
49
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);
|
50
|
-
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-icon" title="gtk_source_completion_provider_get_icon ()">gtk_source_completion_provider_get_icon</a>
|
51
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);
|
52
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-populate" title="gtk_source_completion_provider_populate ()">gtk_source_completion_provider_populate</a>
|
53
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
54
|
-
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);
|
55
|
-
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-activation" title="gtk_source_completion_provider_get_activation ()">gtk_source_completion_provider_get_activation</a>
|
56
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);
|
57
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-match" title="gtk_source_completion_provider_match ()">gtk_source_completion_provider_match</a>
|
58
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
59
|
-
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);
|
60
|
-
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-info-widget" title="gtk_source_completion_provider_get_info_widget ()">gtk_source_completion_provider_get_info_widget</a>
|
61
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
62
|
-
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);
|
63
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-update-info" title="gtk_source_completion_provider_update_info ()">gtk_source_completion_provider_update_info</a>
|
64
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
65
|
-
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
66
|
-
<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);
|
67
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-start-iter" title="gtk_source_completion_provider_get_start_iter ()">gtk_source_completion_provider_get_start_iter</a>
|
68
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
69
|
-
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
70
|
-
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
71
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);
|
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> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal ()">gtk_source_completion_provider_activate_proposal</a>
|
73
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
74
|
-
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
75
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);
|
76
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-interactive-delay" title="gtk_source_completion_provider_get_interactive_delay ()">gtk_source_completion_provider_get_interactive_delay</a>
|
77
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);
|
78
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-priority" title="gtk_source_completion_provider_get_priority ()">gtk_source_completion_provider_get_priority</a>
|
79
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);
|
80
|
-
</pre>
|
81
|
-
</div>
|
82
37
|
<div class="refsect1">
|
83
|
-
<a name="GtkSourceCompletionProvider.
|
84
|
-
<
|
85
|
-
GInterface
|
86
|
-
+----GtkSourceCompletionProvider
|
87
|
-
</pre>
|
88
|
-
</div>
|
89
|
-
<div class="refsect1">
|
90
|
-
<a name="GtkSourceCompletionProvider.prerequisites"></a><h2>Prerequisites</h2>
|
91
|
-
<p>
|
92
|
-
GtkSourceCompletionProvider requires
|
93
|
-
<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>.</p>
|
94
|
-
</div>
|
95
|
-
<div class="refsect1">
|
96
|
-
<a name="GtkSourceCompletionProvider.implementations"></a><h2>Known Implementations</h2>
|
97
|
-
<p>
|
98
|
-
GtkSourceCompletionProvider is implemented by
|
99
|
-
<a class="link" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords">GtkSourceCompletionWords</a>.</p>
|
100
|
-
</div>
|
101
|
-
<div class="refsect1">
|
102
|
-
<a name="GtkSourceCompletionProvider.description"></a><h2>Description</h2>
|
103
|
-
<p>
|
104
|
-
You must implement this interface to provide proposals to <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>
|
105
|
-
</p>
|
106
|
-
</div>
|
107
|
-
<div class="refsect1">
|
108
|
-
<a name="GtkSourceCompletionProvider.details"></a><h2>Details</h2>
|
109
|
-
<div class="refsect2">
|
110
|
-
<a name="GtkSourceCompletionProvider-struct"></a><h3>GtkSourceCompletionProvider</h3>
|
111
|
-
<pre class="programlisting">typedef struct _GtkSourceCompletionProvider GtkSourceCompletionProvider;</pre>
|
112
|
-
</div>
|
113
|
-
<hr>
|
114
|
-
<div class="refsect2">
|
115
|
-
<a name="GtkSourceCompletionProviderIface"></a><h3>struct GtkSourceCompletionProviderIface</h3>
|
116
|
-
<pre class="programlisting">struct GtkSourceCompletionProviderIface {
|
117
|
-
GTypeInterface g_iface;
|
118
|
-
|
119
|
-
gchar *(*get_name) (GtkSourceCompletionProvider *provider);
|
120
|
-
GdkPixbuf *(*get_icon) (GtkSourceCompletionProvider *provider);
|
121
|
-
void (*populate) (GtkSourceCompletionProvider *provider,
|
122
|
-
GtkSourceCompletionContext *context);
|
123
|
-
|
124
|
-
gboolean (*match) (GtkSourceCompletionProvider *provider,
|
125
|
-
GtkSourceCompletionContext *context);
|
126
|
-
|
127
|
-
GtkSourceCompletionActivation
|
128
|
-
(*get_activation) (GtkSourceCompletionProvider *provider);
|
129
|
-
|
130
|
-
GtkWidget *(*get_info_widget) (GtkSourceCompletionProvider *provider,
|
131
|
-
GtkSourceCompletionProposal *proposal);
|
132
|
-
void (*update_info) (GtkSourceCompletionProvider *provider,
|
133
|
-
GtkSourceCompletionProposal *proposal,
|
134
|
-
GtkSourceCompletionInfo *info);
|
135
|
-
|
136
|
-
gboolean (*get_start_iter) (GtkSourceCompletionProvider *provider,
|
137
|
-
GtkSourceCompletionContext *context,
|
138
|
-
GtkSourceCompletionProposal *proposal,
|
139
|
-
GtkTextIter *iter);
|
140
|
-
gboolean (*activate_proposal) (GtkSourceCompletionProvider *provider,
|
141
|
-
GtkSourceCompletionProposal *proposal,
|
142
|
-
GtkTextIter *iter);
|
143
|
-
|
144
|
-
gint (*get_interactive_delay) (GtkSourceCompletionProvider *provider);
|
145
|
-
gint (*get_priority) (GtkSourceCompletionProvider *provider);
|
146
|
-
};
|
147
|
-
</pre>
|
148
|
-
<p>
|
149
|
-
The virtual function table for <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.
|
150
|
-
</p>
|
151
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
38
|
+
<a name="GtkSourceCompletionProvider.functions"></a><h2>Functions</h2>
|
39
|
+
<div class="informaltable"><table width="100%" border="0">
|
152
40
|
<colgroup>
|
153
|
-
<col
|
154
|
-
<col>
|
41
|
+
<col width="150px" class="functions_return">
|
42
|
+
<col class="functions_name">
|
155
43
|
</colgroup>
|
156
44
|
<tbody>
|
157
45
|
<tr>
|
158
|
-
<td
|
159
|
-
<
|
160
|
-
</
|
161
|
-
<
|
162
|
-
<
|
163
|
-
|
164
|
-
Must be implemented.</td>
|
46
|
+
<td class="function_type">
|
47
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
48
|
+
</td>
|
49
|
+
<td class="function_name">
|
50
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-name" title="gtk_source_completion_provider_get_name ()">gtk_source_completion_provider_get_name</a> <span class="c_punctuation">()</span>
|
51
|
+
</td>
|
165
52
|
</tr>
|
166
53
|
<tr>
|
167
|
-
<td
|
168
|
-
<
|
169
|
-
|
54
|
+
<td class="function_type">
|
55
|
+
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
56
|
+
</td>
|
57
|
+
<td class="function_name">
|
58
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-icon" title="gtk_source_completion_provider_get_icon ()">gtk_source_completion_provider_get_icon</a> <span class="c_punctuation">()</span>
|
59
|
+
</td>
|
170
60
|
</tr>
|
171
61
|
<tr>
|
172
|
-
<td
|
173
|
-
<
|
174
|
-
|
62
|
+
<td class="function_type">
|
63
|
+
<span class="returnvalue">void</span>
|
64
|
+
</td>
|
65
|
+
<td class="function_name">
|
66
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-populate" title="gtk_source_completion_provider_populate ()">gtk_source_completion_provider_populate</a> <span class="c_punctuation">()</span>
|
67
|
+
</td>
|
175
68
|
</tr>
|
176
69
|
<tr>
|
177
|
-
<td
|
178
|
-
<
|
179
|
-
|
70
|
+
<td class="function_type">
|
71
|
+
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a>
|
72
|
+
</td>
|
73
|
+
<td class="function_name">
|
74
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-activation" title="gtk_source_completion_provider_get_activation ()">gtk_source_completion_provider_get_activation</a> <span class="c_punctuation">()</span>
|
75
|
+
</td>
|
180
76
|
</tr>
|
181
77
|
<tr>
|
182
|
-
<td
|
183
|
-
<
|
184
|
-
|
78
|
+
<td class="function_type">
|
79
|
+
<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>
|
80
|
+
</td>
|
81
|
+
<td class="function_name">
|
82
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-match" title="gtk_source_completion_provider_match ()">gtk_source_completion_provider_match</a> <span class="c_punctuation">()</span>
|
83
|
+
</td>
|
185
84
|
</tr>
|
186
85
|
<tr>
|
187
|
-
<td
|
188
|
-
<
|
189
|
-
|
86
|
+
<td class="function_type">
|
87
|
+
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
88
|
+
</td>
|
89
|
+
<td class="function_name">
|
90
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-info-widget" title="gtk_source_completion_provider_get_info_widget ()">gtk_source_completion_provider_get_info_widget</a> <span class="c_punctuation">()</span>
|
91
|
+
</td>
|
190
92
|
</tr>
|
191
93
|
<tr>
|
192
|
-
<td
|
193
|
-
<
|
194
|
-
|
94
|
+
<td class="function_type">
|
95
|
+
<span class="returnvalue">void</span>
|
96
|
+
</td>
|
97
|
+
<td class="function_name">
|
98
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-update-info" title="gtk_source_completion_provider_update_info ()">gtk_source_completion_provider_update_info</a> <span class="c_punctuation">()</span>
|
99
|
+
</td>
|
195
100
|
</tr>
|
196
101
|
<tr>
|
197
|
-
<td
|
198
|
-
<
|
199
|
-
|
102
|
+
<td class="function_type">
|
103
|
+
<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>
|
104
|
+
</td>
|
105
|
+
<td class="function_name">
|
106
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-start-iter" title="gtk_source_completion_provider_get_start_iter ()">gtk_source_completion_provider_get_start_iter</a> <span class="c_punctuation">()</span>
|
107
|
+
</td>
|
200
108
|
</tr>
|
201
109
|
<tr>
|
202
|
-
<td
|
203
|
-
<
|
204
|
-
|
110
|
+
<td class="function_type">
|
111
|
+
<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>
|
112
|
+
</td>
|
113
|
+
<td class="function_name">
|
114
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal ()">gtk_source_completion_provider_activate_proposal</a> <span class="c_punctuation">()</span>
|
115
|
+
</td>
|
205
116
|
</tr>
|
206
117
|
<tr>
|
207
|
-
<td
|
208
|
-
<
|
209
|
-
|
118
|
+
<td class="function_type">
|
119
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
120
|
+
</td>
|
121
|
+
<td class="function_name">
|
122
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-interactive-delay" title="gtk_source_completion_provider_get_interactive_delay ()">gtk_source_completion_provider_get_interactive_delay</a> <span class="c_punctuation">()</span>
|
123
|
+
</td>
|
210
124
|
</tr>
|
211
125
|
<tr>
|
212
|
-
<td
|
213
|
-
<
|
214
|
-
|
126
|
+
<td class="function_type">
|
127
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
128
|
+
</td>
|
129
|
+
<td class="function_name">
|
130
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-priority" title="gtk_source_completion_provider_get_priority ()">gtk_source_completion_provider_get_priority</a> <span class="c_punctuation">()</span>
|
131
|
+
</td>
|
215
132
|
</tr>
|
216
133
|
</tbody>
|
217
134
|
</table></div>
|
218
135
|
</div>
|
219
|
-
<
|
220
|
-
<
|
221
|
-
<
|
222
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_source_completion_provider_get_name
|
223
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
224
|
-
<p>
|
225
|
-
Get the name of the provider. This should be a translatable name for
|
226
|
-
display to the user. For example: _("Document word completion provider"). The
|
227
|
-
returned string must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
|
228
|
-
</p>
|
229
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
136
|
+
<div class="refsect1">
|
137
|
+
<a name="GtkSourceCompletionProvider.other"></a><h2>Types and Values</h2>
|
138
|
+
<div class="informaltable"><table width="100%" border="0">
|
230
139
|
<colgroup>
|
231
|
-
<col
|
232
|
-
<col>
|
140
|
+
<col width="150px" class="name">
|
141
|
+
<col class="description">
|
233
142
|
</colgroup>
|
234
143
|
<tbody>
|
235
144
|
<tr>
|
236
|
-
<td
|
237
|
-
<td
|
145
|
+
<td class="datatype_keyword"> </td>
|
146
|
+
<td class="function_name"><a class="link" href="GtkSourceCompletionProvider.html#GtkSourceCompletionProvider-struct" title="GtkSourceCompletionProvider">GtkSourceCompletionProvider</a></td>
|
238
147
|
</tr>
|
239
148
|
<tr>
|
240
|
-
<td
|
241
|
-
<td
|
149
|
+
<td class="datatype_keyword">struct</td>
|
150
|
+
<td class="function_name"><a class="link" href="GtkSourceCompletionProvider.html#GtkSourceCompletionProviderIface" title="struct GtkSourceCompletionProviderIface">GtkSourceCompletionProviderIface</a></td>
|
242
151
|
</tr>
|
243
152
|
</tbody>
|
244
153
|
</table></div>
|
245
154
|
</div>
|
155
|
+
<div class="refsect1">
|
156
|
+
<a name="GtkSourceCompletionProvider.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
157
|
+
<pre class="screen"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
158
|
+
<span class="lineart">╰──</span> GtkSourceCompletionProvider
|
159
|
+
</pre>
|
160
|
+
</div>
|
161
|
+
<div class="refsect1">
|
162
|
+
<a name="GtkSourceCompletionProvider.prerequisites"></a><h2>Prerequisites</h2>
|
163
|
+
<p>
|
164
|
+
GtkSourceCompletionProvider requires
|
165
|
+
<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>.</p>
|
166
|
+
</div>
|
167
|
+
<div class="refsect1">
|
168
|
+
<a name="GtkSourceCompletionProvider.implementations"></a><h2>Known Implementations</h2>
|
169
|
+
<p>
|
170
|
+
GtkSourceCompletionProvider is implemented by
|
171
|
+
<a class="link" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords">GtkSourceCompletionWords</a>.</p>
|
172
|
+
</div>
|
173
|
+
<div class="refsect1">
|
174
|
+
<a name="GtkSourceCompletionProvider.includes"></a><h2>Includes</h2>
|
175
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
176
|
+
</pre>
|
177
|
+
</div>
|
178
|
+
<div class="refsect1">
|
179
|
+
<a name="GtkSourceCompletionProvider.description"></a><h2>Description</h2>
|
180
|
+
<p>You must implement this interface to provide proposals to <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a></p>
|
181
|
+
</div>
|
182
|
+
<div class="refsect1">
|
183
|
+
<a name="GtkSourceCompletionProvider.functions_details"></a><h2>Functions</h2>
|
184
|
+
<div class="refsect2">
|
185
|
+
<a name="gtk-source-completion-provider-get-name"></a><h3>gtk_source_completion_provider_get_name ()</h3>
|
186
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
187
|
+
gtk_source_completion_provider_get_name
|
188
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
189
|
+
<p>Get the name of the provider. This should be a translatable name for
|
190
|
+
display to the user. For example: _("Document word completion provider"). The
|
191
|
+
returned string must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
192
|
+
<div class="refsect3">
|
193
|
+
<a name="id-1.2.8.10.2.5"></a><h4>Parameters</h4>
|
194
|
+
<div class="informaltable"><table width="100%" border="0">
|
195
|
+
<colgroup>
|
196
|
+
<col width="150px" class="parameters_name">
|
197
|
+
<col class="parameters_description">
|
198
|
+
<col width="200px" class="parameters_annotations">
|
199
|
+
</colgroup>
|
200
|
+
<tbody><tr>
|
201
|
+
<td class="parameter_name"><p>provider</p></td>
|
202
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
203
|
+
<td class="parameter_annotations"> </td>
|
204
|
+
</tr></tbody>
|
205
|
+
</table></div>
|
206
|
+
</div>
|
207
|
+
<div class="refsect3">
|
208
|
+
<a name="id-1.2.8.10.2.6"></a><h4>Returns</h4>
|
209
|
+
<p> a new string containing the name of the provider.</p>
|
210
|
+
<p></p>
|
211
|
+
</div>
|
212
|
+
</div>
|
246
213
|
<hr>
|
247
214
|
<div class="refsect2">
|
248
|
-
<a name="gtk-source-completion-provider-get-icon"></a><h3>gtk_source_completion_provider_get_icon
|
249
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a>
|
250
|
-
|
251
|
-
<
|
252
|
-
Get the icon of the provider
|
253
|
-
|
254
|
-
<
|
215
|
+
<a name="gtk-source-completion-provider-get-icon"></a><h3>gtk_source_completion_provider_get_icon ()</h3>
|
216
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
217
|
+
gtk_source_completion_provider_get_icon
|
218
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
219
|
+
<p>Get the icon of the provider.</p>
|
220
|
+
<div class="refsect3">
|
221
|
+
<a name="id-1.2.8.10.3.5"></a><h4>Parameters</h4>
|
222
|
+
<div class="informaltable"><table width="100%" border="0">
|
255
223
|
<colgroup>
|
256
|
-
<col
|
257
|
-
<col>
|
224
|
+
<col width="150px" class="parameters_name">
|
225
|
+
<col class="parameters_description">
|
226
|
+
<col width="200px" class="parameters_annotations">
|
258
227
|
</colgroup>
|
259
|
-
<tbody>
|
260
|
-
<
|
261
|
-
<td><p
|
262
|
-
<td
|
263
|
-
</
|
264
|
-
</tr>
|
265
|
-
<tr>
|
266
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
267
|
-
<td>The icon to be used for the provider,
|
268
|
-
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> if the provider does not have a special icon. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
269
|
-
</td>
|
270
|
-
</tr>
|
271
|
-
</tbody>
|
228
|
+
<tbody><tr>
|
229
|
+
<td class="parameter_name"><p>provider</p></td>
|
230
|
+
<td class="parameter_description"><p>The <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a></p></td>
|
231
|
+
<td class="parameter_annotations"> </td>
|
232
|
+
</tr></tbody>
|
272
233
|
</table></div>
|
273
234
|
</div>
|
235
|
+
<div class="refsect3">
|
236
|
+
<a name="id-1.2.8.10.3.6"></a><h4>Returns</h4>
|
237
|
+
<p> The icon to be used for the provider,
|
238
|
+
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> if the provider does not have a special icon. </p>
|
239
|
+
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
240
|
+
</div>
|
241
|
+
</div>
|
274
242
|
<hr>
|
275
243
|
<div class="refsect2">
|
276
|
-
<a name="gtk-source-completion-provider-populate"></a><h3>gtk_source_completion_provider_populate
|
277
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
278
|
-
|
279
|
-
|
280
|
-
<
|
281
|
-
Populate <em class="parameter"><code>context</code></em>
|
282
|
-
|
283
|
-
|
284
|
-
<
|
244
|
+
<a name="gtk-source-completion-provider-populate"></a><h3>gtk_source_completion_provider_populate ()</h3>
|
245
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
246
|
+
gtk_source_completion_provider_populate
|
247
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
248
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);</pre>
|
249
|
+
<p>Populate <em class="parameter"><code>context</code></em>
|
250
|
+
with proposals from <em class="parameter"><code>provider</code></em>
|
251
|
+
added with the
|
252
|
+
<a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-add-proposals" title="gtk_source_completion_context_add_proposals ()"><code class="function">gtk_source_completion_context_add_proposals()</code></a> function.</p>
|
253
|
+
<div class="refsect3">
|
254
|
+
<a name="id-1.2.8.10.4.5"></a><h4>Parameters</h4>
|
255
|
+
<div class="informaltable"><table width="100%" border="0">
|
285
256
|
<colgroup>
|
286
|
-
<col
|
287
|
-
<col>
|
257
|
+
<col width="150px" class="parameters_name">
|
258
|
+
<col class="parameters_description">
|
259
|
+
<col width="200px" class="parameters_annotations">
|
288
260
|
</colgroup>
|
289
261
|
<tbody>
|
290
262
|
<tr>
|
291
|
-
<td
|
292
|
-
<td>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</td>
|
263
|
+
<td class="parameter_name"><p>provider</p></td>
|
264
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
265
|
+
<td class="parameter_annotations"> </td>
|
293
266
|
</tr>
|
294
267
|
<tr>
|
295
|
-
<td
|
296
|
-
<td>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</td>
|
268
|
+
<td class="parameter_name"><p>context</p></td>
|
269
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
270
|
+
<td class="parameter_annotations"> </td>
|
297
271
|
</tr>
|
298
272
|
</tbody>
|
299
273
|
</table></div>
|
300
274
|
</div>
|
275
|
+
</div>
|
301
276
|
<hr>
|
302
277
|
<div class="refsect2">
|
303
|
-
<a name="gtk-source-completion-provider-get-activation"></a><h3>gtk_source_completion_provider_get_activation
|
304
|
-
<pre class="programlisting"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a>
|
305
|
-
|
306
|
-
<
|
307
|
-
Get with what kind of activation the provider should be activated
|
308
|
-
|
309
|
-
<
|
278
|
+
<a name="gtk-source-completion-provider-get-activation"></a><h3>gtk_source_completion_provider_get_activation ()</h3>
|
279
|
+
<pre class="programlisting"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a>
|
280
|
+
gtk_source_completion_provider_get_activation
|
281
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
282
|
+
<p>Get with what kind of activation the provider should be activated.</p>
|
283
|
+
<div class="refsect3">
|
284
|
+
<a name="id-1.2.8.10.5.5"></a><h4>Parameters</h4>
|
285
|
+
<div class="informaltable"><table width="100%" border="0">
|
310
286
|
<colgroup>
|
311
|
-
<col
|
312
|
-
<col>
|
287
|
+
<col width="150px" class="parameters_name">
|
288
|
+
<col class="parameters_description">
|
289
|
+
<col width="200px" class="parameters_annotations">
|
313
290
|
</colgroup>
|
314
|
-
<tbody>
|
315
|
-
<
|
316
|
-
<td><p
|
317
|
-
<td
|
318
|
-
</tr>
|
319
|
-
<tr>
|
320
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
321
|
-
<td>a combination of <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a>.</td>
|
322
|
-
</tr>
|
323
|
-
</tbody>
|
291
|
+
<tbody><tr>
|
292
|
+
<td class="parameter_name"><p>provider</p></td>
|
293
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
294
|
+
<td class="parameter_annotations"> </td>
|
295
|
+
</tr></tbody>
|
324
296
|
</table></div>
|
325
297
|
</div>
|
298
|
+
<div class="refsect3">
|
299
|
+
<a name="id-1.2.8.10.5.6"></a><h4>Returns</h4>
|
300
|
+
<p> a combination of <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a>.</p>
|
301
|
+
<p></p>
|
302
|
+
</div>
|
303
|
+
</div>
|
326
304
|
<hr>
|
327
305
|
<div class="refsect2">
|
328
|
-
<a name="gtk-source-completion-provider-match"></a><h3>gtk_source_completion_provider_match
|
329
|
-
<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>
|
330
|
-
|
331
|
-
|
332
|
-
<p>
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
<
|
306
|
+
<a name="gtk-source-completion-provider-match"></a><h3>gtk_source_completion_provider_match ()</h3>
|
307
|
+
<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>
|
308
|
+
gtk_source_completion_provider_match (<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
309
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);</pre>
|
310
|
+
<p>Get whether the provider match the context of completion detailed in
|
311
|
+
<em class="parameter"><code>context</code></em>
|
312
|
+
.</p>
|
313
|
+
<div class="refsect3">
|
314
|
+
<a name="id-1.2.8.10.6.5"></a><h4>Parameters</h4>
|
315
|
+
<div class="informaltable"><table width="100%" border="0">
|
337
316
|
<colgroup>
|
338
|
-
<col
|
339
|
-
<col>
|
317
|
+
<col width="150px" class="parameters_name">
|
318
|
+
<col class="parameters_description">
|
319
|
+
<col width="200px" class="parameters_annotations">
|
340
320
|
</colgroup>
|
341
321
|
<tbody>
|
342
322
|
<tr>
|
343
|
-
<td
|
344
|
-
<td>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</td>
|
323
|
+
<td class="parameter_name"><p>provider</p></td>
|
324
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
325
|
+
<td class="parameter_annotations"> </td>
|
345
326
|
</tr>
|
346
327
|
<tr>
|
347
|
-
<td
|
348
|
-
<td>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</td>
|
349
|
-
</
|
350
|
-
<tr>
|
351
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
352
|
-
<td>
|
353
|
-
<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> matches the completion context, <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> otherwise.</td>
|
328
|
+
<td class="parameter_name"><p>context</p></td>
|
329
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
330
|
+
<td class="parameter_annotations"> </td>
|
354
331
|
</tr>
|
355
332
|
</tbody>
|
356
333
|
</table></div>
|
357
334
|
</div>
|
335
|
+
<div class="refsect3">
|
336
|
+
<a name="id-1.2.8.10.6.6"></a><h4>Returns</h4>
|
337
|
+
<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>
|
338
|
+
matches the completion context, <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> otherwise.</p>
|
339
|
+
<p></p>
|
340
|
+
</div>
|
341
|
+
</div>
|
358
342
|
<hr>
|
359
343
|
<div class="refsect2">
|
360
|
-
<a name="gtk-source-completion-provider-get-info-widget"></a><h3>gtk_source_completion_provider_get_info_widget
|
361
|
-
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a>
|
362
|
-
|
363
|
-
|
364
|
-
<
|
365
|
-
Get a customized info widget to show extra information of a proposal.
|
344
|
+
<a name="gtk-source-completion-provider-get-info-widget"></a><h3>gtk_source_completion_provider_get_info_widget ()</h3>
|
345
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
346
|
+
gtk_source_completion_provider_get_info_widget
|
347
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
348
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);</pre>
|
349
|
+
<p>Get a customized info widget to show extra information of a proposal.
|
366
350
|
This allows for customized widgets on a proposal basis, although in general
|
367
351
|
providers will have the same custom widget for all their proposals and
|
368
|
-
<em class="parameter"><code>proposal</code></em>
|
369
|
-
|
370
|
-
<p>
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
</
|
375
|
-
<p>
|
376
|
-
</p>
|
377
|
-
<div class="note">
|
378
|
-
<h3 class="title">Note</h3>
|
379
|
-
<p>
|
380
|
-
If implemented, <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-update-info" title="gtk_source_completion_provider_update_info ()"><code class="function">gtk_source_completion_provider_update_info()</code></a>
|
352
|
+
<em class="parameter"><code>proposal</code></em>
|
353
|
+
can be ignored. The implementation of this function is optional.</p>
|
354
|
+
<p>If this function is not implemented, the default widget is a <a href="http://developer.gnome.org/gtk2/GtkLabel.html"><span class="type">GtkLabel</span></a>. The
|
355
|
+
return value of <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-info" title="gtk_source_completion_proposal_get_info ()"><code class="function">gtk_source_completion_proposal_get_info()</code></a> is used as the
|
356
|
+
content of the <a href="http://developer.gnome.org/gtk2/GtkLabel.html"><span class="type">GtkLabel</span></a>.</p>
|
357
|
+
<div class="note"><p>
|
358
|
+
If implemented, <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-update-info" title="gtk_source_completion_provider_update_info ()"><code class="function">gtk_source_completion_provider_update_info()</code></a>
|
381
359
|
<span class="emphasis"><em>must</em></span> also be implemented.
|
382
|
-
</p>
|
383
|
-
|
384
|
-
<
|
385
|
-
|
386
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
360
|
+
</p></div>
|
361
|
+
<div class="refsect3">
|
362
|
+
<a name="id-1.2.8.10.7.7"></a><h4>Parameters</h4>
|
363
|
+
<div class="informaltable"><table width="100%" border="0">
|
387
364
|
<colgroup>
|
388
|
-
<col
|
389
|
-
<col>
|
365
|
+
<col width="150px" class="parameters_name">
|
366
|
+
<col class="parameters_description">
|
367
|
+
<col width="200px" class="parameters_annotations">
|
390
368
|
</colgroup>
|
391
369
|
<tbody>
|
392
370
|
<tr>
|
393
|
-
<td
|
394
|
-
<td>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</td>
|
395
|
-
</
|
396
|
-
<tr>
|
397
|
-
<td><p><span class="term"><em class="parameter"><code>proposal</code></em> :</span></p></td>
|
398
|
-
<td>a currently selected <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a>.</td>
|
371
|
+
<td class="parameter_name"><p>provider</p></td>
|
372
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
373
|
+
<td class="parameter_annotations"> </td>
|
399
374
|
</tr>
|
400
375
|
<tr>
|
401
|
-
<td
|
402
|
-
<td>a
|
403
|
-
|
404
|
-
</td>
|
376
|
+
<td class="parameter_name"><p>proposal</p></td>
|
377
|
+
<td class="parameter_description"><p>a currently selected <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a>.</p></td>
|
378
|
+
<td class="parameter_annotations"> </td>
|
405
379
|
</tr>
|
406
380
|
</tbody>
|
407
381
|
</table></div>
|
408
382
|
</div>
|
383
|
+
<div class="refsect3">
|
384
|
+
<a name="id-1.2.8.10.7.8"></a><h4>Returns</h4>
|
385
|
+
<p> a custom <a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a> to show extra
|
386
|
+
information about <em class="parameter"><code>proposal</code></em>
|
387
|
+
, 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> if the provider does not have a special
|
388
|
+
info widget. </p>
|
389
|
+
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
390
|
+
</div>
|
391
|
+
</div>
|
409
392
|
<hr>
|
410
393
|
<div class="refsect2">
|
411
|
-
<a name="gtk-source-completion-provider-update-info"></a><h3>gtk_source_completion_provider_update_info
|
412
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
<
|
417
|
-
Update extra information shown in <em class="parameter"><code>info</code></em>
|
418
|
-
</
|
419
|
-
|
420
|
-
|
421
|
-
<div class="note">
|
422
|
-
<h3 class="title">Note</h3>
|
423
|
-
<p>
|
394
|
+
<a name="gtk-source-completion-provider-update-info"></a><h3>gtk_source_completion_provider_update_info ()</h3>
|
395
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
396
|
+
gtk_source_completion_provider_update_info
|
397
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
398
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
399
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);</pre>
|
400
|
+
<p>Update extra information shown in <em class="parameter"><code>info</code></em>
|
401
|
+
for <em class="parameter"><code>proposal</code></em>
|
402
|
+
.</p>
|
403
|
+
<div class="note"><p>
|
424
404
|
This function <span class="emphasis"><em>must</em></span> be implemented when
|
425
|
-
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-info-widget" title="gtk_source_completion_provider_get_info_widget
|
426
|
-
</p>
|
427
|
-
|
428
|
-
<
|
429
|
-
|
430
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
405
|
+
<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> is implemented.
|
406
|
+
</p></div>
|
407
|
+
<div class="refsect3">
|
408
|
+
<a name="id-1.2.8.10.8.6"></a><h4>Parameters</h4>
|
409
|
+
<div class="informaltable"><table width="100%" border="0">
|
431
410
|
<colgroup>
|
432
|
-
<col
|
433
|
-
<col>
|
411
|
+
<col width="150px" class="parameters_name">
|
412
|
+
<col class="parameters_description">
|
413
|
+
<col width="200px" class="parameters_annotations">
|
434
414
|
</colgroup>
|
435
415
|
<tbody>
|
436
416
|
<tr>
|
437
|
-
<td
|
438
|
-
<td>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</td>
|
417
|
+
<td class="parameter_name"><p>provider</p></td>
|
418
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
419
|
+
<td class="parameter_annotations"> </td>
|
439
420
|
</tr>
|
440
421
|
<tr>
|
441
|
-
<td
|
442
|
-
<td>a <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a>.</td>
|
422
|
+
<td class="parameter_name"><p>proposal</p></td>
|
423
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a>.</p></td>
|
424
|
+
<td class="parameter_annotations"> </td>
|
443
425
|
</tr>
|
444
426
|
<tr>
|
445
|
-
<td
|
446
|
-
<td>a <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a>.</td>
|
427
|
+
<td class="parameter_name"><p>info</p></td>
|
428
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a>.</p></td>
|
429
|
+
<td class="parameter_annotations"> </td>
|
447
430
|
</tr>
|
448
431
|
</tbody>
|
449
432
|
</table></div>
|
450
433
|
</div>
|
434
|
+
</div>
|
451
435
|
<hr>
|
452
436
|
<div class="refsect2">
|
453
|
-
<a name="gtk-source-completion-provider-get-start-iter"></a><h3>gtk_source_completion_provider_get_start_iter
|
454
|
-
<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>
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
<
|
460
|
-
Get the <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> at which the completion for <em class="parameter"><code>proposal</code></em>
|
437
|
+
<a name="gtk-source-completion-provider-get-start-iter"></a><h3>gtk_source_completion_provider_get_start_iter ()</h3>
|
438
|
+
<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>
|
439
|
+
gtk_source_completion_provider_get_start_iter
|
440
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
441
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
442
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
443
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
444
|
+
<p>Get the <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> at which the completion for <em class="parameter"><code>proposal</code></em>
|
445
|
+
starts. When
|
461
446
|
implemented, this information is used to position the completion window
|
462
447
|
accordingly when a proposal is selected in the completion window. The
|
463
|
-
<em class="parameter"><code>proposal</code></em>
|
464
|
-
</
|
465
|
-
|
466
|
-
If this function is not implemented, the word boundary is taken to position
|
467
|
-
the completion window. See <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal
|
468
|
-
for an explanation on the word boundaries
|
469
|
-
|
470
|
-
<
|
471
|
-
|
448
|
+
<em class="parameter"><code>proposal</code></em>
|
449
|
+
text inside the completion window is aligned on <em class="parameter"><code>iter</code></em>
|
450
|
+
.</p>
|
451
|
+
<p>If this function is not implemented, the word boundary is taken to position
|
452
|
+
the completion window. See <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal ()"><code class="function">gtk_source_completion_provider_activate_proposal()</code></a>
|
453
|
+
for an explanation on the word boundaries.</p>
|
454
|
+
<p>When the <em class="parameter"><code>proposal</code></em>
|
455
|
+
is activated, the default handler uses <em class="parameter"><code>iter</code></em>
|
456
|
+
as the start
|
472
457
|
of the word to replace. See
|
473
|
-
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal
|
474
|
-
|
475
|
-
<
|
458
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal ()"><code class="function">gtk_source_completion_provider_activate_proposal()</code></a> for more information.</p>
|
459
|
+
<div class="refsect3">
|
460
|
+
<a name="id-1.2.8.10.9.7"></a><h4>Parameters</h4>
|
461
|
+
<div class="informaltable"><table width="100%" border="0">
|
476
462
|
<colgroup>
|
477
|
-
<col
|
478
|
-
<col>
|
463
|
+
<col width="150px" class="parameters_name">
|
464
|
+
<col class="parameters_description">
|
465
|
+
<col width="200px" class="parameters_annotations">
|
479
466
|
</colgroup>
|
480
467
|
<tbody>
|
481
468
|
<tr>
|
482
|
-
<td
|
483
|
-
<td>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</td>
|
484
|
-
</
|
485
|
-
<tr>
|
486
|
-
<td><p><span class="term"><em class="parameter"><code>proposal</code></em> :</span></p></td>
|
487
|
-
<td>a <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a>.</td>
|
469
|
+
<td class="parameter_name"><p>provider</p></td>
|
470
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
471
|
+
<td class="parameter_annotations"> </td>
|
488
472
|
</tr>
|
489
473
|
<tr>
|
490
|
-
<td
|
491
|
-
<td>a <a class="link" href="
|
474
|
+
<td class="parameter_name"><p>proposal</p></td>
|
475
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a>.</p></td>
|
476
|
+
<td class="parameter_annotations"> </td>
|
492
477
|
</tr>
|
493
478
|
<tr>
|
494
|
-
<td
|
495
|
-
<td>a <a href="
|
479
|
+
<td class="parameter_name"><p>context</p></td>
|
480
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
481
|
+
<td class="parameter_annotations"> </td>
|
496
482
|
</tr>
|
497
483
|
<tr>
|
498
|
-
<td
|
499
|
-
<td>
|
500
|
-
<
|
484
|
+
<td class="parameter_name"><p>iter</p></td>
|
485
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
486
|
+
<td class="parameter_annotations"> </td>
|
501
487
|
</tr>
|
502
488
|
</tbody>
|
503
489
|
</table></div>
|
504
490
|
</div>
|
491
|
+
<div class="refsect3">
|
492
|
+
<a name="id-1.2.8.10.9.8"></a><h4>Returns</h4>
|
493
|
+
<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>iter</code></em>
|
494
|
+
was set for <em class="parameter"><code>proposal</code></em>
|
495
|
+
, <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> otherwise.</p>
|
496
|
+
<p></p>
|
497
|
+
</div>
|
498
|
+
</div>
|
505
499
|
<hr>
|
506
500
|
<div class="refsect2">
|
507
|
-
<a name="gtk-source-completion-provider-activate-proposal"></a><h3>gtk_source_completion_provider_activate_proposal
|
508
|
-
<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>
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
<
|
513
|
-
Activate <em class="parameter"><code>proposal</code></em>
|
514
|
-
|
515
|
-
|
516
|
-
</
|
517
|
-
<
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
<
|
501
|
+
<a name="gtk-source-completion-provider-activate-proposal"></a><h3>gtk_source_completion_provider_activate_proposal ()</h3>
|
502
|
+
<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>
|
503
|
+
gtk_source_completion_provider_activate_proposal
|
504
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
505
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
506
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
507
|
+
<p>Activate <em class="parameter"><code>proposal</code></em>
|
508
|
+
at <em class="parameter"><code>iter</code></em>
|
509
|
+
. When this functions returns <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>, the default
|
510
|
+
activation of <em class="parameter"><code>proposal</code></em>
|
511
|
+
will take place which replaces the word at <em class="parameter"><code>iter</code></em>
|
512
|
+
|
513
|
+
with the text of <em class="parameter"><code>proposal</code></em>
|
514
|
+
(see <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-text" title="gtk_source_completion_proposal_get_text ()"><code class="function">gtk_source_completion_proposal_get_text()</code></a>).</p>
|
515
|
+
<p>Here is how the default activation selects the boundaries of the word to
|
516
|
+
replace. The end of the word is <em class="parameter"><code>iter</code></em>
|
517
|
+
. For the start of the word, it depends
|
518
|
+
on whether a start iter is defined for <em class="parameter"><code>proposal</code></em>
|
519
|
+
(see
|
520
|
+
<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>). If a start iter is defined,
|
522
521
|
the start of the word is the start iter. Else, the word (as long as possible)
|
523
|
-
will contain only alphanumerical and the "_" characters
|
524
|
-
|
525
|
-
<
|
522
|
+
will contain only alphanumerical and the "_" characters.</p>
|
523
|
+
<div class="refsect3">
|
524
|
+
<a name="id-1.2.8.10.10.6"></a><h4>Parameters</h4>
|
525
|
+
<div class="informaltable"><table width="100%" border="0">
|
526
526
|
<colgroup>
|
527
|
-
<col
|
528
|
-
<col>
|
527
|
+
<col width="150px" class="parameters_name">
|
528
|
+
<col class="parameters_description">
|
529
|
+
<col width="200px" class="parameters_annotations">
|
529
530
|
</colgroup>
|
530
531
|
<tbody>
|
531
532
|
<tr>
|
532
|
-
<td
|
533
|
-
<td>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</td>
|
534
|
-
</
|
535
|
-
<tr>
|
536
|
-
<td><p><span class="term"><em class="parameter"><code>proposal</code></em> :</span></p></td>
|
537
|
-
<td>a <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a>.</td>
|
533
|
+
<td class="parameter_name"><p>provider</p></td>
|
534
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
535
|
+
<td class="parameter_annotations"> </td>
|
538
536
|
</tr>
|
539
537
|
<tr>
|
540
|
-
<td
|
541
|
-
<td>a <a href="
|
538
|
+
<td class="parameter_name"><p>proposal</p></td>
|
539
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a>.</p></td>
|
540
|
+
<td class="parameter_annotations"> </td>
|
542
541
|
</tr>
|
543
542
|
<tr>
|
544
|
-
<td
|
545
|
-
<td>
|
546
|
-
<
|
547
|
-
<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> otherwise.</td>
|
543
|
+
<td class="parameter_name"><p>iter</p></td>
|
544
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
545
|
+
<td class="parameter_annotations"> </td>
|
548
546
|
</tr>
|
549
547
|
</tbody>
|
550
548
|
</table></div>
|
551
549
|
</div>
|
550
|
+
<div class="refsect3">
|
551
|
+
<a name="id-1.2.8.10.10.7"></a><h4>Returns</h4>
|
552
|
+
<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> to indicate that the proposal activation has been handled,
|
553
|
+
<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> otherwise.</p>
|
554
|
+
<p></p>
|
555
|
+
</div>
|
556
|
+
</div>
|
552
557
|
<hr>
|
553
558
|
<div class="refsect2">
|
554
|
-
<a name="gtk-source-completion-provider-get-interactive-delay"></a><h3>gtk_source_completion_provider_get_interactive_delay
|
555
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
556
|
-
|
557
|
-
<
|
558
|
-
Get the delay in milliseconds before starting interactive completion for
|
559
|
+
<a name="gtk-source-completion-provider-get-interactive-delay"></a><h3>gtk_source_completion_provider_get_interactive_delay ()</h3>
|
560
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
561
|
+
gtk_source_completion_provider_get_interactive_delay
|
562
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
563
|
+
<p>Get the delay in milliseconds before starting interactive completion for
|
559
564
|
this provider. A value of -1 indicates to use the default value as set
|
560
|
-
by the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--auto-complete-delay" title=
|
561
|
-
|
562
|
-
<
|
565
|
+
by the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--auto-complete-delay" title="The “auto-complete-delay” property"><span class="type">“auto-complete-delay”</span></a> property.</p>
|
566
|
+
<div class="refsect3">
|
567
|
+
<a name="id-1.2.8.10.11.5"></a><h4>Parameters</h4>
|
568
|
+
<div class="informaltable"><table width="100%" border="0">
|
563
569
|
<colgroup>
|
564
|
-
<col
|
565
|
-
<col>
|
570
|
+
<col width="150px" class="parameters_name">
|
571
|
+
<col class="parameters_description">
|
572
|
+
<col width="200px" class="parameters_annotations">
|
566
573
|
</colgroup>
|
567
|
-
<tbody>
|
568
|
-
<
|
569
|
-
<td><p
|
570
|
-
<td
|
571
|
-
</tr>
|
572
|
-
<tr>
|
573
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
574
|
-
<td>the interactive delay in milliseconds.</td>
|
575
|
-
</tr>
|
576
|
-
</tbody>
|
574
|
+
<tbody><tr>
|
575
|
+
<td class="parameter_name"><p>provider</p></td>
|
576
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
577
|
+
<td class="parameter_annotations"> </td>
|
578
|
+
</tr></tbody>
|
577
579
|
</table></div>
|
578
580
|
</div>
|
581
|
+
<div class="refsect3">
|
582
|
+
<a name="id-1.2.8.10.11.6"></a><h4>Returns</h4>
|
583
|
+
<p> the interactive delay in milliseconds.</p>
|
584
|
+
<p></p>
|
585
|
+
</div>
|
586
|
+
</div>
|
579
587
|
<hr>
|
580
588
|
<div class="refsect2">
|
581
|
-
<a name="gtk-source-completion-provider-get-priority"></a><h3>gtk_source_completion_provider_get_priority
|
582
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
583
|
-
|
584
|
-
<
|
585
|
-
Get the provider priority. The priority determines the order in which
|
589
|
+
<a name="gtk-source-completion-provider-get-priority"></a><h3>gtk_source_completion_provider_get_priority ()</h3>
|
590
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
591
|
+
gtk_source_completion_provider_get_priority
|
592
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
593
|
+
<p>Get the provider priority. The priority determines the order in which
|
586
594
|
proposals appear in the completion popup. Higher priorities are sorted
|
587
|
-
before lower priorities. The default priority is 0
|
588
|
-
|
589
|
-
<
|
595
|
+
before lower priorities. The default priority is 0.</p>
|
596
|
+
<div class="refsect3">
|
597
|
+
<a name="id-1.2.8.10.12.5"></a><h4>Parameters</h4>
|
598
|
+
<div class="informaltable"><table width="100%" border="0">
|
590
599
|
<colgroup>
|
591
|
-
<col
|
592
|
-
<col>
|
600
|
+
<col width="150px" class="parameters_name">
|
601
|
+
<col class="parameters_description">
|
602
|
+
<col width="200px" class="parameters_annotations">
|
603
|
+
</colgroup>
|
604
|
+
<tbody><tr>
|
605
|
+
<td class="parameter_name"><p>provider</p></td>
|
606
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
607
|
+
<td class="parameter_annotations"> </td>
|
608
|
+
</tr></tbody>
|
609
|
+
</table></div>
|
610
|
+
</div>
|
611
|
+
<div class="refsect3">
|
612
|
+
<a name="id-1.2.8.10.12.6"></a><h4>Returns</h4>
|
613
|
+
<p> the provider priority.</p>
|
614
|
+
<p></p>
|
615
|
+
</div>
|
616
|
+
</div>
|
617
|
+
</div>
|
618
|
+
<div class="refsect1">
|
619
|
+
<a name="GtkSourceCompletionProvider.other_details"></a><h2>Types and Values</h2>
|
620
|
+
<div class="refsect2">
|
621
|
+
<a name="GtkSourceCompletionProvider-struct"></a><h3>GtkSourceCompletionProvider</h3>
|
622
|
+
<pre class="programlisting">typedef struct _GtkSourceCompletionProvider GtkSourceCompletionProvider;</pre>
|
623
|
+
</div>
|
624
|
+
<hr>
|
625
|
+
<div class="refsect2">
|
626
|
+
<a name="GtkSourceCompletionProviderIface"></a><h3>struct GtkSourceCompletionProviderIface</h3>
|
627
|
+
<pre class="programlisting">struct GtkSourceCompletionProviderIface {
|
628
|
+
GTypeInterface g_iface;
|
629
|
+
|
630
|
+
gchar *(*get_name) (GtkSourceCompletionProvider *provider);
|
631
|
+
GdkPixbuf *(*get_icon) (GtkSourceCompletionProvider *provider);
|
632
|
+
void (*populate) (GtkSourceCompletionProvider *provider,
|
633
|
+
GtkSourceCompletionContext *context);
|
634
|
+
|
635
|
+
gboolean (*match) (GtkSourceCompletionProvider *provider,
|
636
|
+
GtkSourceCompletionContext *context);
|
637
|
+
|
638
|
+
GtkSourceCompletionActivation
|
639
|
+
(*get_activation) (GtkSourceCompletionProvider *provider);
|
640
|
+
|
641
|
+
GtkWidget *(*get_info_widget) (GtkSourceCompletionProvider *provider,
|
642
|
+
GtkSourceCompletionProposal *proposal);
|
643
|
+
void (*update_info) (GtkSourceCompletionProvider *provider,
|
644
|
+
GtkSourceCompletionProposal *proposal,
|
645
|
+
GtkSourceCompletionInfo *info);
|
646
|
+
|
647
|
+
gboolean (*get_start_iter) (GtkSourceCompletionProvider *provider,
|
648
|
+
GtkSourceCompletionContext *context,
|
649
|
+
GtkSourceCompletionProposal *proposal,
|
650
|
+
GtkTextIter *iter);
|
651
|
+
gboolean (*activate_proposal) (GtkSourceCompletionProvider *provider,
|
652
|
+
GtkSourceCompletionProposal *proposal,
|
653
|
+
GtkTextIter *iter);
|
654
|
+
|
655
|
+
gint (*get_interactive_delay) (GtkSourceCompletionProvider *provider);
|
656
|
+
gint (*get_priority) (GtkSourceCompletionProvider *provider);
|
657
|
+
};
|
658
|
+
</pre>
|
659
|
+
<p>The virtual function table for <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p>
|
660
|
+
<div class="refsect3">
|
661
|
+
<a name="id-1.2.8.11.3.5"></a><h4>Members</h4>
|
662
|
+
<div class="informaltable"><table width="100%" border="0">
|
663
|
+
<colgroup>
|
664
|
+
<col width="300px" class="struct_members_name">
|
665
|
+
<col class="struct_members_description">
|
666
|
+
<col width="200px" class="struct_members_annotations">
|
593
667
|
</colgroup>
|
594
668
|
<tbody>
|
595
669
|
<tr>
|
596
|
-
<td><p><span class="
|
597
|
-
<td
|
670
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GTypeInterface"><span class="type">GTypeInterface</span></a> <em class="structfield"><code><a name="GtkSourceCompletionProviderIface.g-iface"></a>g_iface</code></em>;</p></td>
|
671
|
+
<td class="struct_member_description"><p>The parent interface.</p></td>
|
672
|
+
<td class="struct_member_annotations"> </td>
|
673
|
+
</tr>
|
674
|
+
<tr>
|
675
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-name"></a>get_name</code></em> ()</p></td>
|
676
|
+
<td class="struct_member_description"><p>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-name" title="gtk_source_completion_provider_get_name ()"><code class="function">gtk_source_completion_provider_get_name()</code></a>.
|
677
|
+
Must be implemented.</p></td>
|
678
|
+
<td class="struct_member_annotations"> </td>
|
679
|
+
</tr>
|
680
|
+
<tr>
|
681
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-icon"></a>get_icon</code></em> ()</p></td>
|
682
|
+
<td class="struct_member_description"><p>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-icon" title="gtk_source_completion_provider_get_icon ()"><code class="function">gtk_source_completion_provider_get_icon()</code></a>.
|
683
|
+
By default, <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> is returned.</p></td>
|
684
|
+
<td class="struct_member_annotations"> </td>
|
685
|
+
</tr>
|
686
|
+
<tr>
|
687
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.populate"></a>populate</code></em> ()</p></td>
|
688
|
+
<td class="struct_member_description"><p>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-populate" title="gtk_source_completion_provider_populate ()"><code class="function">gtk_source_completion_provider_populate()</code></a>.
|
689
|
+
Add no proposals by default.</p></td>
|
690
|
+
<td class="struct_member_annotations"> </td>
|
691
|
+
</tr>
|
692
|
+
<tr>
|
693
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.match"></a>match</code></em> ()</p></td>
|
694
|
+
<td class="struct_member_description"><p>The virtual function pointer for <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>.
|
695
|
+
By default, <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> is returned.</p></td>
|
696
|
+
<td class="struct_member_annotations"> </td>
|
697
|
+
</tr>
|
698
|
+
<tr>
|
699
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-activation"></a>get_activation</code></em> ()</p></td>
|
700
|
+
<td class="struct_member_description"><p>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-activation" title="gtk_source_completion_provider_get_activation ()"><code class="function">gtk_source_completion_provider_get_activation()</code></a>.
|
701
|
+
The combination of all <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a> is returned by default.</p></td>
|
702
|
+
<td class="struct_member_annotations"> </td>
|
703
|
+
</tr>
|
704
|
+
<tr>
|
705
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-info-widget"></a>get_info_widget</code></em> ()</p></td>
|
706
|
+
<td class="struct_member_description"><p>The virtual function pointer for <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>.
|
707
|
+
By default, <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> is returned.</p></td>
|
708
|
+
<td class="struct_member_annotations"> </td>
|
709
|
+
</tr>
|
710
|
+
<tr>
|
711
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.update-info"></a>update_info</code></em> ()</p></td>
|
712
|
+
<td class="struct_member_description"><p>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-update-info" title="gtk_source_completion_provider_update_info ()"><code class="function">gtk_source_completion_provider_update_info()</code></a>.
|
713
|
+
Does nothing by default.</p></td>
|
714
|
+
<td class="struct_member_annotations"> </td>
|
715
|
+
</tr>
|
716
|
+
<tr>
|
717
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-start-iter"></a>get_start_iter</code></em> ()</p></td>
|
718
|
+
<td class="struct_member_description"><p>The virtual function pointer for <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>.
|
719
|
+
By default, <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></td>
|
720
|
+
<td class="struct_member_annotations"> </td>
|
721
|
+
</tr>
|
722
|
+
<tr>
|
723
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.activate-proposal"></a>activate_proposal</code></em> ()</p></td>
|
724
|
+
<td class="struct_member_description"><p>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal ()"><code class="function">gtk_source_completion_provider_activate_proposal()</code></a>.
|
725
|
+
By default, <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></td>
|
726
|
+
<td class="struct_member_annotations"> </td>
|
727
|
+
</tr>
|
728
|
+
<tr>
|
729
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-interactive-delay"></a>get_interactive_delay</code></em> ()</p></td>
|
730
|
+
<td class="struct_member_description"><p>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-interactive-delay" title="gtk_source_completion_provider_get_interactive_delay ()"><code class="function">gtk_source_completion_provider_get_interactive_delay()</code></a>.
|
731
|
+
By default, -1 is returned.</p></td>
|
732
|
+
<td class="struct_member_annotations"> </td>
|
598
733
|
</tr>
|
599
734
|
<tr>
|
600
|
-
<td><p><
|
601
|
-
<td>
|
735
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-priority"></a>get_priority</code></em> ()</p></td>
|
736
|
+
<td class="struct_member_description"><p>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-priority" title="gtk_source_completion_provider_get_priority ()"><code class="function">gtk_source_completion_provider_get_priority()</code></a>.
|
737
|
+
By default, 0 is returned.</p></td>
|
738
|
+
<td class="struct_member_annotations"> </td>
|
602
739
|
</tr>
|
603
740
|
</tbody>
|
604
741
|
</table></div>
|
605
742
|
</div>
|
606
743
|
</div>
|
607
744
|
</div>
|
745
|
+
</div>
|
608
746
|
<div class="footer">
|
609
747
|
<hr>
|
610
|
-
Generated by GTK-Doc V1.
|
748
|
+
Generated by GTK-Doc V1.21.1</div>
|
611
749
|
</body>
|
612
750
|
</html>
|