gtksourceview3 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +59 -0
- data/ext/gtksourceview3/depend +6 -0
- data/ext/gtksourceview3/extconf.rb +67 -0
- data/ext/gtksourceview3/gtksourceview3.def +2 -0
- data/ext/gtksourceview3/rbgtksource.c +53 -0
- data/ext/gtksourceview3/rbgtksourcebuffer.c +318 -0
- data/ext/gtksourceview3/rbgtksourcegutter.c +82 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +143 -0
- data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +42 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +40 -0
- data/ext/gtksourceview3/rbgtksourcelanguage.c +124 -0
- data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +114 -0
- data/ext/gtksourceview3/rbgtksourcemark.c +85 -0
- data/ext/gtksourceview3/rbgtksourcemarkattributes.c +77 -0
- data/ext/gtksourceview3/rbgtksourceprintcompositor.c +171 -0
- data/ext/gtksourceview3/rbgtksourcestyle.c +42 -0
- data/ext/gtksourceview3/rbgtksourcestylescheme.c +72 -0
- data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +140 -0
- data/ext/gtksourceview3/rbgtksourceundomanager.c +83 -0
- data/ext/gtksourceview3/rbgtksourceview.c +94 -0
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +50 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +53 -0
- data/extconf.rb +49 -0
- data/lib/2.0/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
- data/lib/2.2/gtksourceview3.so +0 -0
- data/lib/gtksourceview3.rb +20 -0
- data/lib/gtksourceview3/deprecated.rb +47 -0
- data/sample/sourcelanguagemanager.rb +21 -0
- data/sample/test.rb +32 -0
- data/test/run-test.rb +44 -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 +57 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +65 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +213 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +142 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +95 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +78 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +70 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +97 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +137 -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 +90 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +229 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +87 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +84 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +100 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +175 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +45 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +109 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +86 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +101 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +75 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +88 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +213 -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 +41 -0
- 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/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/az/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/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/bs/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/cy/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/dz/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@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_CA/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/eo/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/et/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/hr/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/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mk/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/mn/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/ms/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/ne/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/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/oc/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/ro/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/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/si/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/sq/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/tg/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/xh/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 +12 -0
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +11360 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +2143 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +1129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +397 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +348 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +367 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +572 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +750 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +345 -0
- 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 +490 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1700 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +468 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +584 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +476 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +310 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +897 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +2149 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +1116 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +606 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +358 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +398 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +463 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +462 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1990 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +81 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +43 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
- 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 +35 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +2187 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +119 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +154 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +601 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +146 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +882 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +873 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +654 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +71 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +283 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +2199 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +330 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +188 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +647 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +542 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +318 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +591 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +281 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +339 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +327 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1045 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +363 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +101 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +472 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +212 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +750 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +121 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +148 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +171 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +129 -0
- 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 +142 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +130 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +13 -0
- data/vendor/local/share/license/gtksourceview/COPYING +504 -0
- metadata +389 -0
@@ -0,0 +1,397 @@
|
|
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>GtkSourceView 3 Reference Manual: GtkSourceCompletionContext</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="API reference">
|
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.21.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="ch01.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 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
|
+
<span class="returnvalue">void</span>
|
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 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="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><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 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">Action</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 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/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
138
|
+
<span class="lineart">╰──</span> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
139
|
+
<span class="lineart">╰──</span> GtkSourceCompletionContext
|
140
|
+
</pre>
|
141
|
+
</div>
|
142
|
+
<div class="refsect1">
|
143
|
+
<a name="GtkSourceCompletionContext.includes"></a><h2>Includes</h2>
|
144
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
145
|
+
</pre>
|
146
|
+
</div>
|
147
|
+
<div class="refsect1">
|
148
|
+
<a name="GtkSourceCompletionContext.description"></a><h2>Description</h2>
|
149
|
+
<p>Initially, the completion window is hidden. For a completion to occur, it has
|
150
|
+
to be activated. The different possible activations are listed in
|
151
|
+
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a>. When an activation occurs, a
|
152
|
+
<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> object is created, and the eligible providers are
|
153
|
+
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>
|
154
|
+
<p>If no proposals are added, the completion window remains hidden, and the
|
155
|
+
context is destroyed.</p>
|
156
|
+
<p>On the other hand, if proposals are added, the completion window becomes
|
157
|
+
visible, and the user can choose a proposal. If the user is not happy with
|
158
|
+
the shown proposals, he or she can insert or delete characters, to modify the
|
159
|
+
completion context and therefore hoping to see the proposal he or she wants.
|
160
|
+
This means that when an insertion or deletion occurs in the <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>
|
161
|
+
when the completion window is visible, the eligible providers are again asked
|
162
|
+
to add proposals. The <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--activation" title="The “activation” property"><span class="type">“activation”</span></a> remains the
|
163
|
+
same in this case.</p>
|
164
|
+
<p>When the completion window is hidden, the interactive completion is triggered
|
165
|
+
only on insertion in the buffer, not on deletion. Once the completion window
|
166
|
+
is visible, then on each insertion or deletion, there is a new population and
|
167
|
+
the providers are asked to add proposals. If there are no more proposals, the
|
168
|
+
completion window disappears. So if you want to keep the completion window
|
169
|
+
visible, but there are no proposals, you can insert a dummy proposal named
|
170
|
+
"No proposals". For example, the user types progressively the name of
|
171
|
+
a function, and some proposals appear. The user types a bad character and
|
172
|
+
there are no proposals anymore. What the user wants is to delete the last
|
173
|
+
character, and see the previous proposals. If the completion window
|
174
|
+
disappears, the previous proposals will not reappear on the character
|
175
|
+
deletion.</p>
|
176
|
+
<p>A <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> is associated with the context, this is where the completion
|
177
|
+
takes place. With this <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a>, you can get the associated
|
178
|
+
<a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> with <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html#gtk-text-iter-get-buffer"><code class="function">gtk_text_iter_get_buffer()</code></a>.</p>
|
179
|
+
</div>
|
180
|
+
<div class="refsect1">
|
181
|
+
<a name="GtkSourceCompletionContext.functions_details"></a><h2>Functions</h2>
|
182
|
+
<div class="refsect2">
|
183
|
+
<a name="gtk-source-completion-context-add-proposals"></a><h3>gtk_source_completion_context_add_proposals ()</h3>
|
184
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
185
|
+
gtk_source_completion_context_add_proposals
|
186
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
187
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
188
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *proposals</code></em>,
|
189
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> finished</code></em>);</pre>
|
190
|
+
<p>Providers can use this function to add proposals to the completion. They
|
191
|
+
can do so asynchronously by means of the <em class="parameter"><code>finished</code></em>
|
192
|
+
argument. Providers must
|
193
|
+
ensure that they always call this function with <em class="parameter"><code>finished</code></em>
|
194
|
+
set to <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
195
|
+
once each population (even if no proposals need to be added).
|
196
|
+
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>
|
197
|
+
function is called.</p>
|
198
|
+
<div class="refsect3">
|
199
|
+
<a name="id-1.2.4.10.2.5"></a><h4>Parameters</h4>
|
200
|
+
<div class="informaltable"><table width="100%" border="0">
|
201
|
+
<colgroup>
|
202
|
+
<col width="150px" class="parameters_name">
|
203
|
+
<col class="parameters_description">
|
204
|
+
<col width="200px" class="parameters_annotations">
|
205
|
+
</colgroup>
|
206
|
+
<tbody>
|
207
|
+
<tr>
|
208
|
+
<td class="parameter_name"><p>context</p></td>
|
209
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
210
|
+
<td class="parameter_annotations"> </td>
|
211
|
+
</tr>
|
212
|
+
<tr>
|
213
|
+
<td class="parameter_name"><p>provider</p></td>
|
214
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>. </p></td>
|
215
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GtkSource.CompletionProvider]</span></td>
|
216
|
+
</tr>
|
217
|
+
<tr>
|
218
|
+
<td class="parameter_name"><p>proposals</p></td>
|
219
|
+
<td class="parameter_description"><p> The list of proposals to add. </p></td>
|
220
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.CompletionProposal]</span></td>
|
221
|
+
</tr>
|
222
|
+
<tr>
|
223
|
+
<td class="parameter_name"><p>finished</p></td>
|
224
|
+
<td class="parameter_description"><p>Whether the provider is finished adding proposals.</p></td>
|
225
|
+
<td class="parameter_annotations"> </td>
|
226
|
+
</tr>
|
227
|
+
</tbody>
|
228
|
+
</table></div>
|
229
|
+
</div>
|
230
|
+
</div>
|
231
|
+
<hr>
|
232
|
+
<div class="refsect2">
|
233
|
+
<a name="gtk-source-completion-context-get-iter"></a><h3>gtk_source_completion_context_get_iter ()</h3>
|
234
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
235
|
+
gtk_source_completion_context_get_iter
|
236
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
237
|
+
<em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
238
|
+
<p>Get the iter at which the completion was invoked. Providers can use this
|
239
|
+
to determine how and if to match proposals.</p>
|
240
|
+
<div class="refsect3">
|
241
|
+
<a name="id-1.2.4.10.3.5"></a><h4>Parameters</h4>
|
242
|
+
<div class="informaltable"><table width="100%" border="0">
|
243
|
+
<colgroup>
|
244
|
+
<col width="150px" class="parameters_name">
|
245
|
+
<col class="parameters_description">
|
246
|
+
<col width="200px" class="parameters_annotations">
|
247
|
+
</colgroup>
|
248
|
+
<tbody>
|
249
|
+
<tr>
|
250
|
+
<td class="parameter_name"><p>context</p></td>
|
251
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
252
|
+
<td class="parameter_annotations"> </td>
|
253
|
+
</tr>
|
254
|
+
<tr>
|
255
|
+
<td class="parameter_name"><p>iter</p></td>
|
256
|
+
<td class="parameter_description"><p> a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. </p></td>
|
257
|
+
<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>
|
258
|
+
</tr>
|
259
|
+
</tbody>
|
260
|
+
</table></div>
|
261
|
+
</div>
|
262
|
+
</div>
|
263
|
+
<hr>
|
264
|
+
<div class="refsect2">
|
265
|
+
<a name="gtk-source-completion-context-get-activation"></a><h3>gtk_source_completion_context_get_activation ()</h3>
|
266
|
+
<pre class="programlisting"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a>
|
267
|
+
gtk_source_completion_context_get_activation
|
268
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);</pre>
|
269
|
+
<p>Get the context activation.</p>
|
270
|
+
<div class="refsect3">
|
271
|
+
<a name="id-1.2.4.10.4.5"></a><h4>Parameters</h4>
|
272
|
+
<div class="informaltable"><table width="100%" border="0">
|
273
|
+
<colgroup>
|
274
|
+
<col width="150px" class="parameters_name">
|
275
|
+
<col class="parameters_description">
|
276
|
+
<col width="200px" class="parameters_annotations">
|
277
|
+
</colgroup>
|
278
|
+
<tbody><tr>
|
279
|
+
<td class="parameter_name"><p>context</p></td>
|
280
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
281
|
+
<td class="parameter_annotations"> </td>
|
282
|
+
</tr></tbody>
|
283
|
+
</table></div>
|
284
|
+
</div>
|
285
|
+
<div class="refsect3">
|
286
|
+
<a name="id-1.2.4.10.4.6"></a><h4>Returns</h4>
|
287
|
+
<p> The context activation.</p>
|
288
|
+
<p></p>
|
289
|
+
</div>
|
290
|
+
</div>
|
291
|
+
</div>
|
292
|
+
<div class="refsect1">
|
293
|
+
<a name="GtkSourceCompletionContext.other_details"></a><h2>Types and Values</h2>
|
294
|
+
<div class="refsect2">
|
295
|
+
<a name="GtkSourceCompletionActivation"></a><h3>enum GtkSourceCompletionActivation</h3>
|
296
|
+
<div class="refsect3">
|
297
|
+
<a name="id-1.2.4.11.2.3"></a><h4>Members</h4>
|
298
|
+
<div class="informaltable"><table width="100%" border="0">
|
299
|
+
<colgroup>
|
300
|
+
<col width="300px" class="enum_members_name">
|
301
|
+
<col class="enum_members_description">
|
302
|
+
<col width="200px" class="enum_members_annotations">
|
303
|
+
</colgroup>
|
304
|
+
<tbody>
|
305
|
+
<tr>
|
306
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-NONE:CAPS"></a>GTK_SOURCE_COMPLETION_ACTIVATION_NONE</p></td>
|
307
|
+
<td class="enum_member_description">
|
308
|
+
<p>None.</p>
|
309
|
+
</td>
|
310
|
+
<td class="enum_member_annotations"> </td>
|
311
|
+
</tr>
|
312
|
+
<tr>
|
313
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-INTERACTIVE:CAPS"></a>GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE</p></td>
|
314
|
+
<td class="enum_member_description">
|
315
|
+
<p>Interactive activation. By
|
316
|
+
default, it occurs on each insertion in the <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>. This can be
|
317
|
+
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>
|
318
|
+
</td>
|
319
|
+
<td class="enum_member_annotations"> </td>
|
320
|
+
</tr>
|
321
|
+
<tr>
|
322
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-USER-REQUESTED:CAPS"></a>GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED</p></td>
|
323
|
+
<td class="enum_member_description">
|
324
|
+
<p>User requested activation.
|
325
|
+
By default, it occurs when the user presses</p>
|
326
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>space</strong></span>.
|
327
|
+
</td>
|
328
|
+
<td class="enum_member_annotations"> </td>
|
329
|
+
</tr>
|
330
|
+
</tbody>
|
331
|
+
</table></div>
|
332
|
+
</div>
|
333
|
+
</div>
|
334
|
+
<hr>
|
335
|
+
<div class="refsect2">
|
336
|
+
<a name="GtkSourceCompletionContext-struct"></a><h3>GtkSourceCompletionContext</h3>
|
337
|
+
<pre class="programlisting">typedef struct _GtkSourceCompletionContext GtkSourceCompletionContext;</pre>
|
338
|
+
</div>
|
339
|
+
</div>
|
340
|
+
<div class="refsect1">
|
341
|
+
<a name="GtkSourceCompletionContext.property-details"></a><h2>Property Details</h2>
|
342
|
+
<div class="refsect2">
|
343
|
+
<a name="GtkSourceCompletionContext--activation"></a><h3>The <code class="literal">“activation”</code> property</h3>
|
344
|
+
<pre class="programlisting"> “activation” <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a></pre>
|
345
|
+
<p>The completion activation</p>
|
346
|
+
<p>Flags: Read / Write / Construct</p>
|
347
|
+
<p>Default value: GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED</p>
|
348
|
+
</div>
|
349
|
+
<hr>
|
350
|
+
<div class="refsect2">
|
351
|
+
<a name="GtkSourceCompletionContext--completion"></a><h3>The <code class="literal">“completion”</code> property</h3>
|
352
|
+
<pre class="programlisting"> “completion” <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *</pre>
|
353
|
+
<p>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> associated with the context.</p>
|
354
|
+
<p>Flags: Read / Write / Construct Only</p>
|
355
|
+
</div>
|
356
|
+
<hr>
|
357
|
+
<div class="refsect2">
|
358
|
+
<a name="GtkSourceCompletionContext--iter"></a><h3>The <code class="literal">“iter”</code> property</h3>
|
359
|
+
<pre class="programlisting"> “iter” <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *</pre>
|
360
|
+
<p>The <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> at which the completion is invoked.</p>
|
361
|
+
<p>Flags: Read / Write</p>
|
362
|
+
</div>
|
363
|
+
</div>
|
364
|
+
<div class="refsect1">
|
365
|
+
<a name="GtkSourceCompletionContext.signal-details"></a><h2>Signal Details</h2>
|
366
|
+
<div class="refsect2">
|
367
|
+
<a name="GtkSourceCompletionContext-cancelled"></a><h3>The <code class="literal">“cancelled”</code> signal</h3>
|
368
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
369
|
+
user_function (<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *arg0,
|
370
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
371
|
+
<p>Emitted when the current population of proposals has been cancelled.
|
372
|
+
Providers adding proposals asynchronously should connect to this signal
|
373
|
+
to know when to cancel running proposal queries.</p>
|
374
|
+
<div class="refsect3">
|
375
|
+
<a name="id-1.2.4.13.2.5"></a><h4>Parameters</h4>
|
376
|
+
<div class="informaltable"><table width="100%" border="0">
|
377
|
+
<colgroup>
|
378
|
+
<col width="150px" class="parameters_name">
|
379
|
+
<col class="parameters_description">
|
380
|
+
<col width="200px" class="parameters_annotations">
|
381
|
+
</colgroup>
|
382
|
+
<tbody><tr>
|
383
|
+
<td class="parameter_name"><p>user_data</p></td>
|
384
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
385
|
+
<td class="parameter_annotations"> </td>
|
386
|
+
</tr></tbody>
|
387
|
+
</table></div>
|
388
|
+
</div>
|
389
|
+
<p>Flags: Action</p>
|
390
|
+
</div>
|
391
|
+
</div>
|
392
|
+
</div>
|
393
|
+
<div class="footer">
|
394
|
+
<hr>
|
395
|
+
Generated by GTK-Doc V1.21.1</div>
|
396
|
+
</body>
|
397
|
+
</html>
|
@@ -0,0 +1,348 @@
|
|
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>GtkSourceView 3 Reference Manual: GtkSourceCompletionInfo</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="API reference">
|
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.21.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><span id="nav_signals"> <span class="dim">|</span>
|
21
|
+
<a href="#GtkSourceCompletionInfo.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="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
|
+
<td><a accesskey="p" href="GtkSourceCompletionContext.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
|
+
<td><a accesskey="n" href="GtkSourceCompletionItem.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="GtkSourceCompletionInfo"></a><div class="titlepage"></div>
|
30
|
+
<div class="refnamediv"><table width="100%"><tr>
|
31
|
+
<td valign="top">
|
32
|
+
<h2><span class="refentrytitle"><a name="GtkSourceCompletionInfo.top_of_page"></a>GtkSourceCompletionInfo</span></h2>
|
33
|
+
<p>GtkSourceCompletionInfo — Calltips object</p>
|
34
|
+
</td>
|
35
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
36
|
+
</tr></table></div>
|
37
|
+
<div class="refsect1">
|
38
|
+
<a name="GtkSourceCompletionInfo.functions"></a><h2>Functions</h2>
|
39
|
+
<div class="informaltable"><table 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
|
+
<a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="returnvalue">GtkSourceCompletionInfo</span></a> *
|
48
|
+
</td>
|
49
|
+
<td class="function_name">
|
50
|
+
<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>
|
51
|
+
</td>
|
52
|
+
</tr>
|
53
|
+
<tr>
|
54
|
+
<td class="function_type">
|
55
|
+
<span class="returnvalue">void</span>
|
56
|
+
</td>
|
57
|
+
<td class="function_name">
|
58
|
+
<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>
|
59
|
+
</td>
|
60
|
+
</tr>
|
61
|
+
<tr>
|
62
|
+
<td class="function_type">
|
63
|
+
<span class="returnvalue">void</span>
|
64
|
+
</td>
|
65
|
+
<td class="function_name">
|
66
|
+
<a class="link" href="GtkSourceCompletionInfo.html#gtk-source-completion-info-set-widget" title="gtk_source_completion_info_set_widget ()">gtk_source_completion_info_set_widget</a> <span class="c_punctuation">()</span>
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
<tr>
|
70
|
+
<td class="function_type">
|
71
|
+
<a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
72
|
+
</td>
|
73
|
+
<td class="function_name">
|
74
|
+
<a class="link" href="GtkSourceCompletionInfo.html#gtk-source-completion-info-get-widget" title="gtk_source_completion_info_get_widget ()">gtk_source_completion_info_get_widget</a> <span class="c_punctuation">()</span>
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
</tbody>
|
78
|
+
</table></div>
|
79
|
+
</div>
|
80
|
+
<div class="refsect1">
|
81
|
+
<a name="GtkSourceCompletionInfo.signals"></a><h2>Signals</h2>
|
82
|
+
<div class="informaltable"><table border="0">
|
83
|
+
<colgroup>
|
84
|
+
<col width="150px" class="signals_return">
|
85
|
+
<col width="300px" class="signals_name">
|
86
|
+
<col width="200px" class="signals_flags">
|
87
|
+
</colgroup>
|
88
|
+
<tbody><tr>
|
89
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
90
|
+
<td class="signal_name"><a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo-before-show" title="The “before-show” signal">before-show</a></td>
|
91
|
+
<td class="signal_flags">Action</td>
|
92
|
+
</tr></tbody>
|
93
|
+
</table></div>
|
94
|
+
</div>
|
95
|
+
<div class="refsect1">
|
96
|
+
<a name="GtkSourceCompletionInfo.other"></a><h2>Types and Values</h2>
|
97
|
+
<div class="informaltable"><table width="100%" border="0">
|
98
|
+
<colgroup>
|
99
|
+
<col width="150px" class="name">
|
100
|
+
<col class="description">
|
101
|
+
</colgroup>
|
102
|
+
<tbody><tr>
|
103
|
+
<td class="datatype_keyword"> </td>
|
104
|
+
<td class="function_name"><a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo-struct" title="GtkSourceCompletionInfo">GtkSourceCompletionInfo</a></td>
|
105
|
+
</tr></tbody>
|
106
|
+
</table></div>
|
107
|
+
</div>
|
108
|
+
<div class="refsect1">
|
109
|
+
<a name="GtkSourceCompletionInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
110
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
111
|
+
<span class="lineart">╰──</span> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
112
|
+
<span class="lineart">╰──</span> <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkWidget.html">GtkWidget</a>
|
113
|
+
<span class="lineart">╰──</span> <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkContainer.html">GtkContainer</a>
|
114
|
+
<span class="lineart">╰──</span> <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkBin.html">GtkBin</a>
|
115
|
+
<span class="lineart">╰──</span> <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkWindow.html">GtkWindow</a>
|
116
|
+
<span class="lineart">╰──</span> GtkSourceCompletionInfo
|
117
|
+
</pre>
|
118
|
+
</div>
|
119
|
+
<div class="refsect1">
|
120
|
+
<a name="GtkSourceCompletionInfo.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
121
|
+
<p>
|
122
|
+
GtkSourceCompletionInfo implements
|
123
|
+
AtkImplementorIface and <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkBuildable.html">GtkBuildable</a>.</p>
|
124
|
+
</div>
|
125
|
+
<div class="refsect1">
|
126
|
+
<a name="GtkSourceCompletionInfo.includes"></a><h2>Includes</h2>
|
127
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
128
|
+
</pre>
|
129
|
+
</div>
|
130
|
+
<div class="refsect1">
|
131
|
+
<a name="GtkSourceCompletionInfo.description"></a><h2>Description</h2>
|
132
|
+
<p>This object can be used to show a calltip or help for the
|
133
|
+
current completion proposal.</p>
|
134
|
+
<p>The info window has always the same size as the natural size of its child
|
135
|
+
widget, added with <a href="/opt/gnome/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
|
136
|
+
possibility is to use a scrolled window, as the following example
|
137
|
+
demonstrates.</p>
|
138
|
+
<div class="example">
|
139
|
+
<a name="id-1.2.5.9.4"></a><p class="title"><b>Example 1. Fixed size with a scrolled window.</b></p>
|
140
|
+
<div class="example-contents">
|
141
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
142
|
+
<tbody>
|
143
|
+
<tr>
|
144
|
+
<td class="listing_lines" align="right"><pre>1
|
145
|
+
2
|
146
|
+
3
|
147
|
+
4
|
148
|
+
5
|
149
|
+
6
|
150
|
+
7</pre></td>
|
151
|
+
<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>
|
152
|
+
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">your_widget</span><span class="symbol">;</span>
|
153
|
+
<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="/opt/gnome/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/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
154
|
+
|
155
|
+
<span class="function"><a href="/opt/gnome/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>
|
156
|
+
<span class="function"><a href="/opt/gnome/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>
|
157
|
+
<span class="function"><a href="/opt/gnome/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>
|
158
|
+
</tr>
|
159
|
+
</tbody>
|
160
|
+
</table>
|
161
|
+
</div>
|
162
|
+
|
163
|
+
</div>
|
164
|
+
<br class="example-break"><p>If the calltip is displayed on top of a certain widget, say a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html"><span class="type">GtkTextView</span></a>,
|
165
|
+
you should attach the calltip window to the <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html"><span class="type">GtkTextView</span></a> with
|
166
|
+
<a href="/opt/gnome/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
|
167
|
+
the <a href="/opt/gnome/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="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html"><span class="type">GtkTextView</span></a>. You
|
168
|
+
may also be interested by the <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer--cursor-position"><span class="type">“cursor-position”</span></a> property (when
|
169
|
+
its value is modified). If you use the <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> through the
|
170
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> machinery, you don't need to worry about this.</p>
|
171
|
+
</div>
|
172
|
+
<div class="refsect1">
|
173
|
+
<a name="GtkSourceCompletionInfo.functions_details"></a><h2>Functions</h2>
|
174
|
+
<div class="refsect2">
|
175
|
+
<a name="gtk-source-completion-info-new"></a><h3>gtk_source_completion_info_new ()</h3>
|
176
|
+
<pre class="programlisting"><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="returnvalue">GtkSourceCompletionInfo</span></a> *
|
177
|
+
gtk_source_completion_info_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
178
|
+
<div class="refsect3">
|
179
|
+
<a name="id-1.2.5.10.2.4"></a><h4>Returns</h4>
|
180
|
+
<p> a new GtkSourceCompletionInfo.</p>
|
181
|
+
<p></p>
|
182
|
+
</div>
|
183
|
+
</div>
|
184
|
+
<hr>
|
185
|
+
<div class="refsect2">
|
186
|
+
<a name="gtk-source-completion-info-move-to-iter"></a><h3>gtk_source_completion_info_move_to_iter ()</h3>
|
187
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
188
|
+
gtk_source_completion_info_move_to_iter
|
189
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
|
190
|
+
<em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html"><span class="type">GtkTextView</span></a> *view</code></em>,
|
191
|
+
<em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
192
|
+
<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>
|
193
|
+
. If <em class="parameter"><code>iter</code></em>
|
194
|
+
is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>info</code></em>
|
195
|
+
is
|
196
|
+
moved to the cursor position. Moving will respect the <span class="type">GdkGravity</span> setting
|
197
|
+
of the info window and will ensure the line at <em class="parameter"><code>iter</code></em>
|
198
|
+
is not occluded by
|
199
|
+
the window.</p>
|
200
|
+
<div class="refsect3">
|
201
|
+
<a name="id-1.2.5.10.3.5"></a><h4>Parameters</h4>
|
202
|
+
<div class="informaltable"><table 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>info</p></td>
|
211
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a>.</p></td>
|
212
|
+
<td class="parameter_annotations"> </td>
|
213
|
+
</tr>
|
214
|
+
<tr>
|
215
|
+
<td class="parameter_name"><p>view</p></td>
|
216
|
+
<td class="parameter_description"><p>a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html"><span class="type">GtkTextView</span></a> on which the info window should be positioned.</p></td>
|
217
|
+
<td class="parameter_annotations"> </td>
|
218
|
+
</tr>
|
219
|
+
<tr>
|
220
|
+
<td class="parameter_name"><p>iter</p></td>
|
221
|
+
<td class="parameter_description"><p> a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. </p></td>
|
222
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
223
|
+
</tr>
|
224
|
+
</tbody>
|
225
|
+
</table></div>
|
226
|
+
</div>
|
227
|
+
</div>
|
228
|
+
<hr>
|
229
|
+
<div class="refsect2">
|
230
|
+
<a name="gtk-source-completion-info-set-widget"></a><h3>gtk_source_completion_info_set_widget ()</h3>
|
231
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
232
|
+
gtk_source_completion_info_set_widget (<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
|
233
|
+
<em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
234
|
+
<div class="warning">
|
235
|
+
<p><code class="literal">gtk_source_completion_info_set_widget</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
|
236
|
+
<p>Use <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkContainer.html#gtk-container-add"><code class="function">gtk_container_add()</code></a> instead. If there is already a child
|
237
|
+
widget, remove it with <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkContainer.html#gtk-container-remove"><code class="function">gtk_container_remove()</code></a>.</p>
|
238
|
+
</div>
|
239
|
+
<p>Sets the content widget of the info window. See that the previous widget will
|
240
|
+
lose a reference and it can be destroyed, so if you do not want this to
|
241
|
+
happen you must use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> before calling this method.</p>
|
242
|
+
<div class="refsect3">
|
243
|
+
<a name="id-1.2.5.10.4.6"></a><h4>Parameters</h4>
|
244
|
+
<div class="informaltable"><table 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>info</p></td>
|
253
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a>.</p></td>
|
254
|
+
<td class="parameter_annotations"> </td>
|
255
|
+
</tr>
|
256
|
+
<tr>
|
257
|
+
<td class="parameter_name"><p>widget</p></td>
|
258
|
+
<td class="parameter_description"><p> a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a>. </p></td>
|
259
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
260
|
+
</tr>
|
261
|
+
</tbody>
|
262
|
+
</table></div>
|
263
|
+
</div>
|
264
|
+
</div>
|
265
|
+
<hr>
|
266
|
+
<div class="refsect2">
|
267
|
+
<a name="gtk-source-completion-info-get-widget"></a><h3>gtk_source_completion_info_get_widget ()</h3>
|
268
|
+
<pre class="programlisting"><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
269
|
+
gtk_source_completion_info_get_widget (<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);</pre>
|
270
|
+
<div class="warning">
|
271
|
+
<p><code class="literal">gtk_source_completion_info_get_widget</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
|
272
|
+
<p>Use <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkBin.html#gtk-bin-get-child"><code class="function">gtk_bin_get_child()</code></a> instead.</p>
|
273
|
+
</div>
|
274
|
+
<p>Get the current content widget.</p>
|
275
|
+
<div class="refsect3">
|
276
|
+
<a name="id-1.2.5.10.5.6"></a><h4>Parameters</h4>
|
277
|
+
<div class="informaltable"><table width="100%" border="0">
|
278
|
+
<colgroup>
|
279
|
+
<col width="150px" class="parameters_name">
|
280
|
+
<col class="parameters_description">
|
281
|
+
<col width="200px" class="parameters_annotations">
|
282
|
+
</colgroup>
|
283
|
+
<tbody><tr>
|
284
|
+
<td class="parameter_name"><p>info</p></td>
|
285
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a>.</p></td>
|
286
|
+
<td class="parameter_annotations"> </td>
|
287
|
+
</tr></tbody>
|
288
|
+
</table></div>
|
289
|
+
</div>
|
290
|
+
<div class="refsect3">
|
291
|
+
<a name="id-1.2.5.10.5.7"></a><h4>Returns</h4>
|
292
|
+
<p> The current content widget. </p>
|
293
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
294
|
+
</div>
|
295
|
+
</div>
|
296
|
+
</div>
|
297
|
+
<div class="refsect1">
|
298
|
+
<a name="GtkSourceCompletionInfo.other_details"></a><h2>Types and Values</h2>
|
299
|
+
<div class="refsect2">
|
300
|
+
<a name="GtkSourceCompletionInfo-struct"></a><h3>GtkSourceCompletionInfo</h3>
|
301
|
+
<pre class="programlisting">typedef struct _GtkSourceCompletionInfo GtkSourceCompletionInfo;</pre>
|
302
|
+
</div>
|
303
|
+
</div>
|
304
|
+
<div class="refsect1">
|
305
|
+
<a name="GtkSourceCompletionInfo.signal-details"></a><h2>Signal Details</h2>
|
306
|
+
<div class="refsect2">
|
307
|
+
<a name="GtkSourceCompletionInfo-before-show"></a><h3>The <code class="literal">“before-show”</code> signal</h3>
|
308
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
309
|
+
user_function (<a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info,
|
310
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
311
|
+
<p>This signal is emitted before any "show" management. You can connect
|
312
|
+
to this signal if you want to change some properties or position
|
313
|
+
before the real "show".</p>
|
314
|
+
<div class="warning">
|
315
|
+
<p><code class="literal">GtkSourceCompletionInfo::before-show</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
316
|
+
<p>This signal should not be used.</p>
|
317
|
+
</div>
|
318
|
+
<div class="refsect3">
|
319
|
+
<a name="id-1.2.5.12.2.6"></a><h4>Parameters</h4>
|
320
|
+
<div class="informaltable"><table width="100%" border="0">
|
321
|
+
<colgroup>
|
322
|
+
<col width="150px" class="parameters_name">
|
323
|
+
<col class="parameters_description">
|
324
|
+
<col width="200px" class="parameters_annotations">
|
325
|
+
</colgroup>
|
326
|
+
<tbody>
|
327
|
+
<tr>
|
328
|
+
<td class="parameter_name"><p>info</p></td>
|
329
|
+
<td class="parameter_description"><p>The <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> who emits the signal</p></td>
|
330
|
+
<td class="parameter_annotations"> </td>
|
331
|
+
</tr>
|
332
|
+
<tr>
|
333
|
+
<td class="parameter_name"><p>user_data</p></td>
|
334
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
335
|
+
<td class="parameter_annotations"> </td>
|
336
|
+
</tr>
|
337
|
+
</tbody>
|
338
|
+
</table></div>
|
339
|
+
</div>
|
340
|
+
<p>Flags: Action</p>
|
341
|
+
</div>
|
342
|
+
</div>
|
343
|
+
</div>
|
344
|
+
<div class="footer">
|
345
|
+
<hr>
|
346
|
+
Generated by GTK-Doc V1.21.1</div>
|
347
|
+
</body>
|
348
|
+
</html>
|