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,438 @@
|
|
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>GtkSourceGutter: 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="gutter.html" title="Gutter and Marks">
|
9
|
+
<link rel="prev" href="gutter.html" title="Gutter and Marks">
|
10
|
+
<link rel="next" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer">
|
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="#GtkSourceGutter.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceGutter.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceGutter.properties" class="shortcut">Properties</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="gutter.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="gutter.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="GtkSourceGutterRenderer.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="GtkSourceGutter"></a><div class="titlepage"></div>
|
29
|
+
<div class="refnamediv"><table width="100%"><tr>
|
30
|
+
<td valign="top">
|
31
|
+
<h2><span class="refentrytitle"><a name="GtkSourceGutter.top_of_page"></a>GtkSourceGutter</span></h2>
|
32
|
+
<p>GtkSourceGutter — Gutter object for GtkSourceView</p>
|
33
|
+
</td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
35
|
+
</tr></table></div>
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="GtkSourceGutter.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="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="GtkSourceGutter.html#gtk-source-gutter-get-view" title="gtk_source_gutter_get_view ()">gtk_source_gutter_get_view</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a>
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="GtkSourceGutter.html#gtk-source-gutter-get-window-type" title="gtk_source_gutter_get_window_type ()">gtk_source_gutter_get_window_type</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="GtkSourceGutter.html#gtk-source-gutter-insert" title="gtk_source_gutter_insert ()">gtk_source_gutter_insert</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<span class="returnvalue">void</span>
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="GtkSourceGutter.html#gtk-source-gutter-reorder" title="gtk_source_gutter_reorder ()">gtk_source_gutter_reorder</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<span class="returnvalue">void</span>
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="GtkSourceGutter.html#gtk-source-gutter-remove" title="gtk_source_gutter_remove ()">gtk_source_gutter_remove</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<span class="returnvalue">void</span>
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="GtkSourceGutter.html#gtk-source-gutter-queue-draw" title="gtk_source_gutter_queue_draw ()">gtk_source_gutter_queue_draw</a> <span class="c_punctuation">()</span>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">
|
94
|
+
<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="returnvalue">GtkSourceGutterRenderer</span></a> *
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="GtkSourceGutter.html#gtk-source-gutter-get-renderer-at-pos" title="gtk_source_gutter_get_renderer_at_pos ()">gtk_source_gutter_get_renderer_at_pos</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
</tbody>
|
101
|
+
</table></div>
|
102
|
+
</div>
|
103
|
+
<div class="refsect1">
|
104
|
+
<a name="GtkSourceGutter.properties"></a><h2>Properties</h2>
|
105
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
106
|
+
<colgroup>
|
107
|
+
<col width="150px" class="properties_type">
|
108
|
+
<col width="300px" class="properties_name">
|
109
|
+
<col width="200px" class="properties_flags">
|
110
|
+
</colgroup>
|
111
|
+
<tbody>
|
112
|
+
<tr>
|
113
|
+
<td class="property_type">
|
114
|
+
<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *</td>
|
115
|
+
<td class="property_name"><a class="link" href="GtkSourceGutter.html#GtkSourceGutter--view" title="The “view” property">view</a></td>
|
116
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
117
|
+
</tr>
|
118
|
+
<tr>
|
119
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a></td>
|
120
|
+
<td class="property_name"><a class="link" href="GtkSourceGutter.html#GtkSourceGutter--window-type" title="The “window-type” property">window-type</a></td>
|
121
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
122
|
+
</tr>
|
123
|
+
</tbody>
|
124
|
+
</table></div>
|
125
|
+
</div>
|
126
|
+
<div class="refsect1">
|
127
|
+
<a name="GtkSourceGutter.other"></a><h2>Types and Values</h2>
|
128
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
129
|
+
<colgroup>
|
130
|
+
<col width="150px" class="name">
|
131
|
+
<col class="description">
|
132
|
+
</colgroup>
|
133
|
+
<tbody><tr>
|
134
|
+
<td class="datatype_keyword"> </td>
|
135
|
+
<td class="function_name"><a class="link" href="GtkSourceGutter.html#GtkSourceGutter-struct" title="GtkSourceGutter">GtkSourceGutter</a></td>
|
136
|
+
</tr></tbody>
|
137
|
+
</table></div>
|
138
|
+
</div>
|
139
|
+
<div class="refsect1">
|
140
|
+
<a name="GtkSourceGutter.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
141
|
+
<pre class="screen"> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
142
|
+
<span class="lineart">╰──</span> GtkSourceGutter
|
143
|
+
</pre>
|
144
|
+
</div>
|
145
|
+
<div class="refsect1">
|
146
|
+
<a name="GtkSourceGutter.includes"></a><h2>Includes</h2>
|
147
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
148
|
+
</pre>
|
149
|
+
</div>
|
150
|
+
<div class="refsect1">
|
151
|
+
<a name="GtkSourceGutter.description"></a><h2>Description</h2>
|
152
|
+
<p>The <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> object represents the left or right gutter of the text
|
153
|
+
view. It is used by <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> to draw the line numbers and
|
154
|
+
<a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>s that might be present on a line. By packing
|
155
|
+
additional <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> objects in the gutter, you can extend the
|
156
|
+
gutter with your own custom drawings.</p>
|
157
|
+
<p>To get a <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>, use the <a class="link" href="GtkSourceView.html#gtk-source-view-get-gutter" title="gtk_source_view_get_gutter ()"><code class="function">gtk_source_view_get_gutter()</code></a> function.</p>
|
158
|
+
<p>The gutter works very much the same way as cells rendered in a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTreeView.html#GtkTreeView-struct"><span class="type">GtkTreeView</span></a>.
|
159
|
+
The concept is similar, with the exception that the gutter does not have an
|
160
|
+
underlying <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeModel-struct"><span class="type">GtkTreeModel</span></a>. The builtin line number renderer is at position
|
161
|
+
<a class="link" href="GtkSourceView.html#GTK-SOURCE-VIEW-GUTTER-POSITION-LINES:CAPS"><span class="type">GTK_SOURCE_VIEW_GUTTER_POSITION_LINES</span></a> (-30) and the marks renderer is at
|
162
|
+
<a class="link" href="GtkSourceView.html#GTK-SOURCE-VIEW-GUTTER-POSITION-MARKS:CAPS"><span class="type">GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS</span></a> (-20). The gutter sorts the renderers
|
163
|
+
in ascending order, from left to right. So the marks are displayed on the
|
164
|
+
right of the line numbers.</p>
|
165
|
+
</div>
|
166
|
+
<div class="refsect1">
|
167
|
+
<a name="GtkSourceGutter.functions_details"></a><h2>Functions</h2>
|
168
|
+
<div class="refsect2">
|
169
|
+
<a name="gtk-source-gutter-get-view"></a><h3>gtk_source_gutter_get_view ()</h3>
|
170
|
+
<pre class="programlisting"><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *
|
171
|
+
gtk_source_gutter_get_view (<em class="parameter"><code><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> *gutter</code></em>);</pre>
|
172
|
+
<div class="refsect3">
|
173
|
+
<a name="gtk-source-gutter-get-view.parameters"></a><h4>Parameters</h4>
|
174
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
175
|
+
<colgroup>
|
176
|
+
<col width="150px" class="parameters_name">
|
177
|
+
<col class="parameters_description">
|
178
|
+
<col width="200px" class="parameters_annotations">
|
179
|
+
</colgroup>
|
180
|
+
<tbody><tr>
|
181
|
+
<td class="parameter_name"><p>gutter</p></td>
|
182
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>.</p></td>
|
183
|
+
<td class="parameter_annotations"> </td>
|
184
|
+
</tr></tbody>
|
185
|
+
</table></div>
|
186
|
+
</div>
|
187
|
+
<div class="refsect3">
|
188
|
+
<a name="gtk-source-gutter-get-view.returns"></a><h4>Returns</h4>
|
189
|
+
<p>the associated <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>. </p>
|
190
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
191
|
+
</div>
|
192
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
193
|
+
</div>
|
194
|
+
<hr>
|
195
|
+
<div class="refsect2">
|
196
|
+
<a name="gtk-source-gutter-get-window-type"></a><h3>gtk_source_gutter_get_window_type ()</h3>
|
197
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a>
|
198
|
+
gtk_source_gutter_get_window_type (<em class="parameter"><code><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> *gutter</code></em>);</pre>
|
199
|
+
<div class="refsect3">
|
200
|
+
<a name="gtk-source-gutter-get-window-type.parameters"></a><h4>Parameters</h4>
|
201
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
202
|
+
<colgroup>
|
203
|
+
<col width="150px" class="parameters_name">
|
204
|
+
<col class="parameters_description">
|
205
|
+
<col width="200px" class="parameters_annotations">
|
206
|
+
</colgroup>
|
207
|
+
<tbody><tr>
|
208
|
+
<td class="parameter_name"><p>gutter</p></td>
|
209
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>.</p></td>
|
210
|
+
<td class="parameter_annotations"> </td>
|
211
|
+
</tr></tbody>
|
212
|
+
</table></div>
|
213
|
+
</div>
|
214
|
+
<div class="refsect3">
|
215
|
+
<a name="gtk-source-gutter-get-window-type.returns"></a><h4>Returns</h4>
|
216
|
+
<p> the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> of <em class="parameter"><code>gutter</code></em>
|
217
|
+
.</p>
|
218
|
+
</div>
|
219
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
220
|
+
</div>
|
221
|
+
<hr>
|
222
|
+
<div class="refsect2">
|
223
|
+
<a name="gtk-source-gutter-insert"></a><h3>gtk_source_gutter_insert ()</h3>
|
224
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
225
|
+
gtk_source_gutter_insert (<em class="parameter"><code><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> *gutter</code></em>,
|
226
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
227
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
|
228
|
+
<p>Insert <em class="parameter"><code>renderer</code></em>
|
229
|
+
into the gutter. If <em class="parameter"><code>renderer</code></em>
|
230
|
+
is yet unowned then gutter
|
231
|
+
claims its ownership. Otherwise just increases renderer's reference count.
|
232
|
+
<em class="parameter"><code>renderer</code></em>
|
233
|
+
cannot be already inserted to another gutter.</p>
|
234
|
+
<div class="refsect3">
|
235
|
+
<a name="gtk-source-gutter-insert.parameters"></a><h4>Parameters</h4>
|
236
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
237
|
+
<colgroup>
|
238
|
+
<col width="150px" class="parameters_name">
|
239
|
+
<col class="parameters_description">
|
240
|
+
<col width="200px" class="parameters_annotations">
|
241
|
+
</colgroup>
|
242
|
+
<tbody>
|
243
|
+
<tr>
|
244
|
+
<td class="parameter_name"><p>gutter</p></td>
|
245
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>.</p></td>
|
246
|
+
<td class="parameter_annotations"> </td>
|
247
|
+
</tr>
|
248
|
+
<tr>
|
249
|
+
<td class="parameter_name"><p>renderer</p></td>
|
250
|
+
<td class="parameter_description"><p>a gutter renderer (must inherit from <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>).</p></td>
|
251
|
+
<td class="parameter_annotations"> </td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td class="parameter_name"><p>position</p></td>
|
255
|
+
<td class="parameter_description"><p>the renderer position.</p></td>
|
256
|
+
<td class="parameter_annotations"> </td>
|
257
|
+
</tr>
|
258
|
+
</tbody>
|
259
|
+
</table></div>
|
260
|
+
</div>
|
261
|
+
<div class="refsect3">
|
262
|
+
<a name="gtk-source-gutter-insert.returns"></a><h4>Returns</h4>
|
263
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if operation succeeded. Otherwise <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
264
|
+
</div>
|
265
|
+
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
266
|
+
</div>
|
267
|
+
<hr>
|
268
|
+
<div class="refsect2">
|
269
|
+
<a name="gtk-source-gutter-reorder"></a><h3>gtk_source_gutter_reorder ()</h3>
|
270
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
271
|
+
gtk_source_gutter_reorder (<em class="parameter"><code><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> *gutter</code></em>,
|
272
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
273
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
|
274
|
+
<p>Reorders <em class="parameter"><code>renderer</code></em>
|
275
|
+
in <em class="parameter"><code>gutter</code></em>
|
276
|
+
to new <em class="parameter"><code>position</code></em>
|
277
|
+
.</p>
|
278
|
+
<div class="refsect3">
|
279
|
+
<a name="gtk-source-gutter-reorder.parameters"></a><h4>Parameters</h4>
|
280
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
281
|
+
<colgroup>
|
282
|
+
<col width="150px" class="parameters_name">
|
283
|
+
<col class="parameters_description">
|
284
|
+
<col width="200px" class="parameters_annotations">
|
285
|
+
</colgroup>
|
286
|
+
<tbody>
|
287
|
+
<tr>
|
288
|
+
<td class="parameter_name"><p>gutter</p></td>
|
289
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>.</p></td>
|
290
|
+
<td class="parameter_annotations"> </td>
|
291
|
+
</tr>
|
292
|
+
<tr>
|
293
|
+
<td class="parameter_name"><p>renderer</p></td>
|
294
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkCellRenderer.html#GtkCellRenderer-struct"><span class="type">GtkCellRenderer</span></a>.</p></td>
|
295
|
+
<td class="parameter_annotations"> </td>
|
296
|
+
</tr>
|
297
|
+
<tr>
|
298
|
+
<td class="parameter_name"><p>position</p></td>
|
299
|
+
<td class="parameter_description"><p>the new renderer position.</p></td>
|
300
|
+
<td class="parameter_annotations"> </td>
|
301
|
+
</tr>
|
302
|
+
</tbody>
|
303
|
+
</table></div>
|
304
|
+
</div>
|
305
|
+
<p class="since">Since: <a class="link" href="api-index-2-8.html#api-index-2.8">2.8</a></p>
|
306
|
+
</div>
|
307
|
+
<hr>
|
308
|
+
<div class="refsect2">
|
309
|
+
<a name="gtk-source-gutter-remove"></a><h3>gtk_source_gutter_remove ()</h3>
|
310
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
311
|
+
gtk_source_gutter_remove (<em class="parameter"><code><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> *gutter</code></em>,
|
312
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
313
|
+
<p>Removes <em class="parameter"><code>renderer</code></em>
|
314
|
+
from <em class="parameter"><code>gutter</code></em>
|
315
|
+
.</p>
|
316
|
+
<div class="refsect3">
|
317
|
+
<a name="gtk-source-gutter-remove.parameters"></a><h4>Parameters</h4>
|
318
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
319
|
+
<colgroup>
|
320
|
+
<col width="150px" class="parameters_name">
|
321
|
+
<col class="parameters_description">
|
322
|
+
<col width="200px" class="parameters_annotations">
|
323
|
+
</colgroup>
|
324
|
+
<tbody>
|
325
|
+
<tr>
|
326
|
+
<td class="parameter_name"><p>gutter</p></td>
|
327
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>.</p></td>
|
328
|
+
<td class="parameter_annotations"> </td>
|
329
|
+
</tr>
|
330
|
+
<tr>
|
331
|
+
<td class="parameter_name"><p>renderer</p></td>
|
332
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>.</p></td>
|
333
|
+
<td class="parameter_annotations"> </td>
|
334
|
+
</tr>
|
335
|
+
</tbody>
|
336
|
+
</table></div>
|
337
|
+
</div>
|
338
|
+
<p class="since">Since: <a class="link" href="api-index-2-8.html#api-index-2.8">2.8</a></p>
|
339
|
+
</div>
|
340
|
+
<hr>
|
341
|
+
<div class="refsect2">
|
342
|
+
<a name="gtk-source-gutter-queue-draw"></a><h3>gtk_source_gutter_queue_draw ()</h3>
|
343
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
344
|
+
gtk_source_gutter_queue_draw (<em class="parameter"><code><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> *gutter</code></em>);</pre>
|
345
|
+
<p>Invalidates the drawable area of the gutter. You can use this to force a
|
346
|
+
redraw of the gutter if something has changed and needs to be redrawn.</p>
|
347
|
+
<div class="refsect3">
|
348
|
+
<a name="gtk-source-gutter-queue-draw.parameters"></a><h4>Parameters</h4>
|
349
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
350
|
+
<colgroup>
|
351
|
+
<col width="150px" class="parameters_name">
|
352
|
+
<col class="parameters_description">
|
353
|
+
<col width="200px" class="parameters_annotations">
|
354
|
+
</colgroup>
|
355
|
+
<tbody><tr>
|
356
|
+
<td class="parameter_name"><p>gutter</p></td>
|
357
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>.</p></td>
|
358
|
+
<td class="parameter_annotations"> </td>
|
359
|
+
</tr></tbody>
|
360
|
+
</table></div>
|
361
|
+
</div>
|
362
|
+
<p class="since">Since: <a class="link" href="api-index-2-8.html#api-index-2.8">2.8</a></p>
|
363
|
+
</div>
|
364
|
+
<hr>
|
365
|
+
<div class="refsect2">
|
366
|
+
<a name="gtk-source-gutter-get-renderer-at-pos"></a><h3>gtk_source_gutter_get_renderer_at_pos ()</h3>
|
367
|
+
<pre class="programlisting"><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="returnvalue">GtkSourceGutterRenderer</span></a> *
|
368
|
+
gtk_source_gutter_get_renderer_at_pos (<em class="parameter"><code><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> *gutter</code></em>,
|
369
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
370
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
371
|
+
<p>Finds the <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> at (x, y).</p>
|
372
|
+
<div class="refsect3">
|
373
|
+
<a name="gtk-source-gutter-get-renderer-at-pos.parameters"></a><h4>Parameters</h4>
|
374
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
375
|
+
<colgroup>
|
376
|
+
<col width="150px" class="parameters_name">
|
377
|
+
<col class="parameters_description">
|
378
|
+
<col width="200px" class="parameters_annotations">
|
379
|
+
</colgroup>
|
380
|
+
<tbody>
|
381
|
+
<tr>
|
382
|
+
<td class="parameter_name"><p>gutter</p></td>
|
383
|
+
<td class="parameter_description"><p>A <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>.</p></td>
|
384
|
+
<td class="parameter_annotations"> </td>
|
385
|
+
</tr>
|
386
|
+
<tr>
|
387
|
+
<td class="parameter_name"><p>x</p></td>
|
388
|
+
<td class="parameter_description"><p>The x position to get identified.</p></td>
|
389
|
+
<td class="parameter_annotations"> </td>
|
390
|
+
</tr>
|
391
|
+
<tr>
|
392
|
+
<td class="parameter_name"><p>y</p></td>
|
393
|
+
<td class="parameter_description"><p>The y position to get identified.</p></td>
|
394
|
+
<td class="parameter_annotations"> </td>
|
395
|
+
</tr>
|
396
|
+
</tbody>
|
397
|
+
</table></div>
|
398
|
+
</div>
|
399
|
+
<div class="refsect3">
|
400
|
+
<a name="gtk-source-gutter-get-renderer-at-pos.returns"></a><h4>Returns</h4>
|
401
|
+
<p>the renderer at (x, y) or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
402
|
+
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
403
|
+
</div>
|
404
|
+
</div>
|
405
|
+
</div>
|
406
|
+
<div class="refsect1">
|
407
|
+
<a name="GtkSourceGutter.other_details"></a><h2>Types and Values</h2>
|
408
|
+
<div class="refsect2">
|
409
|
+
<a name="GtkSourceGutter-struct"></a><h3>GtkSourceGutter</h3>
|
410
|
+
<pre class="programlisting">typedef struct _GtkSourceGutter GtkSourceGutter;</pre>
|
411
|
+
</div>
|
412
|
+
</div>
|
413
|
+
<div class="refsect1">
|
414
|
+
<a name="GtkSourceGutter.property-details"></a><h2>Property Details</h2>
|
415
|
+
<div class="refsect2">
|
416
|
+
<a name="GtkSourceGutter--view"></a><h3>The <code class="literal">“view”</code> property</h3>
|
417
|
+
<pre class="programlisting"> “view” <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *</pre>
|
418
|
+
<p>The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> of the gutter.</p>
|
419
|
+
<p>Flags: Read / Write / Construct Only</p>
|
420
|
+
</div>
|
421
|
+
<hr>
|
422
|
+
<div class="refsect2">
|
423
|
+
<a name="GtkSourceGutter--window-type"></a><h3>The <code class="literal">“window-type”</code> property</h3>
|
424
|
+
<pre class="programlisting"> “window-type” <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a></pre>
|
425
|
+
<p>The text window type on which the window is placed.</p>
|
426
|
+
<p>Flags: Read / Write / Construct Only</p>
|
427
|
+
<p>Default value: GTK_TEXT_WINDOW_PRIVATE</p>
|
428
|
+
</div>
|
429
|
+
</div>
|
430
|
+
<div class="refsect1">
|
431
|
+
<a name="GtkSourceGutter.see-also"></a><h2>See Also</h2>
|
432
|
+
<p><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>, <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a></p>
|
433
|
+
</div>
|
434
|
+
</div>
|
435
|
+
<div class="footer">
|
436
|
+
<hr>Generated by GTK-Doc V1.28.1</div>
|
437
|
+
</body>
|
438
|
+
</html>
|
@@ -0,0 +1,1708 @@
|
|
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>GtkSourceGutterRenderer: 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="gutter.html" title="Gutter and Marks">
|
9
|
+
<link rel="prev" href="GtkSourceGutter.html" title="GtkSourceGutter">
|
10
|
+
<link rel="next" href="GtkSourceGutterRendererPixbuf.html" title="GtkSourceGutterRendererPixbuf">
|
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="#GtkSourceGutterRenderer.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceGutterRenderer.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceGutterRenderer.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
|
21
|
+
<a href="#GtkSourceGutterRenderer.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="gutter.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
|
+
<td><a accesskey="p" href="GtkSourceGutter.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
|
+
<td><a accesskey="n" href="GtkSourceGutterRendererPixbuf.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="GtkSourceGutterRenderer"></a><div class="titlepage"></div>
|
30
|
+
<div class="refnamediv"><table width="100%"><tr>
|
31
|
+
<td valign="top">
|
32
|
+
<h2><span class="refentrytitle"><a name="GtkSourceGutterRenderer.top_of_page"></a>GtkSourceGutterRenderer</span></h2>
|
33
|
+
<p>GtkSourceGutterRenderer — Gutter cell renderer</p>
|
34
|
+
</td>
|
35
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
36
|
+
</tr></table></div>
|
37
|
+
<div class="refsect1">
|
38
|
+
<a name="GtkSourceGutterRenderer.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="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-begin" title="gtk_source_gutter_renderer_begin ()">gtk_source_gutter_renderer_begin</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="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-draw" title="gtk_source_gutter_renderer_draw ()">gtk_source_gutter_renderer_draw</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="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-end" title="gtk_source_gutter_renderer_end ()">gtk_source_gutter_renderer_end</a> <span class="c_punctuation">()</span>
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
<tr>
|
70
|
+
<td class="function_type">
|
71
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="returnvalue">GtkTextView</span></a> *
|
72
|
+
</td>
|
73
|
+
<td class="function_name">
|
74
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-view" title="gtk_source_gutter_renderer_get_view ()">gtk_source_gutter_renderer_get_view</a> <span class="c_punctuation">()</span>
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td class="function_type">
|
79
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a>
|
80
|
+
</td>
|
81
|
+
<td class="function_name">
|
82
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-window-type" title="gtk_source_gutter_renderer_get_window_type ()">gtk_source_gutter_renderer_get_window_type</a> <span class="c_punctuation">()</span>
|
83
|
+
</td>
|
84
|
+
</tr>
|
85
|
+
<tr>
|
86
|
+
<td class="function_type">
|
87
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
88
|
+
</td>
|
89
|
+
<td class="function_name">
|
90
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-visible" title="gtk_source_gutter_renderer_get_visible ()">gtk_source_gutter_renderer_get_visible</a> <span class="c_punctuation">()</span>
|
91
|
+
</td>
|
92
|
+
</tr>
|
93
|
+
<tr>
|
94
|
+
<td class="function_type">
|
95
|
+
<span class="returnvalue">void</span>
|
96
|
+
</td>
|
97
|
+
<td class="function_name">
|
98
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-visible" title="gtk_source_gutter_renderer_set_visible ()">gtk_source_gutter_renderer_set_visible</a> <span class="c_punctuation">()</span>
|
99
|
+
</td>
|
100
|
+
</tr>
|
101
|
+
<tr>
|
102
|
+
<td class="function_type">
|
103
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
104
|
+
</td>
|
105
|
+
<td class="function_name">
|
106
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-size" title="gtk_source_gutter_renderer_get_size ()">gtk_source_gutter_renderer_get_size</a> <span class="c_punctuation">()</span>
|
107
|
+
</td>
|
108
|
+
</tr>
|
109
|
+
<tr>
|
110
|
+
<td class="function_type">
|
111
|
+
<span class="returnvalue">void</span>
|
112
|
+
</td>
|
113
|
+
<td class="function_name">
|
114
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-size" title="gtk_source_gutter_renderer_set_size ()">gtk_source_gutter_renderer_set_size</a> <span class="c_punctuation">()</span>
|
115
|
+
</td>
|
116
|
+
</tr>
|
117
|
+
<tr>
|
118
|
+
<td class="function_type">
|
119
|
+
<span class="returnvalue">void</span>
|
120
|
+
</td>
|
121
|
+
<td class="function_name">
|
122
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-padding" title="gtk_source_gutter_renderer_get_padding ()">gtk_source_gutter_renderer_get_padding</a> <span class="c_punctuation">()</span>
|
123
|
+
</td>
|
124
|
+
</tr>
|
125
|
+
<tr>
|
126
|
+
<td class="function_type">
|
127
|
+
<span class="returnvalue">void</span>
|
128
|
+
</td>
|
129
|
+
<td class="function_name">
|
130
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-padding" title="gtk_source_gutter_renderer_set_padding ()">gtk_source_gutter_renderer_set_padding</a> <span class="c_punctuation">()</span>
|
131
|
+
</td>
|
132
|
+
</tr>
|
133
|
+
<tr>
|
134
|
+
<td class="function_type">
|
135
|
+
<span class="returnvalue">void</span>
|
136
|
+
</td>
|
137
|
+
<td class="function_name">
|
138
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-alignment" title="gtk_source_gutter_renderer_get_alignment ()">gtk_source_gutter_renderer_get_alignment</a> <span class="c_punctuation">()</span>
|
139
|
+
</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td class="function_type">
|
143
|
+
<span class="returnvalue">void</span>
|
144
|
+
</td>
|
145
|
+
<td class="function_name">
|
146
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-alignment" title="gtk_source_gutter_renderer_set_alignment ()">gtk_source_gutter_renderer_set_alignment</a> <span class="c_punctuation">()</span>
|
147
|
+
</td>
|
148
|
+
</tr>
|
149
|
+
<tr>
|
150
|
+
<td class="function_type">
|
151
|
+
<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="returnvalue">GtkSourceGutterRendererAlignmentMode</span></a>
|
152
|
+
</td>
|
153
|
+
<td class="function_name">
|
154
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-alignment-mode" title="gtk_source_gutter_renderer_get_alignment_mode ()">gtk_source_gutter_renderer_get_alignment_mode</a> <span class="c_punctuation">()</span>
|
155
|
+
</td>
|
156
|
+
</tr>
|
157
|
+
<tr>
|
158
|
+
<td class="function_type">
|
159
|
+
<span class="returnvalue">void</span>
|
160
|
+
</td>
|
161
|
+
<td class="function_name">
|
162
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-alignment-mode" title="gtk_source_gutter_renderer_set_alignment_mode ()">gtk_source_gutter_renderer_set_alignment_mode</a> <span class="c_punctuation">()</span>
|
163
|
+
</td>
|
164
|
+
</tr>
|
165
|
+
<tr>
|
166
|
+
<td class="function_type">
|
167
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
168
|
+
</td>
|
169
|
+
<td class="function_name">
|
170
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-background" title="gtk_source_gutter_renderer_get_background ()">gtk_source_gutter_renderer_get_background</a> <span class="c_punctuation">()</span>
|
171
|
+
</td>
|
172
|
+
</tr>
|
173
|
+
<tr>
|
174
|
+
<td class="function_type">
|
175
|
+
<span class="returnvalue">void</span>
|
176
|
+
</td>
|
177
|
+
<td class="function_name">
|
178
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-background" title="gtk_source_gutter_renderer_set_background ()">gtk_source_gutter_renderer_set_background</a> <span class="c_punctuation">()</span>
|
179
|
+
</td>
|
180
|
+
</tr>
|
181
|
+
<tr>
|
182
|
+
<td class="function_type">
|
183
|
+
<span class="returnvalue">void</span>
|
184
|
+
</td>
|
185
|
+
<td class="function_name">
|
186
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-activate" title="gtk_source_gutter_renderer_activate ()">gtk_source_gutter_renderer_activate</a> <span class="c_punctuation">()</span>
|
187
|
+
</td>
|
188
|
+
</tr>
|
189
|
+
<tr>
|
190
|
+
<td class="function_type">
|
191
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
192
|
+
</td>
|
193
|
+
<td class="function_name">
|
194
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-query-activatable" title="gtk_source_gutter_renderer_query_activatable ()">gtk_source_gutter_renderer_query_activatable</a> <span class="c_punctuation">()</span>
|
195
|
+
</td>
|
196
|
+
</tr>
|
197
|
+
<tr>
|
198
|
+
<td class="function_type">
|
199
|
+
<span class="returnvalue">void</span>
|
200
|
+
</td>
|
201
|
+
<td class="function_name">
|
202
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-query-data" title="gtk_source_gutter_renderer_query_data ()">gtk_source_gutter_renderer_query_data</a> <span class="c_punctuation">()</span>
|
203
|
+
</td>
|
204
|
+
</tr>
|
205
|
+
<tr>
|
206
|
+
<td class="function_type">
|
207
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
208
|
+
</td>
|
209
|
+
<td class="function_name">
|
210
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-query-tooltip" title="gtk_source_gutter_renderer_query_tooltip ()">gtk_source_gutter_renderer_query_tooltip</a> <span class="c_punctuation">()</span>
|
211
|
+
</td>
|
212
|
+
</tr>
|
213
|
+
<tr>
|
214
|
+
<td class="function_type">
|
215
|
+
<span class="returnvalue">void</span>
|
216
|
+
</td>
|
217
|
+
<td class="function_name">
|
218
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-queue-draw" title="gtk_source_gutter_renderer_queue_draw ()">gtk_source_gutter_renderer_queue_draw</a> <span class="c_punctuation">()</span>
|
219
|
+
</td>
|
220
|
+
</tr>
|
221
|
+
</tbody>
|
222
|
+
</table></div>
|
223
|
+
</div>
|
224
|
+
<div class="refsect1">
|
225
|
+
<a name="GtkSourceGutterRenderer.properties"></a><h2>Properties</h2>
|
226
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
227
|
+
<colgroup>
|
228
|
+
<col width="150px" class="properties_type">
|
229
|
+
<col width="300px" class="properties_name">
|
230
|
+
<col width="200px" class="properties_flags">
|
231
|
+
</colgroup>
|
232
|
+
<tbody>
|
233
|
+
<tr>
|
234
|
+
<td class="property_type"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a></td>
|
235
|
+
<td class="property_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--alignment-mode" title="The “alignment-mode” property">alignment-mode</a></td>
|
236
|
+
<td class="property_flags">Read / Write / Construct</td>
|
237
|
+
</tr>
|
238
|
+
<tr>
|
239
|
+
<td class="property_type">
|
240
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
241
|
+
<td class="property_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--background-rgba" title="The “background-rgba” property">background-rgba</a></td>
|
242
|
+
<td class="property_flags">Read / Write</td>
|
243
|
+
</tr>
|
244
|
+
<tr>
|
245
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
246
|
+
<td class="property_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--background-set" title="The “background-set” property">background-set</a></td>
|
247
|
+
<td class="property_flags">Read / Write / Construct</td>
|
248
|
+
</tr>
|
249
|
+
<tr>
|
250
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
251
|
+
<td class="property_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--size" title="The “size” property">size</a></td>
|
252
|
+
<td class="property_flags">Read / Write / Construct</td>
|
253
|
+
</tr>
|
254
|
+
<tr>
|
255
|
+
<td class="property_type">
|
256
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a> *</td>
|
257
|
+
<td class="property_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--view" title="The “view” property">view</a></td>
|
258
|
+
<td class="property_flags">Read</td>
|
259
|
+
</tr>
|
260
|
+
<tr>
|
261
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
262
|
+
<td class="property_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--visible" title="The “visible” property">visible</a></td>
|
263
|
+
<td class="property_flags">Read / Write / Construct</td>
|
264
|
+
</tr>
|
265
|
+
<tr>
|
266
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a></td>
|
267
|
+
<td class="property_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--window-type" title="The “window-type” property">window-type</a></td>
|
268
|
+
<td class="property_flags">Read</td>
|
269
|
+
</tr>
|
270
|
+
<tr>
|
271
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></td>
|
272
|
+
<td class="property_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--xalign" title="The “xalign” property">xalign</a></td>
|
273
|
+
<td class="property_flags">Read / Write / Construct</td>
|
274
|
+
</tr>
|
275
|
+
<tr>
|
276
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
277
|
+
<td class="property_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--xpad" title="The “xpad” property">xpad</a></td>
|
278
|
+
<td class="property_flags">Read / Write / Construct</td>
|
279
|
+
</tr>
|
280
|
+
<tr>
|
281
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></td>
|
282
|
+
<td class="property_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--yalign" title="The “yalign” property">yalign</a></td>
|
283
|
+
<td class="property_flags">Read / Write / Construct</td>
|
284
|
+
</tr>
|
285
|
+
<tr>
|
286
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
287
|
+
<td class="property_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--ypad" title="The “ypad” property">ypad</a></td>
|
288
|
+
<td class="property_flags">Read / Write / Construct</td>
|
289
|
+
</tr>
|
290
|
+
</tbody>
|
291
|
+
</table></div>
|
292
|
+
</div>
|
293
|
+
<div class="refsect1">
|
294
|
+
<a name="GtkSourceGutterRenderer.signals"></a><h2>Signals</h2>
|
295
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
296
|
+
<colgroup>
|
297
|
+
<col width="150px" class="signals_return">
|
298
|
+
<col width="300px" class="signals_name">
|
299
|
+
<col width="200px" class="signals_flags">
|
300
|
+
</colgroup>
|
301
|
+
<tbody>
|
302
|
+
<tr>
|
303
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
304
|
+
<td class="signal_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-activate" title="The “activate” signal">activate</a></td>
|
305
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
306
|
+
</tr>
|
307
|
+
<tr>
|
308
|
+
<td class="signal_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
309
|
+
<td class="signal_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-query-activatable" title="The “query-activatable” signal">query-activatable</a></td>
|
310
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
311
|
+
</tr>
|
312
|
+
<tr>
|
313
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
314
|
+
<td class="signal_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-query-data" title="The “query-data” signal">query-data</a></td>
|
315
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
316
|
+
</tr>
|
317
|
+
<tr>
|
318
|
+
<td class="signal_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
319
|
+
<td class="signal_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-query-tooltip" title="The “query-tooltip” signal">query-tooltip</a></td>
|
320
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
321
|
+
</tr>
|
322
|
+
<tr>
|
323
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
324
|
+
<td class="signal_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-queue-draw" title="The “queue-draw” signal">queue-draw</a></td>
|
325
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
326
|
+
</tr>
|
327
|
+
</tbody>
|
328
|
+
</table></div>
|
329
|
+
</div>
|
330
|
+
<div class="refsect1">
|
331
|
+
<a name="GtkSourceGutterRenderer.other"></a><h2>Types and Values</h2>
|
332
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
333
|
+
<colgroup>
|
334
|
+
<col width="150px" class="name">
|
335
|
+
<col class="description">
|
336
|
+
</colgroup>
|
337
|
+
<tbody>
|
338
|
+
<tr>
|
339
|
+
<td class="datatype_keyword"> </td>
|
340
|
+
<td class="function_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-struct" title="GtkSourceGutterRenderer">GtkSourceGutterRenderer</a></td>
|
341
|
+
</tr>
|
342
|
+
<tr>
|
343
|
+
<td class="datatype_keyword">enum</td>
|
344
|
+
<td class="function_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState">GtkSourceGutterRendererState</a></td>
|
345
|
+
</tr>
|
346
|
+
<tr>
|
347
|
+
<td class="datatype_keyword">enum</td>
|
348
|
+
<td class="function_name"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode">GtkSourceGutterRendererAlignmentMode</a></td>
|
349
|
+
</tr>
|
350
|
+
</tbody>
|
351
|
+
</table></div>
|
352
|
+
</div>
|
353
|
+
<div class="refsect1">
|
354
|
+
<a name="GtkSourceGutterRenderer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
355
|
+
<pre class="screen"> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
356
|
+
<span class="lineart">╰──</span> GtkSourceGutterRendererAlignmentMode
|
357
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
358
|
+
<span class="lineart">╰──</span> GtkSourceGutterRendererState
|
359
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
360
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
361
|
+
<span class="lineart">╰──</span> GtkSourceGutterRenderer
|
362
|
+
<span class="lineart">├──</span> <a class="link" href="GtkSourceGutterRendererPixbuf.html" title="GtkSourceGutterRendererPixbuf">GtkSourceGutterRendererPixbuf</a>
|
363
|
+
<span class="lineart">╰──</span> <a class="link" href="GtkSourceGutterRendererText.html" title="GtkSourceGutterRendererText">GtkSourceGutterRendererText</a>
|
364
|
+
</pre>
|
365
|
+
</div>
|
366
|
+
<div class="refsect1">
|
367
|
+
<a name="GtkSourceGutterRenderer.includes"></a><h2>Includes</h2>
|
368
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
369
|
+
</pre>
|
370
|
+
</div>
|
371
|
+
<div class="refsect1">
|
372
|
+
<a name="GtkSourceGutterRenderer.description"></a><h2>Description</h2>
|
373
|
+
<p>A <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> represents a column in a <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>. The
|
374
|
+
column contains one cell for each visible line of the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. Due to
|
375
|
+
text wrapping, a cell can thus span multiple lines of the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a>. In
|
376
|
+
this case, <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a> controls the alignment of
|
377
|
+
the cell.</p>
|
378
|
+
<p>The gutter renderer must announce its <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--size" title="The “size” property"><span class="type">“size”</span></a>. The
|
379
|
+
height is determined by the text view height. The width must be determined by
|
380
|
+
the gutter renderer. The width generally takes into account the entire text
|
381
|
+
buffer. For instance, to display the line numbers, if the buffer contains 100
|
382
|
+
lines, the gutter renderer will always set its width such as three digits can
|
383
|
+
be printed, even if only the first 20 lines are shown. Another strategy is to
|
384
|
+
take into account only the visible lines. In this case, only two digits are
|
385
|
+
necessary to display the line numbers of the first 20 lines. To take another
|
386
|
+
example, the gutter renderer for <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>s doesn't need to take
|
387
|
+
into account the text buffer to announce its width. It only depends on the
|
388
|
+
icons size displayed in the gutter column.</p>
|
389
|
+
<p>An horizontal and vertical padding can be added with
|
390
|
+
<a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-padding" title="gtk_source_gutter_renderer_set_padding ()"><code class="function">gtk_source_gutter_renderer_set_padding()</code></a>. The total width of a gutter
|
391
|
+
renderer is its size (<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--size" title="The “size” property"><span class="type">“size”</span></a>) plus two times the
|
392
|
+
horizontal padding (<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--xpad" title="The “xpad” property"><span class="type">“xpad”</span></a>).</p>
|
393
|
+
<p>When the available size to render a cell is greater than the required size to
|
394
|
+
render the cell contents, the cell contents can be aligned horizontally and
|
395
|
+
vertically with <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-alignment" title="gtk_source_gutter_renderer_set_alignment ()"><code class="function">gtk_source_gutter_renderer_set_alignment()</code></a>.</p>
|
396
|
+
<p>The cells rendering occurs in three phases:</p>
|
397
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
398
|
+
<li class="listitem"><p>begin: the <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-begin" title="gtk_source_gutter_renderer_begin ()"><code class="function">gtk_source_gutter_renderer_begin()</code></a> function is called when some
|
399
|
+
cells need to be redrawn. It provides the associated region of the
|
400
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. The cells need to be redrawn when the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a> is
|
401
|
+
scrolled, or when the state of the cells change (see
|
402
|
+
<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a>).</p></li>
|
403
|
+
<li class="listitem"><p>draw: <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-draw" title="gtk_source_gutter_renderer_draw ()"><code class="function">gtk_source_gutter_renderer_draw()</code></a> is called for each cell that needs
|
404
|
+
to be drawn.</p></li>
|
405
|
+
<li class="listitem"><p>end: finally, <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-end" title="gtk_source_gutter_renderer_end ()"><code class="function">gtk_source_gutter_renderer_end()</code></a> is called.</p></li>
|
406
|
+
</ul></div>
|
407
|
+
</div>
|
408
|
+
<div class="refsect1">
|
409
|
+
<a name="GtkSourceGutterRenderer.functions_details"></a><h2>Functions</h2>
|
410
|
+
<div class="refsect2">
|
411
|
+
<a name="gtk-source-gutter-renderer-begin"></a><h3>gtk_source_gutter_renderer_begin ()</h3>
|
412
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
413
|
+
gtk_source_gutter_renderer_begin (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
414
|
+
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
415
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
416
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
417
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
418
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
419
|
+
<p>Called when drawing a region begins. The region to be drawn is indicated
|
420
|
+
by <em class="parameter"><code>start</code></em>
|
421
|
+
and <em class="parameter"><code>end</code></em>
|
422
|
+
. The purpose is to allow the implementation to precompute
|
423
|
+
some state before the draw method is called for each cell.</p>
|
424
|
+
<div class="refsect3">
|
425
|
+
<a name="gtk-source-gutter-renderer-begin.parameters"></a><h4>Parameters</h4>
|
426
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
427
|
+
<colgroup>
|
428
|
+
<col width="150px" class="parameters_name">
|
429
|
+
<col class="parameters_description">
|
430
|
+
<col width="200px" class="parameters_annotations">
|
431
|
+
</colgroup>
|
432
|
+
<tbody>
|
433
|
+
<tr>
|
434
|
+
<td class="parameter_name"><p>renderer</p></td>
|
435
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
436
|
+
<td class="parameter_annotations"> </td>
|
437
|
+
</tr>
|
438
|
+
<tr>
|
439
|
+
<td class="parameter_name"><p>cr</p></td>
|
440
|
+
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
|
441
|
+
<td class="parameter_annotations"> </td>
|
442
|
+
</tr>
|
443
|
+
<tr>
|
444
|
+
<td class="parameter_name"><p>background_area</p></td>
|
445
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a></p></td>
|
446
|
+
<td class="parameter_annotations"> </td>
|
447
|
+
</tr>
|
448
|
+
<tr>
|
449
|
+
<td class="parameter_name"><p>cell_area</p></td>
|
450
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a></p></td>
|
451
|
+
<td class="parameter_annotations"> </td>
|
452
|
+
</tr>
|
453
|
+
<tr>
|
454
|
+
<td class="parameter_name"><p>start</p></td>
|
455
|
+
<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>
|
456
|
+
<td class="parameter_annotations"> </td>
|
457
|
+
</tr>
|
458
|
+
<tr>
|
459
|
+
<td class="parameter_name"><p>end</p></td>
|
460
|
+
<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>
|
461
|
+
<td class="parameter_annotations"> </td>
|
462
|
+
</tr>
|
463
|
+
</tbody>
|
464
|
+
</table></div>
|
465
|
+
</div>
|
466
|
+
</div>
|
467
|
+
<hr>
|
468
|
+
<div class="refsect2">
|
469
|
+
<a name="gtk-source-gutter-renderer-draw"></a><h3>gtk_source_gutter_renderer_draw ()</h3>
|
470
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
471
|
+
gtk_source_gutter_renderer_draw (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
472
|
+
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
473
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
474
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
475
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
476
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
477
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a> state</code></em>);</pre>
|
478
|
+
<p>Main renderering method. Implementations should implement this method to draw
|
479
|
+
onto the cairo context. The <em class="parameter"><code>background_area</code></em>
|
480
|
+
indicates the total area of the
|
481
|
+
cell to be drawn. The <em class="parameter"><code>cell_area</code></em>
|
482
|
+
indicates the area where content can be
|
483
|
+
drawn (text, images, etc).</p>
|
484
|
+
<p>The <em class="parameter"><code>background_area</code></em>
|
485
|
+
is the <em class="parameter"><code>cell_area</code></em>
|
486
|
+
plus the padding on each side (two
|
487
|
+
times the <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--xpad" title="The “xpad” property"><span class="type">“xpad”</span></a> horizontally and two times the
|
488
|
+
<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--ypad" title="The “ypad” property"><span class="type">“ypad”</span></a> vertically, so that the <em class="parameter"><code>cell_area</code></em>
|
489
|
+
is centered
|
490
|
+
inside <em class="parameter"><code>background_area</code></em>
|
491
|
+
).</p>
|
492
|
+
<p>The <em class="parameter"><code>state</code></em>
|
493
|
+
argument indicates the current state of the renderer and should
|
494
|
+
be taken into account to properly draw the different possible states
|
495
|
+
(cursor, prelit, selected) if appropriate.</p>
|
496
|
+
<div class="refsect3">
|
497
|
+
<a name="gtk-source-gutter-renderer-draw.parameters"></a><h4>Parameters</h4>
|
498
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
499
|
+
<colgroup>
|
500
|
+
<col width="150px" class="parameters_name">
|
501
|
+
<col class="parameters_description">
|
502
|
+
<col width="200px" class="parameters_annotations">
|
503
|
+
</colgroup>
|
504
|
+
<tbody>
|
505
|
+
<tr>
|
506
|
+
<td class="parameter_name"><p>renderer</p></td>
|
507
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
508
|
+
<td class="parameter_annotations"> </td>
|
509
|
+
</tr>
|
510
|
+
<tr>
|
511
|
+
<td class="parameter_name"><p>cr</p></td>
|
512
|
+
<td class="parameter_description"><p>the cairo render context</p></td>
|
513
|
+
<td class="parameter_annotations"> </td>
|
514
|
+
</tr>
|
515
|
+
<tr>
|
516
|
+
<td class="parameter_name"><p>background_area</p></td>
|
517
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> indicating the total area to be drawn</p></td>
|
518
|
+
<td class="parameter_annotations"> </td>
|
519
|
+
</tr>
|
520
|
+
<tr>
|
521
|
+
<td class="parameter_name"><p>cell_area</p></td>
|
522
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> indicating the area to draw content</p></td>
|
523
|
+
<td class="parameter_annotations"> </td>
|
524
|
+
</tr>
|
525
|
+
<tr>
|
526
|
+
<td class="parameter_name"><p>start</p></td>
|
527
|
+
<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>
|
528
|
+
<td class="parameter_annotations"> </td>
|
529
|
+
</tr>
|
530
|
+
<tr>
|
531
|
+
<td class="parameter_name"><p>end</p></td>
|
532
|
+
<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>
|
533
|
+
<td class="parameter_annotations"> </td>
|
534
|
+
</tr>
|
535
|
+
<tr>
|
536
|
+
<td class="parameter_name"><p>state</p></td>
|
537
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a></p></td>
|
538
|
+
<td class="parameter_annotations"> </td>
|
539
|
+
</tr>
|
540
|
+
</tbody>
|
541
|
+
</table></div>
|
542
|
+
</div>
|
543
|
+
</div>
|
544
|
+
<hr>
|
545
|
+
<div class="refsect2">
|
546
|
+
<a name="gtk-source-gutter-renderer-end"></a><h3>gtk_source_gutter_renderer_end ()</h3>
|
547
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
548
|
+
gtk_source_gutter_renderer_end (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
549
|
+
<p>Called when drawing a region of lines has ended.</p>
|
550
|
+
<div class="refsect3">
|
551
|
+
<a name="gtk-source-gutter-renderer-end.parameters"></a><h4>Parameters</h4>
|
552
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
553
|
+
<colgroup>
|
554
|
+
<col width="150px" class="parameters_name">
|
555
|
+
<col class="parameters_description">
|
556
|
+
<col width="200px" class="parameters_annotations">
|
557
|
+
</colgroup>
|
558
|
+
<tbody><tr>
|
559
|
+
<td class="parameter_name"><p>renderer</p></td>
|
560
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
561
|
+
<td class="parameter_annotations"> </td>
|
562
|
+
</tr></tbody>
|
563
|
+
</table></div>
|
564
|
+
</div>
|
565
|
+
</div>
|
566
|
+
<hr>
|
567
|
+
<div class="refsect2">
|
568
|
+
<a name="gtk-source-gutter-renderer-get-view"></a><h3>gtk_source_gutter_renderer_get_view ()</h3>
|
569
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="returnvalue">GtkTextView</span></a> *
|
570
|
+
gtk_source_gutter_renderer_get_view (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
571
|
+
<p>Get the view associated to the gutter renderer</p>
|
572
|
+
<div class="refsect3">
|
573
|
+
<a name="gtk-source-gutter-renderer-get-view.parameters"></a><h4>Parameters</h4>
|
574
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
575
|
+
<colgroup>
|
576
|
+
<col width="150px" class="parameters_name">
|
577
|
+
<col class="parameters_description">
|
578
|
+
<col width="200px" class="parameters_annotations">
|
579
|
+
</colgroup>
|
580
|
+
<tbody><tr>
|
581
|
+
<td class="parameter_name"><p>renderer</p></td>
|
582
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
583
|
+
<td class="parameter_annotations"> </td>
|
584
|
+
</tr></tbody>
|
585
|
+
</table></div>
|
586
|
+
</div>
|
587
|
+
<div class="refsect3">
|
588
|
+
<a name="gtk-source-gutter-renderer-get-view.returns"></a><h4>Returns</h4>
|
589
|
+
<p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a>. </p>
|
590
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
591
|
+
</div>
|
592
|
+
</div>
|
593
|
+
<hr>
|
594
|
+
<div class="refsect2">
|
595
|
+
<a name="gtk-source-gutter-renderer-get-window-type"></a><h3>gtk_source_gutter_renderer_get_window_type ()</h3>
|
596
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a>
|
597
|
+
gtk_source_gutter_renderer_get_window_type
|
598
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
599
|
+
<p>Get the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> associated with the gutter renderer.</p>
|
600
|
+
<div class="refsect3">
|
601
|
+
<a name="gtk-source-gutter-renderer-get-window-type.parameters"></a><h4>Parameters</h4>
|
602
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
603
|
+
<colgroup>
|
604
|
+
<col width="150px" class="parameters_name">
|
605
|
+
<col class="parameters_description">
|
606
|
+
<col width="200px" class="parameters_annotations">
|
607
|
+
</colgroup>
|
608
|
+
<tbody><tr>
|
609
|
+
<td class="parameter_name"><p>renderer</p></td>
|
610
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
611
|
+
<td class="parameter_annotations"> </td>
|
612
|
+
</tr></tbody>
|
613
|
+
</table></div>
|
614
|
+
</div>
|
615
|
+
<div class="refsect3">
|
616
|
+
<a name="gtk-source-gutter-renderer-get-window-type.returns"></a><h4>Returns</h4>
|
617
|
+
<p> a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a></p>
|
618
|
+
</div>
|
619
|
+
</div>
|
620
|
+
<hr>
|
621
|
+
<div class="refsect2">
|
622
|
+
<a name="gtk-source-gutter-renderer-get-visible"></a><h3>gtk_source_gutter_renderer_get_visible ()</h3>
|
623
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
624
|
+
gtk_source_gutter_renderer_get_visible
|
625
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
626
|
+
<p>Get whether the gutter renderer is visible.</p>
|
627
|
+
<div class="refsect3">
|
628
|
+
<a name="gtk-source-gutter-renderer-get-visible.parameters"></a><h4>Parameters</h4>
|
629
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
630
|
+
<colgroup>
|
631
|
+
<col width="150px" class="parameters_name">
|
632
|
+
<col class="parameters_description">
|
633
|
+
<col width="200px" class="parameters_annotations">
|
634
|
+
</colgroup>
|
635
|
+
<tbody><tr>
|
636
|
+
<td class="parameter_name"><p>renderer</p></td>
|
637
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
638
|
+
<td class="parameter_annotations"> </td>
|
639
|
+
</tr></tbody>
|
640
|
+
</table></div>
|
641
|
+
</div>
|
642
|
+
<div class="refsect3">
|
643
|
+
<a name="gtk-source-gutter-renderer-get-visible.returns"></a><h4>Returns</h4>
|
644
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the renderer is visible, <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
645
|
+
</div>
|
646
|
+
</div>
|
647
|
+
<hr>
|
648
|
+
<div class="refsect2">
|
649
|
+
<a name="gtk-source-gutter-renderer-set-visible"></a><h3>gtk_source_gutter_renderer_set_visible ()</h3>
|
650
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
651
|
+
gtk_source_gutter_renderer_set_visible
|
652
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
653
|
+
<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> visible</code></em>);</pre>
|
654
|
+
<p>Set whether the gutter renderer is visible.</p>
|
655
|
+
<div class="refsect3">
|
656
|
+
<a name="gtk-source-gutter-renderer-set-visible.parameters"></a><h4>Parameters</h4>
|
657
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
658
|
+
<colgroup>
|
659
|
+
<col width="150px" class="parameters_name">
|
660
|
+
<col class="parameters_description">
|
661
|
+
<col width="200px" class="parameters_annotations">
|
662
|
+
</colgroup>
|
663
|
+
<tbody>
|
664
|
+
<tr>
|
665
|
+
<td class="parameter_name"><p>renderer</p></td>
|
666
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
667
|
+
<td class="parameter_annotations"> </td>
|
668
|
+
</tr>
|
669
|
+
<tr>
|
670
|
+
<td class="parameter_name"><p>visible</p></td>
|
671
|
+
<td class="parameter_description"><p>the visibility</p></td>
|
672
|
+
<td class="parameter_annotations"> </td>
|
673
|
+
</tr>
|
674
|
+
</tbody>
|
675
|
+
</table></div>
|
676
|
+
</div>
|
677
|
+
</div>
|
678
|
+
<hr>
|
679
|
+
<div class="refsect2">
|
680
|
+
<a name="gtk-source-gutter-renderer-get-size"></a><h3>gtk_source_gutter_renderer_get_size ()</h3>
|
681
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
682
|
+
gtk_source_gutter_renderer_get_size (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
683
|
+
<p>Get the size of the renderer.</p>
|
684
|
+
<div class="refsect3">
|
685
|
+
<a name="gtk-source-gutter-renderer-get-size.parameters"></a><h4>Parameters</h4>
|
686
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
687
|
+
<colgroup>
|
688
|
+
<col width="150px" class="parameters_name">
|
689
|
+
<col class="parameters_description">
|
690
|
+
<col width="200px" class="parameters_annotations">
|
691
|
+
</colgroup>
|
692
|
+
<tbody><tr>
|
693
|
+
<td class="parameter_name"><p>renderer</p></td>
|
694
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
695
|
+
<td class="parameter_annotations"> </td>
|
696
|
+
</tr></tbody>
|
697
|
+
</table></div>
|
698
|
+
</div>
|
699
|
+
<div class="refsect3">
|
700
|
+
<a name="gtk-source-gutter-renderer-get-size.returns"></a><h4>Returns</h4>
|
701
|
+
<p> the size of the renderer.</p>
|
702
|
+
</div>
|
703
|
+
</div>
|
704
|
+
<hr>
|
705
|
+
<div class="refsect2">
|
706
|
+
<a name="gtk-source-gutter-renderer-set-size"></a><h3>gtk_source_gutter_renderer_set_size ()</h3>
|
707
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
708
|
+
gtk_source_gutter_renderer_set_size (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
709
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);</pre>
|
710
|
+
<p>Sets the size of the renderer. A value of -1 specifies that the size
|
711
|
+
is to be determined dynamically.</p>
|
712
|
+
<div class="refsect3">
|
713
|
+
<a name="gtk-source-gutter-renderer-set-size.parameters"></a><h4>Parameters</h4>
|
714
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
715
|
+
<colgroup>
|
716
|
+
<col width="150px" class="parameters_name">
|
717
|
+
<col class="parameters_description">
|
718
|
+
<col width="200px" class="parameters_annotations">
|
719
|
+
</colgroup>
|
720
|
+
<tbody>
|
721
|
+
<tr>
|
722
|
+
<td class="parameter_name"><p>renderer</p></td>
|
723
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
724
|
+
<td class="parameter_annotations"> </td>
|
725
|
+
</tr>
|
726
|
+
<tr>
|
727
|
+
<td class="parameter_name"><p>size</p></td>
|
728
|
+
<td class="parameter_description"><p>the size</p></td>
|
729
|
+
<td class="parameter_annotations"> </td>
|
730
|
+
</tr>
|
731
|
+
</tbody>
|
732
|
+
</table></div>
|
733
|
+
</div>
|
734
|
+
</div>
|
735
|
+
<hr>
|
736
|
+
<div class="refsect2">
|
737
|
+
<a name="gtk-source-gutter-renderer-get-padding"></a><h3>gtk_source_gutter_renderer_get_padding ()</h3>
|
738
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
739
|
+
gtk_source_gutter_renderer_get_padding
|
740
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
741
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *xpad</code></em>,
|
742
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *ypad</code></em>);</pre>
|
743
|
+
<p>Get the x-padding and y-padding of the gutter renderer.</p>
|
744
|
+
<div class="refsect3">
|
745
|
+
<a name="gtk-source-gutter-renderer-get-padding.parameters"></a><h4>Parameters</h4>
|
746
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
747
|
+
<colgroup>
|
748
|
+
<col width="150px" class="parameters_name">
|
749
|
+
<col class="parameters_description">
|
750
|
+
<col width="200px" class="parameters_annotations">
|
751
|
+
</colgroup>
|
752
|
+
<tbody>
|
753
|
+
<tr>
|
754
|
+
<td class="parameter_name"><p>renderer</p></td>
|
755
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
756
|
+
<td class="parameter_annotations"> </td>
|
757
|
+
</tr>
|
758
|
+
<tr>
|
759
|
+
<td class="parameter_name"><p>xpad</p></td>
|
760
|
+
<td class="parameter_description"><p>return location for the x-padding,
|
761
|
+
or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
762
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
763
|
+
</tr>
|
764
|
+
<tr>
|
765
|
+
<td class="parameter_name"><p>ypad</p></td>
|
766
|
+
<td class="parameter_description"><p>return location for the y-padding,
|
767
|
+
or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
768
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
769
|
+
</tr>
|
770
|
+
</tbody>
|
771
|
+
</table></div>
|
772
|
+
</div>
|
773
|
+
</div>
|
774
|
+
<hr>
|
775
|
+
<div class="refsect2">
|
776
|
+
<a name="gtk-source-gutter-renderer-set-padding"></a><h3>gtk_source_gutter_renderer_set_padding ()</h3>
|
777
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
778
|
+
gtk_source_gutter_renderer_set_padding
|
779
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
780
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> xpad</code></em>,
|
781
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ypad</code></em>);</pre>
|
782
|
+
<p>Set the padding of the gutter renderer. Both <em class="parameter"><code>xpad</code></em>
|
783
|
+
and <em class="parameter"><code>ypad</code></em>
|
784
|
+
can be
|
785
|
+
-1, which means the values will not be changed (this allows changing only
|
786
|
+
one of the values).</p>
|
787
|
+
<p><em class="parameter"><code>xpad</code></em>
|
788
|
+
is the left and right padding. <em class="parameter"><code>ypad</code></em>
|
789
|
+
is the top and bottom padding.</p>
|
790
|
+
<div class="refsect3">
|
791
|
+
<a name="gtk-source-gutter-renderer-set-padding.parameters"></a><h4>Parameters</h4>
|
792
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
793
|
+
<colgroup>
|
794
|
+
<col width="150px" class="parameters_name">
|
795
|
+
<col class="parameters_description">
|
796
|
+
<col width="200px" class="parameters_annotations">
|
797
|
+
</colgroup>
|
798
|
+
<tbody>
|
799
|
+
<tr>
|
800
|
+
<td class="parameter_name"><p>renderer</p></td>
|
801
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
802
|
+
<td class="parameter_annotations"> </td>
|
803
|
+
</tr>
|
804
|
+
<tr>
|
805
|
+
<td class="parameter_name"><p>xpad</p></td>
|
806
|
+
<td class="parameter_description"><p>the x-padding</p></td>
|
807
|
+
<td class="parameter_annotations"> </td>
|
808
|
+
</tr>
|
809
|
+
<tr>
|
810
|
+
<td class="parameter_name"><p>ypad</p></td>
|
811
|
+
<td class="parameter_description"><p>the y-padding</p></td>
|
812
|
+
<td class="parameter_annotations"> </td>
|
813
|
+
</tr>
|
814
|
+
</tbody>
|
815
|
+
</table></div>
|
816
|
+
</div>
|
817
|
+
</div>
|
818
|
+
<hr>
|
819
|
+
<div class="refsect2">
|
820
|
+
<a name="gtk-source-gutter-renderer-get-alignment"></a><h3>gtk_source_gutter_renderer_get_alignment ()</h3>
|
821
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
822
|
+
gtk_source_gutter_renderer_get_alignment
|
823
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
824
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *xalign</code></em>,
|
825
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *yalign</code></em>);</pre>
|
826
|
+
<p>Get the x-alignment and y-alignment of the gutter renderer.</p>
|
827
|
+
<div class="refsect3">
|
828
|
+
<a name="gtk-source-gutter-renderer-get-alignment.parameters"></a><h4>Parameters</h4>
|
829
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
830
|
+
<colgroup>
|
831
|
+
<col width="150px" class="parameters_name">
|
832
|
+
<col class="parameters_description">
|
833
|
+
<col width="200px" class="parameters_annotations">
|
834
|
+
</colgroup>
|
835
|
+
<tbody>
|
836
|
+
<tr>
|
837
|
+
<td class="parameter_name"><p>renderer</p></td>
|
838
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
839
|
+
<td class="parameter_annotations"> </td>
|
840
|
+
</tr>
|
841
|
+
<tr>
|
842
|
+
<td class="parameter_name"><p>xalign</p></td>
|
843
|
+
<td class="parameter_description"><p>return location for the x-alignment,
|
844
|
+
or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
845
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
846
|
+
</tr>
|
847
|
+
<tr>
|
848
|
+
<td class="parameter_name"><p>yalign</p></td>
|
849
|
+
<td class="parameter_description"><p>return location for the y-alignment,
|
850
|
+
or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
851
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
852
|
+
</tr>
|
853
|
+
</tbody>
|
854
|
+
</table></div>
|
855
|
+
</div>
|
856
|
+
</div>
|
857
|
+
<hr>
|
858
|
+
<div class="refsect2">
|
859
|
+
<a name="gtk-source-gutter-renderer-set-alignment"></a><h3>gtk_source_gutter_renderer_set_alignment ()</h3>
|
860
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
861
|
+
gtk_source_gutter_renderer_set_alignment
|
862
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
863
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> xalign</code></em>,
|
864
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> yalign</code></em>);</pre>
|
865
|
+
<p>Set the alignment of the gutter renderer. Both <em class="parameter"><code>xalign</code></em>
|
866
|
+
and <em class="parameter"><code>yalign</code></em>
|
867
|
+
can be
|
868
|
+
-1, which means the values will not be changed (this allows changing only
|
869
|
+
one of the values).</p>
|
870
|
+
<p><em class="parameter"><code>xalign</code></em>
|
871
|
+
is the horizontal alignment. Set to 0 for a left alignment. 1 for a
|
872
|
+
right alignment. And 0.5 for centering the cells. <em class="parameter"><code>yalign</code></em>
|
873
|
+
is the vertical
|
874
|
+
alignment. Set to 0 for a top alignment. 1 for a bottom alignment.</p>
|
875
|
+
<div class="refsect3">
|
876
|
+
<a name="gtk-source-gutter-renderer-set-alignment.parameters"></a><h4>Parameters</h4>
|
877
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
878
|
+
<colgroup>
|
879
|
+
<col width="150px" class="parameters_name">
|
880
|
+
<col class="parameters_description">
|
881
|
+
<col width="200px" class="parameters_annotations">
|
882
|
+
</colgroup>
|
883
|
+
<tbody>
|
884
|
+
<tr>
|
885
|
+
<td class="parameter_name"><p>renderer</p></td>
|
886
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
887
|
+
<td class="parameter_annotations"> </td>
|
888
|
+
</tr>
|
889
|
+
<tr>
|
890
|
+
<td class="parameter_name"><p>xalign</p></td>
|
891
|
+
<td class="parameter_description"><p>the x-alignment</p></td>
|
892
|
+
<td class="parameter_annotations"> </td>
|
893
|
+
</tr>
|
894
|
+
<tr>
|
895
|
+
<td class="parameter_name"><p>yalign</p></td>
|
896
|
+
<td class="parameter_description"><p>the y-alignment</p></td>
|
897
|
+
<td class="parameter_annotations"> </td>
|
898
|
+
</tr>
|
899
|
+
</tbody>
|
900
|
+
</table></div>
|
901
|
+
</div>
|
902
|
+
</div>
|
903
|
+
<hr>
|
904
|
+
<div class="refsect2">
|
905
|
+
<a name="gtk-source-gutter-renderer-get-alignment-mode"></a><h3>gtk_source_gutter_renderer_get_alignment_mode ()</h3>
|
906
|
+
<pre class="programlisting"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="returnvalue">GtkSourceGutterRendererAlignmentMode</span></a>
|
907
|
+
gtk_source_gutter_renderer_get_alignment_mode
|
908
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
909
|
+
<p>Get the alignment mode. The alignment mode describes the manner in which the
|
910
|
+
renderer is aligned (see :xalign and :yalign).</p>
|
911
|
+
<div class="refsect3">
|
912
|
+
<a name="gtk-source-gutter-renderer-get-alignment-mode.parameters"></a><h4>Parameters</h4>
|
913
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
914
|
+
<colgroup>
|
915
|
+
<col width="150px" class="parameters_name">
|
916
|
+
<col class="parameters_description">
|
917
|
+
<col width="200px" class="parameters_annotations">
|
918
|
+
</colgroup>
|
919
|
+
<tbody><tr>
|
920
|
+
<td class="parameter_name"><p>renderer</p></td>
|
921
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
922
|
+
<td class="parameter_annotations"> </td>
|
923
|
+
</tr></tbody>
|
924
|
+
</table></div>
|
925
|
+
</div>
|
926
|
+
<div class="refsect3">
|
927
|
+
<a name="gtk-source-gutter-renderer-get-alignment-mode.returns"></a><h4>Returns</h4>
|
928
|
+
<p> a <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a></p>
|
929
|
+
</div>
|
930
|
+
</div>
|
931
|
+
<hr>
|
932
|
+
<div class="refsect2">
|
933
|
+
<a name="gtk-source-gutter-renderer-set-alignment-mode"></a><h3>gtk_source_gutter_renderer_set_alignment_mode ()</h3>
|
934
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
935
|
+
gtk_source_gutter_renderer_set_alignment_mode
|
936
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
937
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a> mode</code></em>);</pre>
|
938
|
+
<p>Set the alignment mode. The alignment mode describes the manner in which the
|
939
|
+
renderer is aligned (see :xalign and :yalign).</p>
|
940
|
+
<div class="refsect3">
|
941
|
+
<a name="gtk-source-gutter-renderer-set-alignment-mode.parameters"></a><h4>Parameters</h4>
|
942
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
943
|
+
<colgroup>
|
944
|
+
<col width="150px" class="parameters_name">
|
945
|
+
<col class="parameters_description">
|
946
|
+
<col width="200px" class="parameters_annotations">
|
947
|
+
</colgroup>
|
948
|
+
<tbody>
|
949
|
+
<tr>
|
950
|
+
<td class="parameter_name"><p>renderer</p></td>
|
951
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
952
|
+
<td class="parameter_annotations"> </td>
|
953
|
+
</tr>
|
954
|
+
<tr>
|
955
|
+
<td class="parameter_name"><p>mode</p></td>
|
956
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a></p></td>
|
957
|
+
<td class="parameter_annotations"> </td>
|
958
|
+
</tr>
|
959
|
+
</tbody>
|
960
|
+
</table></div>
|
961
|
+
</div>
|
962
|
+
</div>
|
963
|
+
<hr>
|
964
|
+
<div class="refsect2">
|
965
|
+
<a name="gtk-source-gutter-renderer-get-background"></a><h3>gtk_source_gutter_renderer_get_background ()</h3>
|
966
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
967
|
+
gtk_source_gutter_renderer_get_background
|
968
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
969
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
970
|
+
<p>Get the background color of the renderer.</p>
|
971
|
+
<div class="refsect3">
|
972
|
+
<a name="gtk-source-gutter-renderer-get-background.parameters"></a><h4>Parameters</h4>
|
973
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
974
|
+
<colgroup>
|
975
|
+
<col width="150px" class="parameters_name">
|
976
|
+
<col class="parameters_description">
|
977
|
+
<col width="200px" class="parameters_annotations">
|
978
|
+
</colgroup>
|
979
|
+
<tbody>
|
980
|
+
<tr>
|
981
|
+
<td class="parameter_name"><p>renderer</p></td>
|
982
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
983
|
+
<td class="parameter_annotations"> </td>
|
984
|
+
</tr>
|
985
|
+
<tr>
|
986
|
+
<td class="parameter_name"><p>color</p></td>
|
987
|
+
<td class="parameter_description"><p>return value for a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>. </p></td>
|
988
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
989
|
+
</tr>
|
990
|
+
</tbody>
|
991
|
+
</table></div>
|
992
|
+
</div>
|
993
|
+
<div class="refsect3">
|
994
|
+
<a name="gtk-source-gutter-renderer-get-background.returns"></a><h4>Returns</h4>
|
995
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the background color is 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>
|
996
|
+
</div>
|
997
|
+
</div>
|
998
|
+
<hr>
|
999
|
+
<div class="refsect2">
|
1000
|
+
<a name="gtk-source-gutter-renderer-set-background"></a><h3>gtk_source_gutter_renderer_set_background ()</h3>
|
1001
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1002
|
+
gtk_source_gutter_renderer_set_background
|
1003
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
1004
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
1005
|
+
<p>Set the background color of the renderer. If <em class="parameter"><code>color</code></em>
|
1006
|
+
is set to <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the
|
1007
|
+
renderer will not have a background color.</p>
|
1008
|
+
<div class="refsect3">
|
1009
|
+
<a name="gtk-source-gutter-renderer-set-background.parameters"></a><h4>Parameters</h4>
|
1010
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1011
|
+
<colgroup>
|
1012
|
+
<col width="150px" class="parameters_name">
|
1013
|
+
<col class="parameters_description">
|
1014
|
+
<col width="200px" class="parameters_annotations">
|
1015
|
+
</colgroup>
|
1016
|
+
<tbody>
|
1017
|
+
<tr>
|
1018
|
+
<td class="parameter_name"><p>renderer</p></td>
|
1019
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
1020
|
+
<td class="parameter_annotations"> </td>
|
1021
|
+
</tr>
|
1022
|
+
<tr>
|
1023
|
+
<td class="parameter_name"><p>color</p></td>
|
1024
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1025
|
+
<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>
|
1026
|
+
</tr>
|
1027
|
+
</tbody>
|
1028
|
+
</table></div>
|
1029
|
+
</div>
|
1030
|
+
</div>
|
1031
|
+
<hr>
|
1032
|
+
<div class="refsect2">
|
1033
|
+
<a name="gtk-source-gutter-renderer-activate"></a><h3>gtk_source_gutter_renderer_activate ()</h3>
|
1034
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1035
|
+
gtk_source_gutter_renderer_activate (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
1036
|
+
<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>,
|
1037
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
|
1038
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
1039
|
+
<p>Emits the <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-activate" title="The “activate” signal"><span class="type">“activate”</span></a> signal of the renderer. This is
|
1040
|
+
called from <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> and should never have to be called manually.</p>
|
1041
|
+
<div class="refsect3">
|
1042
|
+
<a name="gtk-source-gutter-renderer-activate.parameters"></a><h4>Parameters</h4>
|
1043
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1044
|
+
<colgroup>
|
1045
|
+
<col width="150px" class="parameters_name">
|
1046
|
+
<col class="parameters_description">
|
1047
|
+
<col width="200px" class="parameters_annotations">
|
1048
|
+
</colgroup>
|
1049
|
+
<tbody>
|
1050
|
+
<tr>
|
1051
|
+
<td class="parameter_name"><p>renderer</p></td>
|
1052
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
1053
|
+
<td class="parameter_annotations"> </td>
|
1054
|
+
</tr>
|
1055
|
+
<tr>
|
1056
|
+
<td class="parameter_name"><p>iter</p></td>
|
1057
|
+
<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> at the start of the line where the renderer is activated</p></td>
|
1058
|
+
<td class="parameter_annotations"> </td>
|
1059
|
+
</tr>
|
1060
|
+
<tr>
|
1061
|
+
<td class="parameter_name"><p>area</p></td>
|
1062
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> of the cell area where the renderer is activated</p></td>
|
1063
|
+
<td class="parameter_annotations"> </td>
|
1064
|
+
</tr>
|
1065
|
+
<tr>
|
1066
|
+
<td class="parameter_name"><p>event</p></td>
|
1067
|
+
<td class="parameter_description"><p>the event that triggered the activation</p></td>
|
1068
|
+
<td class="parameter_annotations"> </td>
|
1069
|
+
</tr>
|
1070
|
+
</tbody>
|
1071
|
+
</table></div>
|
1072
|
+
</div>
|
1073
|
+
</div>
|
1074
|
+
<hr>
|
1075
|
+
<div class="refsect2">
|
1076
|
+
<a name="gtk-source-gutter-renderer-query-activatable"></a><h3>gtk_source_gutter_renderer_query_activatable ()</h3>
|
1077
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1078
|
+
gtk_source_gutter_renderer_query_activatable
|
1079
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
1080
|
+
<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>,
|
1081
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
|
1082
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
1083
|
+
<p>Get whether the renderer is activatable at the location in <em class="parameter"><code>event</code></em>
|
1084
|
+
. This is
|
1085
|
+
called from <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> to determine whether a renderer is activatable
|
1086
|
+
using the mouse pointer.</p>
|
1087
|
+
<div class="refsect3">
|
1088
|
+
<a name="gtk-source-gutter-renderer-query-activatable.parameters"></a><h4>Parameters</h4>
|
1089
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1090
|
+
<colgroup>
|
1091
|
+
<col width="150px" class="parameters_name">
|
1092
|
+
<col class="parameters_description">
|
1093
|
+
<col width="200px" class="parameters_annotations">
|
1094
|
+
</colgroup>
|
1095
|
+
<tbody>
|
1096
|
+
<tr>
|
1097
|
+
<td class="parameter_name"><p>renderer</p></td>
|
1098
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
1099
|
+
<td class="parameter_annotations"> </td>
|
1100
|
+
</tr>
|
1101
|
+
<tr>
|
1102
|
+
<td class="parameter_name"><p>iter</p></td>
|
1103
|
+
<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> at the start of the line to be activated</p></td>
|
1104
|
+
<td class="parameter_annotations"> </td>
|
1105
|
+
</tr>
|
1106
|
+
<tr>
|
1107
|
+
<td class="parameter_name"><p>area</p></td>
|
1108
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> of the cell area to be activated</p></td>
|
1109
|
+
<td class="parameter_annotations"> </td>
|
1110
|
+
</tr>
|
1111
|
+
<tr>
|
1112
|
+
<td class="parameter_name"><p>event</p></td>
|
1113
|
+
<td class="parameter_description"><p>the event that triggered the query</p></td>
|
1114
|
+
<td class="parameter_annotations"> </td>
|
1115
|
+
</tr>
|
1116
|
+
</tbody>
|
1117
|
+
</table></div>
|
1118
|
+
</div>
|
1119
|
+
<div class="refsect3">
|
1120
|
+
<a name="gtk-source-gutter-renderer-query-activatable.returns"></a><h4>Returns</h4>
|
1121
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the renderer can be activated, <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
1122
|
+
</div>
|
1123
|
+
</div>
|
1124
|
+
<hr>
|
1125
|
+
<div class="refsect2">
|
1126
|
+
<a name="gtk-source-gutter-renderer-query-data"></a><h3>gtk_source_gutter_renderer_query_data ()</h3>
|
1127
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1128
|
+
gtk_source_gutter_renderer_query_data (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
1129
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1130
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
1131
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a> state</code></em>);</pre>
|
1132
|
+
<p>Emit the <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-query-data" title="The “query-data” signal"><span class="type">“query-data”</span></a> signal. This function is called
|
1133
|
+
to query for data just before rendering a cell. This is called from the
|
1134
|
+
<a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>. Implementations can override the default signal handler or
|
1135
|
+
can connect a signal handler externally to the
|
1136
|
+
<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-query-data" title="The “query-data” signal"><span class="type">“query-data”</span></a> signal.</p>
|
1137
|
+
<div class="refsect3">
|
1138
|
+
<a name="gtk-source-gutter-renderer-query-data.parameters"></a><h4>Parameters</h4>
|
1139
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1140
|
+
<colgroup>
|
1141
|
+
<col width="150px" class="parameters_name">
|
1142
|
+
<col class="parameters_description">
|
1143
|
+
<col width="200px" class="parameters_annotations">
|
1144
|
+
</colgroup>
|
1145
|
+
<tbody>
|
1146
|
+
<tr>
|
1147
|
+
<td class="parameter_name"><p>renderer</p></td>
|
1148
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>.</p></td>
|
1149
|
+
<td class="parameter_annotations"> </td>
|
1150
|
+
</tr>
|
1151
|
+
<tr>
|
1152
|
+
<td class="parameter_name"><p>start</p></td>
|
1153
|
+
<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>
|
1154
|
+
<td class="parameter_annotations"> </td>
|
1155
|
+
</tr>
|
1156
|
+
<tr>
|
1157
|
+
<td class="parameter_name"><p>end</p></td>
|
1158
|
+
<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>
|
1159
|
+
<td class="parameter_annotations"> </td>
|
1160
|
+
</tr>
|
1161
|
+
<tr>
|
1162
|
+
<td class="parameter_name"><p>state</p></td>
|
1163
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a>.</p></td>
|
1164
|
+
<td class="parameter_annotations"> </td>
|
1165
|
+
</tr>
|
1166
|
+
</tbody>
|
1167
|
+
</table></div>
|
1168
|
+
</div>
|
1169
|
+
</div>
|
1170
|
+
<hr>
|
1171
|
+
<div class="refsect2">
|
1172
|
+
<a name="gtk-source-gutter-renderer-query-tooltip"></a><h3>gtk_source_gutter_renderer_query_tooltip ()</h3>
|
1173
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1174
|
+
gtk_source_gutter_renderer_query_tooltip
|
1175
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
1176
|
+
<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>,
|
1177
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
|
1178
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
1179
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
1180
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTooltip.html#GtkTooltip-struct"><span class="type">GtkTooltip</span></a> *tooltip</code></em>);</pre>
|
1181
|
+
<p>Emits the <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-query-tooltip" title="The “query-tooltip” signal"><span class="type">“query-tooltip”</span></a> signal. This function is
|
1182
|
+
called from <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>. Implementations can override the default signal
|
1183
|
+
handler or can connect to the signal externally.</p>
|
1184
|
+
<div class="refsect3">
|
1185
|
+
<a name="gtk-source-gutter-renderer-query-tooltip.parameters"></a><h4>Parameters</h4>
|
1186
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1187
|
+
<colgroup>
|
1188
|
+
<col width="150px" class="parameters_name">
|
1189
|
+
<col class="parameters_description">
|
1190
|
+
<col width="200px" class="parameters_annotations">
|
1191
|
+
</colgroup>
|
1192
|
+
<tbody>
|
1193
|
+
<tr>
|
1194
|
+
<td class="parameter_name"><p>renderer</p></td>
|
1195
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>.</p></td>
|
1196
|
+
<td class="parameter_annotations"> </td>
|
1197
|
+
</tr>
|
1198
|
+
<tr>
|
1199
|
+
<td class="parameter_name"><p>iter</p></td>
|
1200
|
+
<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>
|
1201
|
+
<td class="parameter_annotations"> </td>
|
1202
|
+
</tr>
|
1203
|
+
<tr>
|
1204
|
+
<td class="parameter_name"><p>area</p></td>
|
1205
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a>.</p></td>
|
1206
|
+
<td class="parameter_annotations"> </td>
|
1207
|
+
</tr>
|
1208
|
+
<tr>
|
1209
|
+
<td class="parameter_name"><p>x</p></td>
|
1210
|
+
<td class="parameter_description"><p>The x position of the tooltip.</p></td>
|
1211
|
+
<td class="parameter_annotations"> </td>
|
1212
|
+
</tr>
|
1213
|
+
<tr>
|
1214
|
+
<td class="parameter_name"><p>y</p></td>
|
1215
|
+
<td class="parameter_description"><p>The y position of the tooltip.</p></td>
|
1216
|
+
<td class="parameter_annotations"> </td>
|
1217
|
+
</tr>
|
1218
|
+
<tr>
|
1219
|
+
<td class="parameter_name"><p>tooltip</p></td>
|
1220
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTooltip.html#GtkTooltip-struct"><span class="type">GtkTooltip</span></a>.</p></td>
|
1221
|
+
<td class="parameter_annotations"> </td>
|
1222
|
+
</tr>
|
1223
|
+
</tbody>
|
1224
|
+
</table></div>
|
1225
|
+
</div>
|
1226
|
+
<div class="refsect3">
|
1227
|
+
<a name="gtk-source-gutter-renderer-query-tooltip.returns"></a><h4>Returns</h4>
|
1228
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the tooltip has been 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>
|
1229
|
+
</div>
|
1230
|
+
</div>
|
1231
|
+
<hr>
|
1232
|
+
<div class="refsect2">
|
1233
|
+
<a name="gtk-source-gutter-renderer-queue-draw"></a><h3>gtk_source_gutter_renderer_queue_draw ()</h3>
|
1234
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1235
|
+
gtk_source_gutter_renderer_queue_draw (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
1236
|
+
<p>Emits the <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-queue-draw" title="The “queue-draw” signal"><span class="type">“queue-draw”</span></a> signal of the renderer. Call
|
1237
|
+
this from an implementation to inform that the renderer has changed such that
|
1238
|
+
it needs to redraw.</p>
|
1239
|
+
<div class="refsect3">
|
1240
|
+
<a name="gtk-source-gutter-renderer-queue-draw.parameters"></a><h4>Parameters</h4>
|
1241
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1242
|
+
<colgroup>
|
1243
|
+
<col width="150px" class="parameters_name">
|
1244
|
+
<col class="parameters_description">
|
1245
|
+
<col width="200px" class="parameters_annotations">
|
1246
|
+
</colgroup>
|
1247
|
+
<tbody><tr>
|
1248
|
+
<td class="parameter_name"><p>renderer</p></td>
|
1249
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a></p></td>
|
1250
|
+
<td class="parameter_annotations"> </td>
|
1251
|
+
</tr></tbody>
|
1252
|
+
</table></div>
|
1253
|
+
</div>
|
1254
|
+
</div>
|
1255
|
+
</div>
|
1256
|
+
<div class="refsect1">
|
1257
|
+
<a name="GtkSourceGutterRenderer.other_details"></a><h2>Types and Values</h2>
|
1258
|
+
<div class="refsect2">
|
1259
|
+
<a name="GtkSourceGutterRenderer-struct"></a><h3>GtkSourceGutterRenderer</h3>
|
1260
|
+
<pre class="programlisting">typedef struct _GtkSourceGutterRenderer GtkSourceGutterRenderer;</pre>
|
1261
|
+
</div>
|
1262
|
+
<hr>
|
1263
|
+
<div class="refsect2">
|
1264
|
+
<a name="GtkSourceGutterRendererState"></a><h3>enum GtkSourceGutterRendererState</h3>
|
1265
|
+
<div class="refsect3">
|
1266
|
+
<a name="GtkSourceGutterRendererState.members"></a><h4>Members</h4>
|
1267
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1268
|
+
<colgroup>
|
1269
|
+
<col width="300px" class="enum_members_name">
|
1270
|
+
<col class="enum_members_description">
|
1271
|
+
<col width="200px" class="enum_members_annotations">
|
1272
|
+
</colgroup>
|
1273
|
+
<tbody>
|
1274
|
+
<tr>
|
1275
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-GUTTER-RENDERER-STATE-NORMAL:CAPS"></a>GTK_SOURCE_GUTTER_RENDERER_STATE_NORMAL</p></td>
|
1276
|
+
<td class="enum_member_description">
|
1277
|
+
<p>normal state</p>
|
1278
|
+
</td>
|
1279
|
+
<td class="enum_member_annotations"> </td>
|
1280
|
+
</tr>
|
1281
|
+
<tr>
|
1282
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-GUTTER-RENDERER-STATE-CURSOR:CAPS"></a>GTK_SOURCE_GUTTER_RENDERER_STATE_CURSOR</p></td>
|
1283
|
+
<td class="enum_member_description">
|
1284
|
+
<p>area in the renderer represents the
|
1285
|
+
line on which the insert cursor is currently positioned</p>
|
1286
|
+
</td>
|
1287
|
+
<td class="enum_member_annotations"> </td>
|
1288
|
+
</tr>
|
1289
|
+
<tr>
|
1290
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-GUTTER-RENDERER-STATE-PRELIT:CAPS"></a>GTK_SOURCE_GUTTER_RENDERER_STATE_PRELIT</p></td>
|
1291
|
+
<td class="enum_member_description">
|
1292
|
+
<p>the mouse pointer is currently
|
1293
|
+
over the activatable area of the renderer</p>
|
1294
|
+
</td>
|
1295
|
+
<td class="enum_member_annotations"> </td>
|
1296
|
+
</tr>
|
1297
|
+
<tr>
|
1298
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-GUTTER-RENDERER-STATE-SELECTED:CAPS"></a>GTK_SOURCE_GUTTER_RENDERER_STATE_SELECTED</p></td>
|
1299
|
+
<td class="enum_member_description">
|
1300
|
+
<p>area in the renderer represents
|
1301
|
+
a line in the buffer which contains part of the selection</p>
|
1302
|
+
</td>
|
1303
|
+
<td class="enum_member_annotations"> </td>
|
1304
|
+
</tr>
|
1305
|
+
</tbody>
|
1306
|
+
</table></div>
|
1307
|
+
</div>
|
1308
|
+
</div>
|
1309
|
+
<hr>
|
1310
|
+
<div class="refsect2">
|
1311
|
+
<a name="GtkSourceGutterRendererAlignmentMode"></a><h3>enum GtkSourceGutterRendererAlignmentMode</h3>
|
1312
|
+
<p>The alignment mode of the renderer, when a cell spans multiple lines (due to
|
1313
|
+
text wrapping).</p>
|
1314
|
+
<div class="refsect3">
|
1315
|
+
<a name="GtkSourceGutterRendererAlignmentMode.members"></a><h4>Members</h4>
|
1316
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1317
|
+
<colgroup>
|
1318
|
+
<col width="300px" class="enum_members_name">
|
1319
|
+
<col class="enum_members_description">
|
1320
|
+
<col width="200px" class="enum_members_annotations">
|
1321
|
+
</colgroup>
|
1322
|
+
<tbody>
|
1323
|
+
<tr>
|
1324
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-GUTTER-RENDERER-ALIGNMENT-MODE-CELL:CAPS"></a>GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL</p></td>
|
1325
|
+
<td class="enum_member_description">
|
1326
|
+
<p>The full cell.</p>
|
1327
|
+
</td>
|
1328
|
+
<td class="enum_member_annotations"> </td>
|
1329
|
+
</tr>
|
1330
|
+
<tr>
|
1331
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-GUTTER-RENDERER-ALIGNMENT-MODE-FIRST:CAPS"></a>GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_FIRST</p></td>
|
1332
|
+
<td class="enum_member_description">
|
1333
|
+
<p>The first line.</p>
|
1334
|
+
</td>
|
1335
|
+
<td class="enum_member_annotations"> </td>
|
1336
|
+
</tr>
|
1337
|
+
<tr>
|
1338
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-GUTTER-RENDERER-ALIGNMENT-MODE-LAST:CAPS"></a>GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_LAST</p></td>
|
1339
|
+
<td class="enum_member_description">
|
1340
|
+
<p>The last line.</p>
|
1341
|
+
</td>
|
1342
|
+
<td class="enum_member_annotations"> </td>
|
1343
|
+
</tr>
|
1344
|
+
</tbody>
|
1345
|
+
</table></div>
|
1346
|
+
</div>
|
1347
|
+
</div>
|
1348
|
+
</div>
|
1349
|
+
<div class="refsect1">
|
1350
|
+
<a name="GtkSourceGutterRenderer.property-details"></a><h2>Property Details</h2>
|
1351
|
+
<div class="refsect2">
|
1352
|
+
<a name="GtkSourceGutterRenderer--alignment-mode"></a><h3>The <code class="literal">“alignment-mode”</code> property</h3>
|
1353
|
+
<pre class="programlisting"> “alignment-mode” <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a></pre>
|
1354
|
+
<p>The alignment mode of the renderer. This can be used to indicate
|
1355
|
+
that in the case a cell spans multiple lines (due to text wrapping)
|
1356
|
+
the alignment should work on either the full cell, the first line
|
1357
|
+
or the last line.</p>
|
1358
|
+
<p>Flags: Read / Write / Construct</p>
|
1359
|
+
<p>Default value: GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL</p>
|
1360
|
+
</div>
|
1361
|
+
<hr>
|
1362
|
+
<div class="refsect2">
|
1363
|
+
<a name="GtkSourceGutterRenderer--background-rgba"></a><h3>The <code class="literal">“background-rgba”</code> property</h3>
|
1364
|
+
<pre class="programlisting"> “background-rgba” <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
1365
|
+
<p>The background color.</p>
|
1366
|
+
<p>Flags: Read / Write</p>
|
1367
|
+
</div>
|
1368
|
+
<hr>
|
1369
|
+
<div class="refsect2">
|
1370
|
+
<a name="GtkSourceGutterRenderer--background-set"></a><h3>The <code class="literal">“background-set”</code> property</h3>
|
1371
|
+
<pre class="programlisting"> “background-set” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1372
|
+
<p>Whether the background color is set.</p>
|
1373
|
+
<p>Flags: Read / Write / Construct</p>
|
1374
|
+
<p>Default value: FALSE</p>
|
1375
|
+
</div>
|
1376
|
+
<hr>
|
1377
|
+
<div class="refsect2">
|
1378
|
+
<a name="GtkSourceGutterRenderer--size"></a><h3>The <code class="literal">“size”</code> property</h3>
|
1379
|
+
<pre class="programlisting"> “size” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1380
|
+
<p>The size.</p>
|
1381
|
+
<p>Flags: Read / Write / Construct</p>
|
1382
|
+
<p>Allowed values: >= 0</p>
|
1383
|
+
<p>Default value: 0</p>
|
1384
|
+
</div>
|
1385
|
+
<hr>
|
1386
|
+
<div class="refsect2">
|
1387
|
+
<a name="GtkSourceGutterRenderer--view"></a><h3>The <code class="literal">“view”</code> property</h3>
|
1388
|
+
<pre class="programlisting"> “view” <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a> *</pre>
|
1389
|
+
<p>The view on which the renderer is placed.</p>
|
1390
|
+
<p>Flags: Read</p>
|
1391
|
+
</div>
|
1392
|
+
<hr>
|
1393
|
+
<div class="refsect2">
|
1394
|
+
<a name="GtkSourceGutterRenderer--visible"></a><h3>The <code class="literal">“visible”</code> property</h3>
|
1395
|
+
<pre class="programlisting"> “visible” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1396
|
+
<p>The visibility of the renderer.</p>
|
1397
|
+
<p>Flags: Read / Write / Construct</p>
|
1398
|
+
<p>Default value: TRUE</p>
|
1399
|
+
</div>
|
1400
|
+
<hr>
|
1401
|
+
<div class="refsect2">
|
1402
|
+
<a name="GtkSourceGutterRenderer--window-type"></a><h3>The <code class="literal">“window-type”</code> property</h3>
|
1403
|
+
<pre class="programlisting"> “window-type” <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a></pre>
|
1404
|
+
<p>The window type of the view on which the renderer is placed (left,
|
1405
|
+
or right).</p>
|
1406
|
+
<p>Flags: Read</p>
|
1407
|
+
<p>Default value: GTK_TEXT_WINDOW_PRIVATE</p>
|
1408
|
+
</div>
|
1409
|
+
<hr>
|
1410
|
+
<div class="refsect2">
|
1411
|
+
<a name="GtkSourceGutterRenderer--xalign"></a><h3>The <code class="literal">“xalign”</code> property</h3>
|
1412
|
+
<pre class="programlisting"> “xalign” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></pre>
|
1413
|
+
<p>The horizontal alignment of the renderer. Set to 0 for a left
|
1414
|
+
alignment. 1 for a right alignment. And 0.5 for centering the cells.
|
1415
|
+
A value lower than 0 doesn't modify the alignment.</p>
|
1416
|
+
<p>Flags: Read / Write / Construct</p>
|
1417
|
+
<p>Allowed values: [-1,1]</p>
|
1418
|
+
<p>Default value: 0</p>
|
1419
|
+
</div>
|
1420
|
+
<hr>
|
1421
|
+
<div class="refsect2">
|
1422
|
+
<a name="GtkSourceGutterRenderer--xpad"></a><h3>The <code class="literal">“xpad”</code> property</h3>
|
1423
|
+
<pre class="programlisting"> “xpad” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1424
|
+
<p>The left and right padding of the renderer.</p>
|
1425
|
+
<p>Flags: Read / Write / Construct</p>
|
1426
|
+
<p>Allowed values: >= -1</p>
|
1427
|
+
<p>Default value: 0</p>
|
1428
|
+
</div>
|
1429
|
+
<hr>
|
1430
|
+
<div class="refsect2">
|
1431
|
+
<a name="GtkSourceGutterRenderer--yalign"></a><h3>The <code class="literal">“yalign”</code> property</h3>
|
1432
|
+
<pre class="programlisting"> “yalign” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></pre>
|
1433
|
+
<p>The vertical alignment of the renderer. Set to 0 for a top
|
1434
|
+
alignment. 1 for a bottom alignment. And 0.5 for centering the cells.
|
1435
|
+
A value lower than 0 doesn't modify the alignment.</p>
|
1436
|
+
<p>Flags: Read / Write / Construct</p>
|
1437
|
+
<p>Allowed values: [-1,1]</p>
|
1438
|
+
<p>Default value: 0</p>
|
1439
|
+
</div>
|
1440
|
+
<hr>
|
1441
|
+
<div class="refsect2">
|
1442
|
+
<a name="GtkSourceGutterRenderer--ypad"></a><h3>The <code class="literal">“ypad”</code> property</h3>
|
1443
|
+
<pre class="programlisting"> “ypad” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1444
|
+
<p>The top and bottom padding of the renderer.</p>
|
1445
|
+
<p>Flags: Read / Write / Construct</p>
|
1446
|
+
<p>Allowed values: >= -1</p>
|
1447
|
+
<p>Default value: 0</p>
|
1448
|
+
</div>
|
1449
|
+
</div>
|
1450
|
+
<div class="refsect1">
|
1451
|
+
<a name="GtkSourceGutterRenderer.signal-details"></a><h2>Signal Details</h2>
|
1452
|
+
<div class="refsect2">
|
1453
|
+
<a name="GtkSourceGutterRenderer-activate"></a><h3>The <code class="literal">“activate”</code> signal</h3>
|
1454
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1455
|
+
user_function (<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer,
|
1456
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter,
|
1457
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area,
|
1458
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
1459
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1460
|
+
<p>The ::activate signal is emitted when the renderer is
|
1461
|
+
activated.</p>
|
1462
|
+
<div class="refsect3">
|
1463
|
+
<a name="GtkSourceGutterRenderer-activate.parameters"></a><h4>Parameters</h4>
|
1464
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1465
|
+
<colgroup>
|
1466
|
+
<col width="150px" class="parameters_name">
|
1467
|
+
<col class="parameters_description">
|
1468
|
+
<col width="200px" class="parameters_annotations">
|
1469
|
+
</colgroup>
|
1470
|
+
<tbody>
|
1471
|
+
<tr>
|
1472
|
+
<td class="parameter_name"><p>renderer</p></td>
|
1473
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> who emits the signal</p></td>
|
1474
|
+
<td class="parameter_annotations"> </td>
|
1475
|
+
</tr>
|
1476
|
+
<tr>
|
1477
|
+
<td class="parameter_name"><p>iter</p></td>
|
1478
|
+
<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>
|
1479
|
+
<td class="parameter_annotations"> </td>
|
1480
|
+
</tr>
|
1481
|
+
<tr>
|
1482
|
+
<td class="parameter_name"><p>area</p></td>
|
1483
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a></p></td>
|
1484
|
+
<td class="parameter_annotations"> </td>
|
1485
|
+
</tr>
|
1486
|
+
<tr>
|
1487
|
+
<td class="parameter_name"><p>event</p></td>
|
1488
|
+
<td class="parameter_description"><p>the event that caused the activation</p></td>
|
1489
|
+
<td class="parameter_annotations"> </td>
|
1490
|
+
</tr>
|
1491
|
+
<tr>
|
1492
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1493
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1494
|
+
<td class="parameter_annotations"> </td>
|
1495
|
+
</tr>
|
1496
|
+
</tbody>
|
1497
|
+
</table></div>
|
1498
|
+
</div>
|
1499
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1500
|
+
</div>
|
1501
|
+
<hr>
|
1502
|
+
<div class="refsect2">
|
1503
|
+
<a name="GtkSourceGutterRenderer-query-activatable"></a><h3>The <code class="literal">“query-activatable”</code> signal</h3>
|
1504
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1505
|
+
user_function (<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer,
|
1506
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter,
|
1507
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area,
|
1508
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
1509
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1510
|
+
<p>The ::query-activatable signal is emitted when the renderer
|
1511
|
+
can possibly be activated.</p>
|
1512
|
+
<div class="refsect3">
|
1513
|
+
<a name="GtkSourceGutterRenderer-query-activatable.parameters"></a><h4>Parameters</h4>
|
1514
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1515
|
+
<colgroup>
|
1516
|
+
<col width="150px" class="parameters_name">
|
1517
|
+
<col class="parameters_description">
|
1518
|
+
<col width="200px" class="parameters_annotations">
|
1519
|
+
</colgroup>
|
1520
|
+
<tbody>
|
1521
|
+
<tr>
|
1522
|
+
<td class="parameter_name"><p>renderer</p></td>
|
1523
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> who emits the signal</p></td>
|
1524
|
+
<td class="parameter_annotations"> </td>
|
1525
|
+
</tr>
|
1526
|
+
<tr>
|
1527
|
+
<td class="parameter_name"><p>iter</p></td>
|
1528
|
+
<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>
|
1529
|
+
<td class="parameter_annotations"> </td>
|
1530
|
+
</tr>
|
1531
|
+
<tr>
|
1532
|
+
<td class="parameter_name"><p>area</p></td>
|
1533
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a></p></td>
|
1534
|
+
<td class="parameter_annotations"> </td>
|
1535
|
+
</tr>
|
1536
|
+
<tr>
|
1537
|
+
<td class="parameter_name"><p>event</p></td>
|
1538
|
+
<td class="parameter_description"><p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that is causing the activatable query</p></td>
|
1539
|
+
<td class="parameter_annotations"> </td>
|
1540
|
+
</tr>
|
1541
|
+
<tr>
|
1542
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1543
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1544
|
+
<td class="parameter_annotations"> </td>
|
1545
|
+
</tr>
|
1546
|
+
</tbody>
|
1547
|
+
</table></div>
|
1548
|
+
</div>
|
1549
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1550
|
+
</div>
|
1551
|
+
<hr>
|
1552
|
+
<div class="refsect2">
|
1553
|
+
<a name="GtkSourceGutterRenderer-query-data"></a><h3>The <code class="literal">“query-data”</code> signal</h3>
|
1554
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1555
|
+
user_function (<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer,
|
1556
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start,
|
1557
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end,
|
1558
|
+
<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a> state,
|
1559
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1560
|
+
<p>The ::query-data signal is emitted when the renderer needs
|
1561
|
+
to be filled with data just before a cell is drawn. This can
|
1562
|
+
be used by general renderer implementations to allow render
|
1563
|
+
data to be filled in externally.</p>
|
1564
|
+
<div class="refsect3">
|
1565
|
+
<a name="GtkSourceGutterRenderer-query-data.parameters"></a><h4>Parameters</h4>
|
1566
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1567
|
+
<colgroup>
|
1568
|
+
<col width="150px" class="parameters_name">
|
1569
|
+
<col class="parameters_description">
|
1570
|
+
<col width="200px" class="parameters_annotations">
|
1571
|
+
</colgroup>
|
1572
|
+
<tbody>
|
1573
|
+
<tr>
|
1574
|
+
<td class="parameter_name"><p>renderer</p></td>
|
1575
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> who emits the signal</p></td>
|
1576
|
+
<td class="parameter_annotations"> </td>
|
1577
|
+
</tr>
|
1578
|
+
<tr>
|
1579
|
+
<td class="parameter_name"><p>start</p></td>
|
1580
|
+
<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>
|
1581
|
+
<td class="parameter_annotations"> </td>
|
1582
|
+
</tr>
|
1583
|
+
<tr>
|
1584
|
+
<td class="parameter_name"><p>end</p></td>
|
1585
|
+
<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>
|
1586
|
+
<td class="parameter_annotations"> </td>
|
1587
|
+
</tr>
|
1588
|
+
<tr>
|
1589
|
+
<td class="parameter_name"><p>state</p></td>
|
1590
|
+
<td class="parameter_description"><p>the renderer state</p></td>
|
1591
|
+
<td class="parameter_annotations"> </td>
|
1592
|
+
</tr>
|
1593
|
+
<tr>
|
1594
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1595
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1596
|
+
<td class="parameter_annotations"> </td>
|
1597
|
+
</tr>
|
1598
|
+
</tbody>
|
1599
|
+
</table></div>
|
1600
|
+
</div>
|
1601
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1602
|
+
</div>
|
1603
|
+
<hr>
|
1604
|
+
<div class="refsect2">
|
1605
|
+
<a name="GtkSourceGutterRenderer-query-tooltip"></a><h3>The <code class="literal">“query-tooltip”</code> signal</h3>
|
1606
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1607
|
+
user_function (<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer,
|
1608
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter,
|
1609
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area,
|
1610
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x,
|
1611
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y,
|
1612
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTooltip.html#GtkTooltip-struct"><span class="type">GtkTooltip</span></a> *tooltip,
|
1613
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1614
|
+
<p>The ::query-tooltip signal is emitted when the renderer can
|
1615
|
+
show a tooltip.</p>
|
1616
|
+
<div class="refsect3">
|
1617
|
+
<a name="GtkSourceGutterRenderer-query-tooltip.parameters"></a><h4>Parameters</h4>
|
1618
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1619
|
+
<colgroup>
|
1620
|
+
<col width="150px" class="parameters_name">
|
1621
|
+
<col class="parameters_description">
|
1622
|
+
<col width="200px" class="parameters_annotations">
|
1623
|
+
</colgroup>
|
1624
|
+
<tbody>
|
1625
|
+
<tr>
|
1626
|
+
<td class="parameter_name"><p>renderer</p></td>
|
1627
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> who emits the signal</p></td>
|
1628
|
+
<td class="parameter_annotations"> </td>
|
1629
|
+
</tr>
|
1630
|
+
<tr>
|
1631
|
+
<td class="parameter_name"><p>iter</p></td>
|
1632
|
+
<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>
|
1633
|
+
<td class="parameter_annotations"> </td>
|
1634
|
+
</tr>
|
1635
|
+
<tr>
|
1636
|
+
<td class="parameter_name"><p>area</p></td>
|
1637
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a></p></td>
|
1638
|
+
<td class="parameter_annotations"> </td>
|
1639
|
+
</tr>
|
1640
|
+
<tr>
|
1641
|
+
<td class="parameter_name"><p>x</p></td>
|
1642
|
+
<td class="parameter_description"><p>the x position (in window coordinates)</p></td>
|
1643
|
+
<td class="parameter_annotations"> </td>
|
1644
|
+
</tr>
|
1645
|
+
<tr>
|
1646
|
+
<td class="parameter_name"><p>y</p></td>
|
1647
|
+
<td class="parameter_description"><p>the y position (in window coordinates)</p></td>
|
1648
|
+
<td class="parameter_annotations"> </td>
|
1649
|
+
</tr>
|
1650
|
+
<tr>
|
1651
|
+
<td class="parameter_name"><p>tooltip</p></td>
|
1652
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTooltip.html#GtkTooltip-struct"><span class="type">GtkTooltip</span></a></p></td>
|
1653
|
+
<td class="parameter_annotations"> </td>
|
1654
|
+
</tr>
|
1655
|
+
<tr>
|
1656
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1657
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1658
|
+
<td class="parameter_annotations"> </td>
|
1659
|
+
</tr>
|
1660
|
+
</tbody>
|
1661
|
+
</table></div>
|
1662
|
+
</div>
|
1663
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1664
|
+
</div>
|
1665
|
+
<hr>
|
1666
|
+
<div class="refsect2">
|
1667
|
+
<a name="GtkSourceGutterRenderer-queue-draw"></a><h3>The <code class="literal">“queue-draw”</code> signal</h3>
|
1668
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1669
|
+
user_function (<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer,
|
1670
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1671
|
+
<p>The ::queue-draw signal is emitted when the renderer needs
|
1672
|
+
to be redrawn. Use <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-queue-draw" title="gtk_source_gutter_renderer_queue_draw ()"><code class="function">gtk_source_gutter_renderer_queue_draw()</code></a>
|
1673
|
+
to emit this signal from an implementation of the
|
1674
|
+
<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> interface.</p>
|
1675
|
+
<div class="refsect3">
|
1676
|
+
<a name="GtkSourceGutterRenderer-queue-draw.parameters"></a><h4>Parameters</h4>
|
1677
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1678
|
+
<colgroup>
|
1679
|
+
<col width="150px" class="parameters_name">
|
1680
|
+
<col class="parameters_description">
|
1681
|
+
<col width="200px" class="parameters_annotations">
|
1682
|
+
</colgroup>
|
1683
|
+
<tbody>
|
1684
|
+
<tr>
|
1685
|
+
<td class="parameter_name"><p>renderer</p></td>
|
1686
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> who emits the signal</p></td>
|
1687
|
+
<td class="parameter_annotations"> </td>
|
1688
|
+
</tr>
|
1689
|
+
<tr>
|
1690
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1691
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1692
|
+
<td class="parameter_annotations"> </td>
|
1693
|
+
</tr>
|
1694
|
+
</tbody>
|
1695
|
+
</table></div>
|
1696
|
+
</div>
|
1697
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1698
|
+
</div>
|
1699
|
+
</div>
|
1700
|
+
<div class="refsect1">
|
1701
|
+
<a name="GtkSourceGutterRenderer.see-also"></a><h2>See Also</h2>
|
1702
|
+
<p><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a></p>
|
1703
|
+
</div>
|
1704
|
+
</div>
|
1705
|
+
<div class="footer">
|
1706
|
+
<hr>Generated by GTK-Doc V1.28.1</div>
|
1707
|
+
</body>
|
1708
|
+
</html>
|