gtksourceview2 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +57 -0
- data/README +29 -0
- data/Rakefile +14 -0
- data/ext/gtksourceview2/depend +5 -0
- data/ext/gtksourceview2/extconf.rb +73 -0
- data/ext/gtksourceview2/gtksourceview2.def +2 -0
- data/ext/gtksourceview2/rbgtksourcebuffer.c +401 -0
- data/ext/gtksourceview2/rbgtksourceiter.c +110 -0
- data/ext/gtksourceview2/rbgtksourcelanguage.c +126 -0
- data/ext/gtksourceview2/rbgtksourcelanguagemanager.c +188 -0
- data/ext/gtksourceview2/rbgtksourcemain.c +38 -0
- data/ext/gtksourceview2/rbgtksourcemain.h +32 -0
- data/ext/gtksourceview2/rbgtksourcemark.c +90 -0
- data/ext/gtksourceview2/rbgtksourceprintcompositor.c +249 -0
- data/ext/gtksourceview2/rbgtksourcestyle.c +48 -0
- data/ext/gtksourceview2/rbgtksourcestylescheme.c +71 -0
- data/ext/gtksourceview2/rbgtksourcestyleschememanager.c +211 -0
- data/ext/gtksourceview2/rbgtksourceview.c +239 -0
- data/extconf.rb +49 -0
- data/lib/1.8/gtksourceview2.so +0 -0
- data/lib/1.9/gtksourceview2.so +0 -0
- data/lib/gtksourceview2.rb +2 -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-2.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-2.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +67 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcebuffer.h +181 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletion.h +131 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletioncontext.h +98 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletioninfo.h +82 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionitem.h +71 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionproposal.h +76 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionprovider.h +119 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcegutter.h +106 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceiter.h +53 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcelanguage.h +83 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcelanguagemanager.h +86 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcemark.h +71 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceprintcompositor.h +177 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestyle.h +41 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestylescheme.h +91 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestyleschememanager.h +90 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceundomanager.h +77 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceview-typebuiltins.h +44 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceview.h +272 -0
- data/vendor/local/include/libxml2/libxml/DOCBparser.h +96 -0
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +304 -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 +69 -0
- data/vendor/local/include/libxml2/libxml/encoding.h +226 -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 +143 -0
- data/vendor/local/include/libxml2/libxml/nanohttp.h +81 -0
- data/vendor/local/include/libxml2/libxml/parser.h +1235 -0
- data/vendor/local/include/libxml2/libxml/parserInternals.h +611 -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 +1252 -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 +360 -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 +424 -0
- data/vendor/local/include/libxml2/libxml/xmlregexp.h +222 -0
- data/vendor/local/include/libxml2/libxml/xmlsave.h +87 -0
- data/vendor/local/include/libxml2/libxml/xmlschemas.h +218 -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 +458 -0
- data/vendor/local/include/libxml2/libxml/xmlwriter.h +485 -0
- data/vendor/local/include/libxml2/libxml/xpath.h +546 -0
- data/vendor/local/include/libxml2/libxml/xpathInternals.h +630 -0
- data/vendor/local/include/libxml2/libxml/xpointer.h +114 -0
- data/vendor/local/lib/libgtksourceview-2.0.dll.a +0 -0
- data/vendor/local/lib/libxml2.def +1657 -0
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.lib +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-2.0.pc +12 -0
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +13 -0
- data/vendor/local/manifest/libxml2-dev_2.7.7-1_win32.mft +267 -0
- data/vendor/local/manifest/libxml2_2.7.7-1_win32.mft +2 -0
- data/vendor/local/share/aclocal/libxml.m4 +188 -0
- data/vendor/local/share/doc/libxml2-2.7.7/Copyright +27 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/testHTML.c +880 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/testSAX.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/testXPath.c +227 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/xmllint.c +3722 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/DOM.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/FAQ.html +282 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/encoding.html +206 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/examples.xml +751 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/examples.xsl +174 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/book1.html +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/index.html +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/left.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-DOCBparser.html +51 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-HTMLparser.html +182 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-HTMLtree.html +73 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-SAX.html +125 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-SAX2.html +128 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-c14n.html +38 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-catalog.html +142 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-chvalid.html +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-debugXML.html +120 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-dict.html +49 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-encoding.html +118 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-entities.html +79 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-globals.html +152 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-hash.html +116 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-lib.html +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-list.html +120 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-nanoftp.html +92 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-nanohttp.html +65 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-parser.html +555 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-parserInternals.html +319 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-pattern.html +76 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-relaxng.html +162 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-schemasInternals.html +373 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-schematron.html +81 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-threads.html +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-tree.html +958 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-uri.html +73 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-valid.html +289 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xinclude.html +59 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xlink.html +82 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlIO.html +206 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlautomata.html +85 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlerror.html +862 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlexports.html +20 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlmemory.html +107 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlmodule.html +38 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlreader.html +327 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlregexp.html +143 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlsave.html +59 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlschemas.html +173 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlschemastypes.html +123 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlstring.html +108 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlunicode.html +512 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlversion.html +60 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlwriter.html +258 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpath.html +307 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpathInternals.html +394 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpointer.html +83 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/right.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io1.c +166 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io2.c +58 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io2.res +2 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/libxml.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse1.c +56 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse2.c +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse3.c +60 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse4.c +143 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader1.c +107 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader1.res +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader2.c +122 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader3.c +120 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader3.res +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader4.c +122 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader4.res +3 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/redhat.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/structure.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/test1.xml +1 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/test2.xml +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/test3.xml +39 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/testWriter.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree1.c +94 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree1.res +4 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree2.c +118 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree2.res +18 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tst.xml +7 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apa.html +8 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apb.html +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apc.html +82 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apd.html +76 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ape.html +78 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apf.html +67 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apg.html +75 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/aph.html +76 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/api.html +4 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s02.html +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s03.html +47 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s04.html +54 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s05.html +55 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s06.html +35 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s07.html +30 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s08.html +38 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s09.html +63 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeaddattribute.c +64 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeaddkeyword.c +75 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeconvert.c +73 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includegetattribute.c +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includekeyword.c +79 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includexpath.c +74 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/index.html +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ix01.html +1 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/xmltutorial.pdf +1336 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/w3c.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/writer.xml +2 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xml.html +5344 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath1.c +250 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath2.c +190 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath2.res +30 -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 +371 -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 +119 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +208 -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 +177 -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 +762 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +673 -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 +1542 -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 +337 -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 +950 -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 +560 -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 +132 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +299 -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 +277 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +474 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +529 -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 +3529 -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-2.0/language-specs/R.lang +128 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ada.lang +220 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/asp.lang +1096 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/awk.lang +137 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/bibtex.lang +92 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/boo.lang +256 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/c.lang +272 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cg.lang +231 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/changelog.lang +91 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/chdr.lang +42 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cmake.lang +407 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cpp.lang +106 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/csharp.lang +280 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/css.lang +516 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cuda.lang +288 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/d.lang +295 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/def.lang +268 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/desktop.lang +299 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/diff.lang +84 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/docbook.lang +475 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dosbatch.lang +166 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dot.lang +139 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dpatch.lang +47 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dtd.lang +139 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/eiffel.lang +238 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/erlang.lang +248 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/forth.lang +234 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/fortran.lang +511 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/fsharp.lang +322 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/gap.lang +84 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/glsl.lang +482 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/gtk-doc.lang +90 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/gtkrc.lang +115 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/haddock.lang +161 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/haskell-literate.lang +58 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/haskell.lang +226 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/html.lang +160 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/idl.lang +153 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ini.lang +94 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/java.lang +208 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/javascript.lang +334 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/language.dtd +72 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/language.rng +372 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/language2.rng +490 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/latex.lang +298 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/libtool.lang +55 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/lua.lang +156 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/m4.lang +803 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/makefile.lang +195 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/mallard.lang +122 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/msil.lang +490 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/nemerle.lang +262 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/nsis.lang +87 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/objc.lang +119 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ocaml.lang +299 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ocl.lang +138 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/octave.lang +238 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ooc.lang +264 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/pascal.lang +264 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/perl.lang +1017 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/php.lang +329 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/pkgconfig.lang +61 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/po.lang +94 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/prolog.lang +248 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/python.lang +390 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/rpmspec.lang +204 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ruby.lang +588 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/scheme.lang +301 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/sh.lang +499 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/sparql.lang +447 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/sql.lang +617 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/styles.rng +138 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/t2t.lang +149 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/tcl.lang +145 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/texinfo.lang +447 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/vala.lang +227 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/vbnet.lang +244 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/verilog.lang +249 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/vhdl.lang +247 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/xml.lang +219 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/xslt.lang +107 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/yacc.lang +172 -0
- data/vendor/local/share/gtksourceview-2.0/styles/classic.xml +99 -0
- data/vendor/local/share/gtksourceview-2.0/styles/cobalt.xml +134 -0
- data/vendor/local/share/gtksourceview-2.0/styles/kate.xml +155 -0
- data/vendor/local/share/gtksourceview-2.0/styles/oblivion.xml +112 -0
- data/vendor/local/share/gtksourceview-2.0/styles/styles.rng +138 -0
- data/vendor/local/share/gtksourceview-2.0/styles/tango.xml +116 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/man/man1/xml2-config.1 +31 -0
- data/vendor/local/share/man/man1/xmlcatalog.1 +229 -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/tml/packaging/libxml2_2.7.7-1_win32.log +1244 -0
- data/vendor/local/src/tml/packaging/libxml2_2.7.7-1_win32.sh +66 -0
- metadata +567 -0
@@ -0,0 +1,249 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/************************************************
|
3
|
+
|
4
|
+
rbgtksourceprintcompositor.c -
|
5
|
+
|
6
|
+
$Author: ggc $
|
7
|
+
$Date: 2007/07/13 16:07:33 $
|
8
|
+
|
9
|
+
Copyright (C) 2005 Masao Mutoh
|
10
|
+
************************************************/
|
11
|
+
#include "rbgtksourcemain.h"
|
12
|
+
|
13
|
+
#ifdef HAVE_GTK_SOURCE_PRINT_COMPOSITOR_GET_TYPE
|
14
|
+
/* Module: Gtk::SourcePrintCompositor
|
15
|
+
*/
|
16
|
+
#define _SELF(self) (GTK_SOURCE_PRINT_COMPOSITOR(RVAL2GOBJ(self)))
|
17
|
+
#define RVAL2UNIT(o) (RVAL2GENUM(o, GTK_TYPE_UNIT))
|
18
|
+
|
19
|
+
/*
|
20
|
+
* Class method: new(buffer)
|
21
|
+
* buffer: a Gtk::SourceBuffer or Gtk::SourceView object.
|
22
|
+
*
|
23
|
+
* Creates a new print compositor to print buffer.
|
24
|
+
*
|
25
|
+
* Returns: the new print compositor object.
|
26
|
+
*/
|
27
|
+
static VALUE
|
28
|
+
sprintcompositor_initialize (self, val)
|
29
|
+
VALUE self, val;
|
30
|
+
{
|
31
|
+
if (rb_obj_is_kind_of (val, GTYPE2CLASS (GTK_TYPE_SOURCE_BUFFER))) {
|
32
|
+
G_INITIALIZE(self,
|
33
|
+
gtk_source_print_compositor_new (GTK_SOURCE_BUFFER (RVAL2GOBJ (val))));
|
34
|
+
} else
|
35
|
+
if (rb_obj_is_kind_of (val, GTYPE2CLASS (GTK_TYPE_SOURCE_VIEW))) {
|
36
|
+
G_INITIALIZE(self,
|
37
|
+
gtk_source_print_compositor_new_from_view (GTK_SOURCE_VIEW (RVAL2GOBJ (val))));
|
38
|
+
} else {
|
39
|
+
rb_raise (rb_eArgError,
|
40
|
+
"invalid argument %s (expect Gtk::SourceBuffer or Gtk::SourceView)",
|
41
|
+
rb_class2name (CLASS_OF (val)));
|
42
|
+
}
|
43
|
+
return Qnil;
|
44
|
+
}
|
45
|
+
|
46
|
+
/* Defined as properties.
|
47
|
+
GtkSourceBuffer* gtk_source_print_compositor_get_buffer
|
48
|
+
(GtkSourcePrintCompositor *compositor);
|
49
|
+
void gtk_source_print_compositor_set_tab_width
|
50
|
+
(GtkSourcePrintCompositor *compositor,
|
51
|
+
guint width);
|
52
|
+
guint gtk_source_print_compositor_get_tab_width
|
53
|
+
(GtkSourcePrintCompositor *compositor);
|
54
|
+
void gtk_source_print_compositor_set_wrap_mode
|
55
|
+
(GtkSourcePrintCompositor *compositor,
|
56
|
+
GtkWrapMode wrap_mode);
|
57
|
+
GtkWrapMode gtk_source_print_compositor_get_wrap_mode
|
58
|
+
(GtkSourcePrintCompositor *compositor);
|
59
|
+
void gtk_source_print_compositor_set_highlight_syntax
|
60
|
+
(GtkSourcePrintCompositor *compositor,
|
61
|
+
gboolean highlight);
|
62
|
+
gboolean gtk_source_print_compositor_get_highlight_syntax
|
63
|
+
(GtkSourcePrintCompositor *compositor);
|
64
|
+
void gtk_source_print_compositor_set_print_line_numbers
|
65
|
+
(GtkSourcePrintCompositor *compositor,
|
66
|
+
guint interval);
|
67
|
+
guint gtk_source_print_compositor_get_print_line_numbers
|
68
|
+
(GtkSourcePrintCompositor *compositor);
|
69
|
+
void gtk_source_print_compositor_set_body_font_name
|
70
|
+
(GtkSourcePrintCompositor *compositor,
|
71
|
+
const gchar *font_name);
|
72
|
+
gchar* gtk_source_print_compositor_get_body_font_name
|
73
|
+
(GtkSourcePrintCompositor *compositor);
|
74
|
+
void gtk_source_print_compositor_set_line_numbers_font_name
|
75
|
+
(GtkSourcePrintCompositor *compositor,
|
76
|
+
const gchar *font_name);
|
77
|
+
gchar* gtk_source_print_compositor_get_line_numbers_font_name
|
78
|
+
(GtkSourcePrintCompositor *compositor);
|
79
|
+
void gtk_source_print_compositor_set_header_font_name
|
80
|
+
(GtkSourcePrintCompositor *compositor,
|
81
|
+
const gchar *font_name);
|
82
|
+
gchar* gtk_source_print_compositor_get_header_font_name
|
83
|
+
(GtkSourcePrintCompositor *compositor);
|
84
|
+
void gtk_source_print_compositor_set_footer_font_name
|
85
|
+
(GtkSourcePrintCompositor *compositor,
|
86
|
+
const gchar *font_name);
|
87
|
+
gchar* gtk_source_print_compositor_get_footer_font_name
|
88
|
+
(GtkSourcePrintCompositor *compositor);
|
89
|
+
void gtk_source_print_compositor_set_print_header
|
90
|
+
(GtkSourcePrintCompositor *compositor,
|
91
|
+
gboolean print);
|
92
|
+
gboolean gtk_source_print_compositor_get_print_header
|
93
|
+
(GtkSourcePrintCompositor *compositor);
|
94
|
+
void gtk_source_print_compositor_set_print_footer
|
95
|
+
(GtkSourcePrintCompositor *compositor,
|
96
|
+
gboolean print);
|
97
|
+
gboolean gtk_source_print_compositor_get_print_footer
|
98
|
+
(GtkSourcePrintCompositor *compositor);
|
99
|
+
gint gtk_source_print_compositor_get_n_pages
|
100
|
+
(GtkSourcePrintCompositor *compositor);
|
101
|
+
*/
|
102
|
+
|
103
|
+
static VALUE
|
104
|
+
sprintcompositor_get_top_margin(self, unit)
|
105
|
+
VALUE self, unit;
|
106
|
+
{
|
107
|
+
return DBL2NUM(gtk_source_print_compositor_get_top_margin(_SELF(self), RVAL2UNIT (unit)));
|
108
|
+
}
|
109
|
+
|
110
|
+
static VALUE
|
111
|
+
sprintcompositor_set_top_margin(self, top, unit)
|
112
|
+
VALUE self, top, unit;
|
113
|
+
{
|
114
|
+
gtk_source_print_compositor_set_top_margin(_SELF(self), NUM2DBL(top), RVAL2UNIT (unit));
|
115
|
+
return self;
|
116
|
+
}
|
117
|
+
|
118
|
+
static VALUE
|
119
|
+
sprintcompositor_get_bottom_margin(self, unit)
|
120
|
+
VALUE self, unit;
|
121
|
+
{
|
122
|
+
return DBL2NUM(gtk_source_print_compositor_get_bottom_margin(_SELF(self), RVAL2UNIT (unit)));
|
123
|
+
}
|
124
|
+
|
125
|
+
static VALUE
|
126
|
+
sprintcompositor_set_bottom_margin(self, bottom, unit)
|
127
|
+
VALUE self, bottom, unit;
|
128
|
+
{
|
129
|
+
gtk_source_print_compositor_set_bottom_margin(_SELF(self), NUM2DBL(bottom), RVAL2UNIT (unit));
|
130
|
+
return self;
|
131
|
+
}
|
132
|
+
|
133
|
+
static VALUE
|
134
|
+
sprintcompositor_get_left_margin(self, unit)
|
135
|
+
VALUE self, unit;
|
136
|
+
{
|
137
|
+
return DBL2NUM(gtk_source_print_compositor_get_left_margin(_SELF(self), RVAL2UNIT (unit)));
|
138
|
+
}
|
139
|
+
|
140
|
+
static VALUE
|
141
|
+
sprintcompositor_set_left_margin(self, left, unit)
|
142
|
+
VALUE self, left, unit;
|
143
|
+
{
|
144
|
+
gtk_source_print_compositor_set_left_margin(_SELF(self), NUM2DBL(left), RVAL2UNIT (unit));
|
145
|
+
return self;
|
146
|
+
}
|
147
|
+
|
148
|
+
static VALUE
|
149
|
+
sprintcompositor_get_right_margin(self, unit)
|
150
|
+
VALUE self, unit;
|
151
|
+
{
|
152
|
+
return DBL2NUM(gtk_source_print_compositor_get_right_margin(_SELF(self), RVAL2UNIT (unit)));
|
153
|
+
}
|
154
|
+
|
155
|
+
static VALUE
|
156
|
+
sprintcompositor_set_right_margin(self, right, unit)
|
157
|
+
VALUE self, right, unit;
|
158
|
+
{
|
159
|
+
gtk_source_print_compositor_set_right_margin(_SELF(self), NUM2DBL(right), RVAL2UNIT (unit));
|
160
|
+
return self;
|
161
|
+
}
|
162
|
+
|
163
|
+
static VALUE
|
164
|
+
sprintcompositor_set_header_format(self, separator, left, center, right)
|
165
|
+
VALUE self, separator, left, center, right;
|
166
|
+
{
|
167
|
+
gtk_source_print_compositor_set_header_format(_SELF(self),
|
168
|
+
RVAL2CBOOL(separator),
|
169
|
+
RVAL2CSTR(left),
|
170
|
+
RVAL2CSTR(center),
|
171
|
+
RVAL2CSTR(right));
|
172
|
+
return self;
|
173
|
+
}
|
174
|
+
|
175
|
+
static VALUE
|
176
|
+
sprintcompositor_set_footer_format(self, separator, left, center, right)
|
177
|
+
VALUE self, separator, left, center, right;
|
178
|
+
{
|
179
|
+
gtk_source_print_compositor_set_footer_format(_SELF(self),
|
180
|
+
RVAL2CBOOL(separator),
|
181
|
+
RVAL2CSTR(left),
|
182
|
+
RVAL2CSTR(center),
|
183
|
+
RVAL2CSTR(right));
|
184
|
+
return self;
|
185
|
+
}
|
186
|
+
|
187
|
+
static VALUE
|
188
|
+
sprintcompositor_paginate (self, context)
|
189
|
+
VALUE self, context;
|
190
|
+
{
|
191
|
+
return CBOOL2RVAL (gtk_source_print_compositor_paginate (_SELF (self),
|
192
|
+
GTK_PRINT_CONTEXT (RVAL2GOBJ (context))));
|
193
|
+
}
|
194
|
+
|
195
|
+
static VALUE
|
196
|
+
sprintcompositor_get_pagination_progress (self)
|
197
|
+
VALUE self;
|
198
|
+
{
|
199
|
+
return DBL2NUM (gtk_source_print_compositor_get_pagination_progress (_SELF (self)));
|
200
|
+
}
|
201
|
+
|
202
|
+
static VALUE
|
203
|
+
sprintcompositor_draw_page (self, context, page_nr)
|
204
|
+
VALUE self, context, page_nr;
|
205
|
+
{
|
206
|
+
gtk_source_print_compositor_draw_page (_SELF (self),
|
207
|
+
GTK_PRINT_CONTEXT (RVAL2GOBJ (context)),
|
208
|
+
NUM2INT (page_nr));
|
209
|
+
return self;
|
210
|
+
}
|
211
|
+
#endif /* HAVE_GTK_SOURCE_PRINT_COMPOSITOR_GET_TYPE */
|
212
|
+
|
213
|
+
void
|
214
|
+
Init_gtk_sourceprintcompositor()
|
215
|
+
{
|
216
|
+
#ifdef HAVE_GTK_SOURCE_PRINT_COMPOSITOR_GET_TYPE
|
217
|
+
VALUE pc = G_DEF_CLASS(GTK_TYPE_SOURCE_PRINT_COMPOSITOR, "SourcePrintCompositor", mGtk);
|
218
|
+
|
219
|
+
rb_define_method(pc, "initialize", sprintcompositor_initialize, 1);
|
220
|
+
rb_define_method(pc, "get_top_margin",
|
221
|
+
sprintcompositor_get_top_margin, 1);
|
222
|
+
rb_define_method(pc, "set_top_margin",
|
223
|
+
sprintcompositor_set_top_margin, 2);
|
224
|
+
rb_define_method(pc, "get_bottom_margin",
|
225
|
+
sprintcompositor_get_bottom_margin, 1);
|
226
|
+
rb_define_method(pc, "set_bottom_margin",
|
227
|
+
sprintcompositor_set_bottom_margin, 2);
|
228
|
+
rb_define_method(pc, "get_left_margin",
|
229
|
+
sprintcompositor_get_left_margin, 1);
|
230
|
+
rb_define_method(pc, "set_left_margin",
|
231
|
+
sprintcompositor_set_left_margin, 2);
|
232
|
+
rb_define_method(pc, "get_right_margin",
|
233
|
+
sprintcompositor_get_right_margin, 1);
|
234
|
+
rb_define_method(pc, "set_right_margin",
|
235
|
+
sprintcompositor_set_right_margin, 2);
|
236
|
+
rb_define_method(pc, "set_header_format",
|
237
|
+
sprintcompositor_set_header_format, 4);
|
238
|
+
rb_define_method(pc, "set_footer_format",
|
239
|
+
sprintcompositor_set_footer_format, 4);
|
240
|
+
rb_define_method(pc, "paginate",
|
241
|
+
sprintcompositor_paginate, 1);
|
242
|
+
rb_define_method(pc, "pagination_progress",
|
243
|
+
sprintcompositor_get_pagination_progress, 0);
|
244
|
+
rb_define_method(pc, "draw_page",
|
245
|
+
sprintcompositor_draw_page, 2);
|
246
|
+
|
247
|
+
G_DEF_SETTERS(pc);
|
248
|
+
#endif /* HAVE_GTK_SOURCE_PRINT_COMPOSITOR_GET_TYPE */
|
249
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/************************************************
|
3
|
+
|
4
|
+
rbgtksourcestyle.c -
|
5
|
+
|
6
|
+
$Author: mutoh $
|
7
|
+
$Date: 2005/10/02 18:40:34 $
|
8
|
+
|
9
|
+
Copyright (C) 2005 Masao Mutoh
|
10
|
+
************************************************/
|
11
|
+
#include "rbgtksourcemain.h"
|
12
|
+
|
13
|
+
/* Module: Gtk::SourceStyle
|
14
|
+
*/
|
15
|
+
|
16
|
+
#define _SELF(self) (GTK_SOURCE_STYLE(RVAL2GOBJ(self)))
|
17
|
+
|
18
|
+
static VALUE
|
19
|
+
sourcestyle_copy (self)
|
20
|
+
VALUE self;
|
21
|
+
{
|
22
|
+
return GOBJ2RVAL (gtk_source_style_copy (_SELF (self)));
|
23
|
+
}
|
24
|
+
|
25
|
+
/* Defined as properties.
|
26
|
+
"background" gchar* : Read / Write / Construct Only
|
27
|
+
"background-set" gboolean : Read / Write / Construct Only
|
28
|
+
"bold" gboolean : Read / Write / Construct Only
|
29
|
+
"bold-set" gboolean : Read / Write / Construct Only
|
30
|
+
"foreground" gchar* : Read / Write / Construct Only
|
31
|
+
"foreground-set" gboolean : Read / Write / Construct Only
|
32
|
+
"italic" gboolean : Read / Write / Construct Only
|
33
|
+
"italic-set" gboolean : Read / Write / Construct Only
|
34
|
+
"line-background" gchar* : Read / Write / Construct Only
|
35
|
+
"line-background-set" gboolean : Read / Write / Construct Only
|
36
|
+
"strikethrough" gboolean : Read / Write / Construct Only
|
37
|
+
"strikethrough-set" gboolean : Read / Write / Construct Only
|
38
|
+
"underline" gboolean : Read / Write / Construct Only
|
39
|
+
"underline-set" gboolean : Read / Write / Construct Only
|
40
|
+
*/
|
41
|
+
|
42
|
+
void
|
43
|
+
Init_gtk_sourcestyle ()
|
44
|
+
{
|
45
|
+
VALUE style = G_DEF_CLASS (GTK_TYPE_SOURCE_STYLE, "SourceStyle", mGtk);
|
46
|
+
|
47
|
+
rb_define_method(style, "copy", sourcestyle_copy, 0);
|
48
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/************************************************
|
3
|
+
|
4
|
+
rbgtksourcestylescheme.c -
|
5
|
+
|
6
|
+
$Author: mutoh $
|
7
|
+
$Date: 2005/10/02 18:40:34 $
|
8
|
+
|
9
|
+
Copyright (C) 2005 Masao Mutoh
|
10
|
+
************************************************/
|
11
|
+
#include "rbgtksourcemain.h"
|
12
|
+
|
13
|
+
/* Module: Gtk::SourceStyleScheme
|
14
|
+
*/
|
15
|
+
|
16
|
+
#define _SELF(self) (GTK_SOURCE_STYLE_SCHEME(RVAL2GOBJ(self)))
|
17
|
+
|
18
|
+
/* Defined as properties.
|
19
|
+
const gchar* gtk_source_style_scheme_get_id (GtkSourceStyleScheme *scheme);
|
20
|
+
const gchar* gtk_source_style_scheme_get_name (GtkSourceStyleScheme *scheme);
|
21
|
+
const gchar* gtk_source_style_scheme_get_description
|
22
|
+
(GtkSourceStyleScheme *scheme);
|
23
|
+
const gchar* gtk_source_style_scheme_get_filename
|
24
|
+
(GtkSourceStyleScheme *scheme);
|
25
|
+
*/
|
26
|
+
|
27
|
+
/* Method: authors
|
28
|
+
*
|
29
|
+
* Returns: a list of authors for the given style scheme.
|
30
|
+
*/
|
31
|
+
static VALUE
|
32
|
+
scheme_get_authors (self)
|
33
|
+
VALUE self;
|
34
|
+
{
|
35
|
+
VALUE ary;
|
36
|
+
const gchar * const * authors =
|
37
|
+
gtk_source_style_scheme_get_authors (_SELF (self));
|
38
|
+
if (!authors)
|
39
|
+
return Qnil;
|
40
|
+
|
41
|
+
ary = rb_ary_new();
|
42
|
+
while (*authors){
|
43
|
+
rb_ary_push(ary, CSTR2RVAL(*authors));
|
44
|
+
authors++;
|
45
|
+
}
|
46
|
+
return ary;
|
47
|
+
}
|
48
|
+
|
49
|
+
/* Method: get_style(style_id)
|
50
|
+
* style_name: the name of a style.
|
51
|
+
*
|
52
|
+
* Gets the tag associated with the given style_name in the style scheme.
|
53
|
+
*
|
54
|
+
* Returns: Gtk::SourceStyle
|
55
|
+
*/
|
56
|
+
static VALUE
|
57
|
+
scheme_get_style(self, style_name)
|
58
|
+
VALUE self, style_name;
|
59
|
+
{
|
60
|
+
return GOBJ2RVAL(gtk_source_style_scheme_get_style(_SELF(self),
|
61
|
+
RVAL2CSTR(style_name)));
|
62
|
+
}
|
63
|
+
|
64
|
+
void
|
65
|
+
Init_gtk_sourcestylescheme ()
|
66
|
+
{
|
67
|
+
VALUE scheme = G_DEF_CLASS (GTK_TYPE_SOURCE_STYLE_SCHEME, "SourceStyleScheme", mGtk);
|
68
|
+
|
69
|
+
rb_define_method(scheme, "authors", scheme_get_authors, 0);
|
70
|
+
rb_define_method(scheme, "get_style", scheme_get_style, 1);
|
71
|
+
}
|
@@ -0,0 +1,211 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/************************************************
|
3
|
+
|
4
|
+
rbgtksourcestyleschememanager.c -
|
5
|
+
|
6
|
+
$Author $
|
7
|
+
$Date: 2004/08/05 18:13:49 $
|
8
|
+
|
9
|
+
Copyright (C) 2004 Ruby-GNOME2 Project Team
|
10
|
+
Copyright (C) 2003 Geoff Youngs, based on gtktextview.c by Masao Mutoh
|
11
|
+
************************************************/
|
12
|
+
#include "rbgtksourcemain.h"
|
13
|
+
|
14
|
+
/* Class: Gtk::SourceStyleSchemeManager
|
15
|
+
* A class to manage source style scheme.
|
16
|
+
*/
|
17
|
+
|
18
|
+
#define _SELF(self) (GTK_SOURCE_STYLE_SCHEME_MANAGER(RVAL2GOBJ(self)))
|
19
|
+
|
20
|
+
/* Class method: new
|
21
|
+
* Returns: a newly created Gtk::SourceStyleSchemeManager object.
|
22
|
+
*/
|
23
|
+
static VALUE
|
24
|
+
sssm_new (self)
|
25
|
+
VALUE self;
|
26
|
+
{
|
27
|
+
G_INITIALIZE (self, gtk_source_style_scheme_manager_new ());
|
28
|
+
return Qnil;
|
29
|
+
}
|
30
|
+
|
31
|
+
/* Class method: default
|
32
|
+
*
|
33
|
+
* Gets the default style scheme manager.
|
34
|
+
*
|
35
|
+
* Returns: a Gtk::SourceStyleSchemeManager
|
36
|
+
*/
|
37
|
+
static VALUE
|
38
|
+
sssm_get_default(self)
|
39
|
+
VALUE self;
|
40
|
+
{
|
41
|
+
GtkSourceStyleSchemeManager* sssm = gtk_source_style_scheme_manager_get_default();
|
42
|
+
GType gtype = G_TYPE_FROM_INSTANCE(sssm);
|
43
|
+
|
44
|
+
gchar *gtypename = (gchar *) g_type_name (gtype);
|
45
|
+
if (strncmp (gtypename, "Gtk", 3) == 0)
|
46
|
+
gtypename += 3;
|
47
|
+
if (!rb_const_defined_at (mGtk, rb_intern (gtypename)))
|
48
|
+
G_DEF_CLASS (gtype, gtypename, mGtk);
|
49
|
+
|
50
|
+
return GOBJ2RVAL(sssm);
|
51
|
+
}
|
52
|
+
|
53
|
+
/* Method: set_search_path(dirs)
|
54
|
+
* dirs: style scheme file directory path
|
55
|
+
*
|
56
|
+
* Sets the style scheme files directories for the given style scheme manager.
|
57
|
+
*
|
58
|
+
* Returns: self.
|
59
|
+
*/
|
60
|
+
static VALUE
|
61
|
+
sssm_set_search_path (self, dirs)
|
62
|
+
VALUE self, dirs;
|
63
|
+
{
|
64
|
+
gchar** gdirs = (gchar**)NULL;
|
65
|
+
gint i;
|
66
|
+
|
67
|
+
if (! NIL_P(dirs)){
|
68
|
+
Check_Type(dirs, T_ARRAY);
|
69
|
+
i = RARRAY_LEN(dirs);
|
70
|
+
gdirs = ALLOCA_N(gchar*, i + 1);
|
71
|
+
for (i = 0; i < i; i++) {
|
72
|
+
if (TYPE(RARRAY_PTR(dirs)[i]) == T_STRING) {
|
73
|
+
gdirs[i] = RVAL2CSTR(RARRAY_PTR(dirs)[i]);
|
74
|
+
}
|
75
|
+
else {
|
76
|
+
gdirs[i] = "";
|
77
|
+
}
|
78
|
+
}
|
79
|
+
gdirs[i] = (gchar*)NULL;
|
80
|
+
}
|
81
|
+
|
82
|
+
gtk_source_style_scheme_manager_set_search_path (_SELF (self), gdirs);
|
83
|
+
return self;
|
84
|
+
}
|
85
|
+
|
86
|
+
/* Method: append_search_path(path)
|
87
|
+
* path: additional style scheme file directory path (string)
|
88
|
+
*
|
89
|
+
* Appends the style scheme files directory for the given style scheme manager.
|
90
|
+
*
|
91
|
+
* Returns: self.
|
92
|
+
*/
|
93
|
+
static VALUE
|
94
|
+
sssm_append_search_path (self, path)
|
95
|
+
VALUE self, path;
|
96
|
+
{
|
97
|
+
gtk_source_style_scheme_manager_append_search_path (_SELF (self), RVAL2CSTR(path));
|
98
|
+
return self;
|
99
|
+
}
|
100
|
+
|
101
|
+
/* Method: prepend_search_path(path)
|
102
|
+
* path: additional style scheme file directory path (string)
|
103
|
+
*
|
104
|
+
* Prepend the style scheme files directory for the given style scheme manager.
|
105
|
+
*
|
106
|
+
* Returns: self.
|
107
|
+
*/
|
108
|
+
static VALUE
|
109
|
+
sssm_prepend_search_path (self, path)
|
110
|
+
VALUE self, path;
|
111
|
+
{
|
112
|
+
gtk_source_style_scheme_manager_prepend_search_path (_SELF (self), RVAL2CSTR(path));
|
113
|
+
return self;
|
114
|
+
}
|
115
|
+
|
116
|
+
/* Method: get_search_path
|
117
|
+
* Returns: a list of style scheme files directories (strings) for the given
|
118
|
+
* style scheme manager.
|
119
|
+
*/
|
120
|
+
static VALUE
|
121
|
+
sssm_get_search_path (self)
|
122
|
+
VALUE self;
|
123
|
+
{
|
124
|
+
VALUE ary;
|
125
|
+
const gchar * const * dirs =
|
126
|
+
gtk_source_style_scheme_manager_get_search_path (_SELF (self));
|
127
|
+
if (!dirs)
|
128
|
+
return Qnil;
|
129
|
+
|
130
|
+
ary = rb_ary_new();
|
131
|
+
while (*dirs){
|
132
|
+
rb_ary_push(ary, CSTR2RVAL(*dirs));
|
133
|
+
dirs++;
|
134
|
+
}
|
135
|
+
return ary;
|
136
|
+
}
|
137
|
+
|
138
|
+
/* Method: scheme_ids
|
139
|
+
* Returns: a list of style scheme ids for the given style scheme manager
|
140
|
+
*/
|
141
|
+
static VALUE
|
142
|
+
sssm_get_scheme_ids (self)
|
143
|
+
VALUE self;
|
144
|
+
{
|
145
|
+
VALUE ary;
|
146
|
+
const gchar * const * ids =
|
147
|
+
gtk_source_style_scheme_manager_get_scheme_ids (_SELF (self));
|
148
|
+
if (!ids)
|
149
|
+
return Qnil;
|
150
|
+
|
151
|
+
ary = rb_ary_new();
|
152
|
+
while (*ids){
|
153
|
+
rb_ary_push(ary, CSTR2RVAL(*ids));
|
154
|
+
ids++;
|
155
|
+
}
|
156
|
+
return ary;
|
157
|
+
}
|
158
|
+
|
159
|
+
/*
|
160
|
+
* Method: scheme(scheme_id)
|
161
|
+
* scheme_id: a style scheme id (as a string).
|
162
|
+
*
|
163
|
+
* Gets the Gtk::SourceStyleScheme which is associated with the given id
|
164
|
+
* in the style scheme manager.
|
165
|
+
*
|
166
|
+
* Returns: a Gtk::SourceStyleScheme, or nil if there is no style scheme
|
167
|
+
* associated with the given id.
|
168
|
+
*/
|
169
|
+
static VALUE
|
170
|
+
sssm_get_scheme (self, scheme_id)
|
171
|
+
VALUE self, scheme_id;
|
172
|
+
{
|
173
|
+
return
|
174
|
+
GOBJ2RVAL (gtk_source_style_scheme_manager_get_scheme
|
175
|
+
(_SELF (self), RVAL2CSTR (scheme_id)));
|
176
|
+
}
|
177
|
+
|
178
|
+
/*
|
179
|
+
* Method: force_rescan
|
180
|
+
*
|
181
|
+
* Forces all style schemes to be reloaded the next time the
|
182
|
+
* Gtk::SourceStyleSchemeManager is accessed.
|
183
|
+
*
|
184
|
+
* Returns: self.
|
185
|
+
*/
|
186
|
+
static VALUE
|
187
|
+
sssm_force_rescan (self)
|
188
|
+
VALUE self;
|
189
|
+
{
|
190
|
+
gtk_source_style_scheme_manager_force_rescan(_SELF (self));
|
191
|
+
return self;
|
192
|
+
}
|
193
|
+
|
194
|
+
void
|
195
|
+
Init_gtk_sourcestyleschememanager ()
|
196
|
+
{
|
197
|
+
VALUE csssm =
|
198
|
+
G_DEF_CLASS (GTK_TYPE_SOURCE_STYLE_SCHEME_MANAGER,
|
199
|
+
"SourceStyleSchemeManager", mGtk);
|
200
|
+
|
201
|
+
rb_define_method (csssm, "initialize", sssm_new, 0);
|
202
|
+
rb_define_method (csssm, "set_search_path", sssm_set_search_path, 1);
|
203
|
+
rb_define_method (csssm, "append_search_path", sssm_append_search_path, 1);
|
204
|
+
rb_define_method (csssm, "prepend_search_path", sssm_prepend_search_path, 1);
|
205
|
+
rb_define_method (csssm, "search_path", sssm_get_search_path, 0);
|
206
|
+
rb_define_method (csssm, "scheme_ids", sssm_get_scheme_ids, 0);
|
207
|
+
rb_define_method (csssm, "get_scheme", sssm_get_scheme, 1);
|
208
|
+
rb_define_method (csssm, "force_rescan", sssm_force_rescan, 0);
|
209
|
+
rb_define_singleton_method(csssm, "default", sssm_get_default, 0);
|
210
|
+
G_DEF_SETTERS (csssm);
|
211
|
+
}
|