gtksourceview3 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/README +29 -0
- data/Rakefile +29 -0
- data/ext/gtksourceview3/depend +6 -0
- data/ext/gtksourceview3/extconf.rb +76 -0
- data/ext/gtksourceview3/gtksourceview3.def +2 -0
- data/ext/gtksourceview3/rbgtksource.c +53 -0
- data/ext/gtksourceview3/rbgtksourcebuffer.c +318 -0
- data/ext/gtksourceview3/rbgtksourcegutter.c +82 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +143 -0
- data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +42 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +64 -0
- data/ext/gtksourceview3/rbgtksourcelanguage.c +124 -0
- data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +114 -0
- data/ext/gtksourceview3/rbgtksourcemark.c +85 -0
- data/ext/gtksourceview3/rbgtksourcemarkattributes.c +77 -0
- data/ext/gtksourceview3/rbgtksourceprintcompositor.c +171 -0
- data/ext/gtksourceview3/rbgtksourcestyle.c +42 -0
- data/ext/gtksourceview3/rbgtksourcestylescheme.c +72 -0
- data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +140 -0
- data/ext/gtksourceview3/rbgtksourceundomanager.c +83 -0
- data/ext/gtksourceview3/rbgtksourceview.c +94 -0
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +43 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +54 -0
- data/extconf.rb +49 -0
- data/lib/1.8/gtksourceview3.so +0 -0
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/gtksourceview3.rb +20 -0
- data/lib/gtksourceview3/deprecated.rb +47 -0
- data/sample/sourcelanguagemanager.rb +21 -0
- data/sample/test.rb +32 -0
- data/test/run-test.rb +33 -0
- data/test/test_source_view.rb +17 -0
- data/vendor/local/bin/libgtksourceview-3.0-0.dll +0 -0
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +66 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +46 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +199 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +129 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +94 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +73 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +71 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +76 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +118 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +90 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +222 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +87 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +99 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +176 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +41 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +93 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +89 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +62 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +77 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +55 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +223 -0
- data/vendor/local/include/libxml2/libxml/DOCBparser.h +96 -0
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +306 -0
- data/vendor/local/include/libxml2/libxml/HTMLtree.h +147 -0
- data/vendor/local/include/libxml2/libxml/SAX.h +173 -0
- data/vendor/local/include/libxml2/libxml/SAX2.h +176 -0
- data/vendor/local/include/libxml2/libxml/c14n.h +126 -0
- data/vendor/local/include/libxml2/libxml/catalog.h +182 -0
- data/vendor/local/include/libxml2/libxml/chvalid.h +230 -0
- data/vendor/local/include/libxml2/libxml/debugXML.h +217 -0
- data/vendor/local/include/libxml2/libxml/dict.h +80 -0
- data/vendor/local/include/libxml2/libxml/encoding.h +240 -0
- data/vendor/local/include/libxml2/libxml/entities.h +150 -0
- data/vendor/local/include/libxml2/libxml/globals.h +502 -0
- data/vendor/local/include/libxml2/libxml/hash.h +233 -0
- data/vendor/local/include/libxml2/libxml/list.h +137 -0
- data/vendor/local/include/libxml2/libxml/nanoftp.h +163 -0
- data/vendor/local/include/libxml2/libxml/nanohttp.h +81 -0
- data/vendor/local/include/libxml2/libxml/parser.h +1240 -0
- data/vendor/local/include/libxml2/libxml/parserInternals.h +644 -0
- data/vendor/local/include/libxml2/libxml/pattern.h +100 -0
- data/vendor/local/include/libxml2/libxml/relaxng.h +213 -0
- data/vendor/local/include/libxml2/libxml/schemasInternals.h +958 -0
- data/vendor/local/include/libxml2/libxml/schematron.h +142 -0
- data/vendor/local/include/libxml2/libxml/threads.h +84 -0
- data/vendor/local/include/libxml2/libxml/tree.h +1303 -0
- data/vendor/local/include/libxml2/libxml/uri.h +94 -0
- data/vendor/local/include/libxml2/libxml/valid.h +458 -0
- data/vendor/local/include/libxml2/libxml/xinclude.h +129 -0
- data/vendor/local/include/libxml2/libxml/xlink.h +189 -0
- data/vendor/local/include/libxml2/libxml/xmlIO.h +366 -0
- data/vendor/local/include/libxml2/libxml/xmlautomata.h +146 -0
- data/vendor/local/include/libxml2/libxml/xmlerror.h +944 -0
- data/vendor/local/include/libxml2/libxml/xmlexports.h +162 -0
- data/vendor/local/include/libxml2/libxml/xmlmemory.h +224 -0
- data/vendor/local/include/libxml2/libxml/xmlmodule.h +57 -0
- data/vendor/local/include/libxml2/libxml/xmlreader.h +428 -0
- data/vendor/local/include/libxml2/libxml/xmlregexp.h +222 -0
- data/vendor/local/include/libxml2/libxml/xmlsave.h +88 -0
- data/vendor/local/include/libxml2/libxml/xmlschemas.h +246 -0
- data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +151 -0
- data/vendor/local/include/libxml2/libxml/xmlstring.h +140 -0
- data/vendor/local/include/libxml2/libxml/xmlunicode.h +202 -0
- data/vendor/local/include/libxml2/libxml/xmlversion.h +480 -0
- data/vendor/local/include/libxml2/libxml/xmlwriter.h +488 -0
- data/vendor/local/include/libxml2/libxml/xpath.h +550 -0
- data/vendor/local/include/libxml2/libxml/xpathInternals.h +632 -0
- data/vendor/local/include/libxml2/libxml/xpointer.h +114 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +41 -0
- data/vendor/local/lib/libxml2.def +1659 -0
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.lib +0 -0
- data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +12 -0
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +13 -0
- data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +268 -0
- data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +2 -0
- data/vendor/local/share/aclocal/libxml.m4 +188 -0
- data/vendor/local/share/doc/libxml2-2.9.0/Copyright +27 -0
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +880 -0
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +229 -0
- data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +3770 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +282 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +207 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +751 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +174 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/left.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +51 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +184 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +73 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +125 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +128 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +142 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +72 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +120 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +58 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +124 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +79 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +152 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +116 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +120 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +94 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +65 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +559 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +322 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +162 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +373 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +81 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +72 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +989 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +73 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +289 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +59 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +82 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +212 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +85 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +864 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +20 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +107 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +330 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +143 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +60 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +185 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +123 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +108 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +512 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +62 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +261 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +310 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +394 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +83 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/right.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +166 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +58 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +2 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +56 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +72 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +60 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +143 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +107 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +14 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +122 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +120 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +13 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +122 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +3 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +1 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +13 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +39 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +94 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +4 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +118 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +18 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +7 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +8 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +82 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +78 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +67 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +75 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +4 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +47 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +54 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +55 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +35 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +30 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +63 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +64 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +75 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +73 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +72 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +79 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +74 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +1 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +1336 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +2 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +5715 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +250 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +190 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +30 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +1346 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +756 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +300 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +243 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +282 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +364 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +474 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +288 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +425 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +414 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +250 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +699 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +1822 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +296 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +357 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +346 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1462 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +80 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +46 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +31 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +1538 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRenderer.html +956 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererPixbuf.html +199 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererText.html +137 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +445 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +117 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +578 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +771 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +651 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn01.html +101 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn02.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +252 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/general.html +38 -0
- data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/index.html +67 -0
- data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +138 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +373 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +172 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +243 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +247 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +91 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +278 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +241 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +225 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +134 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +218 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +383 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +214 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +226 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +187 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +142 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +766 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +688 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +278 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +860 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +161 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1596 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +154 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +528 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +169 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +160 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +347 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +176 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +952 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +87 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +186 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +97 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +565 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +280 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +133 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +314 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +237 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +217 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +887 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +287 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +479 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +532 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +787 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +171 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +3569 -0
- data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/style.css +66 -0
- data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +130 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +329 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +92 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/check-language.sh +32 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +456 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +114 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +537 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +296 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +252 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +115 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +512 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +180 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +338 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +300 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1028 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +361 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +103 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +413 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +210 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +591 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +464 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
- data/vendor/local/share/gtksourceview-3.0/styles/check-style.sh +20 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +107 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +135 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +161 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +117 -0
- data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +139 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +117 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +12 -0
- data/vendor/local/share/license/gtksourceview/COPYING +340 -0
- data/vendor/local/share/man/man1/xml2-config.1 +30 -0
- data/vendor/local/share/man/man1/xmlcatalog.1 +340 -0
- data/vendor/local/share/man/man1/xmllint.1 +427 -0
- data/vendor/local/share/man/man3/libxml.3 +71 -0
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +867 -0
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +68 -0
- metadata +642 -0
@@ -0,0 +1,1822 @@
|
|
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>GtkSourcePrintCompositor</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="rn01.html" title="API reference">
|
9
|
+
<link rel="prev" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager">
|
10
|
+
<link rel="next" href="GtkSourceStyle.html" title="GtkSourceStyle">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.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="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="GtkSourceLanguageManager.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="GtkSourceStyle.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#GtkSourcePrintCompositor.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GtkSourcePrintCompositor.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GtkSourcePrintCompositor.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GtkSourcePrintCompositor.properties" class="shortcut">Properties</a>
|
31
|
+
</td></tr>
|
32
|
+
</table>
|
33
|
+
<div class="refentry">
|
34
|
+
<a name="GtkSourcePrintCompositor"></a><div class="titlepage"></div>
|
35
|
+
<div class="refnamediv"><table width="100%"><tr>
|
36
|
+
<td valign="top">
|
37
|
+
<h2><span class="refentrytitle"><a name="GtkSourcePrintCompositor.top_of_page"></a>GtkSourcePrintCompositor</span></h2>
|
38
|
+
<p>GtkSourcePrintCompositor — Compose a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> for printing</p>
|
39
|
+
</td>
|
40
|
+
<td valign="top" align="right"></td>
|
41
|
+
</tr></table></div>
|
42
|
+
<div class="refsynopsisdiv">
|
43
|
+
<a name="GtkSourcePrintCompositor.synopsis"></a><h2>Synopsis</h2>
|
44
|
+
<pre class="synopsis">
|
45
|
+
#include <gtksourceview/gtksourceprintcompositor.h>
|
46
|
+
|
47
|
+
<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor-struct" title="GtkSourcePrintCompositor">GtkSourcePrintCompositor</a>;
|
48
|
+
<a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> * <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-new" title="gtk_source_print_compositor_new ()">gtk_source_print_compositor_new</a>
|
49
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
50
|
+
<a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> * <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-new-from-view" title="gtk_source_print_compositor_new_from_view ()">gtk_source_print_compositor_new_from_view</a>
|
51
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
|
52
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> * <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-buffer" title="gtk_source_print_compositor_get_buffer ()">gtk_source_print_compositor_get_buffer</a>
|
53
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
54
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-tab-width" title="gtk_source_print_compositor_set_tab_width ()">gtk_source_print_compositor_set_tab_width</a>
|
55
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
56
|
+
<em class="parameter"><code><span class="type">guint</span> width</code></em>);
|
57
|
+
<span class="returnvalue">guint</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-tab-width" title="gtk_source_print_compositor_get_tab_width ()">gtk_source_print_compositor_get_tab_width</a>
|
58
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
59
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-wrap-mode" title="gtk_source_print_compositor_set_wrap_mode ()">gtk_source_print_compositor_set_wrap_mode</a>
|
60
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
61
|
+
<em class="parameter"><code><span class="type">GtkWrapMode</span> wrap_mode</code></em>);
|
62
|
+
<span class="returnvalue">GtkWrapMode</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-wrap-mode" title="gtk_source_print_compositor_get_wrap_mode ()">gtk_source_print_compositor_get_wrap_mode</a>
|
63
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
64
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-highlight-syntax" title="gtk_source_print_compositor_set_highlight_syntax ()">gtk_source_print_compositor_set_highlight_syntax</a>
|
65
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
66
|
+
<em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);
|
67
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-highlight-syntax" title="gtk_source_print_compositor_get_highlight_syntax ()">gtk_source_print_compositor_get_highlight_syntax</a>
|
68
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-line-numbers" title="gtk_source_print_compositor_set_print_line_numbers ()">gtk_source_print_compositor_set_print_line_numbers</a>
|
70
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
71
|
+
<em class="parameter"><code><span class="type">guint</span> interval</code></em>);
|
72
|
+
<span class="returnvalue">guint</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-line-numbers" title="gtk_source_print_compositor_get_print_line_numbers ()">gtk_source_print_compositor_get_print_line_numbers</a>
|
73
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
74
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-body-font-name" title="gtk_source_print_compositor_set_body_font_name ()">gtk_source_print_compositor_set_body_font_name</a>
|
75
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
76
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);
|
77
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-body-font-name" title="gtk_source_print_compositor_get_body_font_name ()">gtk_source_print_compositor_get_body_font_name</a>
|
78
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
79
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-line-numbers-font-name" title="gtk_source_print_compositor_set_line_numbers_font_name ()">gtk_source_print_compositor_set_line_numbers_font_name</a>
|
80
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
81
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);
|
82
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-line-numbers-font-name" title="gtk_source_print_compositor_get_line_numbers_font_name ()">gtk_source_print_compositor_get_line_numbers_font_name</a>
|
83
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
84
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-font-name" title="gtk_source_print_compositor_set_header_font_name ()">gtk_source_print_compositor_set_header_font_name</a>
|
85
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
86
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);
|
87
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-header-font-name" title="gtk_source_print_compositor_get_header_font_name ()">gtk_source_print_compositor_get_header_font_name</a>
|
88
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
89
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-font-name" title="gtk_source_print_compositor_set_footer_font_name ()">gtk_source_print_compositor_set_footer_font_name</a>
|
90
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
91
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);
|
92
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-footer-font-name" title="gtk_source_print_compositor_get_footer_font_name ()">gtk_source_print_compositor_get_footer_font_name</a>
|
93
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
94
|
+
<span class="returnvalue">gdouble</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-top-margin" title="gtk_source_print_compositor_get_top_margin ()">gtk_source_print_compositor_get_top_margin</a>
|
95
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
96
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
|
97
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-top-margin" title="gtk_source_print_compositor_set_top_margin ()">gtk_source_print_compositor_set_top_margin</a>
|
98
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
99
|
+
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
|
100
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
|
101
|
+
<span class="returnvalue">gdouble</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-bottom-margin" title="gtk_source_print_compositor_get_bottom_margin ()">gtk_source_print_compositor_get_bottom_margin</a>
|
102
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
103
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
|
104
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-bottom-margin" title="gtk_source_print_compositor_set_bottom_margin ()">gtk_source_print_compositor_set_bottom_margin</a>
|
105
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
106
|
+
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
|
107
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
|
108
|
+
<span class="returnvalue">gdouble</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-left-margin" title="gtk_source_print_compositor_get_left_margin ()">gtk_source_print_compositor_get_left_margin</a>
|
109
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
110
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
|
111
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-left-margin" title="gtk_source_print_compositor_set_left_margin ()">gtk_source_print_compositor_set_left_margin</a>
|
112
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
113
|
+
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
|
114
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
|
115
|
+
<span class="returnvalue">gdouble</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-right-margin" title="gtk_source_print_compositor_get_right_margin ()">gtk_source_print_compositor_get_right_margin</a>
|
116
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
117
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
|
118
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-right-margin" title="gtk_source_print_compositor_set_right_margin ()">gtk_source_print_compositor_set_right_margin</a>
|
119
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
120
|
+
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
|
121
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
|
122
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-header" title="gtk_source_print_compositor_set_print_header ()">gtk_source_print_compositor_set_print_header</a>
|
123
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
124
|
+
<em class="parameter"><code><span class="type">gboolean</span> print</code></em>);
|
125
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-header" title="gtk_source_print_compositor_get_print_header ()">gtk_source_print_compositor_get_print_header</a>
|
126
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
127
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-footer" title="gtk_source_print_compositor_set_print_footer ()">gtk_source_print_compositor_set_print_footer</a>
|
128
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
129
|
+
<em class="parameter"><code><span class="type">gboolean</span> print</code></em>);
|
130
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-footer" title="gtk_source_print_compositor_get_print_footer ()">gtk_source_print_compositor_get_print_footer</a>
|
131
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
132
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format ()">gtk_source_print_compositor_set_header_format</a>
|
133
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
134
|
+
<em class="parameter"><code><span class="type">gboolean</span> separator</code></em>,
|
135
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *left</code></em>,
|
136
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *center</code></em>,
|
137
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *right</code></em>);
|
138
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format ()">gtk_source_print_compositor_set_footer_format</a>
|
139
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
140
|
+
<em class="parameter"><code><span class="type">gboolean</span> separator</code></em>,
|
141
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *left</code></em>,
|
142
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *center</code></em>,
|
143
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *right</code></em>);
|
144
|
+
<span class="returnvalue">gint</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-n-pages" title="gtk_source_print_compositor_get_n_pages ()">gtk_source_print_compositor_get_n_pages</a>
|
145
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
146
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()">gtk_source_print_compositor_paginate</a>
|
147
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
148
|
+
<em class="parameter"><code><span class="type">GtkPrintContext</span> *context</code></em>);
|
149
|
+
<span class="returnvalue">gdouble</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-pagination-progress" title="gtk_source_print_compositor_get_pagination_progress ()">gtk_source_print_compositor_get_pagination_progress</a>
|
150
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
151
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-draw-page" title="gtk_source_print_compositor_draw_page ()">gtk_source_print_compositor_draw_page</a>
|
152
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
153
|
+
<em class="parameter"><code><span class="type">GtkPrintContext</span> *context</code></em>,
|
154
|
+
<em class="parameter"><code><span class="type">gint</span> page_nr</code></em>);
|
155
|
+
</pre>
|
156
|
+
</div>
|
157
|
+
<div class="refsect1">
|
158
|
+
<a name="GtkSourcePrintCompositor.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
159
|
+
<pre class="synopsis">
|
160
|
+
GObject
|
161
|
+
+----GtkSourcePrintCompositor
|
162
|
+
</pre>
|
163
|
+
</div>
|
164
|
+
<div class="refsect1">
|
165
|
+
<a name="GtkSourcePrintCompositor.properties"></a><h2>Properties</h2>
|
166
|
+
<pre class="synopsis">
|
167
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--body-font-name" title='The "body-font-name" property'>body-font-name</a>" <span class="type">gchar</span>* : Read / Write
|
168
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--buffer" title='The "buffer" property'>buffer</a>" <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>* : Read / Write / Construct Only
|
169
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--footer-font-name" title='The "footer-font-name" property'>footer-font-name</a>" <span class="type">gchar</span>* : Read / Write
|
170
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--header-font-name" title='The "header-font-name" property'>header-font-name</a>" <span class="type">gchar</span>* : Read / Write
|
171
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--highlight-syntax" title='The "highlight-syntax" property'>highlight-syntax</a>" <span class="type">gboolean</span> : Read / Write
|
172
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--line-numbers-font-name" title='The "line-numbers-font-name" property'>line-numbers-font-name</a>" <span class="type">gchar</span>* : Read / Write
|
173
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--n-pages" title='The "n-pages" property'>n-pages</a>" <span class="type">gint</span> : Read
|
174
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-footer" title='The "print-footer" property'>print-footer</a>" <span class="type">gboolean</span> : Read / Write
|
175
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-header" title='The "print-header" property'>print-header</a>" <span class="type">gboolean</span> : Read / Write
|
176
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-line-numbers" title='The "print-line-numbers" property'>print-line-numbers</a>" <span class="type">guint</span> : Read / Write
|
177
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--tab-width" title='The "tab-width" property'>tab-width</a>" <span class="type">guint</span> : Read / Write
|
178
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title='The "wrap-mode" property'>wrap-mode</a>" <span class="type">GtkWrapMode</span> : Read / Write
|
179
|
+
</pre>
|
180
|
+
</div>
|
181
|
+
<div class="refsect1">
|
182
|
+
<a name="GtkSourcePrintCompositor.description"></a><h2>Description</h2>
|
183
|
+
<p>
|
184
|
+
The <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> object is used to compose a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>
|
185
|
+
for printing. You can set various configuration options to customize the
|
186
|
+
printed output. <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> is designed to be used with the
|
187
|
+
high-level printing API of gtk+, i.e. <span class="type">GtkPrintOperation</span>.
|
188
|
+
</p>
|
189
|
+
<p>
|
190
|
+
The margins specified in this object are the layout margins: they define the
|
191
|
+
blank space bordering the printed area of the pages. They must not be
|
192
|
+
confused with the "print margins", i.e. the parts of the page that the
|
193
|
+
printer cannot print on, defined in the <span class="type">GtkPageSetup</span> objects. If the
|
194
|
+
specified layout margins are smaller than the "print margins", the latter
|
195
|
+
ones are used as a fallback by the <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> object, so that
|
196
|
+
the printed area is not clipped.
|
197
|
+
</p>
|
198
|
+
</div>
|
199
|
+
<div class="refsect1">
|
200
|
+
<a name="GtkSourcePrintCompositor.details"></a><h2>Details</h2>
|
201
|
+
<div class="refsect2">
|
202
|
+
<a name="GtkSourcePrintCompositor-struct"></a><h3>GtkSourcePrintCompositor</h3>
|
203
|
+
<pre class="programlisting">typedef struct _GtkSourcePrintCompositor GtkSourcePrintCompositor;</pre>
|
204
|
+
</div>
|
205
|
+
<hr>
|
206
|
+
<div class="refsect2">
|
207
|
+
<a name="gtk-source-print-compositor-new"></a><h3>gtk_source_print_compositor_new ()</h3>
|
208
|
+
<pre class="programlisting"><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> * gtk_source_print_compositor_new
|
209
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
210
|
+
<p>
|
211
|
+
Creates a new print compositor that can be used to print <em class="parameter"><code>buffer</code></em>.
|
212
|
+
</p>
|
213
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
214
|
+
<colgroup>
|
215
|
+
<col align="left" valign="top">
|
216
|
+
<col>
|
217
|
+
</colgroup>
|
218
|
+
<tbody>
|
219
|
+
<tr>
|
220
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
221
|
+
<td>the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to print.</td>
|
222
|
+
</tr>
|
223
|
+
<tr>
|
224
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
225
|
+
<td>a new print compositor object.</td>
|
226
|
+
</tr>
|
227
|
+
</tbody>
|
228
|
+
</table></div>
|
229
|
+
<p class="since">Since 2.2</p>
|
230
|
+
</div>
|
231
|
+
<hr>
|
232
|
+
<div class="refsect2">
|
233
|
+
<a name="gtk-source-print-compositor-new-from-view"></a><h3>gtk_source_print_compositor_new_from_view ()</h3>
|
234
|
+
<pre class="programlisting"><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> * gtk_source_print_compositor_new_from_view
|
235
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
236
|
+
<p>
|
237
|
+
Creates a new print compositor that can be used to print the buffer
|
238
|
+
associated with <em class="parameter"><code>view</code></em>.
|
239
|
+
This constructor sets some configuration properties to make the
|
240
|
+
printed output match <em class="parameter"><code>view</code></em> as much as possible. The properties set are
|
241
|
+
<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--tab-width" title='The "tab-width" property'><span class="type">"tab-width"</span></a>, <a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--highlight-syntax" title='The "highlight-syntax" property'><span class="type">"highlight-syntax"</span></a>,
|
242
|
+
<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title='The "wrap-mode" property'><span class="type">"wrap-mode"</span></a>, <a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--body-font-name" title='The "body-font-name" property'><span class="type">"body-font-name"</span></a> and
|
243
|
+
<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-line-numbers" title='The "print-line-numbers" property'><span class="type">"print-line-numbers"</span></a>.
|
244
|
+
</p>
|
245
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
246
|
+
<colgroup>
|
247
|
+
<col align="left" valign="top">
|
248
|
+
<col>
|
249
|
+
</colgroup>
|
250
|
+
<tbody>
|
251
|
+
<tr>
|
252
|
+
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
|
253
|
+
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> to get configuration from.</td>
|
254
|
+
</tr>
|
255
|
+
<tr>
|
256
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
257
|
+
<td>a new print compositor object.</td>
|
258
|
+
</tr>
|
259
|
+
</tbody>
|
260
|
+
</table></div>
|
261
|
+
<p class="since">Since 2.2</p>
|
262
|
+
</div>
|
263
|
+
<hr>
|
264
|
+
<div class="refsect2">
|
265
|
+
<a name="gtk-source-print-compositor-get-buffer"></a><h3>gtk_source_print_compositor_get_buffer ()</h3>
|
266
|
+
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> * gtk_source_print_compositor_get_buffer
|
267
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
268
|
+
<p>
|
269
|
+
Gets the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> associated with the compositor. The returned
|
270
|
+
object reference is owned by the compositor object and
|
271
|
+
should not be unreferenced.
|
272
|
+
</p>
|
273
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
274
|
+
<colgroup>
|
275
|
+
<col align="left" valign="top">
|
276
|
+
<col>
|
277
|
+
</colgroup>
|
278
|
+
<tbody>
|
279
|
+
<tr>
|
280
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
281
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
282
|
+
</tr>
|
283
|
+
<tr>
|
284
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
285
|
+
<td>the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> associated with the compositor. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
286
|
+
</td>
|
287
|
+
</tr>
|
288
|
+
</tbody>
|
289
|
+
</table></div>
|
290
|
+
<p class="since">Since 2.2</p>
|
291
|
+
</div>
|
292
|
+
<hr>
|
293
|
+
<div class="refsect2">
|
294
|
+
<a name="gtk-source-print-compositor-set-tab-width"></a><h3>gtk_source_print_compositor_set_tab_width ()</h3>
|
295
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_tab_width
|
296
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
297
|
+
<em class="parameter"><code><span class="type">guint</span> width</code></em>);</pre>
|
298
|
+
<p>
|
299
|
+
Sets the width of tabulation in characters for printed text.
|
300
|
+
</p>
|
301
|
+
<p>
|
302
|
+
This function cannot be called anymore after the first call to the
|
303
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
304
|
+
</p>
|
305
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
306
|
+
<colgroup>
|
307
|
+
<col align="left" valign="top">
|
308
|
+
<col>
|
309
|
+
</colgroup>
|
310
|
+
<tbody>
|
311
|
+
<tr>
|
312
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
313
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
314
|
+
</tr>
|
315
|
+
<tr>
|
316
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
317
|
+
<td>width of tab in characters.</td>
|
318
|
+
</tr>
|
319
|
+
</tbody>
|
320
|
+
</table></div>
|
321
|
+
<p class="since">Since 2.2</p>
|
322
|
+
</div>
|
323
|
+
<hr>
|
324
|
+
<div class="refsect2">
|
325
|
+
<a name="gtk-source-print-compositor-get-tab-width"></a><h3>gtk_source_print_compositor_get_tab_width ()</h3>
|
326
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> gtk_source_print_compositor_get_tab_width
|
327
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
328
|
+
<p>
|
329
|
+
Returns the width of tabulation in characters for printed text.
|
330
|
+
</p>
|
331
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
332
|
+
<colgroup>
|
333
|
+
<col align="left" valign="top">
|
334
|
+
<col>
|
335
|
+
</colgroup>
|
336
|
+
<tbody>
|
337
|
+
<tr>
|
338
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
339
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
340
|
+
</tr>
|
341
|
+
<tr>
|
342
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
343
|
+
<td>width of tab.</td>
|
344
|
+
</tr>
|
345
|
+
</tbody>
|
346
|
+
</table></div>
|
347
|
+
<p class="since">Since 2.2</p>
|
348
|
+
</div>
|
349
|
+
<hr>
|
350
|
+
<div class="refsect2">
|
351
|
+
<a name="gtk-source-print-compositor-set-wrap-mode"></a><h3>gtk_source_print_compositor_set_wrap_mode ()</h3>
|
352
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_wrap_mode
|
353
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
354
|
+
<em class="parameter"><code><span class="type">GtkWrapMode</span> wrap_mode</code></em>);</pre>
|
355
|
+
<p>
|
356
|
+
Sets the line wrapping mode for the printed text.
|
357
|
+
</p>
|
358
|
+
<p>
|
359
|
+
This function cannot be called anymore after the first call to the
|
360
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
361
|
+
</p>
|
362
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
363
|
+
<colgroup>
|
364
|
+
<col align="left" valign="top">
|
365
|
+
<col>
|
366
|
+
</colgroup>
|
367
|
+
<tbody>
|
368
|
+
<tr>
|
369
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
370
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
371
|
+
</tr>
|
372
|
+
<tr>
|
373
|
+
<td><p><span class="term"><em class="parameter"><code>wrap_mode</code></em> :</span></p></td>
|
374
|
+
<td>a <span class="type">GtkWrapMode</span>.</td>
|
375
|
+
</tr>
|
376
|
+
</tbody>
|
377
|
+
</table></div>
|
378
|
+
<p class="since">Since 2.2</p>
|
379
|
+
</div>
|
380
|
+
<hr>
|
381
|
+
<div class="refsect2">
|
382
|
+
<a name="gtk-source-print-compositor-get-wrap-mode"></a><h3>gtk_source_print_compositor_get_wrap_mode ()</h3>
|
383
|
+
<pre class="programlisting"><span class="returnvalue">GtkWrapMode</span> gtk_source_print_compositor_get_wrap_mode
|
384
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
385
|
+
<p>
|
386
|
+
Gets the line wrapping mode for the printed text.
|
387
|
+
</p>
|
388
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
389
|
+
<colgroup>
|
390
|
+
<col align="left" valign="top">
|
391
|
+
<col>
|
392
|
+
</colgroup>
|
393
|
+
<tbody>
|
394
|
+
<tr>
|
395
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
396
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
397
|
+
</tr>
|
398
|
+
<tr>
|
399
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
400
|
+
<td>the line wrap mode.</td>
|
401
|
+
</tr>
|
402
|
+
</tbody>
|
403
|
+
</table></div>
|
404
|
+
<p class="since">Since 2.2</p>
|
405
|
+
</div>
|
406
|
+
<hr>
|
407
|
+
<div class="refsect2">
|
408
|
+
<a name="gtk-source-print-compositor-set-highlight-syntax"></a><h3>gtk_source_print_compositor_set_highlight_syntax ()</h3>
|
409
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_highlight_syntax
|
410
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
411
|
+
<em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);</pre>
|
412
|
+
<p>
|
413
|
+
Sets whether the printed text will be highlighted according to the
|
414
|
+
buffer rules. Both color and font style are applied.
|
415
|
+
</p>
|
416
|
+
<p>
|
417
|
+
This function cannot be called anymore after the first call to the
|
418
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
419
|
+
</p>
|
420
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
421
|
+
<colgroup>
|
422
|
+
<col align="left" valign="top">
|
423
|
+
<col>
|
424
|
+
</colgroup>
|
425
|
+
<tbody>
|
426
|
+
<tr>
|
427
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
428
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
429
|
+
</tr>
|
430
|
+
<tr>
|
431
|
+
<td><p><span class="term"><em class="parameter"><code>highlight</code></em> :</span></p></td>
|
432
|
+
<td>whether syntax should be highlighted.</td>
|
433
|
+
</tr>
|
434
|
+
</tbody>
|
435
|
+
</table></div>
|
436
|
+
<p class="since">Since 2.2</p>
|
437
|
+
</div>
|
438
|
+
<hr>
|
439
|
+
<div class="refsect2">
|
440
|
+
<a name="gtk-source-print-compositor-get-highlight-syntax"></a><h3>gtk_source_print_compositor_get_highlight_syntax ()</h3>
|
441
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_print_compositor_get_highlight_syntax
|
442
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
443
|
+
<p>
|
444
|
+
Determines whether the printed text will be highlighted according to the
|
445
|
+
buffer rules. Note that highlighting will happen
|
446
|
+
only if the buffer to print has highlighting activated.
|
447
|
+
</p>
|
448
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
449
|
+
<colgroup>
|
450
|
+
<col align="left" valign="top">
|
451
|
+
<col>
|
452
|
+
</colgroup>
|
453
|
+
<tbody>
|
454
|
+
<tr>
|
455
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
456
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
457
|
+
</tr>
|
458
|
+
<tr>
|
459
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
460
|
+
<td>
|
461
|
+
<code class="literal">TRUE</code> if the printed output will be highlighted.</td>
|
462
|
+
</tr>
|
463
|
+
</tbody>
|
464
|
+
</table></div>
|
465
|
+
<p class="since">Since 2.2</p>
|
466
|
+
</div>
|
467
|
+
<hr>
|
468
|
+
<div class="refsect2">
|
469
|
+
<a name="gtk-source-print-compositor-set-print-line-numbers"></a><h3>gtk_source_print_compositor_set_print_line_numbers ()</h3>
|
470
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_print_line_numbers
|
471
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
472
|
+
<em class="parameter"><code><span class="type">guint</span> interval</code></em>);</pre>
|
473
|
+
<p>
|
474
|
+
Sets the interval for printed line numbers. If <em class="parameter"><code>interval</code></em> is 0 no
|
475
|
+
numbers will be printed. If greater than 0, a number will be
|
476
|
+
printed every <em class="parameter"><code>interval</code></em> lines (i.e. 1 will print all line numbers).
|
477
|
+
</p>
|
478
|
+
<p>
|
479
|
+
Maximum accepted value for <em class="parameter"><code>interval</code></em> is 100.
|
480
|
+
</p>
|
481
|
+
<p>
|
482
|
+
This function cannot be called anymore after the first call to the
|
483
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
484
|
+
</p>
|
485
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
486
|
+
<colgroup>
|
487
|
+
<col align="left" valign="top">
|
488
|
+
<col>
|
489
|
+
</colgroup>
|
490
|
+
<tbody>
|
491
|
+
<tr>
|
492
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
493
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
494
|
+
</tr>
|
495
|
+
<tr>
|
496
|
+
<td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
|
497
|
+
<td>interval for printed line numbers.</td>
|
498
|
+
</tr>
|
499
|
+
</tbody>
|
500
|
+
</table></div>
|
501
|
+
<p class="since">Since 2.2</p>
|
502
|
+
</div>
|
503
|
+
<hr>
|
504
|
+
<div class="refsect2">
|
505
|
+
<a name="gtk-source-print-compositor-get-print-line-numbers"></a><h3>gtk_source_print_compositor_get_print_line_numbers ()</h3>
|
506
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> gtk_source_print_compositor_get_print_line_numbers
|
507
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
508
|
+
<p>
|
509
|
+
Returns the interval used for line number printing. If the
|
510
|
+
value is 0, no line numbers will be printed. The default value is
|
511
|
+
1 (i.e. numbers printed in all lines).
|
512
|
+
</p>
|
513
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
514
|
+
<colgroup>
|
515
|
+
<col align="left" valign="top">
|
516
|
+
<col>
|
517
|
+
</colgroup>
|
518
|
+
<tbody>
|
519
|
+
<tr>
|
520
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
521
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
522
|
+
</tr>
|
523
|
+
<tr>
|
524
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
525
|
+
<td>the interval of printed line numbers.</td>
|
526
|
+
</tr>
|
527
|
+
</tbody>
|
528
|
+
</table></div>
|
529
|
+
<p class="since">Since 2.2</p>
|
530
|
+
</div>
|
531
|
+
<hr>
|
532
|
+
<div class="refsect2">
|
533
|
+
<a name="gtk-source-print-compositor-set-body-font-name"></a><h3>gtk_source_print_compositor_set_body_font_name ()</h3>
|
534
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_body_font_name
|
535
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
536
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);</pre>
|
537
|
+
<p>
|
538
|
+
Sets the default font for the printed text.
|
539
|
+
</p>
|
540
|
+
<p>
|
541
|
+
<em class="parameter"><code>font_name</code></em> should be a
|
542
|
+
string representation of a font description Pango can understand.
|
543
|
+
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
|
544
|
+
for a description of the format of the string representation.
|
545
|
+
</p>
|
546
|
+
<p>
|
547
|
+
This function cannot be called anymore after the first call to the
|
548
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
549
|
+
</p>
|
550
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
551
|
+
<colgroup>
|
552
|
+
<col align="left" valign="top">
|
553
|
+
<col>
|
554
|
+
</colgroup>
|
555
|
+
<tbody>
|
556
|
+
<tr>
|
557
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
558
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
559
|
+
</tr>
|
560
|
+
<tr>
|
561
|
+
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
|
562
|
+
<td>the name of the default font for the body text.</td>
|
563
|
+
</tr>
|
564
|
+
</tbody>
|
565
|
+
</table></div>
|
566
|
+
<p class="since">Since 2.2</p>
|
567
|
+
</div>
|
568
|
+
<hr>
|
569
|
+
<div class="refsect2">
|
570
|
+
<a name="gtk-source-print-compositor-get-body-font-name"></a><h3>gtk_source_print_compositor_get_body_font_name ()</h3>
|
571
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_source_print_compositor_get_body_font_name
|
572
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
573
|
+
<p>
|
574
|
+
Returns the name of the font used to print the text body. The returned string
|
575
|
+
must be freed with <code class="function">g_free()</code>.
|
576
|
+
</p>
|
577
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
578
|
+
<colgroup>
|
579
|
+
<col align="left" valign="top">
|
580
|
+
<col>
|
581
|
+
</colgroup>
|
582
|
+
<tbody>
|
583
|
+
<tr>
|
584
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
585
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
586
|
+
</tr>
|
587
|
+
<tr>
|
588
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
589
|
+
<td>a new string containing the name of the font used to print the
|
590
|
+
text body.</td>
|
591
|
+
</tr>
|
592
|
+
</tbody>
|
593
|
+
</table></div>
|
594
|
+
<p class="since">Since 2.2</p>
|
595
|
+
</div>
|
596
|
+
<hr>
|
597
|
+
<div class="refsect2">
|
598
|
+
<a name="gtk-source-print-compositor-set-line-numbers-font-name"></a><h3>gtk_source_print_compositor_set_line_numbers_font_name ()</h3>
|
599
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_line_numbers_font_name
|
600
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
601
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);</pre>
|
602
|
+
<p>
|
603
|
+
Sets the font for printing line numbers on the left margin. If
|
604
|
+
<code class="literal">NULL</code> is supplied, the default font (i.e. the one being used for the
|
605
|
+
text) will be used instead.
|
606
|
+
</p>
|
607
|
+
<p>
|
608
|
+
<em class="parameter"><code>font_name</code></em> should be a
|
609
|
+
string representation of a font description Pango can understand.
|
610
|
+
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
|
611
|
+
for a description of the format of the string representation.
|
612
|
+
</p>
|
613
|
+
<p>
|
614
|
+
This function cannot be called anymore after the first call to the
|
615
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
616
|
+
</p>
|
617
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
618
|
+
<colgroup>
|
619
|
+
<col align="left" valign="top">
|
620
|
+
<col>
|
621
|
+
</colgroup>
|
622
|
+
<tbody>
|
623
|
+
<tr>
|
624
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
625
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
626
|
+
</tr>
|
627
|
+
<tr>
|
628
|
+
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
|
629
|
+
<td>the name of the font for line numbers, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
630
|
+
</td>
|
631
|
+
</tr>
|
632
|
+
</tbody>
|
633
|
+
</table></div>
|
634
|
+
<p class="since">Since 2.2</p>
|
635
|
+
</div>
|
636
|
+
<hr>
|
637
|
+
<div class="refsect2">
|
638
|
+
<a name="gtk-source-print-compositor-get-line-numbers-font-name"></a><h3>gtk_source_print_compositor_get_line_numbers_font_name ()</h3>
|
639
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_source_print_compositor_get_line_numbers_font_name
|
640
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
641
|
+
<p>
|
642
|
+
Returns the name of the font used to print line numbers on the left margin.
|
643
|
+
The returned string must be freed with <code class="function">g_free()</code>.
|
644
|
+
</p>
|
645
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
646
|
+
<colgroup>
|
647
|
+
<col align="left" valign="top">
|
648
|
+
<col>
|
649
|
+
</colgroup>
|
650
|
+
<tbody>
|
651
|
+
<tr>
|
652
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
653
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
654
|
+
</tr>
|
655
|
+
<tr>
|
656
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
657
|
+
<td>a new string containing the name of the font used to print
|
658
|
+
line numbers on the left margin.</td>
|
659
|
+
</tr>
|
660
|
+
</tbody>
|
661
|
+
</table></div>
|
662
|
+
<p class="since">Since 2.2</p>
|
663
|
+
</div>
|
664
|
+
<hr>
|
665
|
+
<div class="refsect2">
|
666
|
+
<a name="gtk-source-print-compositor-set-header-font-name"></a><h3>gtk_source_print_compositor_set_header_font_name ()</h3>
|
667
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_header_font_name
|
668
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
669
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);</pre>
|
670
|
+
<p>
|
671
|
+
Sets the font for printing the page header. If
|
672
|
+
<code class="literal">NULL</code> is supplied, the default font (i.e. the one being used for the
|
673
|
+
text) will be used instead.
|
674
|
+
</p>
|
675
|
+
<p>
|
676
|
+
<em class="parameter"><code>font_name</code></em> should be a
|
677
|
+
string representation of a font description Pango can understand.
|
678
|
+
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
|
679
|
+
for a description of the format of the string representation.
|
680
|
+
</p>
|
681
|
+
<p>
|
682
|
+
This function cannot be called anymore after the first call to the
|
683
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
684
|
+
</p>
|
685
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
686
|
+
<colgroup>
|
687
|
+
<col align="left" valign="top">
|
688
|
+
<col>
|
689
|
+
</colgroup>
|
690
|
+
<tbody>
|
691
|
+
<tr>
|
692
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
693
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
694
|
+
</tr>
|
695
|
+
<tr>
|
696
|
+
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
|
697
|
+
<td>the name of the font for header text, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
698
|
+
</td>
|
699
|
+
</tr>
|
700
|
+
</tbody>
|
701
|
+
</table></div>
|
702
|
+
<p class="since">Since 2.2</p>
|
703
|
+
</div>
|
704
|
+
<hr>
|
705
|
+
<div class="refsect2">
|
706
|
+
<a name="gtk-source-print-compositor-get-header-font-name"></a><h3>gtk_source_print_compositor_get_header_font_name ()</h3>
|
707
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_source_print_compositor_get_header_font_name
|
708
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
709
|
+
<p>
|
710
|
+
Returns the name of the font used to print the page header.
|
711
|
+
The returned string must be freed with <code class="function">g_free()</code>.
|
712
|
+
</p>
|
713
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
714
|
+
<colgroup>
|
715
|
+
<col align="left" valign="top">
|
716
|
+
<col>
|
717
|
+
</colgroup>
|
718
|
+
<tbody>
|
719
|
+
<tr>
|
720
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
721
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
722
|
+
</tr>
|
723
|
+
<tr>
|
724
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
725
|
+
<td>a new string containing the name of the font used to print
|
726
|
+
the page header.</td>
|
727
|
+
</tr>
|
728
|
+
</tbody>
|
729
|
+
</table></div>
|
730
|
+
<p class="since">Since 2.2</p>
|
731
|
+
</div>
|
732
|
+
<hr>
|
733
|
+
<div class="refsect2">
|
734
|
+
<a name="gtk-source-print-compositor-set-footer-font-name"></a><h3>gtk_source_print_compositor_set_footer_font_name ()</h3>
|
735
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_footer_font_name
|
736
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
737
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);</pre>
|
738
|
+
<p>
|
739
|
+
Sets the font for printing the page footer. If
|
740
|
+
<code class="literal">NULL</code> is supplied, the default font (i.e. the one being used for the
|
741
|
+
text) will be used instead.
|
742
|
+
</p>
|
743
|
+
<p>
|
744
|
+
<em class="parameter"><code>font_name</code></em> should be a
|
745
|
+
string representation of a font description Pango can understand.
|
746
|
+
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
|
747
|
+
for a description of the format of the string representation.
|
748
|
+
</p>
|
749
|
+
<p>
|
750
|
+
This function cannot be called anymore after the first call to the
|
751
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
752
|
+
</p>
|
753
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
754
|
+
<colgroup>
|
755
|
+
<col align="left" valign="top">
|
756
|
+
<col>
|
757
|
+
</colgroup>
|
758
|
+
<tbody>
|
759
|
+
<tr>
|
760
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
761
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
762
|
+
</tr>
|
763
|
+
<tr>
|
764
|
+
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
|
765
|
+
<td>the name of the font for the footer text, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
766
|
+
</td>
|
767
|
+
</tr>
|
768
|
+
</tbody>
|
769
|
+
</table></div>
|
770
|
+
<p class="since">Since 2.2</p>
|
771
|
+
</div>
|
772
|
+
<hr>
|
773
|
+
<div class="refsect2">
|
774
|
+
<a name="gtk-source-print-compositor-get-footer-font-name"></a><h3>gtk_source_print_compositor_get_footer_font_name ()</h3>
|
775
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_source_print_compositor_get_footer_font_name
|
776
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
777
|
+
<p>
|
778
|
+
Returns the name of the font used to print the page footer.
|
779
|
+
The returned string must be freed with <code class="function">g_free()</code>.
|
780
|
+
</p>
|
781
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
782
|
+
<colgroup>
|
783
|
+
<col align="left" valign="top">
|
784
|
+
<col>
|
785
|
+
</colgroup>
|
786
|
+
<tbody>
|
787
|
+
<tr>
|
788
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
789
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
790
|
+
</tr>
|
791
|
+
<tr>
|
792
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
793
|
+
<td>a new string containing the name of the font used to print
|
794
|
+
the page footer.</td>
|
795
|
+
</tr>
|
796
|
+
</tbody>
|
797
|
+
</table></div>
|
798
|
+
<p class="since">Since 2.2</p>
|
799
|
+
</div>
|
800
|
+
<hr>
|
801
|
+
<div class="refsect2">
|
802
|
+
<a name="gtk-source-print-compositor-get-top-margin"></a><h3>gtk_source_print_compositor_get_top_margin ()</h3>
|
803
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span> gtk_source_print_compositor_get_top_margin
|
804
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
805
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
|
806
|
+
<p>
|
807
|
+
Gets the top margin in units of <em class="parameter"><code>unit</code></em>.
|
808
|
+
</p>
|
809
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
810
|
+
<colgroup>
|
811
|
+
<col align="left" valign="top">
|
812
|
+
<col>
|
813
|
+
</colgroup>
|
814
|
+
<tbody>
|
815
|
+
<tr>
|
816
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
817
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
818
|
+
</tr>
|
819
|
+
<tr>
|
820
|
+
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
|
821
|
+
<td>the unit for the return value.</td>
|
822
|
+
</tr>
|
823
|
+
<tr>
|
824
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
825
|
+
<td>the top margin.</td>
|
826
|
+
</tr>
|
827
|
+
</tbody>
|
828
|
+
</table></div>
|
829
|
+
<p class="since">Since 2.2</p>
|
830
|
+
</div>
|
831
|
+
<hr>
|
832
|
+
<div class="refsect2">
|
833
|
+
<a name="gtk-source-print-compositor-set-top-margin"></a><h3>gtk_source_print_compositor_set_top_margin ()</h3>
|
834
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_top_margin
|
835
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
836
|
+
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
|
837
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
|
838
|
+
<p>
|
839
|
+
Sets the top margin used by <em class="parameter"><code>compositor</code></em>.
|
840
|
+
</p>
|
841
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
842
|
+
<colgroup>
|
843
|
+
<col align="left" valign="top">
|
844
|
+
<col>
|
845
|
+
</colgroup>
|
846
|
+
<tbody>
|
847
|
+
<tr>
|
848
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
849
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
850
|
+
</tr>
|
851
|
+
<tr>
|
852
|
+
<td><p><span class="term"><em class="parameter"><code>margin</code></em> :</span></p></td>
|
853
|
+
<td>the new top margin in units of <em class="parameter"><code>unit</code></em>
|
854
|
+
</td>
|
855
|
+
</tr>
|
856
|
+
<tr>
|
857
|
+
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
|
858
|
+
<td>the units for <em class="parameter"><code>margin</code></em>
|
859
|
+
</td>
|
860
|
+
</tr>
|
861
|
+
</tbody>
|
862
|
+
</table></div>
|
863
|
+
<p class="since">Since 2.2</p>
|
864
|
+
</div>
|
865
|
+
<hr>
|
866
|
+
<div class="refsect2">
|
867
|
+
<a name="gtk-source-print-compositor-get-bottom-margin"></a><h3>gtk_source_print_compositor_get_bottom_margin ()</h3>
|
868
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span> gtk_source_print_compositor_get_bottom_margin
|
869
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
870
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
|
871
|
+
<p>
|
872
|
+
Gets the bottom margin in units of <em class="parameter"><code>unit</code></em>.
|
873
|
+
</p>
|
874
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
875
|
+
<colgroup>
|
876
|
+
<col align="left" valign="top">
|
877
|
+
<col>
|
878
|
+
</colgroup>
|
879
|
+
<tbody>
|
880
|
+
<tr>
|
881
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
882
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
883
|
+
</tr>
|
884
|
+
<tr>
|
885
|
+
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
|
886
|
+
<td>the unit for the return value.</td>
|
887
|
+
</tr>
|
888
|
+
<tr>
|
889
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
890
|
+
<td>the bottom margin.</td>
|
891
|
+
</tr>
|
892
|
+
</tbody>
|
893
|
+
</table></div>
|
894
|
+
<p class="since">Since 2.2</p>
|
895
|
+
</div>
|
896
|
+
<hr>
|
897
|
+
<div class="refsect2">
|
898
|
+
<a name="gtk-source-print-compositor-set-bottom-margin"></a><h3>gtk_source_print_compositor_set_bottom_margin ()</h3>
|
899
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_bottom_margin
|
900
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
901
|
+
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
|
902
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
|
903
|
+
<p>
|
904
|
+
Sets the bottom margin used by <em class="parameter"><code>compositor</code></em>.
|
905
|
+
</p>
|
906
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
907
|
+
<colgroup>
|
908
|
+
<col align="left" valign="top">
|
909
|
+
<col>
|
910
|
+
</colgroup>
|
911
|
+
<tbody>
|
912
|
+
<tr>
|
913
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
914
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
915
|
+
</tr>
|
916
|
+
<tr>
|
917
|
+
<td><p><span class="term"><em class="parameter"><code>margin</code></em> :</span></p></td>
|
918
|
+
<td>the new bottom margin in units of <em class="parameter"><code>unit</code></em>.</td>
|
919
|
+
</tr>
|
920
|
+
<tr>
|
921
|
+
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
|
922
|
+
<td>the units for <em class="parameter"><code>margin</code></em>.</td>
|
923
|
+
</tr>
|
924
|
+
</tbody>
|
925
|
+
</table></div>
|
926
|
+
<p class="since">Since 2.2</p>
|
927
|
+
</div>
|
928
|
+
<hr>
|
929
|
+
<div class="refsect2">
|
930
|
+
<a name="gtk-source-print-compositor-get-left-margin"></a><h3>gtk_source_print_compositor_get_left_margin ()</h3>
|
931
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span> gtk_source_print_compositor_get_left_margin
|
932
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
933
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
|
934
|
+
<p>
|
935
|
+
Gets the left margin in units of <em class="parameter"><code>unit</code></em>.
|
936
|
+
</p>
|
937
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
938
|
+
<colgroup>
|
939
|
+
<col align="left" valign="top">
|
940
|
+
<col>
|
941
|
+
</colgroup>
|
942
|
+
<tbody>
|
943
|
+
<tr>
|
944
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
945
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
946
|
+
</tr>
|
947
|
+
<tr>
|
948
|
+
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
|
949
|
+
<td>the unit for the return value.</td>
|
950
|
+
</tr>
|
951
|
+
<tr>
|
952
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
953
|
+
<td>the left margin</td>
|
954
|
+
</tr>
|
955
|
+
</tbody>
|
956
|
+
</table></div>
|
957
|
+
<p class="since">Since 2.2</p>
|
958
|
+
</div>
|
959
|
+
<hr>
|
960
|
+
<div class="refsect2">
|
961
|
+
<a name="gtk-source-print-compositor-set-left-margin"></a><h3>gtk_source_print_compositor_set_left_margin ()</h3>
|
962
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_left_margin
|
963
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
964
|
+
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
|
965
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
|
966
|
+
<p>
|
967
|
+
Sets the left margin used by <em class="parameter"><code>compositor</code></em>.
|
968
|
+
</p>
|
969
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
970
|
+
<colgroup>
|
971
|
+
<col align="left" valign="top">
|
972
|
+
<col>
|
973
|
+
</colgroup>
|
974
|
+
<tbody>
|
975
|
+
<tr>
|
976
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
977
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
978
|
+
</tr>
|
979
|
+
<tr>
|
980
|
+
<td><p><span class="term"><em class="parameter"><code>margin</code></em> :</span></p></td>
|
981
|
+
<td>the new left margin in units of <em class="parameter"><code>unit</code></em>.</td>
|
982
|
+
</tr>
|
983
|
+
<tr>
|
984
|
+
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
|
985
|
+
<td>the units for <em class="parameter"><code>margin</code></em>.</td>
|
986
|
+
</tr>
|
987
|
+
</tbody>
|
988
|
+
</table></div>
|
989
|
+
<p class="since">Since 2.2</p>
|
990
|
+
</div>
|
991
|
+
<hr>
|
992
|
+
<div class="refsect2">
|
993
|
+
<a name="gtk-source-print-compositor-get-right-margin"></a><h3>gtk_source_print_compositor_get_right_margin ()</h3>
|
994
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span> gtk_source_print_compositor_get_right_margin
|
995
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
996
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
|
997
|
+
<p>
|
998
|
+
Gets the right margin in units of <em class="parameter"><code>unit</code></em>.
|
999
|
+
</p>
|
1000
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1001
|
+
<colgroup>
|
1002
|
+
<col align="left" valign="top">
|
1003
|
+
<col>
|
1004
|
+
</colgroup>
|
1005
|
+
<tbody>
|
1006
|
+
<tr>
|
1007
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1008
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1009
|
+
</tr>
|
1010
|
+
<tr>
|
1011
|
+
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
|
1012
|
+
<td>the unit for the return value.</td>
|
1013
|
+
</tr>
|
1014
|
+
<tr>
|
1015
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1016
|
+
<td>the right margin.</td>
|
1017
|
+
</tr>
|
1018
|
+
</tbody>
|
1019
|
+
</table></div>
|
1020
|
+
<p class="since">Since 2.2</p>
|
1021
|
+
</div>
|
1022
|
+
<hr>
|
1023
|
+
<div class="refsect2">
|
1024
|
+
<a name="gtk-source-print-compositor-set-right-margin"></a><h3>gtk_source_print_compositor_set_right_margin ()</h3>
|
1025
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_right_margin
|
1026
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1027
|
+
<em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
|
1028
|
+
<em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
|
1029
|
+
<p>
|
1030
|
+
Sets the right margin used by <em class="parameter"><code>compositor</code></em>.
|
1031
|
+
</p>
|
1032
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1033
|
+
<colgroup>
|
1034
|
+
<col align="left" valign="top">
|
1035
|
+
<col>
|
1036
|
+
</colgroup>
|
1037
|
+
<tbody>
|
1038
|
+
<tr>
|
1039
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1040
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1041
|
+
</tr>
|
1042
|
+
<tr>
|
1043
|
+
<td><p><span class="term"><em class="parameter"><code>margin</code></em> :</span></p></td>
|
1044
|
+
<td>the new right margin in units of <em class="parameter"><code>unit</code></em>.</td>
|
1045
|
+
</tr>
|
1046
|
+
<tr>
|
1047
|
+
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
|
1048
|
+
<td>the units for <em class="parameter"><code>margin</code></em>.</td>
|
1049
|
+
</tr>
|
1050
|
+
</tbody>
|
1051
|
+
</table></div>
|
1052
|
+
<p class="since">Since 2.2</p>
|
1053
|
+
</div>
|
1054
|
+
<hr>
|
1055
|
+
<div class="refsect2">
|
1056
|
+
<a name="gtk-source-print-compositor-set-print-header"></a><h3>gtk_source_print_compositor_set_print_header ()</h3>
|
1057
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_print_header
|
1058
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1059
|
+
<em class="parameter"><code><span class="type">gboolean</span> print</code></em>);</pre>
|
1060
|
+
<p>
|
1061
|
+
Sets whether you want to print a header in each page. The
|
1062
|
+
header consists of three pieces of text and an optional line
|
1063
|
+
separator, configurable with
|
1064
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format ()"><code class="function">gtk_source_print_compositor_set_header_format()</code></a>.
|
1065
|
+
</p>
|
1066
|
+
<p>
|
1067
|
+
Note that by default the header format is unspecified, and if it's
|
1068
|
+
empty it will not be printed, regardless of this setting.
|
1069
|
+
</p>
|
1070
|
+
<p>
|
1071
|
+
This function cannot be called anymore after the first call to the
|
1072
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1073
|
+
</p>
|
1074
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1075
|
+
<colgroup>
|
1076
|
+
<col align="left" valign="top">
|
1077
|
+
<col>
|
1078
|
+
</colgroup>
|
1079
|
+
<tbody>
|
1080
|
+
<tr>
|
1081
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1082
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1083
|
+
</tr>
|
1084
|
+
<tr>
|
1085
|
+
<td><p><span class="term"><em class="parameter"><code>print</code></em> :</span></p></td>
|
1086
|
+
<td>
|
1087
|
+
<code class="literal">TRUE</code> if you want the header to be printed.</td>
|
1088
|
+
</tr>
|
1089
|
+
</tbody>
|
1090
|
+
</table></div>
|
1091
|
+
<p class="since">Since 2.2</p>
|
1092
|
+
</div>
|
1093
|
+
<hr>
|
1094
|
+
<div class="refsect2">
|
1095
|
+
<a name="gtk-source-print-compositor-get-print-header"></a><h3>gtk_source_print_compositor_get_print_header ()</h3>
|
1096
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_print_compositor_get_print_header
|
1097
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
1098
|
+
<p>
|
1099
|
+
Determines if a header is set to be printed for each page. A
|
1100
|
+
header will be printed if this function returns <code class="literal">TRUE</code>
|
1101
|
+
<span class="emphasis"><em>and</em></span> some format strings have been specified
|
1102
|
+
with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format ()"><code class="function">gtk_source_print_compositor_set_header_format()</code></a>.
|
1103
|
+
</p>
|
1104
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1105
|
+
<colgroup>
|
1106
|
+
<col align="left" valign="top">
|
1107
|
+
<col>
|
1108
|
+
</colgroup>
|
1109
|
+
<tbody>
|
1110
|
+
<tr>
|
1111
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1112
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1113
|
+
</tr>
|
1114
|
+
<tr>
|
1115
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1116
|
+
<td>
|
1117
|
+
<code class="literal">TRUE</code> if the header is set to be printed.</td>
|
1118
|
+
</tr>
|
1119
|
+
</tbody>
|
1120
|
+
</table></div>
|
1121
|
+
<p class="since">Since 2.2</p>
|
1122
|
+
</div>
|
1123
|
+
<hr>
|
1124
|
+
<div class="refsect2">
|
1125
|
+
<a name="gtk-source-print-compositor-set-print-footer"></a><h3>gtk_source_print_compositor_set_print_footer ()</h3>
|
1126
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_print_footer
|
1127
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1128
|
+
<em class="parameter"><code><span class="type">gboolean</span> print</code></em>);</pre>
|
1129
|
+
<p>
|
1130
|
+
Sets whether you want to print a footer in each page. The
|
1131
|
+
footer consists of three pieces of text and an optional line
|
1132
|
+
separator, configurable with
|
1133
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format ()"><code class="function">gtk_source_print_compositor_set_footer_format()</code></a>.
|
1134
|
+
</p>
|
1135
|
+
<p>
|
1136
|
+
Note that by default the footer format is unspecified, and if it's
|
1137
|
+
empty it will not be printed, regardless of this setting.
|
1138
|
+
</p>
|
1139
|
+
<p>
|
1140
|
+
This function cannot be called anymore after the first call to the
|
1141
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1142
|
+
</p>
|
1143
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1144
|
+
<colgroup>
|
1145
|
+
<col align="left" valign="top">
|
1146
|
+
<col>
|
1147
|
+
</colgroup>
|
1148
|
+
<tbody>
|
1149
|
+
<tr>
|
1150
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1151
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1152
|
+
</tr>
|
1153
|
+
<tr>
|
1154
|
+
<td><p><span class="term"><em class="parameter"><code>print</code></em> :</span></p></td>
|
1155
|
+
<td>
|
1156
|
+
<code class="literal">TRUE</code> if you want the footer to be printed.</td>
|
1157
|
+
</tr>
|
1158
|
+
</tbody>
|
1159
|
+
</table></div>
|
1160
|
+
<p class="since">Since 2.2</p>
|
1161
|
+
</div>
|
1162
|
+
<hr>
|
1163
|
+
<div class="refsect2">
|
1164
|
+
<a name="gtk-source-print-compositor-get-print-footer"></a><h3>gtk_source_print_compositor_get_print_footer ()</h3>
|
1165
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_print_compositor_get_print_footer
|
1166
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
1167
|
+
<p>
|
1168
|
+
Determines if a footer is set to be printed for each page. A
|
1169
|
+
footer will be printed if this function returns <code class="literal">TRUE</code>
|
1170
|
+
<span class="emphasis"><em>and</em></span> some format strings have been specified
|
1171
|
+
with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format ()"><code class="function">gtk_source_print_compositor_set_footer_format()</code></a>.
|
1172
|
+
</p>
|
1173
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1174
|
+
<colgroup>
|
1175
|
+
<col align="left" valign="top">
|
1176
|
+
<col>
|
1177
|
+
</colgroup>
|
1178
|
+
<tbody>
|
1179
|
+
<tr>
|
1180
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1181
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1182
|
+
</tr>
|
1183
|
+
<tr>
|
1184
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1185
|
+
<td>
|
1186
|
+
<code class="literal">TRUE</code> if the footer is set to be printed.</td>
|
1187
|
+
</tr>
|
1188
|
+
</tbody>
|
1189
|
+
</table></div>
|
1190
|
+
<p class="since">Since 2.2</p>
|
1191
|
+
</div>
|
1192
|
+
<hr>
|
1193
|
+
<div class="refsect2">
|
1194
|
+
<a name="gtk-source-print-compositor-set-header-format"></a><h3>gtk_source_print_compositor_set_header_format ()</h3>
|
1195
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_header_format
|
1196
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1197
|
+
<em class="parameter"><code><span class="type">gboolean</span> separator</code></em>,
|
1198
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *left</code></em>,
|
1199
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *center</code></em>,
|
1200
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *right</code></em>);</pre>
|
1201
|
+
<p>
|
1202
|
+
Sets strftime like header format strings, to be printed on the
|
1203
|
+
left, center and right of the top of each page. The strings may
|
1204
|
+
include strftime(3) codes which will be expanded at print time.
|
1205
|
+
All <code class="function">strftime()</code> codes are accepted, with the addition of <code class="literal">N</code> for the
|
1206
|
+
page number and <code class="literal">Q</code> for the page count.
|
1207
|
+
</p>
|
1208
|
+
<p>
|
1209
|
+
<em class="parameter"><code>separator</code></em> specifies if a solid line should be drawn to separate
|
1210
|
+
the header from the document text.
|
1211
|
+
</p>
|
1212
|
+
<p>
|
1213
|
+
If <code class="literal">NULL</code> is given for any of the three arguments, that particular
|
1214
|
+
string will not be printed.
|
1215
|
+
</p>
|
1216
|
+
<p>
|
1217
|
+
For the header to be printed, in
|
1218
|
+
addition to specifying format strings, you need to enable header
|
1219
|
+
printing with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-header" title="gtk_source_print_compositor_set_print_header ()"><code class="function">gtk_source_print_compositor_set_print_header()</code></a>.
|
1220
|
+
</p>
|
1221
|
+
<p>
|
1222
|
+
This function cannot be called anymore after the first call to the
|
1223
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1224
|
+
</p>
|
1225
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1226
|
+
<colgroup>
|
1227
|
+
<col align="left" valign="top">
|
1228
|
+
<col>
|
1229
|
+
</colgroup>
|
1230
|
+
<tbody>
|
1231
|
+
<tr>
|
1232
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1233
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1234
|
+
</tr>
|
1235
|
+
<tr>
|
1236
|
+
<td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
|
1237
|
+
<td>
|
1238
|
+
<code class="literal">TRUE</code> if you want a separator line to be printed.</td>
|
1239
|
+
</tr>
|
1240
|
+
<tr>
|
1241
|
+
<td><p><span class="term"><em class="parameter"><code>left</code></em> :</span></p></td>
|
1242
|
+
<td>a format string to print on the left of the header. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1243
|
+
</td>
|
1244
|
+
</tr>
|
1245
|
+
<tr>
|
1246
|
+
<td><p><span class="term"><em class="parameter"><code>center</code></em> :</span></p></td>
|
1247
|
+
<td>a format string to print on the center of the header. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1248
|
+
</td>
|
1249
|
+
</tr>
|
1250
|
+
<tr>
|
1251
|
+
<td><p><span class="term"><em class="parameter"><code>right</code></em> :</span></p></td>
|
1252
|
+
<td>a format string to print on the right of the header. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1253
|
+
</td>
|
1254
|
+
</tr>
|
1255
|
+
</tbody>
|
1256
|
+
</table></div>
|
1257
|
+
<p class="since">Since 2.2</p>
|
1258
|
+
</div>
|
1259
|
+
<hr>
|
1260
|
+
<div class="refsect2">
|
1261
|
+
<a name="gtk-source-print-compositor-set-footer-format"></a><h3>gtk_source_print_compositor_set_footer_format ()</h3>
|
1262
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_footer_format
|
1263
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1264
|
+
<em class="parameter"><code><span class="type">gboolean</span> separator</code></em>,
|
1265
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *left</code></em>,
|
1266
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *center</code></em>,
|
1267
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *right</code></em>);</pre>
|
1268
|
+
<p>
|
1269
|
+
Sets strftime like header format strings, to be printed on the
|
1270
|
+
left, center and right of the bottom of each page. The strings may
|
1271
|
+
include strftime(3) codes which will be expanded at print time.
|
1272
|
+
All <code class="function">strftime()</code> codes are accepted, with the addition of <code class="literal">N</code> for the
|
1273
|
+
page number and <code class="literal">Q</code> for the page count.
|
1274
|
+
</p>
|
1275
|
+
<p>
|
1276
|
+
<em class="parameter"><code>separator</code></em> specifies if a solid line should be drawn to separate
|
1277
|
+
the footer from the document text.
|
1278
|
+
</p>
|
1279
|
+
<p>
|
1280
|
+
If <code class="literal">NULL</code> is given for any of the three arguments, that particular
|
1281
|
+
string will not be printed.
|
1282
|
+
</p>
|
1283
|
+
<p>
|
1284
|
+
For the footer to be printed, in
|
1285
|
+
addition to specifying format strings, you need to enable footer
|
1286
|
+
printing with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-footer" title="gtk_source_print_compositor_set_print_footer ()"><code class="function">gtk_source_print_compositor_set_print_footer()</code></a>.
|
1287
|
+
</p>
|
1288
|
+
<p>
|
1289
|
+
This function cannot be called anymore after the first call to the
|
1290
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1291
|
+
</p>
|
1292
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1293
|
+
<colgroup>
|
1294
|
+
<col align="left" valign="top">
|
1295
|
+
<col>
|
1296
|
+
</colgroup>
|
1297
|
+
<tbody>
|
1298
|
+
<tr>
|
1299
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1300
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1301
|
+
</tr>
|
1302
|
+
<tr>
|
1303
|
+
<td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
|
1304
|
+
<td>
|
1305
|
+
<code class="literal">TRUE</code> if you want a separator line to be printed.</td>
|
1306
|
+
</tr>
|
1307
|
+
<tr>
|
1308
|
+
<td><p><span class="term"><em class="parameter"><code>left</code></em> :</span></p></td>
|
1309
|
+
<td>a format string to print on the left of the footer. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1310
|
+
</td>
|
1311
|
+
</tr>
|
1312
|
+
<tr>
|
1313
|
+
<td><p><span class="term"><em class="parameter"><code>center</code></em> :</span></p></td>
|
1314
|
+
<td>a format string to print on the center of the footer. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1315
|
+
</td>
|
1316
|
+
</tr>
|
1317
|
+
<tr>
|
1318
|
+
<td><p><span class="term"><em class="parameter"><code>right</code></em> :</span></p></td>
|
1319
|
+
<td>a format string to print on the right of the footer. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1320
|
+
</td>
|
1321
|
+
</tr>
|
1322
|
+
</tbody>
|
1323
|
+
</table></div>
|
1324
|
+
<p class="since">Since 2.2</p>
|
1325
|
+
</div>
|
1326
|
+
<hr>
|
1327
|
+
<div class="refsect2">
|
1328
|
+
<a name="gtk-source-print-compositor-get-n-pages"></a><h3>gtk_source_print_compositor_get_n_pages ()</h3>
|
1329
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> gtk_source_print_compositor_get_n_pages
|
1330
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
1331
|
+
<p>
|
1332
|
+
Returns the number of pages in the document or <code class="code">-1</code> if the
|
1333
|
+
document has not been completely paginated.
|
1334
|
+
</p>
|
1335
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1336
|
+
<colgroup>
|
1337
|
+
<col align="left" valign="top">
|
1338
|
+
<col>
|
1339
|
+
</colgroup>
|
1340
|
+
<tbody>
|
1341
|
+
<tr>
|
1342
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1343
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1344
|
+
</tr>
|
1345
|
+
<tr>
|
1346
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1347
|
+
<td>the number of pages in the document or <code class="code">-1</code> if the
|
1348
|
+
document has not been completely paginated.</td>
|
1349
|
+
</tr>
|
1350
|
+
</tbody>
|
1351
|
+
</table></div>
|
1352
|
+
<p class="since">Since 2.2</p>
|
1353
|
+
</div>
|
1354
|
+
<hr>
|
1355
|
+
<div class="refsect2">
|
1356
|
+
<a name="gtk-source-print-compositor-paginate"></a><h3>gtk_source_print_compositor_paginate ()</h3>
|
1357
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_print_compositor_paginate
|
1358
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1359
|
+
<em class="parameter"><code><span class="type">GtkPrintContext</span> *context</code></em>);</pre>
|
1360
|
+
<p>
|
1361
|
+
Paginate the document associated with the <em class="parameter"><code>compositor</code></em>.
|
1362
|
+
</p>
|
1363
|
+
<p>
|
1364
|
+
In order to support non-blocking pagination, document is paginated in small chunks.
|
1365
|
+
Each time <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> is invoked, a chunk of the document
|
1366
|
+
is paginated. To paginate the entire document, <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a>
|
1367
|
+
must be invoked multiple times.
|
1368
|
+
It returns <code class="literal">TRUE</code> if the document has been completely paginated, otherwise it returns <code class="literal">FALSE</code>.
|
1369
|
+
</p>
|
1370
|
+
<p>
|
1371
|
+
This method has been designed to be invoked in the handler of the <span class="type">"paginate"</span> signal,
|
1372
|
+
as shown in the following example:
|
1373
|
+
</p>
|
1374
|
+
<p>
|
1375
|
+
</p>
|
1376
|
+
<div class="informalexample">
|
1377
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1378
|
+
<tbody>
|
1379
|
+
<tr>
|
1380
|
+
<td class="listing_lines" align="right"><pre>1
|
1381
|
+
2
|
1382
|
+
3
|
1383
|
+
4
|
1384
|
+
5
|
1385
|
+
6
|
1386
|
+
7
|
1387
|
+
8
|
1388
|
+
9
|
1389
|
+
10
|
1390
|
+
11
|
1391
|
+
12
|
1392
|
+
13
|
1393
|
+
14
|
1394
|
+
15
|
1395
|
+
16
|
1396
|
+
17
|
1397
|
+
18
|
1398
|
+
19
|
1399
|
+
20
|
1400
|
+
21
|
1401
|
+
22
|
1402
|
+
23</pre></td>
|
1403
|
+
<td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::paginate signal</span>
|
1404
|
+
|
1405
|
+
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
1406
|
+
<span class="function">paginate</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">operation</span><span class="symbol">,</span>
|
1407
|
+
<span class="normal"> </span><span class="usertype">GtkPrintContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
|
1408
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
1409
|
+
<span class="cbracket">{</span>
|
1410
|
+
<span class="normal"> </span><span class="usertype">GtkSourcePrintCompositor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">compositor</span><span class="symbol">;</span>
|
1411
|
+
|
1412
|
+
<span class="normal"> compositor </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_SOURCE_PRINT_COMPOSITOR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
|
1413
|
+
|
1414
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate">gtk_source_print_compositor_paginate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">,</span><span class="normal"> context</span><span class="symbol">))</span>
|
1415
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1416
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> n_pages</span><span class="symbol">;</span>
|
1417
|
+
|
1418
|
+
<span class="normal"> n_pages </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-n-pages">gtk_source_print_compositor_get_n_pages</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">);</span>
|
1419
|
+
<span class="normal"> </span><span class="function">gtk_print_operation_set_n_pages</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">operation</span><span class="symbol">,</span><span class="normal"> n_pages</span><span class="symbol">);</span>
|
1420
|
+
|
1421
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
1422
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1423
|
+
|
1424
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
1425
|
+
<span class="cbracket">}</span></pre></td>
|
1426
|
+
</tr>
|
1427
|
+
</tbody>
|
1428
|
+
</table>
|
1429
|
+
</div>
|
1430
|
+
|
1431
|
+
<p>
|
1432
|
+
</p>
|
1433
|
+
<p>
|
1434
|
+
If you don't need to do pagination in chunks, you can simply do it all in the
|
1435
|
+
<span class="type">"begin-print"</span> handler, and set the number of pages from there, like
|
1436
|
+
in the following example:
|
1437
|
+
</p>
|
1438
|
+
<p>
|
1439
|
+
</p>
|
1440
|
+
<div class="informalexample">
|
1441
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1442
|
+
<tbody>
|
1443
|
+
<tr>
|
1444
|
+
<td class="listing_lines" align="right"><pre>1
|
1445
|
+
2
|
1446
|
+
3
|
1447
|
+
4
|
1448
|
+
5
|
1449
|
+
6
|
1450
|
+
7
|
1451
|
+
8
|
1452
|
+
9
|
1453
|
+
10
|
1454
|
+
11
|
1455
|
+
12
|
1456
|
+
13
|
1457
|
+
14
|
1458
|
+
15
|
1459
|
+
16
|
1460
|
+
17</pre></td>
|
1461
|
+
<td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::begin-print signal</span>
|
1462
|
+
|
1463
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1464
|
+
<span class="function">begin_print</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">operation</span><span class="symbol">,</span>
|
1465
|
+
<span class="normal"> </span><span class="usertype">GtkPrintContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
|
1466
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
1467
|
+
<span class="cbracket">{</span>
|
1468
|
+
<span class="normal"> </span><span class="usertype">GtkSourcePrintCompositor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">compositor</span><span class="symbol">;</span>
|
1469
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> n_pages</span><span class="symbol">;</span>
|
1470
|
+
|
1471
|
+
<span class="normal"> compositor </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_SOURCE_PRINT_COMPOSITOR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
|
1472
|
+
|
1473
|
+
<span class="normal"> </span><span class="keyword">while</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate">gtk_source_print_compositor_paginate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">,</span><span class="normal"> context</span><span class="symbol">));</span>
|
1474
|
+
|
1475
|
+
<span class="normal"> n_pages </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-n-pages">gtk_source_print_compositor_get_n_pages</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">);</span>
|
1476
|
+
<span class="normal"> </span><span class="function">gtk_print_operation_set_n_pages</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">operation</span><span class="symbol">,</span><span class="normal"> n_pages</span><span class="symbol">);</span>
|
1477
|
+
<span class="cbracket">}</span></pre></td>
|
1478
|
+
</tr>
|
1479
|
+
</tbody>
|
1480
|
+
</table>
|
1481
|
+
</div>
|
1482
|
+
|
1483
|
+
<p>
|
1484
|
+
</p>
|
1485
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1486
|
+
<colgroup>
|
1487
|
+
<col align="left" valign="top">
|
1488
|
+
<col>
|
1489
|
+
</colgroup>
|
1490
|
+
<tbody>
|
1491
|
+
<tr>
|
1492
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1493
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1494
|
+
</tr>
|
1495
|
+
<tr>
|
1496
|
+
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
1497
|
+
<td>the <span class="type">GtkPrintContext</span> whose parameters (e.g. paper size, print margins, etc.)
|
1498
|
+
are used by the the <em class="parameter"><code>compositor</code></em> to paginate the document.</td>
|
1499
|
+
</tr>
|
1500
|
+
<tr>
|
1501
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1502
|
+
<td>
|
1503
|
+
<code class="literal">TRUE</code> if the document has been completely paginated, <code class="literal">FALSE</code> otherwise.</td>
|
1504
|
+
</tr>
|
1505
|
+
</tbody>
|
1506
|
+
</table></div>
|
1507
|
+
<p class="since">Since 2.2</p>
|
1508
|
+
</div>
|
1509
|
+
<hr>
|
1510
|
+
<div class="refsect2">
|
1511
|
+
<a name="gtk-source-print-compositor-get-pagination-progress"></a><h3>gtk_source_print_compositor_get_pagination_progress ()</h3>
|
1512
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span> gtk_source_print_compositor_get_pagination_progress
|
1513
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
1514
|
+
<p>
|
1515
|
+
Returns the current fraction of the document pagination that has been completed.
|
1516
|
+
</p>
|
1517
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1518
|
+
<colgroup>
|
1519
|
+
<col align="left" valign="top">
|
1520
|
+
<col>
|
1521
|
+
</colgroup>
|
1522
|
+
<tbody>
|
1523
|
+
<tr>
|
1524
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1525
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1526
|
+
</tr>
|
1527
|
+
<tr>
|
1528
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1529
|
+
<td>a fraction from 0.0 to 1.0 inclusive.</td>
|
1530
|
+
</tr>
|
1531
|
+
</tbody>
|
1532
|
+
</table></div>
|
1533
|
+
<p class="since">Since 2.2</p>
|
1534
|
+
</div>
|
1535
|
+
<hr>
|
1536
|
+
<div class="refsect2">
|
1537
|
+
<a name="gtk-source-print-compositor-draw-page"></a><h3>gtk_source_print_compositor_draw_page ()</h3>
|
1538
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_draw_page
|
1539
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1540
|
+
<em class="parameter"><code><span class="type">GtkPrintContext</span> *context</code></em>,
|
1541
|
+
<em class="parameter"><code><span class="type">gint</span> page_nr</code></em>);</pre>
|
1542
|
+
<p>
|
1543
|
+
Draw page <em class="parameter"><code>page_nr</code></em> for printing on the the Cairo context encapsuled in <em class="parameter"><code>context</code></em>.
|
1544
|
+
</p>
|
1545
|
+
<p>
|
1546
|
+
This method has been designed to be called in the handler of the <span class="type">"draw_page"</span> signal
|
1547
|
+
as shown in the following example:
|
1548
|
+
</p>
|
1549
|
+
<p>
|
1550
|
+
</p>
|
1551
|
+
<div class="informalexample">
|
1552
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1553
|
+
<tbody>
|
1554
|
+
<tr>
|
1555
|
+
<td class="listing_lines" align="right"><pre>1
|
1556
|
+
2
|
1557
|
+
3
|
1558
|
+
4
|
1559
|
+
5
|
1560
|
+
6
|
1561
|
+
7
|
1562
|
+
8
|
1563
|
+
9
|
1564
|
+
10
|
1565
|
+
11
|
1566
|
+
12
|
1567
|
+
13
|
1568
|
+
14
|
1569
|
+
15
|
1570
|
+
16</pre></td>
|
1571
|
+
<td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::draw_page signal</span>
|
1572
|
+
|
1573
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1574
|
+
<span class="function">draw_page</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">operation</span><span class="symbol">,</span>
|
1575
|
+
<span class="normal"> </span><span class="usertype">GtkPrintContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
|
1576
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> page_nr</span><span class="symbol">,</span>
|
1577
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
1578
|
+
<span class="cbracket">{</span>
|
1579
|
+
<span class="normal"> </span><span class="usertype">GtkSourcePrintCompositor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">compositor</span><span class="symbol">;</span>
|
1580
|
+
|
1581
|
+
<span class="normal"> compositor </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_SOURCE_PRINT_COMPOSITOR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
|
1582
|
+
|
1583
|
+
<span class="normal"> </span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-draw-page">gtk_source_print_compositor_draw_page</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">,</span>
|
1584
|
+
<span class="normal"> context</span><span class="symbol">,</span>
|
1585
|
+
<span class="normal"> page_nr</span><span class="symbol">);</span>
|
1586
|
+
<span class="cbracket">}</span></pre></td>
|
1587
|
+
</tr>
|
1588
|
+
</tbody>
|
1589
|
+
</table>
|
1590
|
+
</div>
|
1591
|
+
|
1592
|
+
<p>
|
1593
|
+
</p>
|
1594
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1595
|
+
<colgroup>
|
1596
|
+
<col align="left" valign="top">
|
1597
|
+
<col>
|
1598
|
+
</colgroup>
|
1599
|
+
<tbody>
|
1600
|
+
<tr>
|
1601
|
+
<td><p><span class="term"><em class="parameter"><code>compositor</code></em> :</span></p></td>
|
1602
|
+
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1603
|
+
</tr>
|
1604
|
+
<tr>
|
1605
|
+
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
1606
|
+
<td>the <span class="type">GtkPrintContext</span> encapsulating the context information that is required when
|
1607
|
+
drawing the page for printing.</td>
|
1608
|
+
</tr>
|
1609
|
+
<tr>
|
1610
|
+
<td><p><span class="term"><em class="parameter"><code>page_nr</code></em> :</span></p></td>
|
1611
|
+
<td>the number of the page to print.</td>
|
1612
|
+
</tr>
|
1613
|
+
</tbody>
|
1614
|
+
</table></div>
|
1615
|
+
</div>
|
1616
|
+
</div>
|
1617
|
+
<div class="refsect1">
|
1618
|
+
<a name="GtkSourcePrintCompositor.property-details"></a><h2>Property Details</h2>
|
1619
|
+
<div class="refsect2">
|
1620
|
+
<a name="GtkSourcePrintCompositor--body-font-name"></a><h3>The <code class="literal">"body-font-name"</code> property</h3>
|
1621
|
+
<pre class="programlisting"> "body-font-name" <span class="type">gchar</span>* : Read / Write</pre>
|
1622
|
+
<p>
|
1623
|
+
Name of the font used for the text body.
|
1624
|
+
</p>
|
1625
|
+
<p>
|
1626
|
+
Accepted values are strings representing a font description Pango can understand.
|
1627
|
+
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
|
1628
|
+
for a description of the format of the string representation.
|
1629
|
+
</p>
|
1630
|
+
<p>
|
1631
|
+
The value of this property cannot be changed anymore after the first
|
1632
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1633
|
+
</p>
|
1634
|
+
<p>Default value: NULL</p>
|
1635
|
+
<p class="since">Since 2.2</p>
|
1636
|
+
</div>
|
1637
|
+
<hr>
|
1638
|
+
<div class="refsect2">
|
1639
|
+
<a name="GtkSourcePrintCompositor--buffer"></a><h3>The <code class="literal">"buffer"</code> property</h3>
|
1640
|
+
<pre class="programlisting"> "buffer" <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>* : Read / Write / Construct Only</pre>
|
1641
|
+
<p>
|
1642
|
+
The GtkSourceBuffer object to print.
|
1643
|
+
</p>
|
1644
|
+
<p class="since">Since 2.2</p>
|
1645
|
+
</div>
|
1646
|
+
<hr>
|
1647
|
+
<div class="refsect2">
|
1648
|
+
<a name="GtkSourcePrintCompositor--footer-font-name"></a><h3>The <code class="literal">"footer-font-name"</code> property</h3>
|
1649
|
+
<pre class="programlisting"> "footer-font-name" <span class="type">gchar</span>* : Read / Write</pre>
|
1650
|
+
<p>
|
1651
|
+
Name of the font used to print page footer.
|
1652
|
+
If this property is unspecified, the text body font is used.
|
1653
|
+
</p>
|
1654
|
+
<p>
|
1655
|
+
Accepted values are strings representing a font description Pango can understand.
|
1656
|
+
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
|
1657
|
+
for a description of the format of the string representation.
|
1658
|
+
</p>
|
1659
|
+
<p>
|
1660
|
+
The value of this property cannot be changed anymore after the first
|
1661
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1662
|
+
</p>
|
1663
|
+
<p>Default value: NULL</p>
|
1664
|
+
<p class="since">Since 2.2</p>
|
1665
|
+
</div>
|
1666
|
+
<hr>
|
1667
|
+
<div class="refsect2">
|
1668
|
+
<a name="GtkSourcePrintCompositor--header-font-name"></a><h3>The <code class="literal">"header-font-name"</code> property</h3>
|
1669
|
+
<pre class="programlisting"> "header-font-name" <span class="type">gchar</span>* : Read / Write</pre>
|
1670
|
+
<p>
|
1671
|
+
Name of the font used to print page header.
|
1672
|
+
If this property is unspecified, the text body font is used.
|
1673
|
+
</p>
|
1674
|
+
<p>
|
1675
|
+
Accepted values are strings representing a font description Pango can understand.
|
1676
|
+
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
|
1677
|
+
for a description of the format of the string representation.
|
1678
|
+
</p>
|
1679
|
+
<p>
|
1680
|
+
The value of this property cannot be changed anymore after the first
|
1681
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1682
|
+
</p>
|
1683
|
+
<p>Default value: NULL</p>
|
1684
|
+
<p class="since">Since 2.2</p>
|
1685
|
+
</div>
|
1686
|
+
<hr>
|
1687
|
+
<div class="refsect2">
|
1688
|
+
<a name="GtkSourcePrintCompositor--highlight-syntax"></a><h3>The <code class="literal">"highlight-syntax"</code> property</h3>
|
1689
|
+
<pre class="programlisting"> "highlight-syntax" <span class="type">gboolean</span> : Read / Write</pre>
|
1690
|
+
<p>
|
1691
|
+
Whether to print the document with highlighted syntax.
|
1692
|
+
</p>
|
1693
|
+
<p>
|
1694
|
+
The value of this property cannot be changed anymore after the first
|
1695
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1696
|
+
</p>
|
1697
|
+
<p>Default value: TRUE</p>
|
1698
|
+
<p class="since">Since 2.2</p>
|
1699
|
+
</div>
|
1700
|
+
<hr>
|
1701
|
+
<div class="refsect2">
|
1702
|
+
<a name="GtkSourcePrintCompositor--line-numbers-font-name"></a><h3>The <code class="literal">"line-numbers-font-name"</code> property</h3>
|
1703
|
+
<pre class="programlisting"> "line-numbers-font-name" <span class="type">gchar</span>* : Read / Write</pre>
|
1704
|
+
<p>
|
1705
|
+
Name of the font used to print line numbers on the left margin.
|
1706
|
+
If this property is unspecified, the text body font is used.
|
1707
|
+
</p>
|
1708
|
+
<p>
|
1709
|
+
Accepted values are strings representing a font description Pango can understand.
|
1710
|
+
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
|
1711
|
+
for a description of the format of the string representation.
|
1712
|
+
</p>
|
1713
|
+
<p>
|
1714
|
+
The value of this property cannot be changed anymore after the first
|
1715
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1716
|
+
</p>
|
1717
|
+
<p>Default value: NULL</p>
|
1718
|
+
<p class="since">Since 2.2</p>
|
1719
|
+
</div>
|
1720
|
+
<hr>
|
1721
|
+
<div class="refsect2">
|
1722
|
+
<a name="GtkSourcePrintCompositor--n-pages"></a><h3>The <code class="literal">"n-pages"</code> property</h3>
|
1723
|
+
<pre class="programlisting"> "n-pages" <span class="type">gint</span> : Read</pre>
|
1724
|
+
<p>
|
1725
|
+
The number of pages in the document or <code class="code">-1</code> if the
|
1726
|
+
document has not been completely paginated.
|
1727
|
+
</p>
|
1728
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
1729
|
+
<p>Default value: -1</p>
|
1730
|
+
<p class="since">Since 2.2</p>
|
1731
|
+
</div>
|
1732
|
+
<hr>
|
1733
|
+
<div class="refsect2">
|
1734
|
+
<a name="GtkSourcePrintCompositor--print-footer"></a><h3>The <code class="literal">"print-footer"</code> property</h3>
|
1735
|
+
<pre class="programlisting"> "print-footer" <span class="type">gboolean</span> : Read / Write</pre>
|
1736
|
+
<p>
|
1737
|
+
Whether to print a footer in each page.
|
1738
|
+
</p>
|
1739
|
+
<p>
|
1740
|
+
Note that by default the footer format is unspecified, and if it is
|
1741
|
+
unspecified the footer will not be printed, regardless of the value of
|
1742
|
+
this property.
|
1743
|
+
</p>
|
1744
|
+
<p>
|
1745
|
+
The value of this property cannot be changed anymore after the first
|
1746
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1747
|
+
</p>
|
1748
|
+
<p>Default value: FALSE</p>
|
1749
|
+
<p class="since">Since 2.2</p>
|
1750
|
+
</div>
|
1751
|
+
<hr>
|
1752
|
+
<div class="refsect2">
|
1753
|
+
<a name="GtkSourcePrintCompositor--print-header"></a><h3>The <code class="literal">"print-header"</code> property</h3>
|
1754
|
+
<pre class="programlisting"> "print-header" <span class="type">gboolean</span> : Read / Write</pre>
|
1755
|
+
<p>
|
1756
|
+
Whether to print a header in each page.
|
1757
|
+
</p>
|
1758
|
+
<p>
|
1759
|
+
Note that by default the header format is unspecified, and if it is
|
1760
|
+
unspecified the header will not be printed, regardless of the value of
|
1761
|
+
this property.
|
1762
|
+
</p>
|
1763
|
+
<p>
|
1764
|
+
The value of this property cannot be changed anymore after the first
|
1765
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1766
|
+
</p>
|
1767
|
+
<p>Default value: FALSE</p>
|
1768
|
+
<p class="since">Since 2.2</p>
|
1769
|
+
</div>
|
1770
|
+
<hr>
|
1771
|
+
<div class="refsect2">
|
1772
|
+
<a name="GtkSourcePrintCompositor--print-line-numbers"></a><h3>The <code class="literal">"print-line-numbers"</code> property</h3>
|
1773
|
+
<pre class="programlisting"> "print-line-numbers" <span class="type">guint</span> : Read / Write</pre>
|
1774
|
+
<p>
|
1775
|
+
Interval of printed line numbers. If this property is set to 0 no
|
1776
|
+
numbers will be printed. If greater than 0, a number will be
|
1777
|
+
printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).
|
1778
|
+
</p>
|
1779
|
+
<p>
|
1780
|
+
The value of this property cannot be changed anymore after the first
|
1781
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1782
|
+
</p>
|
1783
|
+
<p>Allowed values: <= 100</p>
|
1784
|
+
<p>Default value: 1</p>
|
1785
|
+
<p class="since">Since 2.2</p>
|
1786
|
+
</div>
|
1787
|
+
<hr>
|
1788
|
+
<div class="refsect2">
|
1789
|
+
<a name="GtkSourcePrintCompositor--tab-width"></a><h3>The <code class="literal">"tab-width"</code> property</h3>
|
1790
|
+
<pre class="programlisting"> "tab-width" <span class="type">guint</span> : Read / Write</pre>
|
1791
|
+
<p>
|
1792
|
+
Width of a tab character expressed in spaces.
|
1793
|
+
</p>
|
1794
|
+
<p>
|
1795
|
+
The value of this property cannot be changed anymore after the first
|
1796
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1797
|
+
</p>
|
1798
|
+
<p>Allowed values: [1,32]</p>
|
1799
|
+
<p>Default value: 8</p>
|
1800
|
+
<p class="since">Since 2.2</p>
|
1801
|
+
</div>
|
1802
|
+
<hr>
|
1803
|
+
<div class="refsect2">
|
1804
|
+
<a name="GtkSourcePrintCompositor--wrap-mode"></a><h3>The <code class="literal">"wrap-mode"</code> property</h3>
|
1805
|
+
<pre class="programlisting"> "wrap-mode" <span class="type">GtkWrapMode</span> : Read / Write</pre>
|
1806
|
+
<p>
|
1807
|
+
Whether to wrap lines never, at word boundaries, or at character boundaries.
|
1808
|
+
</p>
|
1809
|
+
<p>
|
1810
|
+
The value of this property cannot be changed anymore after the first
|
1811
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1812
|
+
</p>
|
1813
|
+
<p>Default value: GTK_WRAP_NONE</p>
|
1814
|
+
<p class="since">Since 2.2</p>
|
1815
|
+
</div>
|
1816
|
+
</div>
|
1817
|
+
</div>
|
1818
|
+
<div class="footer">
|
1819
|
+
<hr>
|
1820
|
+
Generated by GTK-Doc V1.18.1</div>
|
1821
|
+
</body>
|
1822
|
+
</html>
|