gtksourceview4 3.2.9-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/COPYING.LIB +502 -0
- data/README.md +24 -0
- data/Rakefile +61 -0
- data/dependency-check/Rakefile +43 -0
- data/gtksourceview4.gemspec +45 -0
- data/lib/gtksourceview4.rb +56 -0
- data/lib/gtksourceview4/deprecated.rb +49 -0
- data/lib/gtksourceview4/loader.rb +49 -0
- data/lib/gtksourceview4/mark-attributes.rb +29 -0
- data/test/run-test.rb +62 -0
- data/test/test-mark-attributes.rb +26 -0
- data/test/test-source-gutter-renderer.rb +33 -0
- data/test/test-source-language-manager.rb +46 -0
- data/test/test-source-view.rb +55 -0
- data/vendor/local/bin/libgtksourceview-4-0.dll +0 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +72 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource-enumtypes.h +107 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource.h +67 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceautocleanups.h +63 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcebuffer.h +279 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletion.h +156 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioncontext.h +102 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioninfo.h +77 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionitem.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionproposal.h +126 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionprovider.h +166 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceencoding.h +74 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefile.h +195 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefileloader.h +140 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefilesaver.h +168 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutter.h +93 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderer.h +272 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrendererpixbuf.h +91 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderertext.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceinit.h +40 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguage.h +98 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguagemanager.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemap.h +70 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemark.h +79 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemarkattributes.h +112 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceprintcompositor.h +223 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceregion.h +127 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchcontext.h +161 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchsettings.h +100 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcespacedrawer.h +144 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyle.h +54 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestylescheme.h +119 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooser.h +66 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserbutton.h +64 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserwidget.h +64 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschememanager.h +100 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetag.h +54 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetypes.h +73 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceundomanager.h +90 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceutils.h +41 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceversion.h +578 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceview.h +266 -0
- data/vendor/local/lib/girepository-1.0/GtkSource-4.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-4.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-4.la +41 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-4.pc +12 -0
- data/vendor/local/share/gir-1.0/GtkSource-4.gir +12999 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceBuffer.html +2421 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletion.html +1087 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionContext.html +402 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionInfo.html +207 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionItem.html +497 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProposal.html +668 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProvider.html +837 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionWords.html +343 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceEncoding.html +391 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFile.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileLoader.html +780 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileSaver.html +965 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutter.html +438 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRenderer.html +1708 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererPixbuf.html +369 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererText.html +299 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguage.html +579 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguageManager.html +473 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMap.html +254 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMark.html +307 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMarkAttributes.html +788 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourcePrintCompositor.html +2121 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceRegion.html +870 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchContext.html +1216 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchSettings.html +603 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSpaceDrawer.html +671 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyle.html +433 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleScheme.html +396 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooser.html +214 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserButton.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserWidget.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeManager.html +460 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceTag.html +179 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceUndoManager.html +460 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceView.html +2369 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annexes.html +55 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annotation-glossary.html +74 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-0.html +62 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-10.html +86 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-12.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-2.html +270 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-4.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-8.html +46 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-0.html +42 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-10.html +170 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-12.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-14.html +298 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-16.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-18.html +114 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-20.html +130 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-22.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-24.html +126 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-4.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-4-0.html +65 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-deprecated.html +30 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-full.html +2586 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-reference.html +174 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/completion.html +52 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/file-loading-and-saving.html +43 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/general.html +32 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceUtils.html +151 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceView-Initialization-and-Finalization.html +100 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-Version-Information.html +511 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0.devhelp2 +819 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gutter.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/index.html +215 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/intro.html +56 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-reference.html +946 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-tutorial.html +652 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/main-classes.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/misc.html +52 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/object-tree.html +98 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide-3-to-4.html +152 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide.html +33 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/printing.html +32 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/search-and-replace.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style-reference.html +305 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style.css +483 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/styling.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting-reference.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-4/language-specs/R.lang +2198 -0
- data/vendor/local/share/gtksourceview-4/language-specs/abnf.lang +109 -0
- data/vendor/local/share/gtksourceview-4/language-specs/actionscript.lang +267 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ada.lang +220 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ansforth94.lang +728 -0
- data/vendor/local/share/gtksourceview-4/language-specs/asp.lang +1096 -0
- data/vendor/local/share/gtksourceview-4/language-specs/automake.lang +329 -0
- data/vendor/local/share/gtksourceview-4/language-specs/awk.lang +137 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bennugd.lang +266 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bibtex.lang +120 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bluespec.lang +187 -0
- data/vendor/local/share/gtksourceview-4/language-specs/boo.lang +256 -0
- data/vendor/local/share/gtksourceview-4/language-specs/c.lang +343 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cg.lang +231 -0
- data/vendor/local/share/gtksourceview-4/language-specs/changelog.lang +91 -0
- data/vendor/local/share/gtksourceview-4/language-specs/chdr.lang +50 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cmake.lang +817 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cobol.lang +646 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cpp.lang +119 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cpphdr.lang +41 -0
- data/vendor/local/share/gtksourceview-4/language-specs/csharp.lang +285 -0
- data/vendor/local/share/gtksourceview-4/language-specs/css.lang +2411 -0
- data/vendor/local/share/gtksourceview-4/language-specs/csv.lang +73 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cuda.lang +281 -0
- data/vendor/local/share/gtksourceview-4/language-specs/d.lang +317 -0
- data/vendor/local/share/gtksourceview-4/language-specs/def.lang +261 -0
- data/vendor/local/share/gtksourceview-4/language-specs/desktop.lang +297 -0
- data/vendor/local/share/gtksourceview-4/language-specs/diff.lang +84 -0
- data/vendor/local/share/gtksourceview-4/language-specs/docbook.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dosbatch.lang +166 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dot.lang +139 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dpatch.lang +47 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dtd.lang +139 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dtl.lang +297 -0
- data/vendor/local/share/gtksourceview-4/language-specs/eiffel.lang +238 -0
- data/vendor/local/share/gtksourceview-4/language-specs/erlang.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-4/language-specs/forth.lang +234 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fortran.lang +710 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fsharp.lang +324 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gap.lang +84 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gdb-log.lang +151 -0
- data/vendor/local/share/gtksourceview-4/language-specs/genie.lang +237 -0
- data/vendor/local/share/gtksourceview-4/language-specs/glsl.lang +482 -0
- data/vendor/local/share/gtksourceview-4/language-specs/go.lang +274 -0
- data/vendor/local/share/gtksourceview-4/language-specs/groovy.lang +330 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gtk-doc.lang +90 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gtkrc.lang +115 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haddock.lang +161 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haskell-literate.lang +58 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haskell.lang +227 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haxe.lang +237 -0
- data/vendor/local/share/gtksourceview-4/language-specs/html.lang +286 -0
- data/vendor/local/share/gtksourceview-4/language-specs/idl-exelis.lang +619 -0
- data/vendor/local/share/gtksourceview-4/language-specs/idl.lang +153 -0
- data/vendor/local/share/gtksourceview-4/language-specs/imagej.lang +783 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ini.lang +94 -0
- data/vendor/local/share/gtksourceview-4/language-specs/j.lang +239 -0
- data/vendor/local/share/gtksourceview-4/language-specs/jade.lang +248 -0
- data/vendor/local/share/gtksourceview-4/language-specs/java.lang +188 -0
- data/vendor/local/share/gtksourceview-4/language-specs/javascript.lang +354 -0
- data/vendor/local/share/gtksourceview-4/language-specs/json.lang +124 -0
- data/vendor/local/share/gtksourceview-4/language-specs/julia.lang +376 -0
- data/vendor/local/share/gtksourceview-4/language-specs/kotlin.lang +389 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language.dtd +72 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language.rng +372 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language2.rng +481 -0
- data/vendor/local/share/gtksourceview-4/language-specs/latex.lang +636 -0
- data/vendor/local/share/gtksourceview-4/language-specs/less.lang +793 -0
- data/vendor/local/share/gtksourceview-4/language-specs/lex.lang +208 -0
- data/vendor/local/share/gtksourceview-4/language-specs/libtool.lang +55 -0
- data/vendor/local/share/gtksourceview-4/language-specs/llvm.lang +314 -0
- data/vendor/local/share/gtksourceview-4/language-specs/logcat.lang +107 -0
- data/vendor/local/share/gtksourceview-4/language-specs/lua.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/m4.lang +1374 -0
- data/vendor/local/share/gtksourceview-4/language-specs/makefile.lang +190 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mallard.lang +123 -0
- data/vendor/local/share/gtksourceview-4/language-specs/markdown.lang +401 -0
- data/vendor/local/share/gtksourceview-4/language-specs/matlab.lang +148 -0
- data/vendor/local/share/gtksourceview-4/language-specs/maxima.lang +1864 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mediawiki.lang +326 -0
- data/vendor/local/share/gtksourceview-4/language-specs/meson.lang +132 -0
- data/vendor/local/share/gtksourceview-4/language-specs/modelica.lang +261 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mxml.lang +64 -0
- data/vendor/local/share/gtksourceview-4/language-specs/nemerle.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/netrexx.lang +318 -0
- data/vendor/local/share/gtksourceview-4/language-specs/nsis.lang +87 -0
- data/vendor/local/share/gtksourceview-4/language-specs/objc.lang +119 -0
- data/vendor/local/share/gtksourceview-4/language-specs/objj.lang +127 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ocaml.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ocl.lang +138 -0
- data/vendor/local/share/gtksourceview-4/language-specs/octave.lang +1757 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ooc.lang +264 -0
- data/vendor/local/share/gtksourceview-4/language-specs/opal.lang +342 -0
- data/vendor/local/share/gtksourceview-4/language-specs/opencl.lang +599 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pascal.lang +267 -0
- data/vendor/local/share/gtksourceview-4/language-specs/perl.lang +1044 -0
- data/vendor/local/share/gtksourceview-4/language-specs/php.lang +362 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pig.lang +292 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pkgconfig.lang +61 -0
- data/vendor/local/share/gtksourceview-4/language-specs/po.lang +93 -0
- data/vendor/local/share/gtksourceview-4/language-specs/prolog.lang +248 -0
- data/vendor/local/share/gtksourceview-4/language-specs/protobuf.lang +134 -0
- data/vendor/local/share/gtksourceview-4/language-specs/puppet.lang +696 -0
- data/vendor/local/share/gtksourceview-4/language-specs/python.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/python3.lang +198 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rpmspec.lang +215 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rst.lang +141 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ruby.lang +748 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rust.lang +334 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scala.lang +383 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scheme.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scilab.lang +208 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scss.lang +878 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sh.lang +516 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sml.lang +200 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sparql.lang +451 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sql.lang +617 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sweave.lang +66 -0
- data/vendor/local/share/gtksourceview-4/language-specs/swift.lang +440 -0
- data/vendor/local/share/gtksourceview-4/language-specs/systemverilog.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/t2t.lang +149 -0
- data/vendor/local/share/gtksourceview-4/language-specs/tcl.lang +145 -0
- data/vendor/local/share/gtksourceview-4/language-specs/tera.lang +142 -0
- data/vendor/local/share/gtksourceview-4/language-specs/texinfo.lang +447 -0
- data/vendor/local/share/gtksourceview-4/language-specs/thrift.lang +266 -0
- data/vendor/local/share/gtksourceview-4/language-specs/toml.lang +282 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vala.lang +411 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vbnet.lang +247 -0
- data/vendor/local/share/gtksourceview-4/language-specs/verilog.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vhdl.lang +247 -0
- data/vendor/local/share/gtksourceview-4/language-specs/xml.lang +219 -0
- data/vendor/local/share/gtksourceview-4/language-specs/xslt.lang +120 -0
- data/vendor/local/share/gtksourceview-4/language-specs/yacc.lang +176 -0
- data/vendor/local/share/gtksourceview-4/language-specs/yaml.lang +213 -0
- data/vendor/local/share/gtksourceview-4/styles/classic.xml +122 -0
- data/vendor/local/share/gtksourceview-4/styles/cobalt.xml +150 -0
- data/vendor/local/share/gtksourceview-4/styles/kate.xml +171 -0
- data/vendor/local/share/gtksourceview-4/styles/oblivion.xml +133 -0
- data/vendor/local/share/gtksourceview-4/styles/solarized-dark.xml +103 -0
- data/vendor/local/share/gtksourceview-4/styles/solarized-light.xml +102 -0
- data/vendor/local/share/gtksourceview-4/styles/styles.rng +139 -0
- data/vendor/local/share/gtksourceview-4/styles/tango.xml +130 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +15 -0
- data/vendor/local/share/license/gtksourceview/COPYING +504 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-4.mo +0 -0
- metadata +437 -0
@@ -0,0 +1,402 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GtkSourceCompletionContext: GtkSourceView 4 Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 4 Reference Manual">
|
8
|
+
<link rel="up" href="completion.html" title="Completion">
|
9
|
+
<link rel="prev" href="GtkSourceCompletion.html" title="GtkSourceCompletion">
|
10
|
+
<link rel="next" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.28.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#GtkSourceCompletionContext.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceCompletionContext.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceCompletionContext.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
|
21
|
+
<a href="#GtkSourceCompletionContext.signals" class="shortcut">Signals</a></span>
|
22
|
+
</td>
|
23
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
+
<td><a accesskey="u" href="completion.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
|
+
<td><a accesskey="p" href="GtkSourceCompletion.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
|
+
<td><a accesskey="n" href="GtkSourceCompletionInfo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
|
+
</tr></table>
|
28
|
+
<div class="refentry">
|
29
|
+
<a name="GtkSourceCompletionContext"></a><div class="titlepage"></div>
|
30
|
+
<div class="refnamediv"><table width="100%"><tr>
|
31
|
+
<td valign="top">
|
32
|
+
<h2><span class="refentrytitle"><a name="GtkSourceCompletionContext.top_of_page"></a>GtkSourceCompletionContext</span></h2>
|
33
|
+
<p>GtkSourceCompletionContext — The context of a completion</p>
|
34
|
+
</td>
|
35
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
36
|
+
</tr></table></div>
|
37
|
+
<div class="refsect1">
|
38
|
+
<a name="GtkSourceCompletionContext.functions"></a><h2>Functions</h2>
|
39
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
40
|
+
<colgroup>
|
41
|
+
<col width="150px" class="functions_return">
|
42
|
+
<col class="functions_name">
|
43
|
+
</colgroup>
|
44
|
+
<tbody>
|
45
|
+
<tr>
|
46
|
+
<td class="function_type">
|
47
|
+
<span class="returnvalue">void</span>
|
48
|
+
</td>
|
49
|
+
<td class="function_name">
|
50
|
+
<a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-add-proposals" title="gtk_source_completion_context_add_proposals ()">gtk_source_completion_context_add_proposals</a> <span class="c_punctuation">()</span>
|
51
|
+
</td>
|
52
|
+
</tr>
|
53
|
+
<tr>
|
54
|
+
<td class="function_type">
|
55
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
56
|
+
</td>
|
57
|
+
<td class="function_name">
|
58
|
+
<a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-get-iter" title="gtk_source_completion_context_get_iter ()">gtk_source_completion_context_get_iter</a> <span class="c_punctuation">()</span>
|
59
|
+
</td>
|
60
|
+
</tr>
|
61
|
+
<tr>
|
62
|
+
<td class="function_type">
|
63
|
+
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a>
|
64
|
+
</td>
|
65
|
+
<td class="function_name">
|
66
|
+
<a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-get-activation" title="gtk_source_completion_context_get_activation ()">gtk_source_completion_context_get_activation</a> <span class="c_punctuation">()</span>
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
</tbody>
|
70
|
+
</table></div>
|
71
|
+
</div>
|
72
|
+
<div class="refsect1">
|
73
|
+
<a name="GtkSourceCompletionContext.properties"></a><h2>Properties</h2>
|
74
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
75
|
+
<colgroup>
|
76
|
+
<col width="150px" class="properties_type">
|
77
|
+
<col width="300px" class="properties_name">
|
78
|
+
<col width="200px" class="properties_flags">
|
79
|
+
</colgroup>
|
80
|
+
<tbody>
|
81
|
+
<tr>
|
82
|
+
<td class="property_type"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a></td>
|
83
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--activation" title="The “activation” property">activation</a></td>
|
84
|
+
<td class="property_flags">Read / Write / Construct</td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td class="property_type">
|
88
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *</td>
|
89
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--completion" title="The “completion” property">completion</a></td>
|
90
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="property_type">
|
94
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *</td>
|
95
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--iter" title="The “iter” property">iter</a></td>
|
96
|
+
<td class="property_flags">Read / Write</td>
|
97
|
+
</tr>
|
98
|
+
</tbody>
|
99
|
+
</table></div>
|
100
|
+
</div>
|
101
|
+
<div class="refsect1">
|
102
|
+
<a name="GtkSourceCompletionContext.signals"></a><h2>Signals</h2>
|
103
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
104
|
+
<colgroup>
|
105
|
+
<col width="150px" class="signals_return">
|
106
|
+
<col width="300px" class="signals_name">
|
107
|
+
<col width="200px" class="signals_flags">
|
108
|
+
</colgroup>
|
109
|
+
<tbody><tr>
|
110
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
111
|
+
<td class="signal_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext-cancelled" title="The “cancelled” signal">cancelled</a></td>
|
112
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
113
|
+
</tr></tbody>
|
114
|
+
</table></div>
|
115
|
+
</div>
|
116
|
+
<div class="refsect1">
|
117
|
+
<a name="GtkSourceCompletionContext.other"></a><h2>Types and Values</h2>
|
118
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
119
|
+
<colgroup>
|
120
|
+
<col width="150px" class="name">
|
121
|
+
<col class="description">
|
122
|
+
</colgroup>
|
123
|
+
<tbody>
|
124
|
+
<tr>
|
125
|
+
<td class="datatype_keyword">enum</td>
|
126
|
+
<td class="function_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation">GtkSourceCompletionActivation</a></td>
|
127
|
+
</tr>
|
128
|
+
<tr>
|
129
|
+
<td class="datatype_keyword"> </td>
|
130
|
+
<td class="function_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext-struct" title="GtkSourceCompletionContext">GtkSourceCompletionContext</a></td>
|
131
|
+
</tr>
|
132
|
+
</tbody>
|
133
|
+
</table></div>
|
134
|
+
</div>
|
135
|
+
<div class="refsect1">
|
136
|
+
<a name="GtkSourceCompletionContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
137
|
+
<pre class="screen"> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
138
|
+
<span class="lineart">╰──</span> GtkSourceCompletionActivation
|
139
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
140
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
141
|
+
<span class="lineart">╰──</span> GtkSourceCompletionContext
|
142
|
+
</pre>
|
143
|
+
</div>
|
144
|
+
<div class="refsect1">
|
145
|
+
<a name="GtkSourceCompletionContext.includes"></a><h2>Includes</h2>
|
146
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
147
|
+
</pre>
|
148
|
+
</div>
|
149
|
+
<div class="refsect1">
|
150
|
+
<a name="GtkSourceCompletionContext.description"></a><h2>Description</h2>
|
151
|
+
<p>Initially, the completion window is hidden. For a completion to occur, it has
|
152
|
+
to be activated. The different possible activations are listed in
|
153
|
+
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a>. When an activation occurs, a
|
154
|
+
<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> object is created, and the eligible providers are
|
155
|
+
asked to add proposals with <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>.</p>
|
156
|
+
<p>If no proposals are added, the completion window remains hidden, and the
|
157
|
+
context is destroyed.</p>
|
158
|
+
<p>On the other hand, if proposals are added, the completion window becomes
|
159
|
+
visible, and the user can choose a proposal. If the user is not happy with
|
160
|
+
the shown proposals, he or she can insert or delete characters, to modify the
|
161
|
+
completion context and therefore hoping to see the proposal he or she wants.
|
162
|
+
This means that when an insertion or deletion occurs in the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>
|
163
|
+
when the completion window is visible, the eligible providers are again asked
|
164
|
+
to add proposals. The <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--activation" title="The “activation” property"><span class="type">“activation”</span></a> remains the
|
165
|
+
same in this case.</p>
|
166
|
+
<p>When the completion window is hidden, the interactive completion is triggered
|
167
|
+
only on insertion in the buffer, not on deletion. Once the completion window
|
168
|
+
is visible, then on each insertion or deletion, there is a new population and
|
169
|
+
the providers are asked to add proposals. If there are no more proposals, the
|
170
|
+
completion window disappears. So if you want to keep the completion window
|
171
|
+
visible, but there are no proposals, you can insert a dummy proposal named
|
172
|
+
"No proposals". For example, the user types progressively the name of
|
173
|
+
a function, and some proposals appear. The user types a bad character and
|
174
|
+
there are no proposals anymore. What the user wants is to delete the last
|
175
|
+
character, and see the previous proposals. If the completion window
|
176
|
+
disappears, the previous proposals will not reappear on the character
|
177
|
+
deletion.</p>
|
178
|
+
<p>A <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> is associated with the context, this is where the completion
|
179
|
+
takes place. With this <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>, you can get the associated
|
180
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> with <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#gtk-text-iter-get-buffer"><code class="function">gtk_text_iter_get_buffer()</code></a>.</p>
|
181
|
+
</div>
|
182
|
+
<div class="refsect1">
|
183
|
+
<a name="GtkSourceCompletionContext.functions_details"></a><h2>Functions</h2>
|
184
|
+
<div class="refsect2">
|
185
|
+
<a name="gtk-source-completion-context-add-proposals"></a><h3>gtk_source_completion_context_add_proposals ()</h3>
|
186
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
187
|
+
gtk_source_completion_context_add_proposals
|
188
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
189
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
190
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *proposals</code></em>,
|
191
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> finished</code></em>);</pre>
|
192
|
+
<p>Providers can use this function to add proposals to the completion. They
|
193
|
+
can do so asynchronously by means of the <em class="parameter"><code>finished</code></em>
|
194
|
+
argument. Providers must
|
195
|
+
ensure that they always call this function with <em class="parameter"><code>finished</code></em>
|
196
|
+
set to <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
197
|
+
once each population (even if no proposals need to be added).
|
198
|
+
Population occurs when the <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>
|
199
|
+
function is called.</p>
|
200
|
+
<div class="refsect3">
|
201
|
+
<a name="gtk-source-completion-context-add-proposals.parameters"></a><h4>Parameters</h4>
|
202
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
203
|
+
<colgroup>
|
204
|
+
<col width="150px" class="parameters_name">
|
205
|
+
<col class="parameters_description">
|
206
|
+
<col width="200px" class="parameters_annotations">
|
207
|
+
</colgroup>
|
208
|
+
<tbody>
|
209
|
+
<tr>
|
210
|
+
<td class="parameter_name"><p>context</p></td>
|
211
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
212
|
+
<td class="parameter_annotations"> </td>
|
213
|
+
</tr>
|
214
|
+
<tr>
|
215
|
+
<td class="parameter_name"><p>provider</p></td>
|
216
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p></td>
|
217
|
+
<td class="parameter_annotations"> </td>
|
218
|
+
</tr>
|
219
|
+
<tr>
|
220
|
+
<td class="parameter_name"><p>proposals</p></td>
|
221
|
+
<td class="parameter_description"><p>The list of proposals to add. </p></td>
|
222
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.CompletionProposal]</span></td>
|
223
|
+
</tr>
|
224
|
+
<tr>
|
225
|
+
<td class="parameter_name"><p>finished</p></td>
|
226
|
+
<td class="parameter_description"><p>Whether the provider is finished adding proposals.</p></td>
|
227
|
+
<td class="parameter_annotations"> </td>
|
228
|
+
</tr>
|
229
|
+
</tbody>
|
230
|
+
</table></div>
|
231
|
+
</div>
|
232
|
+
</div>
|
233
|
+
<hr>
|
234
|
+
<div class="refsect2">
|
235
|
+
<a name="gtk-source-completion-context-get-iter"></a><h3>gtk_source_completion_context_get_iter ()</h3>
|
236
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
237
|
+
gtk_source_completion_context_get_iter
|
238
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
239
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
240
|
+
<p>Get the iter at which the completion was invoked. Providers can use this
|
241
|
+
to determine how and if to match proposals.</p>
|
242
|
+
<div class="refsect3">
|
243
|
+
<a name="gtk-source-completion-context-get-iter.parameters"></a><h4>Parameters</h4>
|
244
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
245
|
+
<colgroup>
|
246
|
+
<col width="150px" class="parameters_name">
|
247
|
+
<col class="parameters_description">
|
248
|
+
<col width="200px" class="parameters_annotations">
|
249
|
+
</colgroup>
|
250
|
+
<tbody>
|
251
|
+
<tr>
|
252
|
+
<td class="parameter_name"><p>context</p></td>
|
253
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
254
|
+
<td class="parameter_annotations"> </td>
|
255
|
+
</tr>
|
256
|
+
<tr>
|
257
|
+
<td class="parameter_name"><p>iter</p></td>
|
258
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>. </p></td>
|
259
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
260
|
+
</tr>
|
261
|
+
</tbody>
|
262
|
+
</table></div>
|
263
|
+
</div>
|
264
|
+
<div class="refsect3">
|
265
|
+
<a name="gtk-source-completion-context-get-iter.returns"></a><h4>Returns</h4>
|
266
|
+
<p> <a href="/home/seb/jhbuild/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>
|
267
|
+
is correctly set, <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
268
|
+
</div>
|
269
|
+
</div>
|
270
|
+
<hr>
|
271
|
+
<div class="refsect2">
|
272
|
+
<a name="gtk-source-completion-context-get-activation"></a><h3>gtk_source_completion_context_get_activation ()</h3>
|
273
|
+
<pre class="programlisting"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a>
|
274
|
+
gtk_source_completion_context_get_activation
|
275
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);</pre>
|
276
|
+
<p>Get the context activation.</p>
|
277
|
+
<div class="refsect3">
|
278
|
+
<a name="gtk-source-completion-context-get-activation.parameters"></a><h4>Parameters</h4>
|
279
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
280
|
+
<colgroup>
|
281
|
+
<col width="150px" class="parameters_name">
|
282
|
+
<col class="parameters_description">
|
283
|
+
<col width="200px" class="parameters_annotations">
|
284
|
+
</colgroup>
|
285
|
+
<tbody><tr>
|
286
|
+
<td class="parameter_name"><p>context</p></td>
|
287
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
288
|
+
<td class="parameter_annotations"> </td>
|
289
|
+
</tr></tbody>
|
290
|
+
</table></div>
|
291
|
+
</div>
|
292
|
+
<div class="refsect3">
|
293
|
+
<a name="gtk-source-completion-context-get-activation.returns"></a><h4>Returns</h4>
|
294
|
+
<p> The context activation.</p>
|
295
|
+
</div>
|
296
|
+
</div>
|
297
|
+
</div>
|
298
|
+
<div class="refsect1">
|
299
|
+
<a name="GtkSourceCompletionContext.other_details"></a><h2>Types and Values</h2>
|
300
|
+
<div class="refsect2">
|
301
|
+
<a name="GtkSourceCompletionActivation"></a><h3>enum GtkSourceCompletionActivation</h3>
|
302
|
+
<div class="refsect3">
|
303
|
+
<a name="GtkSourceCompletionActivation.members"></a><h4>Members</h4>
|
304
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
305
|
+
<colgroup>
|
306
|
+
<col width="300px" class="enum_members_name">
|
307
|
+
<col class="enum_members_description">
|
308
|
+
<col width="200px" class="enum_members_annotations">
|
309
|
+
</colgroup>
|
310
|
+
<tbody>
|
311
|
+
<tr>
|
312
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-NONE:CAPS"></a>GTK_SOURCE_COMPLETION_ACTIVATION_NONE</p></td>
|
313
|
+
<td class="enum_member_description">
|
314
|
+
<p>None.</p>
|
315
|
+
</td>
|
316
|
+
<td class="enum_member_annotations"> </td>
|
317
|
+
</tr>
|
318
|
+
<tr>
|
319
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-INTERACTIVE:CAPS"></a>GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE</p></td>
|
320
|
+
<td class="enum_member_description">
|
321
|
+
<p>Interactive activation. By
|
322
|
+
default, it occurs on each insertion in the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. This can be
|
323
|
+
blocked temporarily with <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-block-interactive" title="gtk_source_completion_block_interactive ()"><code class="function">gtk_source_completion_block_interactive()</code></a>.</p>
|
324
|
+
</td>
|
325
|
+
<td class="enum_member_annotations"> </td>
|
326
|
+
</tr>
|
327
|
+
<tr>
|
328
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-USER-REQUESTED:CAPS"></a>GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED</p></td>
|
329
|
+
<td class="enum_member_description">
|
330
|
+
<p>User requested activation.
|
331
|
+
By default, it occurs when the user presses</p>
|
332
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>space</strong></span>.
|
333
|
+
</td>
|
334
|
+
<td class="enum_member_annotations"> </td>
|
335
|
+
</tr>
|
336
|
+
</tbody>
|
337
|
+
</table></div>
|
338
|
+
</div>
|
339
|
+
</div>
|
340
|
+
<hr>
|
341
|
+
<div class="refsect2">
|
342
|
+
<a name="GtkSourceCompletionContext-struct"></a><h3>GtkSourceCompletionContext</h3>
|
343
|
+
<pre class="programlisting">typedef struct _GtkSourceCompletionContext GtkSourceCompletionContext;</pre>
|
344
|
+
</div>
|
345
|
+
</div>
|
346
|
+
<div class="refsect1">
|
347
|
+
<a name="GtkSourceCompletionContext.property-details"></a><h2>Property Details</h2>
|
348
|
+
<div class="refsect2">
|
349
|
+
<a name="GtkSourceCompletionContext--activation"></a><h3>The <code class="literal">“activation”</code> property</h3>
|
350
|
+
<pre class="programlisting"> “activation” <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a></pre>
|
351
|
+
<p>The completion activation</p>
|
352
|
+
<p>Flags: Read / Write / Construct</p>
|
353
|
+
<p>Default value: GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED</p>
|
354
|
+
</div>
|
355
|
+
<hr>
|
356
|
+
<div class="refsect2">
|
357
|
+
<a name="GtkSourceCompletionContext--completion"></a><h3>The <code class="literal">“completion”</code> property</h3>
|
358
|
+
<pre class="programlisting"> “completion” <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *</pre>
|
359
|
+
<p>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> associated with the context.</p>
|
360
|
+
<p>Flags: Read / Write / Construct Only</p>
|
361
|
+
</div>
|
362
|
+
<hr>
|
363
|
+
<div class="refsect2">
|
364
|
+
<a name="GtkSourceCompletionContext--iter"></a><h3>The <code class="literal">“iter”</code> property</h3>
|
365
|
+
<pre class="programlisting"> “iter” <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *</pre>
|
366
|
+
<p>The <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> at which the completion is invoked.</p>
|
367
|
+
<p>Flags: Read / Write</p>
|
368
|
+
</div>
|
369
|
+
</div>
|
370
|
+
<div class="refsect1">
|
371
|
+
<a name="GtkSourceCompletionContext.signal-details"></a><h2>Signal Details</h2>
|
372
|
+
<div class="refsect2">
|
373
|
+
<a name="GtkSourceCompletionContext-cancelled"></a><h3>The <code class="literal">“cancelled”</code> signal</h3>
|
374
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
375
|
+
user_function (<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *sourcecompletioncontext,
|
376
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
377
|
+
<p>Emitted when the current population of proposals has been cancelled.
|
378
|
+
Providers adding proposals asynchronously should connect to this signal
|
379
|
+
to know when to cancel running proposal queries.</p>
|
380
|
+
<div class="refsect3">
|
381
|
+
<a name="GtkSourceCompletionContext-cancelled.parameters"></a><h4>Parameters</h4>
|
382
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
383
|
+
<colgroup>
|
384
|
+
<col width="150px" class="parameters_name">
|
385
|
+
<col class="parameters_description">
|
386
|
+
<col width="200px" class="parameters_annotations">
|
387
|
+
</colgroup>
|
388
|
+
<tbody><tr>
|
389
|
+
<td class="parameter_name"><p>user_data</p></td>
|
390
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
391
|
+
<td class="parameter_annotations"> </td>
|
392
|
+
</tr></tbody>
|
393
|
+
</table></div>
|
394
|
+
</div>
|
395
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
396
|
+
</div>
|
397
|
+
</div>
|
398
|
+
</div>
|
399
|
+
<div class="footer">
|
400
|
+
<hr>Generated by GTK-Doc V1.28.1</div>
|
401
|
+
</body>
|
402
|
+
</html>
|
@@ -0,0 +1,207 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GtkSourceCompletionInfo: GtkSourceView 4 Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 4 Reference Manual">
|
8
|
+
<link rel="up" href="completion.html" title="Completion">
|
9
|
+
<link rel="prev" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext">
|
10
|
+
<link rel="next" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.28.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#GtkSourceCompletionInfo.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceCompletionInfo.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceCompletionInfo.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span>
|
21
|
+
</td>
|
22
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
|
+
<td><a accesskey="u" href="completion.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="GtkSourceCompletionContext.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="GtkSourceCompletionItem.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
|
+
</tr></table>
|
27
|
+
<div class="refentry">
|
28
|
+
<a name="GtkSourceCompletionInfo"></a><div class="titlepage"></div>
|
29
|
+
<div class="refnamediv"><table width="100%"><tr>
|
30
|
+
<td valign="top">
|
31
|
+
<h2><span class="refentrytitle"><a name="GtkSourceCompletionInfo.top_of_page"></a>GtkSourceCompletionInfo</span></h2>
|
32
|
+
<p>GtkSourceCompletionInfo — Calltips object</p>
|
33
|
+
</td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
35
|
+
</tr></table></div>
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="GtkSourceCompletionInfo.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="returnvalue">GtkSourceCompletionInfo</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="GtkSourceCompletionInfo.html#gtk-source-completion-info-new" title="gtk_source_completion_info_new ()">gtk_source_completion_info_new</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<span class="returnvalue">void</span>
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="GtkSourceCompletionInfo.html#gtk-source-completion-info-move-to-iter" title="gtk_source_completion_info_move_to_iter ()">gtk_source_completion_info_move_to_iter</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
</tbody>
|
61
|
+
</table></div>
|
62
|
+
</div>
|
63
|
+
<div class="refsect1">
|
64
|
+
<a name="GtkSourceCompletionInfo.other"></a><h2>Types and Values</h2>
|
65
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
66
|
+
<colgroup>
|
67
|
+
<col width="150px" class="name">
|
68
|
+
<col class="description">
|
69
|
+
</colgroup>
|
70
|
+
<tbody><tr>
|
71
|
+
<td class="datatype_keyword"> </td>
|
72
|
+
<td class="function_name"><a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo-struct" title="GtkSourceCompletionInfo">GtkSourceCompletionInfo</a></td>
|
73
|
+
</tr></tbody>
|
74
|
+
</table></div>
|
75
|
+
</div>
|
76
|
+
<div class="refsect1">
|
77
|
+
<a name="GtkSourceCompletionInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
78
|
+
<pre class="screen"> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
79
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
80
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct">GtkWidget</a>
|
81
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkContainer.html#GtkContainer-struct">GtkContainer</a>
|
82
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkBin.html#GtkBin-struct">GtkBin</a>
|
83
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkWindow.html#GtkWindow-struct">GtkWindow</a>
|
84
|
+
<span class="lineart">╰──</span> GtkSourceCompletionInfo
|
85
|
+
</pre>
|
86
|
+
</div>
|
87
|
+
<div class="refsect1">
|
88
|
+
<a name="GtkSourceCompletionInfo.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
89
|
+
<p>
|
90
|
+
GtkSourceCompletionInfo implements
|
91
|
+
AtkImplementorIface and <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkBuildable.html#GtkBuildable-struct">GtkBuildable</a>.</p>
|
92
|
+
</div>
|
93
|
+
<div class="refsect1">
|
94
|
+
<a name="GtkSourceCompletionInfo.includes"></a><h2>Includes</h2>
|
95
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
96
|
+
</pre>
|
97
|
+
</div>
|
98
|
+
<div class="refsect1">
|
99
|
+
<a name="GtkSourceCompletionInfo.description"></a><h2>Description</h2>
|
100
|
+
<p>This object can be used to show a calltip or help for the
|
101
|
+
current completion proposal.</p>
|
102
|
+
<p>The info window has always the same size as the natural size of its child
|
103
|
+
widget, added with <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkContainer.html#gtk-container-add"><code class="function">gtk_container_add()</code></a>. If you want a fixed size instead, a
|
104
|
+
possibility is to use a scrolled window, as the following example
|
105
|
+
demonstrates.</p>
|
106
|
+
<div class="example">
|
107
|
+
<a name="id-1.3.6.4.8.4"></a><p class="title"><b>Example 1. Fixed size with a scrolled window.</b></p>
|
108
|
+
<div class="example-contents">
|
109
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
110
|
+
<tbody>
|
111
|
+
<tr>
|
112
|
+
<td class="listing_lines" align="right"><pre>1
|
113
|
+
2
|
114
|
+
3
|
115
|
+
4
|
116
|
+
5
|
117
|
+
6
|
118
|
+
7</pre></td>
|
119
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkSourceCompletionInfo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">info</span><span class="symbol">;</span>
|
120
|
+
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">your_widget</span><span class="symbol">;</span>
|
121
|
+
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">scrolled_window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkScrolledWindow.html#gtk-scrolled-window-new">gtk_scrolled_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
122
|
+
|
123
|
+
<span class="function"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkWidget.html#gtk-widget-set-size-request">gtk_widget_set_size_request</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scrolled_window</span><span class="symbol">,</span><span class="normal"> </span><span class="number">300</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200</span><span class="symbol">);</span>
|
124
|
+
<span class="function"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scrolled_window</span><span class="symbol">),</span><span class="normal"> your_widget</span><span class="symbol">);</span>
|
125
|
+
<span class="function"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">info</span><span class="symbol">),</span><span class="normal"> scrolled_window</span><span class="symbol">);</span></pre></td>
|
126
|
+
</tr>
|
127
|
+
</tbody>
|
128
|
+
</table>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
</div>
|
132
|
+
<br class="example-break"><p>If the calltip is displayed on top of a certain widget, say a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a>,
|
133
|
+
you should attach the calltip window to the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a> with
|
134
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkWindow.html#gtk-window-set-attached-to"><code class="function">gtk_window_set_attached_to()</code></a>. By doing this, the calltip will be hidden when
|
135
|
+
the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-focus-out-event"><span class="type">“focus-out-event”</span></a> signal is emitted by the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a>. You
|
136
|
+
may also be interested by the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer--cursor-position"><span class="type">“cursor-position”</span></a> property (when
|
137
|
+
its value is modified). If you use the <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> through the
|
138
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> machinery, you don't need to worry about this.</p>
|
139
|
+
</div>
|
140
|
+
<div class="refsect1">
|
141
|
+
<a name="GtkSourceCompletionInfo.functions_details"></a><h2>Functions</h2>
|
142
|
+
<div class="refsect2">
|
143
|
+
<a name="gtk-source-completion-info-new"></a><h3>gtk_source_completion_info_new ()</h3>
|
144
|
+
<pre class="programlisting"><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="returnvalue">GtkSourceCompletionInfo</span></a> *
|
145
|
+
gtk_source_completion_info_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
146
|
+
<div class="refsect3">
|
147
|
+
<a name="gtk-source-completion-info-new.returns"></a><h4>Returns</h4>
|
148
|
+
<p> a new GtkSourceCompletionInfo.</p>
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
<hr>
|
152
|
+
<div class="refsect2">
|
153
|
+
<a name="gtk-source-completion-info-move-to-iter"></a><h3>gtk_source_completion_info_move_to_iter ()</h3>
|
154
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
155
|
+
gtk_source_completion_info_move_to_iter
|
156
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
|
157
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a> *view</code></em>,
|
158
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
159
|
+
<p>Moves the <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> to <em class="parameter"><code>iter</code></em>
|
160
|
+
. If <em class="parameter"><code>iter</code></em>
|
161
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>info</code></em>
|
162
|
+
is
|
163
|
+
moved to the cursor position. Moving will respect the <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a> setting
|
164
|
+
of the info window and will ensure the line at <em class="parameter"><code>iter</code></em>
|
165
|
+
is not occluded by
|
166
|
+
the window.</p>
|
167
|
+
<div class="refsect3">
|
168
|
+
<a name="gtk-source-completion-info-move-to-iter.parameters"></a><h4>Parameters</h4>
|
169
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
170
|
+
<colgroup>
|
171
|
+
<col width="150px" class="parameters_name">
|
172
|
+
<col class="parameters_description">
|
173
|
+
<col width="200px" class="parameters_annotations">
|
174
|
+
</colgroup>
|
175
|
+
<tbody>
|
176
|
+
<tr>
|
177
|
+
<td class="parameter_name"><p>info</p></td>
|
178
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a>.</p></td>
|
179
|
+
<td class="parameter_annotations"> </td>
|
180
|
+
</tr>
|
181
|
+
<tr>
|
182
|
+
<td class="parameter_name"><p>view</p></td>
|
183
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a> on which the info window should be positioned.</p></td>
|
184
|
+
<td class="parameter_annotations"> </td>
|
185
|
+
</tr>
|
186
|
+
<tr>
|
187
|
+
<td class="parameter_name"><p>iter</p></td>
|
188
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>. </p></td>
|
189
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
190
|
+
</tr>
|
191
|
+
</tbody>
|
192
|
+
</table></div>
|
193
|
+
</div>
|
194
|
+
</div>
|
195
|
+
</div>
|
196
|
+
<div class="refsect1">
|
197
|
+
<a name="GtkSourceCompletionInfo.other_details"></a><h2>Types and Values</h2>
|
198
|
+
<div class="refsect2">
|
199
|
+
<a name="GtkSourceCompletionInfo-struct"></a><h3>GtkSourceCompletionInfo</h3>
|
200
|
+
<pre class="programlisting">typedef struct _GtkSourceCompletionInfo GtkSourceCompletionInfo;</pre>
|
201
|
+
</div>
|
202
|
+
</div>
|
203
|
+
</div>
|
204
|
+
<div class="footer">
|
205
|
+
<hr>Generated by GTK-Doc V1.28.1</div>
|
206
|
+
</body>
|
207
|
+
</html>
|