gtksourceview3 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/ext/gtksourceview3/extconf.rb +1 -2
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +1 -25
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +7 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +0 -1
- data/lib/2.0/gtksourceview3.so +0 -0
- data/test/run-test.rb +17 -7
- data/test/test_mark_attributes.rb +1 -1
- data/test/test_source_gutter_renderer.rb +33 -0
- data/test/test_source_language_manager.rb +46 -0
- data/test/test_source_view.rb +34 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +28 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +48 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +1 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +33 -0
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +3 -3
- 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/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_IN/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/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/el/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/es/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/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/ml/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/nb/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/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/ru/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/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/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 +2 -2
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +2211 -330
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +1682 -983
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +818 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +267 -189
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +209 -157
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +247 -167
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +428 -295
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +558 -420
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +217 -125
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +341 -196
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1211 -827
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +327 -206
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +156 -96
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +431 -269
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +300 -235
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +203 -139
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +640 -452
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +1444 -1114
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +794 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +421 -280
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +232 -99
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +283 -178
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +326 -220
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +313 -194
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1430 -924
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +33 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +39 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +35 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +742 -430
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +31 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +95 -81
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +519 -463
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +32 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +326 -153
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +151 -57
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +42 -37
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +39 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +260 -105
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +3 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +536 -345
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +6 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +25 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +8 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +1 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +85 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +238 -137
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +389 -133
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +16 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +12 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +15 -15
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +62 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +13 -2
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +16 -5
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +11 -3
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +14 -4
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +14 -2
- data/vendor/local/share/license/gtksourceview/AUTHORS +1 -0
- data/vendor/local/share/license/gtksourceview/COPYING +415 -251
- metadata +31 -13
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
@@ -8,19 +8,16 @@
|
|
8
8
|
<link rel="up" href="ch01.html" title="API reference">
|
9
9
|
<link rel="prev" href="GtkSourceGutterRendererText.html" title="GtkSourceGutterRendererText">
|
10
10
|
<link rel="next" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
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="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#GtkSourceLanguage.
|
20
|
-
|
21
|
-
<a href="#GtkSourceLanguage.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#GtkSourceLanguage.properties" class="shortcut">Properties</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#GtkSourceLanguage.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceLanguage.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceLanguage.properties" class="shortcut">Properties</a></span>
|
24
21
|
</td>
|
25
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
23
|
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,389 +31,554 @@
|
|
34
31
|
<h2><span class="refentrytitle"><a name="GtkSourceLanguage.top_of_page"></a>GtkSourceLanguage</span></h2>
|
35
32
|
<p>GtkSourceLanguage — Object representing a syntax highlighted language</p>
|
36
33
|
</td>
|
37
|
-
<td valign="top" align="right"></td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
35
|
</tr></table></div>
|
39
|
-
<div class="
|
40
|
-
<a name="GtkSourceLanguage.
|
41
|
-
<
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#
|
49
|
-
|
50
|
-
|
51
|
-
<a
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
</
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="GtkSourceLanguage.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="function_type">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
46
|
+
</td>
|
47
|
+
<td class="function_name">
|
48
|
+
<a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-id" title="gtk_source_language_get_id ()">gtk_source_language_get_id</a> <span class="c_punctuation">()</span>
|
49
|
+
</td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="function_type">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-name" title="gtk_source_language_get_name ()">gtk_source_language_get_name</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
60
|
+
</td>
|
61
|
+
<td class="function_name">
|
62
|
+
<a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-section" title="gtk_source_language_get_section ()">gtk_source_language_get_section</a> <span class="c_punctuation">()</span>
|
63
|
+
</td>
|
64
|
+
</tr>
|
65
|
+
<tr>
|
66
|
+
<td class="function_type">
|
67
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
68
|
+
</td>
|
69
|
+
<td class="function_name">
|
70
|
+
<a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-hidden" title="gtk_source_language_get_hidden ()">gtk_source_language_get_hidden</a> <span class="c_punctuation">()</span>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
<tr>
|
74
|
+
<td class="function_type">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
75
|
+
</td>
|
76
|
+
<td class="function_name">
|
77
|
+
<a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-metadata" title="gtk_source_language_get_metadata ()">gtk_source_language_get_metadata</a> <span class="c_punctuation">()</span>
|
78
|
+
</td>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<td class="function_type">
|
82
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
83
|
+
</td>
|
84
|
+
<td class="function_name">
|
85
|
+
<a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-mime-types" title="gtk_source_language_get_mime_types ()">gtk_source_language_get_mime_types</a> <span class="c_punctuation">()</span>
|
86
|
+
</td>
|
87
|
+
</tr>
|
88
|
+
<tr>
|
89
|
+
<td class="function_type">
|
90
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
91
|
+
</td>
|
92
|
+
<td class="function_name">
|
93
|
+
<a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-globs" title="gtk_source_language_get_globs ()">gtk_source_language_get_globs</a> <span class="c_punctuation">()</span>
|
94
|
+
</td>
|
95
|
+
</tr>
|
96
|
+
<tr>
|
97
|
+
<td class="function_type">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
98
|
+
</td>
|
99
|
+
<td class="function_name">
|
100
|
+
<a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-style-name" title="gtk_source_language_get_style_name ()">gtk_source_language_get_style_name</a> <span class="c_punctuation">()</span>
|
101
|
+
</td>
|
102
|
+
</tr>
|
103
|
+
<tr>
|
104
|
+
<td class="function_type">
|
105
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
106
|
+
</td>
|
107
|
+
<td class="function_name">
|
108
|
+
<a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-style-ids" title="gtk_source_language_get_style_ids ()">gtk_source_language_get_style_ids</a> <span class="c_punctuation">()</span>
|
109
|
+
</td>
|
110
|
+
</tr>
|
111
|
+
<tr>
|
112
|
+
<td class="function_type">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
113
|
+
</td>
|
114
|
+
<td class="function_name">
|
115
|
+
<a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-style-fallback" title="gtk_source_language_get_style_fallback ()">gtk_source_language_get_style_fallback</a> <span class="c_punctuation">()</span>
|
116
|
+
</td>
|
117
|
+
</tr>
|
118
|
+
</tbody>
|
119
|
+
</table></div>
|
120
|
+
</div>
|
121
|
+
<div class="refsect1">
|
122
|
+
<a name="GtkSourceLanguage.properties"></a><h2>Properties</h2>
|
123
|
+
<div class="informaltable"><table border="0">
|
124
|
+
<colgroup>
|
125
|
+
<col width="150px" class="properties_type">
|
126
|
+
<col width="300px" class="properties_name">
|
127
|
+
<col width="200px" class="properties_flags">
|
128
|
+
</colgroup>
|
129
|
+
<tbody>
|
130
|
+
<tr>
|
131
|
+
<td class="property_type"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
132
|
+
<td class="property_name"><a class="link" href="GtkSourceLanguage.html#GtkSourceLanguage--hidden" title="The “hidden” property">hidden</a></td>
|
133
|
+
<td class="property_flags">Read</td>
|
134
|
+
</tr>
|
135
|
+
<tr>
|
136
|
+
<td class="property_type">
|
137
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
138
|
+
<td class="property_name"><a class="link" href="GtkSourceLanguage.html#GtkSourceLanguage--id" title="The “id” property">id</a></td>
|
139
|
+
<td class="property_flags">Read</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td class="property_type">
|
143
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
144
|
+
<td class="property_name"><a class="link" href="GtkSourceLanguage.html#GtkSourceLanguage--name" title="The “name” property">name</a></td>
|
145
|
+
<td class="property_flags">Read</td>
|
146
|
+
</tr>
|
147
|
+
<tr>
|
148
|
+
<td class="property_type">
|
149
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
150
|
+
<td class="property_name"><a class="link" href="GtkSourceLanguage.html#GtkSourceLanguage--section" title="The “section” property">section</a></td>
|
151
|
+
<td class="property_flags">Read</td>
|
152
|
+
</tr>
|
153
|
+
</tbody>
|
154
|
+
</table></div>
|
155
|
+
</div>
|
156
|
+
<div class="refsect1">
|
157
|
+
<a name="GtkSourceLanguage.other"></a><h2>Types and Values</h2>
|
158
|
+
<div class="informaltable"><table width="100%" border="0">
|
159
|
+
<colgroup>
|
160
|
+
<col width="150px" class="name">
|
161
|
+
<col class="description">
|
162
|
+
</colgroup>
|
163
|
+
<tbody><tr>
|
164
|
+
<td class="datatype_keyword"> </td>
|
165
|
+
<td class="function_name"><a class="link" href="GtkSourceLanguage.html#GtkSourceLanguage-struct" title="GtkSourceLanguage">GtkSourceLanguage</a></td>
|
166
|
+
</tr></tbody>
|
167
|
+
</table></div>
|
60
168
|
</div>
|
61
169
|
<div class="refsect1">
|
62
170
|
<a name="GtkSourceLanguage.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
63
|
-
<pre class="
|
64
|
-
|
65
|
-
+----GtkSourceLanguage
|
171
|
+
<pre class="screen"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
172
|
+
<span class="lineart">╰──</span> GtkSourceLanguage
|
66
173
|
</pre>
|
67
174
|
</div>
|
68
175
|
<div class="refsect1">
|
69
|
-
<a name="GtkSourceLanguage.
|
70
|
-
<pre class="synopsis"
|
71
|
-
"<a class="link" href="GtkSourceLanguage.html#GtkSourceLanguage--hidden" title='The "hidden" property'>hidden</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
|
72
|
-
"<a class="link" href="GtkSourceLanguage.html#GtkSourceLanguage--id" title='The "id" property'>id</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
|
73
|
-
"<a class="link" href="GtkSourceLanguage.html#GtkSourceLanguage--name" title='The "name" property'>name</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
|
74
|
-
"<a class="link" href="GtkSourceLanguage.html#GtkSourceLanguage--section" title='The "section" property'>section</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
|
176
|
+
<a name="GtkSourceLanguage.includes"></a><h2>Includes</h2>
|
177
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
75
178
|
</pre>
|
76
179
|
</div>
|
77
180
|
<div class="refsect1">
|
78
181
|
<a name="GtkSourceLanguage.description"></a><h2>Description</h2>
|
79
|
-
<p>
|
80
|
-
<a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> encapsulates syntax and highlighting styles for a
|
182
|
+
<p><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> encapsulates syntax and highlighting styles for a
|
81
183
|
particular language. Use <a class="link" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager"><span class="type">GtkSourceLanguageManager</span></a> to obtain a
|
82
|
-
<a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> instance, and <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language
|
83
|
-
to a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a
|
84
|
-
</p>
|
184
|
+
<a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> instance, and <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()"><code class="function">gtk_source_buffer_set_language()</code></a> to apply it
|
185
|
+
to a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p>
|
85
186
|
</div>
|
86
187
|
<div class="refsect1">
|
87
|
-
<a name="GtkSourceLanguage.
|
88
|
-
<div class="refsect2">
|
89
|
-
<a name="GtkSourceLanguage-struct"></a><h3>GtkSourceLanguage</h3>
|
90
|
-
<pre class="programlisting">typedef struct _GtkSourceLanguage GtkSourceLanguage;</pre>
|
91
|
-
</div>
|
92
|
-
<hr>
|
188
|
+
<a name="GtkSourceLanguage.functions_details"></a><h2>Functions</h2>
|
93
189
|
<div class="refsect2">
|
94
|
-
<a name="gtk-source-language-get-id"></a><h3>gtk_source_language_get_id
|
95
|
-
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
96
|
-
<
|
97
|
-
Returns the ID of the language. The ID is not locale-dependent.
|
98
|
-
The returned string is owned by <em class="parameter"><code>language</code></em>
|
99
|
-
|
100
|
-
|
101
|
-
<div class="
|
190
|
+
<a name="gtk-source-language-get-id"></a><h3>gtk_source_language_get_id ()</h3>
|
191
|
+
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
192
|
+
gtk_source_language_get_id (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
193
|
+
<p>Returns the ID of the language. The ID is not locale-dependent.
|
194
|
+
The returned string is owned by <em class="parameter"><code>language</code></em>
|
195
|
+
and should not be freed
|
196
|
+
or modified.</p>
|
197
|
+
<div class="refsect3">
|
198
|
+
<a name="id-1.2.18.9.2.5"></a><h4>Parameters</h4>
|
199
|
+
<div class="informaltable"><table width="100%" border="0">
|
102
200
|
<colgroup>
|
103
|
-
<col
|
104
|
-
<col>
|
201
|
+
<col width="150px" class="parameters_name">
|
202
|
+
<col class="parameters_description">
|
203
|
+
<col width="200px" class="parameters_annotations">
|
105
204
|
</colgroup>
|
106
|
-
<tbody>
|
107
|
-
<
|
108
|
-
<td><p
|
109
|
-
<td
|
110
|
-
</tr>
|
111
|
-
<tr>
|
112
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
113
|
-
<td>the ID of <em class="parameter"><code>language</code></em>.</td>
|
114
|
-
</tr>
|
115
|
-
</tbody>
|
205
|
+
<tbody><tr>
|
206
|
+
<td class="parameter_name"><p>language</p></td>
|
207
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p></td>
|
208
|
+
<td class="parameter_annotations"> </td>
|
209
|
+
</tr></tbody>
|
116
210
|
</table></div>
|
117
211
|
</div>
|
212
|
+
<div class="refsect3">
|
213
|
+
<a name="id-1.2.18.9.2.6"></a><h4>Returns</h4>
|
214
|
+
<p> the ID of <em class="parameter"><code>language</code></em>
|
215
|
+
.</p>
|
216
|
+
<p></p>
|
217
|
+
</div>
|
218
|
+
</div>
|
118
219
|
<hr>
|
119
220
|
<div class="refsect2">
|
120
|
-
<a name="gtk-source-language-get-name"></a><h3>gtk_source_language_get_name
|
121
|
-
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
122
|
-
<
|
123
|
-
Returns the localized name of the language.
|
124
|
-
The returned string is owned by <em class="parameter"><code>language</code></em>
|
125
|
-
|
126
|
-
|
127
|
-
<div class="
|
221
|
+
<a name="gtk-source-language-get-name"></a><h3>gtk_source_language_get_name ()</h3>
|
222
|
+
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
223
|
+
gtk_source_language_get_name (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
224
|
+
<p>Returns the localized name of the language.
|
225
|
+
The returned string is owned by <em class="parameter"><code>language</code></em>
|
226
|
+
and should not be freed
|
227
|
+
or modified.</p>
|
228
|
+
<div class="refsect3">
|
229
|
+
<a name="id-1.2.18.9.3.5"></a><h4>Parameters</h4>
|
230
|
+
<div class="informaltable"><table width="100%" border="0">
|
128
231
|
<colgroup>
|
129
|
-
<col
|
130
|
-
<col>
|
232
|
+
<col width="150px" class="parameters_name">
|
233
|
+
<col class="parameters_description">
|
234
|
+
<col width="200px" class="parameters_annotations">
|
131
235
|
</colgroup>
|
132
|
-
<tbody>
|
133
|
-
<
|
134
|
-
<td><p
|
135
|
-
<td
|
136
|
-
</tr>
|
137
|
-
<tr>
|
138
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
139
|
-
<td>the name of <em class="parameter"><code>language</code></em>.</td>
|
140
|
-
</tr>
|
141
|
-
</tbody>
|
236
|
+
<tbody><tr>
|
237
|
+
<td class="parameter_name"><p>language</p></td>
|
238
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p></td>
|
239
|
+
<td class="parameter_annotations"> </td>
|
240
|
+
</tr></tbody>
|
142
241
|
</table></div>
|
143
242
|
</div>
|
243
|
+
<div class="refsect3">
|
244
|
+
<a name="id-1.2.18.9.3.6"></a><h4>Returns</h4>
|
245
|
+
<p> the name of <em class="parameter"><code>language</code></em>
|
246
|
+
.</p>
|
247
|
+
<p></p>
|
248
|
+
</div>
|
249
|
+
</div>
|
144
250
|
<hr>
|
145
251
|
<div class="refsect2">
|
146
|
-
<a name="gtk-source-language-get-section"></a><h3>gtk_source_language_get_section
|
147
|
-
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
148
|
-
<
|
149
|
-
Returns the localized section of the language.
|
252
|
+
<a name="gtk-source-language-get-section"></a><h3>gtk_source_language_get_section ()</h3>
|
253
|
+
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
254
|
+
gtk_source_language_get_section (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
255
|
+
<p>Returns the localized section of the language.
|
150
256
|
Each language belong to a section (ex. HTML belogs to the
|
151
257
|
Markup section).
|
152
|
-
The returned string is owned by <em class="parameter"><code>language</code></em>
|
153
|
-
|
154
|
-
|
155
|
-
<div class="
|
258
|
+
The returned string is owned by <em class="parameter"><code>language</code></em>
|
259
|
+
and should not be freed
|
260
|
+
or modified.</p>
|
261
|
+
<div class="refsect3">
|
262
|
+
<a name="id-1.2.18.9.4.5"></a><h4>Parameters</h4>
|
263
|
+
<div class="informaltable"><table width="100%" border="0">
|
156
264
|
<colgroup>
|
157
|
-
<col
|
158
|
-
<col>
|
265
|
+
<col width="150px" class="parameters_name">
|
266
|
+
<col class="parameters_description">
|
267
|
+
<col width="200px" class="parameters_annotations">
|
159
268
|
</colgroup>
|
160
|
-
<tbody>
|
161
|
-
<
|
162
|
-
<td><p
|
163
|
-
<td
|
164
|
-
</tr>
|
165
|
-
<tr>
|
166
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
167
|
-
<td>the section of <em class="parameter"><code>language</code></em>.</td>
|
168
|
-
</tr>
|
169
|
-
</tbody>
|
269
|
+
<tbody><tr>
|
270
|
+
<td class="parameter_name"><p>language</p></td>
|
271
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p></td>
|
272
|
+
<td class="parameter_annotations"> </td>
|
273
|
+
</tr></tbody>
|
170
274
|
</table></div>
|
171
275
|
</div>
|
276
|
+
<div class="refsect3">
|
277
|
+
<a name="id-1.2.18.9.4.6"></a><h4>Returns</h4>
|
278
|
+
<p> the section of <em class="parameter"><code>language</code></em>
|
279
|
+
.</p>
|
280
|
+
<p></p>
|
281
|
+
</div>
|
282
|
+
</div>
|
172
283
|
<hr>
|
173
284
|
<div class="refsect2">
|
174
|
-
<a name="gtk-source-language-get-hidden"></a><h3>gtk_source_language_get_hidden
|
175
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
176
|
-
<
|
177
|
-
Returns whether the language should be hidden from the user
|
178
|
-
|
179
|
-
<
|
285
|
+
<a name="gtk-source-language-get-hidden"></a><h3>gtk_source_language_get_hidden ()</h3>
|
286
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
287
|
+
gtk_source_language_get_hidden (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
288
|
+
<p>Returns whether the language should be hidden from the user.</p>
|
289
|
+
<div class="refsect3">
|
290
|
+
<a name="id-1.2.18.9.5.5"></a><h4>Parameters</h4>
|
291
|
+
<div class="informaltable"><table width="100%" border="0">
|
180
292
|
<colgroup>
|
181
|
-
<col
|
182
|
-
<col>
|
293
|
+
<col width="150px" class="parameters_name">
|
294
|
+
<col class="parameters_description">
|
295
|
+
<col width="200px" class="parameters_annotations">
|
183
296
|
</colgroup>
|
184
|
-
<tbody>
|
185
|
-
<
|
186
|
-
<td><p
|
187
|
-
<td
|
188
|
-
</
|
189
|
-
</tr>
|
190
|
-
<tr>
|
191
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
192
|
-
<td>
|
193
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the language should be hidden, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
194
|
-
</tr>
|
195
|
-
</tbody>
|
297
|
+
<tbody><tr>
|
298
|
+
<td class="parameter_name"><p>language</p></td>
|
299
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a></p></td>
|
300
|
+
<td class="parameter_annotations"> </td>
|
301
|
+
</tr></tbody>
|
196
302
|
</table></div>
|
197
303
|
</div>
|
304
|
+
<div class="refsect3">
|
305
|
+
<a name="id-1.2.18.9.5.6"></a><h4>Returns</h4>
|
306
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the language should be hidden, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
307
|
+
<p></p>
|
308
|
+
</div>
|
309
|
+
</div>
|
198
310
|
<hr>
|
199
311
|
<div class="refsect2">
|
200
|
-
<a name="gtk-source-language-get-metadata"></a><h3>gtk_source_language_get_metadata
|
201
|
-
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
202
|
-
|
203
|
-
<
|
312
|
+
<a name="gtk-source-language-get-metadata"></a><h3>gtk_source_language_get_metadata ()</h3>
|
313
|
+
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
314
|
+
gtk_source_language_get_metadata (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>,
|
315
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
316
|
+
<div class="refsect3">
|
317
|
+
<a name="id-1.2.18.9.6.4"></a><h4>Parameters</h4>
|
318
|
+
<div class="informaltable"><table width="100%" border="0">
|
204
319
|
<colgroup>
|
205
|
-
<col
|
206
|
-
<col>
|
320
|
+
<col width="150px" class="parameters_name">
|
321
|
+
<col class="parameters_description">
|
322
|
+
<col width="200px" class="parameters_annotations">
|
207
323
|
</colgroup>
|
208
324
|
<tbody>
|
209
325
|
<tr>
|
210
|
-
<td
|
211
|
-
<td>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</td>
|
326
|
+
<td class="parameter_name"><p>language</p></td>
|
327
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p></td>
|
328
|
+
<td class="parameter_annotations"> </td>
|
212
329
|
</tr>
|
213
330
|
<tr>
|
214
|
-
<td
|
215
|
-
<td>metadata property name.</td>
|
216
|
-
</
|
217
|
-
<tr>
|
218
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
219
|
-
<td>value of property <em class="parameter"><code>name</code></em> stored in the metadata of <em class="parameter"><code>language</code></em>
|
220
|
-
or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if language doesn't contain that metadata property.
|
221
|
-
The returned string is owned by <em class="parameter"><code>language</code></em> and should not be freed
|
222
|
-
or modified.</td>
|
331
|
+
<td class="parameter_name"><p>name</p></td>
|
332
|
+
<td class="parameter_description"><p>metadata property name.</p></td>
|
333
|
+
<td class="parameter_annotations"> </td>
|
223
334
|
</tr>
|
224
335
|
</tbody>
|
225
336
|
</table></div>
|
226
337
|
</div>
|
338
|
+
<div class="refsect3">
|
339
|
+
<a name="id-1.2.18.9.6.5"></a><h4>Returns</h4>
|
340
|
+
<p> value of property <em class="parameter"><code>name</code></em>
|
341
|
+
stored in the metadata of <em class="parameter"><code>language</code></em>
|
342
|
+
or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if language doesn't contain that metadata property.
|
343
|
+
The returned string is owned by <em class="parameter"><code>language</code></em>
|
344
|
+
and should not be freed
|
345
|
+
or modified.</p>
|
346
|
+
<p></p>
|
347
|
+
</div>
|
348
|
+
</div>
|
227
349
|
<hr>
|
228
350
|
<div class="refsect2">
|
229
|
-
<a name="gtk-source-language-get-mime-types"></a><h3>gtk_source_language_get_mime_types
|
230
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
231
|
-
<
|
232
|
-
Returns the mime types associated to this language. This is just
|
233
|
-
an utility wrapper around <a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-metadata" title="gtk_source_language_get_metadata
|
351
|
+
<a name="gtk-source-language-get-mime-types"></a><h3>gtk_source_language_get_mime_types ()</h3>
|
352
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
353
|
+
gtk_source_language_get_mime_types (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
354
|
+
<p>Returns the mime types associated to this language. This is just
|
355
|
+
an utility wrapper around <a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-metadata" title="gtk_source_language_get_metadata ()"><code class="function">gtk_source_language_get_metadata()</code></a> to
|
234
356
|
retrieve the "mimetypes" metadata property and split it into an
|
235
|
-
array
|
236
|
-
|
237
|
-
<
|
357
|
+
array.</p>
|
358
|
+
<div class="refsect3">
|
359
|
+
<a name="id-1.2.18.9.7.5"></a><h4>Parameters</h4>
|
360
|
+
<div class="informaltable"><table width="100%" border="0">
|
238
361
|
<colgroup>
|
239
|
-
<col
|
240
|
-
<col>
|
362
|
+
<col width="150px" class="parameters_name">
|
363
|
+
<col class="parameters_description">
|
364
|
+
<col width="200px" class="parameters_annotations">
|
241
365
|
</colgroup>
|
242
|
-
<tbody>
|
243
|
-
<
|
244
|
-
<td><p
|
245
|
-
<td
|
246
|
-
</tr>
|
247
|
-
|
248
|
-
|
249
|
-
<
|
366
|
+
<tbody><tr>
|
367
|
+
<td class="parameter_name"><p>language</p></td>
|
368
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p></td>
|
369
|
+
<td class="parameter_annotations"> </td>
|
370
|
+
</tr></tbody>
|
371
|
+
</table></div>
|
372
|
+
</div>
|
373
|
+
<div class="refsect3">
|
374
|
+
<a name="id-1.2.18.9.7.6"></a><h4>Returns</h4>
|
375
|
+
<p> a newly-allocated
|
250
376
|
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated array containing the mime types or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no
|
251
377
|
mime types are found.
|
252
|
-
The returned array must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>.
|
253
|
-
</
|
254
|
-
</
|
255
|
-
</tbody>
|
256
|
-
</table></div>
|
378
|
+
The returned array must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>. </p>
|
379
|
+
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
380
|
+
</div>
|
257
381
|
</div>
|
258
382
|
<hr>
|
259
383
|
<div class="refsect2">
|
260
|
-
<a name="gtk-source-language-get-globs"></a><h3>gtk_source_language_get_globs
|
261
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
262
|
-
<
|
263
|
-
Returns the globs associated to this language. This is just
|
264
|
-
an utility wrapper around <a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-metadata" title="gtk_source_language_get_metadata
|
265
|
-
retrieve the "globs" metadata property and split it into an array
|
266
|
-
|
267
|
-
<
|
384
|
+
<a name="gtk-source-language-get-globs"></a><h3>gtk_source_language_get_globs ()</h3>
|
385
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
386
|
+
gtk_source_language_get_globs (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
387
|
+
<p>Returns the globs associated to this language. This is just
|
388
|
+
an utility wrapper around <a class="link" href="GtkSourceLanguage.html#gtk-source-language-get-metadata" title="gtk_source_language_get_metadata ()"><code class="function">gtk_source_language_get_metadata()</code></a> to
|
389
|
+
retrieve the "globs" metadata property and split it into an array.</p>
|
390
|
+
<div class="refsect3">
|
391
|
+
<a name="id-1.2.18.9.8.5"></a><h4>Parameters</h4>
|
392
|
+
<div class="informaltable"><table width="100%" border="0">
|
268
393
|
<colgroup>
|
269
|
-
<col
|
270
|
-
<col>
|
394
|
+
<col width="150px" class="parameters_name">
|
395
|
+
<col class="parameters_description">
|
396
|
+
<col width="200px" class="parameters_annotations">
|
271
397
|
</colgroup>
|
272
|
-
<tbody>
|
273
|
-
<
|
274
|
-
<td><p
|
275
|
-
<td
|
276
|
-
</tr>
|
277
|
-
<tr>
|
278
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
279
|
-
<td>a newly-allocated
|
280
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated array containing the globs or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no globs are found.
|
281
|
-
The returned array must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
282
|
-
</td>
|
283
|
-
</tr>
|
284
|
-
</tbody>
|
398
|
+
<tbody><tr>
|
399
|
+
<td class="parameter_name"><p>language</p></td>
|
400
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p></td>
|
401
|
+
<td class="parameter_annotations"> </td>
|
402
|
+
</tr></tbody>
|
285
403
|
</table></div>
|
286
404
|
</div>
|
405
|
+
<div class="refsect3">
|
406
|
+
<a name="id-1.2.18.9.8.6"></a><h4>Returns</h4>
|
407
|
+
<p> a newly-allocated
|
408
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated array containing the globs or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no globs are found.
|
409
|
+
The returned array must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>. </p>
|
410
|
+
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
411
|
+
</div>
|
412
|
+
</div>
|
287
413
|
<hr>
|
288
414
|
<div class="refsect2">
|
289
|
-
<a name="gtk-source-language-get-style-name"></a><h3>gtk_source_language_get_style_name
|
290
|
-
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
291
|
-
|
292
|
-
<
|
293
|
-
Returns the name of the style with ID <em class="parameter"><code>style_id</code></em>
|
294
|
-
</
|
295
|
-
|
415
|
+
<a name="gtk-source-language-get-style-name"></a><h3>gtk_source_language_get_style_name ()</h3>
|
416
|
+
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
417
|
+
gtk_source_language_get_style_name (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>,
|
418
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *style_id</code></em>);</pre>
|
419
|
+
<p>Returns the name of the style with ID <em class="parameter"><code>style_id</code></em>
|
420
|
+
defined by this <em class="parameter"><code>language</code></em>
|
421
|
+
.</p>
|
422
|
+
<div class="refsect3">
|
423
|
+
<a name="id-1.2.18.9.9.5"></a><h4>Parameters</h4>
|
424
|
+
<div class="informaltable"><table width="100%" border="0">
|
296
425
|
<colgroup>
|
297
|
-
<col
|
298
|
-
<col>
|
426
|
+
<col width="150px" class="parameters_name">
|
427
|
+
<col class="parameters_description">
|
428
|
+
<col width="200px" class="parameters_annotations">
|
299
429
|
</colgroup>
|
300
430
|
<tbody>
|
301
431
|
<tr>
|
302
|
-
<td
|
303
|
-
<td>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</td>
|
432
|
+
<td class="parameter_name"><p>language</p></td>
|
433
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p></td>
|
434
|
+
<td class="parameter_annotations"> </td>
|
304
435
|
</tr>
|
305
436
|
<tr>
|
306
|
-
<td
|
307
|
-
<td>a style ID.</td>
|
308
|
-
</
|
309
|
-
<tr>
|
310
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
311
|
-
<td>the name of the style with ID <em class="parameter"><code>style_id</code></em> defined by this <em class="parameter"><code>language</code></em> or
|
312
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the style has no name or there is no style with ID <em class="parameter"><code>style_id</code></em> defined
|
313
|
-
by this <em class="parameter"><code>language</code></em>. The returned string is owned by the <em class="parameter"><code>language</code></em> and must
|
314
|
-
not be modified.</td>
|
437
|
+
<td class="parameter_name"><p>style_id</p></td>
|
438
|
+
<td class="parameter_description"><p>a style ID.</p></td>
|
439
|
+
<td class="parameter_annotations"> </td>
|
315
440
|
</tr>
|
316
441
|
</tbody>
|
317
442
|
</table></div>
|
318
443
|
</div>
|
444
|
+
<div class="refsect3">
|
445
|
+
<a name="id-1.2.18.9.9.6"></a><h4>Returns</h4>
|
446
|
+
<p> the name of the style with ID <em class="parameter"><code>style_id</code></em>
|
447
|
+
defined by this <em class="parameter"><code>language</code></em>
|
448
|
+
or
|
449
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the style has no name or there is no style with ID <em class="parameter"><code>style_id</code></em>
|
450
|
+
defined
|
451
|
+
by this <em class="parameter"><code>language</code></em>
|
452
|
+
. The returned string is owned by the <em class="parameter"><code>language</code></em>
|
453
|
+
and must
|
454
|
+
not be modified.</p>
|
455
|
+
<p></p>
|
456
|
+
</div>
|
457
|
+
</div>
|
319
458
|
<hr>
|
320
459
|
<div class="refsect2">
|
321
|
-
<a name="gtk-source-language-get-style-ids"></a><h3>gtk_source_language_get_style_ids
|
322
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
323
|
-
<
|
324
|
-
Returns the ids of the styles defined by this <em class="parameter"><code>language</code></em
|
325
|
-
|
326
|
-
<div class="
|
460
|
+
<a name="gtk-source-language-get-style-ids"></a><h3>gtk_source_language_get_style_ids ()</h3>
|
461
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
462
|
+
gtk_source_language_get_style_ids (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
463
|
+
<p>Returns the ids of the styles defined by this <em class="parameter"><code>language</code></em>
|
464
|
+
.</p>
|
465
|
+
<div class="refsect3">
|
466
|
+
<a name="id-1.2.18.9.10.5"></a><h4>Parameters</h4>
|
467
|
+
<div class="informaltable"><table width="100%" border="0">
|
327
468
|
<colgroup>
|
328
|
-
<col
|
329
|
-
<col>
|
469
|
+
<col width="150px" class="parameters_name">
|
470
|
+
<col class="parameters_description">
|
471
|
+
<col width="200px" class="parameters_annotations">
|
330
472
|
</colgroup>
|
331
|
-
<tbody>
|
332
|
-
<
|
333
|
-
<td><p
|
334
|
-
<td
|
335
|
-
</tr>
|
336
|
-
<tr>
|
337
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
338
|
-
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated
|
339
|
-
array containing ids of the styles defined by this <em class="parameter"><code>language</code></em> or
|
340
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no style is defined.
|
341
|
-
The returned array must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
342
|
-
</td>
|
343
|
-
</tr>
|
344
|
-
</tbody>
|
473
|
+
<tbody><tr>
|
474
|
+
<td class="parameter_name"><p>language</p></td>
|
475
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p></td>
|
476
|
+
<td class="parameter_annotations"> </td>
|
477
|
+
</tr></tbody>
|
345
478
|
</table></div>
|
346
479
|
</div>
|
480
|
+
<div class="refsect3">
|
481
|
+
<a name="id-1.2.18.9.10.6"></a><h4>Returns</h4>
|
482
|
+
<p> a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated
|
483
|
+
array containing ids of the styles defined by this <em class="parameter"><code>language</code></em>
|
484
|
+
or
|
485
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no style is defined.
|
486
|
+
The returned array must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>. </p>
|
487
|
+
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
488
|
+
</div>
|
489
|
+
</div>
|
347
490
|
<hr>
|
348
491
|
<div class="refsect2">
|
349
|
-
<a name="gtk-source-language-get-style-fallback"></a><h3>gtk_source_language_get_style_fallback
|
350
|
-
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
351
|
-
|
352
|
-
|
353
|
-
<
|
354
|
-
Returns the ID of the style to use if the specified <em class="parameter"><code>style_id</code></em>
|
355
|
-
|
356
|
-
|
357
|
-
<div class="
|
492
|
+
<a name="gtk-source-language-get-style-fallback"></a><h3>gtk_source_language_get_style_fallback ()</h3>
|
493
|
+
<pre class="programlisting">const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
494
|
+
gtk_source_language_get_style_fallback
|
495
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>,
|
496
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *style_id</code></em>);</pre>
|
497
|
+
<p>Returns the ID of the style to use if the specified <em class="parameter"><code>style_id</code></em>
|
498
|
+
|
499
|
+
is not present in the current style scheme.</p>
|
500
|
+
<div class="refsect3">
|
501
|
+
<a name="id-1.2.18.9.11.5"></a><h4>Parameters</h4>
|
502
|
+
<div class="informaltable"><table width="100%" border="0">
|
358
503
|
<colgroup>
|
359
|
-
<col
|
360
|
-
<col>
|
504
|
+
<col width="150px" class="parameters_name">
|
505
|
+
<col class="parameters_description">
|
506
|
+
<col width="200px" class="parameters_annotations">
|
361
507
|
</colgroup>
|
362
508
|
<tbody>
|
363
509
|
<tr>
|
364
|
-
<td
|
365
|
-
<td>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</td>
|
366
|
-
</
|
367
|
-
<tr>
|
368
|
-
<td><p><span class="term"><em class="parameter"><code>style_id</code></em> :</span></p></td>
|
369
|
-
<td>a style ID.</td>
|
510
|
+
<td class="parameter_name"><p>language</p></td>
|
511
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p></td>
|
512
|
+
<td class="parameter_annotations"> </td>
|
370
513
|
</tr>
|
371
514
|
<tr>
|
372
|
-
<td
|
373
|
-
<td
|
374
|
-
|
375
|
-
no fallback defined.
|
376
|
-
The returned string is owned by the <em class="parameter"><code>language</code></em> and must not be modified.</td>
|
515
|
+
<td class="parameter_name"><p>style_id</p></td>
|
516
|
+
<td class="parameter_description"><p>a style ID.</p></td>
|
517
|
+
<td class="parameter_annotations"> </td>
|
377
518
|
</tr>
|
378
519
|
</tbody>
|
379
520
|
</table></div>
|
521
|
+
</div>
|
522
|
+
<div class="refsect3">
|
523
|
+
<a name="id-1.2.18.9.11.6"></a><h4>Returns</h4>
|
524
|
+
<p> the ID of the style to use if the specified <em class="parameter"><code>style_id</code></em>
|
525
|
+
is not present in the current style scheme or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the style has
|
526
|
+
no fallback defined.
|
527
|
+
The returned string is owned by the <em class="parameter"><code>language</code></em>
|
528
|
+
and must not be modified.</p>
|
529
|
+
<p></p>
|
530
|
+
</div>
|
380
531
|
<p class="since">Since 3.4</p>
|
381
532
|
</div>
|
382
533
|
</div>
|
383
534
|
<div class="refsect1">
|
535
|
+
<a name="GtkSourceLanguage.other_details"></a><h2>Types and Values</h2>
|
536
|
+
<div class="refsect2">
|
537
|
+
<a name="GtkSourceLanguage-struct"></a><h3>GtkSourceLanguage</h3>
|
538
|
+
<pre class="programlisting">typedef struct _GtkSourceLanguage GtkSourceLanguage;</pre>
|
539
|
+
</div>
|
540
|
+
</div>
|
541
|
+
<div class="refsect1">
|
384
542
|
<a name="GtkSourceLanguage.property-details"></a><h2>Property Details</h2>
|
385
543
|
<div class="refsect2">
|
386
|
-
<a name="GtkSourceLanguage--hidden"></a><h3>The <code class="literal"
|
387
|
-
<pre class="programlisting">
|
544
|
+
<a name="GtkSourceLanguage--hidden"></a><h3>The <code class="literal">“hidden”</code> property</h3>
|
545
|
+
<pre class="programlisting"> “hidden” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
388
546
|
<p>Whether the language should be hidden from the user.</p>
|
547
|
+
<p>Flags: Read</p>
|
389
548
|
<p>Default value: FALSE</p>
|
390
549
|
</div>
|
391
550
|
<hr>
|
392
551
|
<div class="refsect2">
|
393
|
-
<a name="GtkSourceLanguage--id"></a><h3>The <code class="literal"
|
394
|
-
<pre class="programlisting">
|
552
|
+
<a name="GtkSourceLanguage--id"></a><h3>The <code class="literal">“id”</code> property</h3>
|
553
|
+
<pre class="programlisting"> “id” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
395
554
|
<p>Language id.</p>
|
555
|
+
<p>Flags: Read</p>
|
396
556
|
<p>Default value: NULL</p>
|
397
557
|
</div>
|
398
558
|
<hr>
|
399
559
|
<div class="refsect2">
|
400
|
-
<a name="GtkSourceLanguage--name"></a><h3>The <code class="literal"
|
401
|
-
<pre class="programlisting">
|
560
|
+
<a name="GtkSourceLanguage--name"></a><h3>The <code class="literal">“name”</code> property</h3>
|
561
|
+
<pre class="programlisting"> “name” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
402
562
|
<p>Language name.</p>
|
563
|
+
<p>Flags: Read</p>
|
403
564
|
<p>Default value: NULL</p>
|
404
565
|
</div>
|
405
566
|
<hr>
|
406
567
|
<div class="refsect2">
|
407
|
-
<a name="GtkSourceLanguage--section"></a><h3>The <code class="literal"
|
408
|
-
<pre class="programlisting">
|
568
|
+
<a name="GtkSourceLanguage--section"></a><h3>The <code class="literal">“section”</code> property</h3>
|
569
|
+
<pre class="programlisting"> “section” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
409
570
|
<p>Language section.</p>
|
571
|
+
<p>Flags: Read</p>
|
410
572
|
<p>Default value: NULL</p>
|
411
573
|
</div>
|
412
574
|
</div>
|
413
575
|
<div class="refsect1">
|
414
576
|
<a name="GtkSourceLanguage.see-also"></a><h2>See Also</h2>
|
415
|
-
<a class="link" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager"><span class="type">GtkSourceLanguageManager</span></a>
|
577
|
+
<p><a class="link" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager"><span class="type">GtkSourceLanguageManager</span></a></p>
|
416
578
|
</div>
|
417
579
|
</div>
|
418
580
|
<div class="footer">
|
419
581
|
<hr>
|
420
|
-
Generated by GTK-Doc V1.
|
582
|
+
Generated by GTK-Doc V1.21.1</div>
|
421
583
|
</body>
|
422
584
|
</html>
|