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="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes">
|
10
10
|
<link rel="next" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext">
|
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="#GtkSourcePrintCompositor.
|
20
|
-
|
21
|
-
<a href="#GtkSourcePrintCompositor.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#GtkSourcePrintCompositor.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="#GtkSourcePrintCompositor.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourcePrintCompositor.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourcePrintCompositor.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>
|
@@ -32,1344 +29,1711 @@
|
|
32
29
|
<div class="refnamediv"><table width="100%"><tr>
|
33
30
|
<td valign="top">
|
34
31
|
<h2><span class="refentrytitle"><a name="GtkSourcePrintCompositor.top_of_page"></a>GtkSourcePrintCompositor</span></h2>
|
35
|
-
<p>GtkSourcePrintCompositor — Compose a
|
32
|
+
<p>GtkSourcePrintCompositor — Compose a GtkSourceBuffer for printing</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="GtkSourcePrintCompositor.
|
41
|
-
<
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<
|
48
|
-
|
49
|
-
<a class="link" href="
|
50
|
-
|
51
|
-
<
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
<
|
57
|
-
|
58
|
-
|
59
|
-
<
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
<
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
<
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
<
|
77
|
-
|
78
|
-
|
79
|
-
<
|
80
|
-
|
81
|
-
<
|
82
|
-
|
83
|
-
|
84
|
-
<a
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<
|
90
|
-
|
91
|
-
<
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
<
|
106
|
-
|
107
|
-
|
108
|
-
<
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
<
|
113
|
-
|
114
|
-
|
115
|
-
<
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
<
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
<
|
125
|
-
|
126
|
-
|
127
|
-
<
|
128
|
-
|
129
|
-
<
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
<
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
<
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
<
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="GtkSourcePrintCompositor.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">
|
46
|
+
<a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-new" title="gtk_source_print_compositor_new ()">gtk_source_print_compositor_new</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> *
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-new-from-view" title="gtk_source_print_compositor_new_from_view ()">gtk_source_print_compositor_new_from_view</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-buffer" title="gtk_source_print_compositor_get_buffer ()">gtk_source_print_compositor_get_buffer</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<span class="returnvalue">void</span>
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-tab-width" title="gtk_source_print_compositor_set_tab_width ()">gtk_source_print_compositor_set_tab_width</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-tab-width" title="gtk_source_print_compositor_get_tab_width ()">gtk_source_print_compositor_get_tab_width</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<span class="returnvalue">void</span>
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-wrap-mode" title="gtk_source_print_compositor_set_wrap_mode ()">gtk_source_print_compositor_set_wrap_mode</a> <span class="c_punctuation">()</span>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">
|
94
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-wrap-mode" title="gtk_source_print_compositor_get_wrap_mode ()">gtk_source_print_compositor_get_wrap_mode</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<span class="returnvalue">void</span>
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-highlight-syntax" title="gtk_source_print_compositor_set_highlight_syntax ()">gtk_source_print_compositor_set_highlight_syntax</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="function_type">
|
110
|
+
<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>
|
111
|
+
</td>
|
112
|
+
<td class="function_name">
|
113
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-highlight-syntax" title="gtk_source_print_compositor_get_highlight_syntax ()">gtk_source_print_compositor_get_highlight_syntax</a> <span class="c_punctuation">()</span>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td class="function_type">
|
118
|
+
<span class="returnvalue">void</span>
|
119
|
+
</td>
|
120
|
+
<td class="function_name">
|
121
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-line-numbers" title="gtk_source_print_compositor_set_print_line_numbers ()">gtk_source_print_compositor_set_print_line_numbers</a> <span class="c_punctuation">()</span>
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td class="function_type">
|
126
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
127
|
+
</td>
|
128
|
+
<td class="function_name">
|
129
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-line-numbers" title="gtk_source_print_compositor_get_print_line_numbers ()">gtk_source_print_compositor_get_print_line_numbers</a> <span class="c_punctuation">()</span>
|
130
|
+
</td>
|
131
|
+
</tr>
|
132
|
+
<tr>
|
133
|
+
<td class="function_type">
|
134
|
+
<span class="returnvalue">void</span>
|
135
|
+
</td>
|
136
|
+
<td class="function_name">
|
137
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-body-font-name" title="gtk_source_print_compositor_set_body_font_name ()">gtk_source_print_compositor_set_body_font_name</a> <span class="c_punctuation">()</span>
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td class="function_type">
|
142
|
+
<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> *
|
143
|
+
</td>
|
144
|
+
<td class="function_name">
|
145
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-body-font-name" title="gtk_source_print_compositor_get_body_font_name ()">gtk_source_print_compositor_get_body_font_name</a> <span class="c_punctuation">()</span>
|
146
|
+
</td>
|
147
|
+
</tr>
|
148
|
+
<tr>
|
149
|
+
<td class="function_type">
|
150
|
+
<span class="returnvalue">void</span>
|
151
|
+
</td>
|
152
|
+
<td class="function_name">
|
153
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-line-numbers-font-name" title="gtk_source_print_compositor_set_line_numbers_font_name ()">gtk_source_print_compositor_set_line_numbers_font_name</a> <span class="c_punctuation">()</span>
|
154
|
+
</td>
|
155
|
+
</tr>
|
156
|
+
<tr>
|
157
|
+
<td class="function_type">
|
158
|
+
<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> *
|
159
|
+
</td>
|
160
|
+
<td class="function_name">
|
161
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-line-numbers-font-name" title="gtk_source_print_compositor_get_line_numbers_font_name ()">gtk_source_print_compositor_get_line_numbers_font_name</a> <span class="c_punctuation">()</span>
|
162
|
+
</td>
|
163
|
+
</tr>
|
164
|
+
<tr>
|
165
|
+
<td class="function_type">
|
166
|
+
<span class="returnvalue">void</span>
|
167
|
+
</td>
|
168
|
+
<td class="function_name">
|
169
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-font-name" title="gtk_source_print_compositor_set_header_font_name ()">gtk_source_print_compositor_set_header_font_name</a> <span class="c_punctuation">()</span>
|
170
|
+
</td>
|
171
|
+
</tr>
|
172
|
+
<tr>
|
173
|
+
<td class="function_type">
|
174
|
+
<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> *
|
175
|
+
</td>
|
176
|
+
<td class="function_name">
|
177
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-header-font-name" title="gtk_source_print_compositor_get_header_font_name ()">gtk_source_print_compositor_get_header_font_name</a> <span class="c_punctuation">()</span>
|
178
|
+
</td>
|
179
|
+
</tr>
|
180
|
+
<tr>
|
181
|
+
<td class="function_type">
|
182
|
+
<span class="returnvalue">void</span>
|
183
|
+
</td>
|
184
|
+
<td class="function_name">
|
185
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-font-name" title="gtk_source_print_compositor_set_footer_font_name ()">gtk_source_print_compositor_set_footer_font_name</a> <span class="c_punctuation">()</span>
|
186
|
+
</td>
|
187
|
+
</tr>
|
188
|
+
<tr>
|
189
|
+
<td class="function_type">
|
190
|
+
<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> *
|
191
|
+
</td>
|
192
|
+
<td class="function_name">
|
193
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-footer-font-name" title="gtk_source_print_compositor_get_footer_font_name ()">gtk_source_print_compositor_get_footer_font_name</a> <span class="c_punctuation">()</span>
|
194
|
+
</td>
|
195
|
+
</tr>
|
196
|
+
<tr>
|
197
|
+
<td class="function_type">
|
198
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
199
|
+
</td>
|
200
|
+
<td class="function_name">
|
201
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-top-margin" title="gtk_source_print_compositor_get_top_margin ()">gtk_source_print_compositor_get_top_margin</a> <span class="c_punctuation">()</span>
|
202
|
+
</td>
|
203
|
+
</tr>
|
204
|
+
<tr>
|
205
|
+
<td class="function_type">
|
206
|
+
<span class="returnvalue">void</span>
|
207
|
+
</td>
|
208
|
+
<td class="function_name">
|
209
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-top-margin" title="gtk_source_print_compositor_set_top_margin ()">gtk_source_print_compositor_set_top_margin</a> <span class="c_punctuation">()</span>
|
210
|
+
</td>
|
211
|
+
</tr>
|
212
|
+
<tr>
|
213
|
+
<td class="function_type">
|
214
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
215
|
+
</td>
|
216
|
+
<td class="function_name">
|
217
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-bottom-margin" title="gtk_source_print_compositor_get_bottom_margin ()">gtk_source_print_compositor_get_bottom_margin</a> <span class="c_punctuation">()</span>
|
218
|
+
</td>
|
219
|
+
</tr>
|
220
|
+
<tr>
|
221
|
+
<td class="function_type">
|
222
|
+
<span class="returnvalue">void</span>
|
223
|
+
</td>
|
224
|
+
<td class="function_name">
|
225
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-bottom-margin" title="gtk_source_print_compositor_set_bottom_margin ()">gtk_source_print_compositor_set_bottom_margin</a> <span class="c_punctuation">()</span>
|
226
|
+
</td>
|
227
|
+
</tr>
|
228
|
+
<tr>
|
229
|
+
<td class="function_type">
|
230
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
231
|
+
</td>
|
232
|
+
<td class="function_name">
|
233
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-left-margin" title="gtk_source_print_compositor_get_left_margin ()">gtk_source_print_compositor_get_left_margin</a> <span class="c_punctuation">()</span>
|
234
|
+
</td>
|
235
|
+
</tr>
|
236
|
+
<tr>
|
237
|
+
<td class="function_type">
|
238
|
+
<span class="returnvalue">void</span>
|
239
|
+
</td>
|
240
|
+
<td class="function_name">
|
241
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-left-margin" title="gtk_source_print_compositor_set_left_margin ()">gtk_source_print_compositor_set_left_margin</a> <span class="c_punctuation">()</span>
|
242
|
+
</td>
|
243
|
+
</tr>
|
244
|
+
<tr>
|
245
|
+
<td class="function_type">
|
246
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
247
|
+
</td>
|
248
|
+
<td class="function_name">
|
249
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-right-margin" title="gtk_source_print_compositor_get_right_margin ()">gtk_source_print_compositor_get_right_margin</a> <span class="c_punctuation">()</span>
|
250
|
+
</td>
|
251
|
+
</tr>
|
252
|
+
<tr>
|
253
|
+
<td class="function_type">
|
254
|
+
<span class="returnvalue">void</span>
|
255
|
+
</td>
|
256
|
+
<td class="function_name">
|
257
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-right-margin" title="gtk_source_print_compositor_set_right_margin ()">gtk_source_print_compositor_set_right_margin</a> <span class="c_punctuation">()</span>
|
258
|
+
</td>
|
259
|
+
</tr>
|
260
|
+
<tr>
|
261
|
+
<td class="function_type">
|
262
|
+
<span class="returnvalue">void</span>
|
263
|
+
</td>
|
264
|
+
<td class="function_name">
|
265
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-header" title="gtk_source_print_compositor_set_print_header ()">gtk_source_print_compositor_set_print_header</a> <span class="c_punctuation">()</span>
|
266
|
+
</td>
|
267
|
+
</tr>
|
268
|
+
<tr>
|
269
|
+
<td class="function_type">
|
270
|
+
<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>
|
271
|
+
</td>
|
272
|
+
<td class="function_name">
|
273
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-header" title="gtk_source_print_compositor_get_print_header ()">gtk_source_print_compositor_get_print_header</a> <span class="c_punctuation">()</span>
|
274
|
+
</td>
|
275
|
+
</tr>
|
276
|
+
<tr>
|
277
|
+
<td class="function_type">
|
278
|
+
<span class="returnvalue">void</span>
|
279
|
+
</td>
|
280
|
+
<td class="function_name">
|
281
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-footer" title="gtk_source_print_compositor_set_print_footer ()">gtk_source_print_compositor_set_print_footer</a> <span class="c_punctuation">()</span>
|
282
|
+
</td>
|
283
|
+
</tr>
|
284
|
+
<tr>
|
285
|
+
<td class="function_type">
|
286
|
+
<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
|
+
</td>
|
288
|
+
<td class="function_name">
|
289
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-footer" title="gtk_source_print_compositor_get_print_footer ()">gtk_source_print_compositor_get_print_footer</a> <span class="c_punctuation">()</span>
|
290
|
+
</td>
|
291
|
+
</tr>
|
292
|
+
<tr>
|
293
|
+
<td class="function_type">
|
294
|
+
<span class="returnvalue">void</span>
|
295
|
+
</td>
|
296
|
+
<td class="function_name">
|
297
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format ()">gtk_source_print_compositor_set_header_format</a> <span class="c_punctuation">()</span>
|
298
|
+
</td>
|
299
|
+
</tr>
|
300
|
+
<tr>
|
301
|
+
<td class="function_type">
|
302
|
+
<span class="returnvalue">void</span>
|
303
|
+
</td>
|
304
|
+
<td class="function_name">
|
305
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format ()">gtk_source_print_compositor_set_footer_format</a> <span class="c_punctuation">()</span>
|
306
|
+
</td>
|
307
|
+
</tr>
|
308
|
+
<tr>
|
309
|
+
<td class="function_type">
|
310
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
311
|
+
</td>
|
312
|
+
<td class="function_name">
|
313
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-n-pages" title="gtk_source_print_compositor_get_n_pages ()">gtk_source_print_compositor_get_n_pages</a> <span class="c_punctuation">()</span>
|
314
|
+
</td>
|
315
|
+
</tr>
|
316
|
+
<tr>
|
317
|
+
<td class="function_type">
|
318
|
+
<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>
|
319
|
+
</td>
|
320
|
+
<td class="function_name">
|
321
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()">gtk_source_print_compositor_paginate</a> <span class="c_punctuation">()</span>
|
322
|
+
</td>
|
323
|
+
</tr>
|
324
|
+
<tr>
|
325
|
+
<td class="function_type">
|
326
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
327
|
+
</td>
|
328
|
+
<td class="function_name">
|
329
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-pagination-progress" title="gtk_source_print_compositor_get_pagination_progress ()">gtk_source_print_compositor_get_pagination_progress</a> <span class="c_punctuation">()</span>
|
330
|
+
</td>
|
331
|
+
</tr>
|
332
|
+
<tr>
|
333
|
+
<td class="function_type">
|
334
|
+
<span class="returnvalue">void</span>
|
335
|
+
</td>
|
336
|
+
<td class="function_name">
|
337
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-draw-page" title="gtk_source_print_compositor_draw_page ()">gtk_source_print_compositor_draw_page</a> <span class="c_punctuation">()</span>
|
338
|
+
</td>
|
339
|
+
</tr>
|
340
|
+
</tbody>
|
341
|
+
</table></div>
|
342
|
+
</div>
|
343
|
+
<div class="refsect1">
|
344
|
+
<a name="GtkSourcePrintCompositor.properties"></a><h2>Properties</h2>
|
345
|
+
<div class="informaltable"><table border="0">
|
346
|
+
<colgroup>
|
347
|
+
<col width="150px" class="properties_type">
|
348
|
+
<col width="300px" class="properties_name">
|
349
|
+
<col width="200px" class="properties_flags">
|
350
|
+
</colgroup>
|
351
|
+
<tbody>
|
352
|
+
<tr>
|
353
|
+
<td class="property_type">
|
354
|
+
<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>
|
355
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--body-font-name" title="The “body-font-name” property">body-font-name</a></td>
|
356
|
+
<td class="property_flags">Read / Write</td>
|
357
|
+
</tr>
|
358
|
+
<tr>
|
359
|
+
<td class="property_type">
|
360
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *</td>
|
361
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--buffer" title="The “buffer” property">buffer</a></td>
|
362
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
363
|
+
</tr>
|
364
|
+
<tr>
|
365
|
+
<td class="property_type">
|
366
|
+
<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>
|
367
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--footer-font-name" title="The “footer-font-name” property">footer-font-name</a></td>
|
368
|
+
<td class="property_flags">Read / Write</td>
|
369
|
+
</tr>
|
370
|
+
<tr>
|
371
|
+
<td class="property_type">
|
372
|
+
<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>
|
373
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--header-font-name" title="The “header-font-name” property">header-font-name</a></td>
|
374
|
+
<td class="property_flags">Read / Write</td>
|
375
|
+
</tr>
|
376
|
+
<tr>
|
377
|
+
<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>
|
378
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--highlight-syntax" title="The “highlight-syntax” property">highlight-syntax</a></td>
|
379
|
+
<td class="property_flags">Read / Write</td>
|
380
|
+
</tr>
|
381
|
+
<tr>
|
382
|
+
<td class="property_type">
|
383
|
+
<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>
|
384
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--line-numbers-font-name" title="The “line-numbers-font-name” property">line-numbers-font-name</a></td>
|
385
|
+
<td class="property_flags">Read / Write</td>
|
386
|
+
</tr>
|
387
|
+
<tr>
|
388
|
+
<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#gint"><span class="type">gint</span></a></td>
|
389
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--n-pages" title="The “n-pages” property">n-pages</a></td>
|
390
|
+
<td class="property_flags">Read</td>
|
391
|
+
</tr>
|
392
|
+
<tr>
|
393
|
+
<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>
|
394
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-footer" title="The “print-footer” property">print-footer</a></td>
|
395
|
+
<td class="property_flags">Read / Write</td>
|
396
|
+
</tr>
|
397
|
+
<tr>
|
398
|
+
<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>
|
399
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-header" title="The “print-header” property">print-header</a></td>
|
400
|
+
<td class="property_flags">Read / Write</td>
|
401
|
+
</tr>
|
402
|
+
<tr>
|
403
|
+
<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#guint"><span class="type">guint</span></a></td>
|
404
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-line-numbers" title="The “print-line-numbers” property">print-line-numbers</a></td>
|
405
|
+
<td class="property_flags">Read / Write</td>
|
406
|
+
</tr>
|
407
|
+
<tr>
|
408
|
+
<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#guint"><span class="type">guint</span></a></td>
|
409
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--tab-width" title="The “tab-width” property">tab-width</a></td>
|
410
|
+
<td class="property_flags">Read / Write</td>
|
411
|
+
</tr>
|
412
|
+
<tr>
|
413
|
+
<td class="property_type"><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a></td>
|
414
|
+
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title="The “wrap-mode” property">wrap-mode</a></td>
|
415
|
+
<td class="property_flags">Read / Write</td>
|
416
|
+
</tr>
|
417
|
+
</tbody>
|
418
|
+
</table></div>
|
419
|
+
</div>
|
420
|
+
<div class="refsect1">
|
421
|
+
<a name="GtkSourcePrintCompositor.other"></a><h2>Types and Values</h2>
|
422
|
+
<div class="informaltable"><table width="100%" border="0">
|
423
|
+
<colgroup>
|
424
|
+
<col width="150px" class="name">
|
425
|
+
<col class="description">
|
426
|
+
</colgroup>
|
427
|
+
<tbody><tr>
|
428
|
+
<td class="datatype_keyword"> </td>
|
429
|
+
<td class="function_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor-struct" title="GtkSourcePrintCompositor">GtkSourcePrintCompositor</a></td>
|
430
|
+
</tr></tbody>
|
431
|
+
</table></div>
|
153
432
|
</div>
|
154
433
|
<div class="refsect1">
|
155
434
|
<a name="GtkSourcePrintCompositor.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
156
|
-
<pre class="
|
157
|
-
|
158
|
-
+----GtkSourcePrintCompositor
|
435
|
+
<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>
|
436
|
+
<span class="lineart">╰──</span> GtkSourcePrintCompositor
|
159
437
|
</pre>
|
160
438
|
</div>
|
161
439
|
<div class="refsect1">
|
162
|
-
<a name="GtkSourcePrintCompositor.
|
163
|
-
<pre class="synopsis"
|
164
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--body-font-name" title='The "body-font-name" property'>body-font-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 / Write
|
165
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--buffer" title='The "buffer" property'>buffer</a>" <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>* : Read / Write / Construct Only
|
166
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--footer-font-name" title='The "footer-font-name" property'>footer-font-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 / Write
|
167
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--header-font-name" title='The "header-font-name" property'>header-font-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 / Write
|
168
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--highlight-syntax" title='The "highlight-syntax" property'>highlight-syntax</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 / Write
|
169
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--line-numbers-font-name" title='The "line-numbers-font-name" property'>line-numbers-font-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 / Write
|
170
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--n-pages" title='The "n-pages" property'>n-pages</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
171
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-footer" title='The "print-footer" property'>print-footer</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 / Write
|
172
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-header" title='The "print-header" property'>print-header</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 / Write
|
173
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-line-numbers" title='The "print-line-numbers" property'>print-line-numbers</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
174
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--tab-width" title='The "tab-width" property'>tab-width</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
175
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title='The "wrap-mode" property'>wrap-mode</a>" <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a> : Read / Write
|
440
|
+
<a name="GtkSourcePrintCompositor.includes"></a><h2>Includes</h2>
|
441
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
176
442
|
</pre>
|
177
443
|
</div>
|
178
444
|
<div class="refsect1">
|
179
445
|
<a name="GtkSourcePrintCompositor.description"></a><h2>Description</h2>
|
180
|
-
<p>
|
181
|
-
The <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> object is used to compose a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>
|
446
|
+
<p>The <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> object is used to compose a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>
|
182
447
|
for printing. You can set various configuration options to customize the
|
183
448
|
printed output. <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> is designed to be used with the
|
184
|
-
high-level printing API of gtk+, i.e. <a href="http://developer.gnome.org/gtk2/gtk3-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a
|
185
|
-
|
186
|
-
<p>
|
187
|
-
The margins specified in this object are the layout margins: they define the
|
449
|
+
high-level printing API of gtk+, i.e. <a href="http://developer.gnome.org/gtk2/gtk3-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>.</p>
|
450
|
+
<p>The margins specified in this object are the layout margins: they define the
|
188
451
|
blank space bordering the printed area of the pages. They must not be
|
189
452
|
confused with the "print margins", i.e. the parts of the page that the
|
190
453
|
printer cannot print on, defined in the <a href="http://developer.gnome.org/gtk2/GtkPageSetup.html"><span class="type">GtkPageSetup</span></a> objects. If the
|
191
454
|
specified layout margins are smaller than the "print margins", the latter
|
192
455
|
ones are used as a fallback by the <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> object, so that
|
193
|
-
the printed area is not clipped
|
194
|
-
</p>
|
456
|
+
the printed area is not clipped.</p>
|
195
457
|
</div>
|
196
458
|
<div class="refsect1">
|
197
|
-
<a name="GtkSourcePrintCompositor.
|
198
|
-
<div class="refsect2">
|
199
|
-
<a name="GtkSourcePrintCompositor-struct"></a><h3>GtkSourcePrintCompositor</h3>
|
200
|
-
<pre class="programlisting">typedef struct _GtkSourcePrintCompositor GtkSourcePrintCompositor;</pre>
|
201
|
-
</div>
|
202
|
-
<hr>
|
459
|
+
<a name="GtkSourcePrintCompositor.functions_details"></a><h2>Functions</h2>
|
203
460
|
<div class="refsect2">
|
204
|
-
<a name="gtk-source-print-compositor-new"></a><h3>gtk_source_print_compositor_new
|
205
|
-
<pre class="programlisting"><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a>
|
206
|
-
|
207
|
-
<p>
|
208
|
-
|
209
|
-
|
210
|
-
<
|
461
|
+
<a name="gtk-source-print-compositor-new"></a><h3>gtk_source_print_compositor_new ()</h3>
|
462
|
+
<pre class="programlisting"><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> *
|
463
|
+
gtk_source_print_compositor_new (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
464
|
+
<p>Creates a new print compositor that can be used to print <em class="parameter"><code>buffer</code></em>
|
465
|
+
.</p>
|
466
|
+
<div class="refsect3">
|
467
|
+
<a name="id-1.2.22.9.2.5"></a><h4>Parameters</h4>
|
468
|
+
<div class="informaltable"><table width="100%" border="0">
|
211
469
|
<colgroup>
|
212
|
-
<col
|
213
|
-
<col>
|
470
|
+
<col width="150px" class="parameters_name">
|
471
|
+
<col class="parameters_description">
|
472
|
+
<col width="200px" class="parameters_annotations">
|
214
473
|
</colgroup>
|
215
|
-
<tbody>
|
216
|
-
<
|
217
|
-
<td><p
|
218
|
-
<td
|
219
|
-
</tr>
|
220
|
-
<tr>
|
221
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
222
|
-
<td>a new print compositor object.</td>
|
223
|
-
</tr>
|
224
|
-
</tbody>
|
474
|
+
<tbody><tr>
|
475
|
+
<td class="parameter_name"><p>buffer</p></td>
|
476
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to print.</p></td>
|
477
|
+
<td class="parameter_annotations"> </td>
|
478
|
+
</tr></tbody>
|
225
479
|
</table></div>
|
480
|
+
</div>
|
481
|
+
<div class="refsect3">
|
482
|
+
<a name="id-1.2.22.9.2.6"></a><h4>Returns</h4>
|
483
|
+
<p> a new print compositor object.</p>
|
484
|
+
<p></p>
|
485
|
+
</div>
|
226
486
|
<p class="since">Since 2.2</p>
|
227
487
|
</div>
|
228
488
|
<hr>
|
229
489
|
<div class="refsect2">
|
230
|
-
<a name="gtk-source-print-compositor-new-from-view"></a><h3>gtk_source_print_compositor_new_from_view
|
231
|
-
<pre class="programlisting"><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a>
|
232
|
-
|
233
|
-
<
|
234
|
-
Creates a new print compositor that can be used to print the buffer
|
235
|
-
associated with <em class="parameter"><code>view</code></em
|
490
|
+
<a name="gtk-source-print-compositor-new-from-view"></a><h3>gtk_source_print_compositor_new_from_view ()</h3>
|
491
|
+
<pre class="programlisting"><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> *
|
492
|
+
gtk_source_print_compositor_new_from_view
|
493
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
494
|
+
<p>Creates a new print compositor that can be used to print the buffer
|
495
|
+
associated with <em class="parameter"><code>view</code></em>
|
496
|
+
.
|
236
497
|
This constructor sets some configuration properties to make the
|
237
|
-
printed output match <em class="parameter"><code>view</code></em>
|
238
|
-
|
239
|
-
<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--
|
240
|
-
<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--
|
241
|
-
|
242
|
-
<div class="
|
498
|
+
printed output match <em class="parameter"><code>view</code></em>
|
499
|
+
as much as possible. The properties set are
|
500
|
+
<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--tab-width" title="The “tab-width” property"><span class="type">“tab-width”</span></a>, <a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--highlight-syntax" title="The “highlight-syntax” property"><span class="type">“highlight-syntax”</span></a>,
|
501
|
+
<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title="The “wrap-mode” property"><span class="type">“wrap-mode”</span></a>, <a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--body-font-name" title="The “body-font-name” property"><span class="type">“body-font-name”</span></a> and
|
502
|
+
<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-line-numbers" title="The “print-line-numbers” property"><span class="type">“print-line-numbers”</span></a>.</p>
|
503
|
+
<div class="refsect3">
|
504
|
+
<a name="id-1.2.22.9.3.5"></a><h4>Parameters</h4>
|
505
|
+
<div class="informaltable"><table width="100%" border="0">
|
243
506
|
<colgroup>
|
244
|
-
<col
|
245
|
-
<col>
|
507
|
+
<col width="150px" class="parameters_name">
|
508
|
+
<col class="parameters_description">
|
509
|
+
<col width="200px" class="parameters_annotations">
|
246
510
|
</colgroup>
|
247
|
-
<tbody>
|
248
|
-
<
|
249
|
-
<td><p
|
250
|
-
<td
|
251
|
-
</tr>
|
252
|
-
<tr>
|
253
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
254
|
-
<td>a new print compositor object.</td>
|
255
|
-
</tr>
|
256
|
-
</tbody>
|
511
|
+
<tbody><tr>
|
512
|
+
<td class="parameter_name"><p>view</p></td>
|
513
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> to get configuration from.</p></td>
|
514
|
+
<td class="parameter_annotations"> </td>
|
515
|
+
</tr></tbody>
|
257
516
|
</table></div>
|
517
|
+
</div>
|
518
|
+
<div class="refsect3">
|
519
|
+
<a name="id-1.2.22.9.3.6"></a><h4>Returns</h4>
|
520
|
+
<p> a new print compositor object.</p>
|
521
|
+
<p></p>
|
522
|
+
</div>
|
258
523
|
<p class="since">Since 2.2</p>
|
259
524
|
</div>
|
260
525
|
<hr>
|
261
526
|
<div class="refsect2">
|
262
|
-
<a name="gtk-source-print-compositor-get-buffer"></a><h3>gtk_source_print_compositor_get_buffer
|
263
|
-
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a>
|
264
|
-
|
265
|
-
<
|
266
|
-
Gets the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> associated with the compositor. The returned
|
527
|
+
<a name="gtk-source-print-compositor-get-buffer"></a><h3>gtk_source_print_compositor_get_buffer ()</h3>
|
528
|
+
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
529
|
+
gtk_source_print_compositor_get_buffer
|
530
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
531
|
+
<p>Gets the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> associated with the compositor. The returned
|
267
532
|
object reference is owned by the compositor object and
|
268
|
-
should not be unreferenced
|
269
|
-
|
270
|
-
<
|
533
|
+
should not be unreferenced.</p>
|
534
|
+
<div class="refsect3">
|
535
|
+
<a name="id-1.2.22.9.4.5"></a><h4>Parameters</h4>
|
536
|
+
<div class="informaltable"><table width="100%" border="0">
|
271
537
|
<colgroup>
|
272
|
-
<col
|
273
|
-
<col>
|
538
|
+
<col width="150px" class="parameters_name">
|
539
|
+
<col class="parameters_description">
|
540
|
+
<col width="200px" class="parameters_annotations">
|
274
541
|
</colgroup>
|
275
|
-
<tbody>
|
276
|
-
<
|
277
|
-
<td><p
|
278
|
-
<td
|
279
|
-
</tr>
|
280
|
-
<tr>
|
281
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
282
|
-
<td>the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> associated with the compositor. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
283
|
-
</td>
|
284
|
-
</tr>
|
285
|
-
</tbody>
|
542
|
+
<tbody><tr>
|
543
|
+
<td class="parameter_name"><p>compositor</p></td>
|
544
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
545
|
+
<td class="parameter_annotations"> </td>
|
546
|
+
</tr></tbody>
|
286
547
|
</table></div>
|
548
|
+
</div>
|
549
|
+
<div class="refsect3">
|
550
|
+
<a name="id-1.2.22.9.4.6"></a><h4>Returns</h4>
|
551
|
+
<p> the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> associated with the compositor. </p>
|
552
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
553
|
+
</div>
|
287
554
|
<p class="since">Since 2.2</p>
|
288
555
|
</div>
|
289
556
|
<hr>
|
290
557
|
<div class="refsect2">
|
291
|
-
<a name="gtk-source-print-compositor-set-tab-width"></a><h3>gtk_source_print_compositor_set_tab_width
|
292
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
293
|
-
|
294
|
-
|
295
|
-
<
|
296
|
-
Sets the width of tabulation in characters for printed text
|
297
|
-
|
298
|
-
<p>
|
299
|
-
|
300
|
-
<a
|
301
|
-
|
302
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
558
|
+
<a name="gtk-source-print-compositor-set-tab-width"></a><h3>gtk_source_print_compositor_set_tab_width ()</h3>
|
559
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
560
|
+
gtk_source_print_compositor_set_tab_width
|
561
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
562
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);</pre>
|
563
|
+
<p>Sets the width of tabulation in characters for printed text.</p>
|
564
|
+
<p>This function cannot be called anymore after the first call to the
|
565
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
566
|
+
<div class="refsect3">
|
567
|
+
<a name="id-1.2.22.9.5.6"></a><h4>Parameters</h4>
|
568
|
+
<div class="informaltable"><table width="100%" border="0">
|
303
569
|
<colgroup>
|
304
|
-
<col
|
305
|
-
<col>
|
570
|
+
<col width="150px" class="parameters_name">
|
571
|
+
<col class="parameters_description">
|
572
|
+
<col width="200px" class="parameters_annotations">
|
306
573
|
</colgroup>
|
307
574
|
<tbody>
|
308
575
|
<tr>
|
309
|
-
<td
|
310
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
576
|
+
<td class="parameter_name"><p>compositor</p></td>
|
577
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
578
|
+
<td class="parameter_annotations"> </td>
|
311
579
|
</tr>
|
312
580
|
<tr>
|
313
|
-
<td
|
314
|
-
<td>width of tab in characters.</td>
|
581
|
+
<td class="parameter_name"><p>width</p></td>
|
582
|
+
<td class="parameter_description"><p>width of tab in characters.</p></td>
|
583
|
+
<td class="parameter_annotations"> </td>
|
315
584
|
</tr>
|
316
585
|
</tbody>
|
317
586
|
</table></div>
|
587
|
+
</div>
|
318
588
|
<p class="since">Since 2.2</p>
|
319
589
|
</div>
|
320
590
|
<hr>
|
321
591
|
<div class="refsect2">
|
322
|
-
<a name="gtk-source-print-compositor-get-tab-width"></a><h3>gtk_source_print_compositor_get_tab_width
|
323
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
324
|
-
|
325
|
-
<
|
326
|
-
Returns the width of tabulation in characters for printed text
|
327
|
-
|
328
|
-
<
|
592
|
+
<a name="gtk-source-print-compositor-get-tab-width"></a><h3>gtk_source_print_compositor_get_tab_width ()</h3>
|
593
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
594
|
+
gtk_source_print_compositor_get_tab_width
|
595
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
596
|
+
<p>Returns the width of tabulation in characters for printed text.</p>
|
597
|
+
<div class="refsect3">
|
598
|
+
<a name="id-1.2.22.9.6.5"></a><h4>Parameters</h4>
|
599
|
+
<div class="informaltable"><table width="100%" border="0">
|
329
600
|
<colgroup>
|
330
|
-
<col
|
331
|
-
<col>
|
601
|
+
<col width="150px" class="parameters_name">
|
602
|
+
<col class="parameters_description">
|
603
|
+
<col width="200px" class="parameters_annotations">
|
332
604
|
</colgroup>
|
333
|
-
<tbody>
|
334
|
-
<
|
335
|
-
<td><p
|
336
|
-
<td
|
337
|
-
</tr>
|
338
|
-
<tr>
|
339
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
340
|
-
<td>width of tab.</td>
|
341
|
-
</tr>
|
342
|
-
</tbody>
|
605
|
+
<tbody><tr>
|
606
|
+
<td class="parameter_name"><p>compositor</p></td>
|
607
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
608
|
+
<td class="parameter_annotations"> </td>
|
609
|
+
</tr></tbody>
|
343
610
|
</table></div>
|
611
|
+
</div>
|
612
|
+
<div class="refsect3">
|
613
|
+
<a name="id-1.2.22.9.6.6"></a><h4>Returns</h4>
|
614
|
+
<p> width of tab.</p>
|
615
|
+
<p></p>
|
616
|
+
</div>
|
344
617
|
<p class="since">Since 2.2</p>
|
345
618
|
</div>
|
346
619
|
<hr>
|
347
620
|
<div class="refsect2">
|
348
|
-
<a name="gtk-source-print-compositor-set-wrap-mode"></a><h3>gtk_source_print_compositor_set_wrap_mode
|
349
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
350
|
-
|
351
|
-
|
352
|
-
<
|
353
|
-
Sets the line wrapping mode for the printed text
|
354
|
-
|
355
|
-
<p>
|
356
|
-
|
357
|
-
<a
|
358
|
-
|
359
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
621
|
+
<a name="gtk-source-print-compositor-set-wrap-mode"></a><h3>gtk_source_print_compositor_set_wrap_mode ()</h3>
|
622
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
623
|
+
gtk_source_print_compositor_set_wrap_mode
|
624
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
625
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a> wrap_mode</code></em>);</pre>
|
626
|
+
<p>Sets the line wrapping mode for the printed text.</p>
|
627
|
+
<p>This function cannot be called anymore after the first call to the
|
628
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
629
|
+
<div class="refsect3">
|
630
|
+
<a name="id-1.2.22.9.7.6"></a><h4>Parameters</h4>
|
631
|
+
<div class="informaltable"><table width="100%" border="0">
|
360
632
|
<colgroup>
|
361
|
-
<col
|
362
|
-
<col>
|
633
|
+
<col width="150px" class="parameters_name">
|
634
|
+
<col class="parameters_description">
|
635
|
+
<col width="200px" class="parameters_annotations">
|
363
636
|
</colgroup>
|
364
637
|
<tbody>
|
365
638
|
<tr>
|
366
|
-
<td
|
367
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
639
|
+
<td class="parameter_name"><p>compositor</p></td>
|
640
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
641
|
+
<td class="parameter_annotations"> </td>
|
368
642
|
</tr>
|
369
643
|
<tr>
|
370
|
-
<td
|
371
|
-
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a>.</td>
|
644
|
+
<td class="parameter_name"><p>wrap_mode</p></td>
|
645
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a>.</p></td>
|
646
|
+
<td class="parameter_annotations"> </td>
|
372
647
|
</tr>
|
373
648
|
</tbody>
|
374
649
|
</table></div>
|
650
|
+
</div>
|
375
651
|
<p class="since">Since 2.2</p>
|
376
652
|
</div>
|
377
653
|
<hr>
|
378
654
|
<div class="refsect2">
|
379
|
-
<a name="gtk-source-print-compositor-get-wrap-mode"></a><h3>gtk_source_print_compositor_get_wrap_mode
|
380
|
-
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
|
381
|
-
|
382
|
-
<
|
383
|
-
Gets the line wrapping mode for the printed text
|
384
|
-
|
385
|
-
<
|
655
|
+
<a name="gtk-source-print-compositor-get-wrap-mode"></a><h3>gtk_source_print_compositor_get_wrap_mode ()</h3>
|
656
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
|
657
|
+
gtk_source_print_compositor_get_wrap_mode
|
658
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
659
|
+
<p>Gets the line wrapping mode for the printed text.</p>
|
660
|
+
<div class="refsect3">
|
661
|
+
<a name="id-1.2.22.9.8.5"></a><h4>Parameters</h4>
|
662
|
+
<div class="informaltable"><table width="100%" border="0">
|
386
663
|
<colgroup>
|
387
|
-
<col
|
388
|
-
<col>
|
664
|
+
<col width="150px" class="parameters_name">
|
665
|
+
<col class="parameters_description">
|
666
|
+
<col width="200px" class="parameters_annotations">
|
389
667
|
</colgroup>
|
390
|
-
<tbody>
|
391
|
-
<
|
392
|
-
<td><p
|
393
|
-
<td
|
394
|
-
</tr>
|
395
|
-
<tr>
|
396
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
397
|
-
<td>the line wrap mode.</td>
|
398
|
-
</tr>
|
399
|
-
</tbody>
|
668
|
+
<tbody><tr>
|
669
|
+
<td class="parameter_name"><p>compositor</p></td>
|
670
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
671
|
+
<td class="parameter_annotations"> </td>
|
672
|
+
</tr></tbody>
|
400
673
|
</table></div>
|
674
|
+
</div>
|
675
|
+
<div class="refsect3">
|
676
|
+
<a name="id-1.2.22.9.8.6"></a><h4>Returns</h4>
|
677
|
+
<p> the line wrap mode.</p>
|
678
|
+
<p></p>
|
679
|
+
</div>
|
401
680
|
<p class="since">Since 2.2</p>
|
402
681
|
</div>
|
403
682
|
<hr>
|
404
683
|
<div class="refsect2">
|
405
|
-
<a name="gtk-source-print-compositor-set-highlight-syntax"></a><h3>gtk_source_print_compositor_set_highlight_syntax
|
406
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
407
|
-
|
408
|
-
|
409
|
-
<
|
410
|
-
Sets whether the printed text will be highlighted according to the
|
411
|
-
buffer rules. Both color and font style are applied
|
412
|
-
|
413
|
-
<p>
|
414
|
-
|
415
|
-
<a
|
416
|
-
|
417
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
684
|
+
<a name="gtk-source-print-compositor-set-highlight-syntax"></a><h3>gtk_source_print_compositor_set_highlight_syntax ()</h3>
|
685
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
686
|
+
gtk_source_print_compositor_set_highlight_syntax
|
687
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
688
|
+
<em class="parameter"><code><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> highlight</code></em>);</pre>
|
689
|
+
<p>Sets whether the printed text will be highlighted according to the
|
690
|
+
buffer rules. Both color and font style are applied.</p>
|
691
|
+
<p>This function cannot be called anymore after the first call to the
|
692
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
693
|
+
<div class="refsect3">
|
694
|
+
<a name="id-1.2.22.9.9.6"></a><h4>Parameters</h4>
|
695
|
+
<div class="informaltable"><table width="100%" border="0">
|
418
696
|
<colgroup>
|
419
|
-
<col
|
420
|
-
<col>
|
697
|
+
<col width="150px" class="parameters_name">
|
698
|
+
<col class="parameters_description">
|
699
|
+
<col width="200px" class="parameters_annotations">
|
421
700
|
</colgroup>
|
422
701
|
<tbody>
|
423
702
|
<tr>
|
424
|
-
<td
|
425
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
703
|
+
<td class="parameter_name"><p>compositor</p></td>
|
704
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
705
|
+
<td class="parameter_annotations"> </td>
|
426
706
|
</tr>
|
427
707
|
<tr>
|
428
|
-
<td
|
429
|
-
<td>whether syntax should be highlighted.</td>
|
708
|
+
<td class="parameter_name"><p>highlight</p></td>
|
709
|
+
<td class="parameter_description"><p>whether syntax should be highlighted.</p></td>
|
710
|
+
<td class="parameter_annotations"> </td>
|
430
711
|
</tr>
|
431
712
|
</tbody>
|
432
713
|
</table></div>
|
714
|
+
</div>
|
433
715
|
<p class="since">Since 2.2</p>
|
434
716
|
</div>
|
435
717
|
<hr>
|
436
718
|
<div class="refsect2">
|
437
|
-
<a name="gtk-source-print-compositor-get-highlight-syntax"></a><h3>gtk_source_print_compositor_get_highlight_syntax
|
438
|
-
<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>
|
439
|
-
|
440
|
-
<
|
441
|
-
Determines whether the printed text will be highlighted according to the
|
719
|
+
<a name="gtk-source-print-compositor-get-highlight-syntax"></a><h3>gtk_source_print_compositor_get_highlight_syntax ()</h3>
|
720
|
+
<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>
|
721
|
+
gtk_source_print_compositor_get_highlight_syntax
|
722
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
723
|
+
<p>Determines whether the printed text will be highlighted according to the
|
442
724
|
buffer rules. Note that highlighting will happen
|
443
|
-
only if the buffer to print has highlighting activated
|
444
|
-
|
445
|
-
<
|
725
|
+
only if the buffer to print has highlighting activated.</p>
|
726
|
+
<div class="refsect3">
|
727
|
+
<a name="id-1.2.22.9.10.5"></a><h4>Parameters</h4>
|
728
|
+
<div class="informaltable"><table width="100%" border="0">
|
446
729
|
<colgroup>
|
447
|
-
<col
|
448
|
-
<col>
|
730
|
+
<col width="150px" class="parameters_name">
|
731
|
+
<col class="parameters_description">
|
732
|
+
<col width="200px" class="parameters_annotations">
|
449
733
|
</colgroup>
|
450
|
-
<tbody>
|
451
|
-
<
|
452
|
-
<td><p
|
453
|
-
<td
|
454
|
-
</tr>
|
455
|
-
<tr>
|
456
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
457
|
-
<td>
|
458
|
-
<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 printed output will be highlighted.</td>
|
459
|
-
</tr>
|
460
|
-
</tbody>
|
734
|
+
<tbody><tr>
|
735
|
+
<td class="parameter_name"><p>compositor</p></td>
|
736
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
737
|
+
<td class="parameter_annotations"> </td>
|
738
|
+
</tr></tbody>
|
461
739
|
</table></div>
|
740
|
+
</div>
|
741
|
+
<div class="refsect3">
|
742
|
+
<a name="id-1.2.22.9.10.6"></a><h4>Returns</h4>
|
743
|
+
<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 printed output will be highlighted.</p>
|
744
|
+
<p></p>
|
745
|
+
</div>
|
462
746
|
<p class="since">Since 2.2</p>
|
463
747
|
</div>
|
464
748
|
<hr>
|
465
749
|
<div class="refsect2">
|
466
|
-
<a name="gtk-source-print-compositor-set-print-line-numbers"></a><h3>gtk_source_print_compositor_set_print_line_numbers
|
467
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
468
|
-
|
469
|
-
|
470
|
-
<
|
471
|
-
Sets the interval for printed line numbers. If <em class="parameter"><code>interval</code></em>
|
750
|
+
<a name="gtk-source-print-compositor-set-print-line-numbers"></a><h3>gtk_source_print_compositor_set_print_line_numbers ()</h3>
|
751
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
752
|
+
gtk_source_print_compositor_set_print_line_numbers
|
753
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
754
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> interval</code></em>);</pre>
|
755
|
+
<p>Sets the interval for printed line numbers. If <em class="parameter"><code>interval</code></em>
|
756
|
+
is 0 no
|
472
757
|
numbers will be printed. If greater than 0, a number will be
|
473
|
-
printed every <em class="parameter"><code>interval</code></em>
|
474
|
-
|
475
|
-
<p>
|
476
|
-
|
477
|
-
|
478
|
-
<p>
|
479
|
-
|
480
|
-
<a
|
481
|
-
|
482
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
758
|
+
printed every <em class="parameter"><code>interval</code></em>
|
759
|
+
lines (i.e. 1 will print all line numbers).</p>
|
760
|
+
<p>Maximum accepted value for <em class="parameter"><code>interval</code></em>
|
761
|
+
is 100.</p>
|
762
|
+
<p>This function cannot be called anymore after the first call to the
|
763
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
764
|
+
<div class="refsect3">
|
765
|
+
<a name="id-1.2.22.9.11.7"></a><h4>Parameters</h4>
|
766
|
+
<div class="informaltable"><table width="100%" border="0">
|
483
767
|
<colgroup>
|
484
|
-
<col
|
485
|
-
<col>
|
768
|
+
<col width="150px" class="parameters_name">
|
769
|
+
<col class="parameters_description">
|
770
|
+
<col width="200px" class="parameters_annotations">
|
486
771
|
</colgroup>
|
487
772
|
<tbody>
|
488
773
|
<tr>
|
489
|
-
<td
|
490
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
774
|
+
<td class="parameter_name"><p>compositor</p></td>
|
775
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
776
|
+
<td class="parameter_annotations"> </td>
|
491
777
|
</tr>
|
492
778
|
<tr>
|
493
|
-
<td
|
494
|
-
<td>interval for printed line numbers.</td>
|
779
|
+
<td class="parameter_name"><p>interval</p></td>
|
780
|
+
<td class="parameter_description"><p>interval for printed line numbers.</p></td>
|
781
|
+
<td class="parameter_annotations"> </td>
|
495
782
|
</tr>
|
496
783
|
</tbody>
|
497
784
|
</table></div>
|
785
|
+
</div>
|
498
786
|
<p class="since">Since 2.2</p>
|
499
787
|
</div>
|
500
788
|
<hr>
|
501
789
|
<div class="refsect2">
|
502
|
-
<a name="gtk-source-print-compositor-get-print-line-numbers"></a><h3>gtk_source_print_compositor_get_print_line_numbers
|
503
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
504
|
-
|
505
|
-
<
|
506
|
-
Returns the interval used for line number printing. If the
|
790
|
+
<a name="gtk-source-print-compositor-get-print-line-numbers"></a><h3>gtk_source_print_compositor_get_print_line_numbers ()</h3>
|
791
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
792
|
+
gtk_source_print_compositor_get_print_line_numbers
|
793
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
794
|
+
<p>Returns the interval used for line number printing. If the
|
507
795
|
value is 0, no line numbers will be printed. The default value is
|
508
|
-
1 (i.e. numbers printed in all lines)
|
509
|
-
|
510
|
-
<
|
796
|
+
1 (i.e. numbers printed in all lines).</p>
|
797
|
+
<div class="refsect3">
|
798
|
+
<a name="id-1.2.22.9.12.5"></a><h4>Parameters</h4>
|
799
|
+
<div class="informaltable"><table width="100%" border="0">
|
511
800
|
<colgroup>
|
512
|
-
<col
|
513
|
-
<col>
|
801
|
+
<col width="150px" class="parameters_name">
|
802
|
+
<col class="parameters_description">
|
803
|
+
<col width="200px" class="parameters_annotations">
|
514
804
|
</colgroup>
|
515
|
-
<tbody>
|
516
|
-
<
|
517
|
-
<td><p
|
518
|
-
<td
|
519
|
-
</tr>
|
520
|
-
<tr>
|
521
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
522
|
-
<td>the interval of printed line numbers.</td>
|
523
|
-
</tr>
|
524
|
-
</tbody>
|
805
|
+
<tbody><tr>
|
806
|
+
<td class="parameter_name"><p>compositor</p></td>
|
807
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
808
|
+
<td class="parameter_annotations"> </td>
|
809
|
+
</tr></tbody>
|
525
810
|
</table></div>
|
811
|
+
</div>
|
812
|
+
<div class="refsect3">
|
813
|
+
<a name="id-1.2.22.9.12.6"></a><h4>Returns</h4>
|
814
|
+
<p> the interval of printed line numbers.</p>
|
815
|
+
<p></p>
|
816
|
+
</div>
|
526
817
|
<p class="since">Since 2.2</p>
|
527
818
|
</div>
|
528
819
|
<hr>
|
529
820
|
<div class="refsect2">
|
530
|
-
<a name="gtk-source-print-compositor-set-body-font-name"></a><h3>gtk_source_print_compositor_set_body_font_name
|
531
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
532
|
-
|
533
|
-
|
534
|
-
<
|
535
|
-
Sets the default font for the printed text
|
536
|
-
|
537
|
-
|
538
|
-
<em class="parameter"><code>font_name</code></em> should be a
|
821
|
+
<a name="gtk-source-print-compositor-set-body-font-name"></a><h3>gtk_source_print_compositor_set_body_font_name ()</h3>
|
822
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
823
|
+
gtk_source_print_compositor_set_body_font_name
|
824
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
825
|
+
<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> *font_name</code></em>);</pre>
|
826
|
+
<p>Sets the default font for the printed text.</p>
|
827
|
+
<p><em class="parameter"><code>font_name</code></em>
|
828
|
+
should be a
|
539
829
|
string representation of a font description Pango can understand.
|
540
830
|
(e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
|
541
|
-
for a description of the format of the string representation
|
542
|
-
|
543
|
-
<p>
|
544
|
-
|
545
|
-
<a
|
546
|
-
|
547
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
831
|
+
for a description of the format of the string representation.</p>
|
832
|
+
<p>This function cannot be called anymore after the first call to the
|
833
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
834
|
+
<div class="refsect3">
|
835
|
+
<a name="id-1.2.22.9.13.7"></a><h4>Parameters</h4>
|
836
|
+
<div class="informaltable"><table width="100%" border="0">
|
548
837
|
<colgroup>
|
549
|
-
<col
|
550
|
-
<col>
|
838
|
+
<col width="150px" class="parameters_name">
|
839
|
+
<col class="parameters_description">
|
840
|
+
<col width="200px" class="parameters_annotations">
|
551
841
|
</colgroup>
|
552
842
|
<tbody>
|
553
843
|
<tr>
|
554
|
-
<td
|
555
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
844
|
+
<td class="parameter_name"><p>compositor</p></td>
|
845
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
846
|
+
<td class="parameter_annotations"> </td>
|
556
847
|
</tr>
|
557
848
|
<tr>
|
558
|
-
<td
|
559
|
-
<td>the name of the default font for the body text.</td>
|
849
|
+
<td class="parameter_name"><p>font_name</p></td>
|
850
|
+
<td class="parameter_description"><p>the name of the default font for the body text.</p></td>
|
851
|
+
<td class="parameter_annotations"> </td>
|
560
852
|
</tr>
|
561
853
|
</tbody>
|
562
854
|
</table></div>
|
855
|
+
</div>
|
563
856
|
<p class="since">Since 2.2</p>
|
564
857
|
</div>
|
565
858
|
<hr>
|
566
859
|
<div class="refsect2">
|
567
|
-
<a name="gtk-source-print-compositor-get-body-font-name"></a><h3>gtk_source_print_compositor_get_body_font_name
|
568
|
-
<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>
|
569
|
-
|
570
|
-
<
|
571
|
-
Returns the name of the font used to print the text body. The returned string
|
572
|
-
must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a
|
573
|
-
|
574
|
-
<
|
860
|
+
<a name="gtk-source-print-compositor-get-body-font-name"></a><h3>gtk_source_print_compositor_get_body_font_name ()</h3>
|
861
|
+
<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> *
|
862
|
+
gtk_source_print_compositor_get_body_font_name
|
863
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
864
|
+
<p>Returns the name of the font used to print the text body. The returned string
|
865
|
+
must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
866
|
+
<div class="refsect3">
|
867
|
+
<a name="id-1.2.22.9.14.5"></a><h4>Parameters</h4>
|
868
|
+
<div class="informaltable"><table width="100%" border="0">
|
575
869
|
<colgroup>
|
576
|
-
<col
|
577
|
-
<col>
|
870
|
+
<col width="150px" class="parameters_name">
|
871
|
+
<col class="parameters_description">
|
872
|
+
<col width="200px" class="parameters_annotations">
|
578
873
|
</colgroup>
|
579
|
-
<tbody>
|
580
|
-
<
|
581
|
-
<td><p
|
582
|
-
<td
|
583
|
-
</tr>
|
584
|
-
<tr>
|
585
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
586
|
-
<td>a new string containing the name of the font used to print the
|
587
|
-
text body.</td>
|
588
|
-
</tr>
|
589
|
-
</tbody>
|
874
|
+
<tbody><tr>
|
875
|
+
<td class="parameter_name"><p>compositor</p></td>
|
876
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
877
|
+
<td class="parameter_annotations"> </td>
|
878
|
+
</tr></tbody>
|
590
879
|
</table></div>
|
880
|
+
</div>
|
881
|
+
<div class="refsect3">
|
882
|
+
<a name="id-1.2.22.9.14.6"></a><h4>Returns</h4>
|
883
|
+
<p> a new string containing the name of the font used to print the
|
884
|
+
text body.</p>
|
885
|
+
<p></p>
|
886
|
+
</div>
|
591
887
|
<p class="since">Since 2.2</p>
|
592
888
|
</div>
|
593
889
|
<hr>
|
594
890
|
<div class="refsect2">
|
595
|
-
<a name="gtk-source-print-compositor-set-line-numbers-font-name"></a><h3>gtk_source_print_compositor_set_line_numbers_font_name
|
596
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
597
|
-
|
598
|
-
|
599
|
-
<
|
600
|
-
Sets the font for printing line numbers on the left margin. If
|
891
|
+
<a name="gtk-source-print-compositor-set-line-numbers-font-name"></a><h3>gtk_source_print_compositor_set_line_numbers_font_name ()</h3>
|
892
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
893
|
+
gtk_source_print_compositor_set_line_numbers_font_name
|
894
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
895
|
+
<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> *font_name</code></em>);</pre>
|
896
|
+
<p>Sets the font for printing line numbers on the left margin. If
|
601
897
|
<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> is supplied, the default font (i.e. the one being used for the
|
602
|
-
text) will be used instead
|
603
|
-
|
604
|
-
|
605
|
-
<em class="parameter"><code>font_name</code></em> should be a
|
898
|
+
text) will be used instead.</p>
|
899
|
+
<p><em class="parameter"><code>font_name</code></em>
|
900
|
+
should be a
|
606
901
|
string representation of a font description Pango can understand.
|
607
902
|
(e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
|
608
|
-
for a description of the format of the string representation
|
609
|
-
|
610
|
-
<p>
|
611
|
-
|
612
|
-
<a
|
613
|
-
|
614
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
903
|
+
for a description of the format of the string representation.</p>
|
904
|
+
<p>This function cannot be called anymore after the first call to the
|
905
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
906
|
+
<div class="refsect3">
|
907
|
+
<a name="id-1.2.22.9.15.7"></a><h4>Parameters</h4>
|
908
|
+
<div class="informaltable"><table width="100%" border="0">
|
615
909
|
<colgroup>
|
616
|
-
<col
|
617
|
-
<col>
|
910
|
+
<col width="150px" class="parameters_name">
|
911
|
+
<col class="parameters_description">
|
912
|
+
<col width="200px" class="parameters_annotations">
|
618
913
|
</colgroup>
|
619
914
|
<tbody>
|
620
915
|
<tr>
|
621
|
-
<td
|
622
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
916
|
+
<td class="parameter_name"><p>compositor</p></td>
|
917
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
918
|
+
<td class="parameter_annotations"> </td>
|
623
919
|
</tr>
|
624
920
|
<tr>
|
625
|
-
<td
|
626
|
-
<td>the name of the font for line numbers, 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>.
|
627
|
-
</td>
|
921
|
+
<td class="parameter_name"><p>font_name</p></td>
|
922
|
+
<td class="parameter_description"><p> the name of the font for line numbers, 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>. </p></td>
|
923
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
628
924
|
</tr>
|
629
925
|
</tbody>
|
630
926
|
</table></div>
|
927
|
+
</div>
|
631
928
|
<p class="since">Since 2.2</p>
|
632
929
|
</div>
|
633
930
|
<hr>
|
634
931
|
<div class="refsect2">
|
635
|
-
<a name="gtk-source-print-compositor-get-line-numbers-font-name"></a><h3>gtk_source_print_compositor_get_line_numbers_font_name
|
636
|
-
<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>
|
637
|
-
|
638
|
-
<
|
639
|
-
Returns the name of the font used to print line numbers on the left margin.
|
640
|
-
The returned string must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a
|
641
|
-
|
642
|
-
<
|
932
|
+
<a name="gtk-source-print-compositor-get-line-numbers-font-name"></a><h3>gtk_source_print_compositor_get_line_numbers_font_name ()</h3>
|
933
|
+
<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> *
|
934
|
+
gtk_source_print_compositor_get_line_numbers_font_name
|
935
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
936
|
+
<p>Returns the name of the font used to print line numbers on the left margin.
|
937
|
+
The returned string must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
938
|
+
<div class="refsect3">
|
939
|
+
<a name="id-1.2.22.9.16.5"></a><h4>Parameters</h4>
|
940
|
+
<div class="informaltable"><table width="100%" border="0">
|
643
941
|
<colgroup>
|
644
|
-
<col
|
645
|
-
<col>
|
942
|
+
<col width="150px" class="parameters_name">
|
943
|
+
<col class="parameters_description">
|
944
|
+
<col width="200px" class="parameters_annotations">
|
646
945
|
</colgroup>
|
647
|
-
<tbody>
|
648
|
-
<
|
649
|
-
<td><p
|
650
|
-
<td
|
651
|
-
</tr>
|
652
|
-
<tr>
|
653
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
654
|
-
<td>a new string containing the name of the font used to print
|
655
|
-
line numbers on the left margin.</td>
|
656
|
-
</tr>
|
657
|
-
</tbody>
|
946
|
+
<tbody><tr>
|
947
|
+
<td class="parameter_name"><p>compositor</p></td>
|
948
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
949
|
+
<td class="parameter_annotations"> </td>
|
950
|
+
</tr></tbody>
|
658
951
|
</table></div>
|
952
|
+
</div>
|
953
|
+
<div class="refsect3">
|
954
|
+
<a name="id-1.2.22.9.16.6"></a><h4>Returns</h4>
|
955
|
+
<p> a new string containing the name of the font used to print
|
956
|
+
line numbers on the left margin.</p>
|
957
|
+
<p></p>
|
958
|
+
</div>
|
659
959
|
<p class="since">Since 2.2</p>
|
660
960
|
</div>
|
661
961
|
<hr>
|
662
962
|
<div class="refsect2">
|
663
|
-
<a name="gtk-source-print-compositor-set-header-font-name"></a><h3>gtk_source_print_compositor_set_header_font_name
|
664
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
665
|
-
|
666
|
-
|
667
|
-
<
|
668
|
-
Sets the font for printing the page header. If
|
963
|
+
<a name="gtk-source-print-compositor-set-header-font-name"></a><h3>gtk_source_print_compositor_set_header_font_name ()</h3>
|
964
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
965
|
+
gtk_source_print_compositor_set_header_font_name
|
966
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
967
|
+
<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> *font_name</code></em>);</pre>
|
968
|
+
<p>Sets the font for printing the page header. If
|
669
969
|
<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> is supplied, the default font (i.e. the one being used for the
|
670
|
-
text) will be used instead
|
671
|
-
|
672
|
-
|
673
|
-
<em class="parameter"><code>font_name</code></em> should be a
|
970
|
+
text) will be used instead.</p>
|
971
|
+
<p><em class="parameter"><code>font_name</code></em>
|
972
|
+
should be a
|
674
973
|
string representation of a font description Pango can understand.
|
675
974
|
(e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
|
676
|
-
for a description of the format of the string representation
|
677
|
-
|
678
|
-
<p>
|
679
|
-
|
680
|
-
<a
|
681
|
-
|
682
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
975
|
+
for a description of the format of the string representation.</p>
|
976
|
+
<p>This function cannot be called anymore after the first call to the
|
977
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
978
|
+
<div class="refsect3">
|
979
|
+
<a name="id-1.2.22.9.17.7"></a><h4>Parameters</h4>
|
980
|
+
<div class="informaltable"><table width="100%" border="0">
|
683
981
|
<colgroup>
|
684
|
-
<col
|
685
|
-
<col>
|
982
|
+
<col width="150px" class="parameters_name">
|
983
|
+
<col class="parameters_description">
|
984
|
+
<col width="200px" class="parameters_annotations">
|
686
985
|
</colgroup>
|
687
986
|
<tbody>
|
688
987
|
<tr>
|
689
|
-
<td
|
690
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
988
|
+
<td class="parameter_name"><p>compositor</p></td>
|
989
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
990
|
+
<td class="parameter_annotations"> </td>
|
691
991
|
</tr>
|
692
992
|
<tr>
|
693
|
-
<td
|
694
|
-
<td>the name of the font for header text, 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>.
|
695
|
-
</td>
|
993
|
+
<td class="parameter_name"><p>font_name</p></td>
|
994
|
+
<td class="parameter_description"><p> the name of the font for header text, 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>. </p></td>
|
995
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
696
996
|
</tr>
|
697
997
|
</tbody>
|
698
998
|
</table></div>
|
999
|
+
</div>
|
699
1000
|
<p class="since">Since 2.2</p>
|
700
1001
|
</div>
|
701
1002
|
<hr>
|
702
1003
|
<div class="refsect2">
|
703
|
-
<a name="gtk-source-print-compositor-get-header-font-name"></a><h3>gtk_source_print_compositor_get_header_font_name
|
704
|
-
<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>
|
705
|
-
|
706
|
-
<
|
707
|
-
Returns the name of the font used to print the page header.
|
708
|
-
The returned string must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a
|
709
|
-
|
710
|
-
<
|
1004
|
+
<a name="gtk-source-print-compositor-get-header-font-name"></a><h3>gtk_source_print_compositor_get_header_font_name ()</h3>
|
1005
|
+
<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> *
|
1006
|
+
gtk_source_print_compositor_get_header_font_name
|
1007
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
1008
|
+
<p>Returns the name of the font used to print the page header.
|
1009
|
+
The returned string must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
1010
|
+
<div class="refsect3">
|
1011
|
+
<a name="id-1.2.22.9.18.5"></a><h4>Parameters</h4>
|
1012
|
+
<div class="informaltable"><table width="100%" border="0">
|
711
1013
|
<colgroup>
|
712
|
-
<col
|
713
|
-
<col>
|
1014
|
+
<col width="150px" class="parameters_name">
|
1015
|
+
<col class="parameters_description">
|
1016
|
+
<col width="200px" class="parameters_annotations">
|
714
1017
|
</colgroup>
|
715
|
-
<tbody>
|
716
|
-
<
|
717
|
-
<td><p
|
718
|
-
<td
|
719
|
-
</tr>
|
720
|
-
<tr>
|
721
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
722
|
-
<td>a new string containing the name of the font used to print
|
723
|
-
the page header.</td>
|
724
|
-
</tr>
|
725
|
-
</tbody>
|
1018
|
+
<tbody><tr>
|
1019
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1020
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1021
|
+
<td class="parameter_annotations"> </td>
|
1022
|
+
</tr></tbody>
|
726
1023
|
</table></div>
|
1024
|
+
</div>
|
1025
|
+
<div class="refsect3">
|
1026
|
+
<a name="id-1.2.22.9.18.6"></a><h4>Returns</h4>
|
1027
|
+
<p> a new string containing the name of the font used to print
|
1028
|
+
the page header.</p>
|
1029
|
+
<p></p>
|
1030
|
+
</div>
|
727
1031
|
<p class="since">Since 2.2</p>
|
728
1032
|
</div>
|
729
1033
|
<hr>
|
730
1034
|
<div class="refsect2">
|
731
|
-
<a name="gtk-source-print-compositor-set-footer-font-name"></a><h3>gtk_source_print_compositor_set_footer_font_name
|
732
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
733
|
-
|
734
|
-
|
735
|
-
<
|
736
|
-
Sets the font for printing the page footer. If
|
1035
|
+
<a name="gtk-source-print-compositor-set-footer-font-name"></a><h3>gtk_source_print_compositor_set_footer_font_name ()</h3>
|
1036
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1037
|
+
gtk_source_print_compositor_set_footer_font_name
|
1038
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1039
|
+
<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> *font_name</code></em>);</pre>
|
1040
|
+
<p>Sets the font for printing the page footer. If
|
737
1041
|
<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> is supplied, the default font (i.e. the one being used for the
|
738
|
-
text) will be used instead
|
739
|
-
|
740
|
-
|
741
|
-
<em class="parameter"><code>font_name</code></em> should be a
|
1042
|
+
text) will be used instead.</p>
|
1043
|
+
<p><em class="parameter"><code>font_name</code></em>
|
1044
|
+
should be a
|
742
1045
|
string representation of a font description Pango can understand.
|
743
1046
|
(e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
|
744
|
-
for a description of the format of the string representation
|
745
|
-
|
746
|
-
<p>
|
747
|
-
|
748
|
-
<a
|
749
|
-
|
750
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1047
|
+
for a description of the format of the string representation.</p>
|
1048
|
+
<p>This function cannot be called anymore after the first call to the
|
1049
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
1050
|
+
<div class="refsect3">
|
1051
|
+
<a name="id-1.2.22.9.19.7"></a><h4>Parameters</h4>
|
1052
|
+
<div class="informaltable"><table width="100%" border="0">
|
751
1053
|
<colgroup>
|
752
|
-
<col
|
753
|
-
<col>
|
1054
|
+
<col width="150px" class="parameters_name">
|
1055
|
+
<col class="parameters_description">
|
1056
|
+
<col width="200px" class="parameters_annotations">
|
754
1057
|
</colgroup>
|
755
1058
|
<tbody>
|
756
1059
|
<tr>
|
757
|
-
<td
|
758
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1060
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1061
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1062
|
+
<td class="parameter_annotations"> </td>
|
759
1063
|
</tr>
|
760
1064
|
<tr>
|
761
|
-
<td
|
762
|
-
<td>the name of the font for the footer text, 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>.
|
763
|
-
</td>
|
1065
|
+
<td class="parameter_name"><p>font_name</p></td>
|
1066
|
+
<td class="parameter_description"><p> the name of the font for the footer text, 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>. </p></td>
|
1067
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
764
1068
|
</tr>
|
765
1069
|
</tbody>
|
766
1070
|
</table></div>
|
1071
|
+
</div>
|
767
1072
|
<p class="since">Since 2.2</p>
|
768
1073
|
</div>
|
769
1074
|
<hr>
|
770
1075
|
<div class="refsect2">
|
771
|
-
<a name="gtk-source-print-compositor-get-footer-font-name"></a><h3>gtk_source_print_compositor_get_footer_font_name
|
772
|
-
<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>
|
773
|
-
|
774
|
-
<
|
775
|
-
Returns the name of the font used to print the page footer.
|
776
|
-
The returned string must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a
|
777
|
-
|
778
|
-
<
|
1076
|
+
<a name="gtk-source-print-compositor-get-footer-font-name"></a><h3>gtk_source_print_compositor_get_footer_font_name ()</h3>
|
1077
|
+
<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> *
|
1078
|
+
gtk_source_print_compositor_get_footer_font_name
|
1079
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
1080
|
+
<p>Returns the name of the font used to print the page footer.
|
1081
|
+
The returned string must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
1082
|
+
<div class="refsect3">
|
1083
|
+
<a name="id-1.2.22.9.20.5"></a><h4>Parameters</h4>
|
1084
|
+
<div class="informaltable"><table width="100%" border="0">
|
779
1085
|
<colgroup>
|
780
|
-
<col
|
781
|
-
<col>
|
1086
|
+
<col width="150px" class="parameters_name">
|
1087
|
+
<col class="parameters_description">
|
1088
|
+
<col width="200px" class="parameters_annotations">
|
782
1089
|
</colgroup>
|
783
|
-
<tbody>
|
784
|
-
<
|
785
|
-
<td><p
|
786
|
-
<td
|
787
|
-
</tr>
|
788
|
-
<tr>
|
789
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
790
|
-
<td>a new string containing the name of the font used to print
|
791
|
-
the page footer.</td>
|
792
|
-
</tr>
|
793
|
-
</tbody>
|
1090
|
+
<tbody><tr>
|
1091
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1092
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1093
|
+
<td class="parameter_annotations"> </td>
|
1094
|
+
</tr></tbody>
|
794
1095
|
</table></div>
|
1096
|
+
</div>
|
1097
|
+
<div class="refsect3">
|
1098
|
+
<a name="id-1.2.22.9.20.6"></a><h4>Returns</h4>
|
1099
|
+
<p> a new string containing the name of the font used to print
|
1100
|
+
the page footer.</p>
|
1101
|
+
<p></p>
|
1102
|
+
</div>
|
795
1103
|
<p class="since">Since 2.2</p>
|
796
1104
|
</div>
|
797
1105
|
<hr>
|
798
1106
|
<div class="refsect2">
|
799
|
-
<a name="gtk-source-print-compositor-get-top-margin"></a><h3>gtk_source_print_compositor_get_top_margin
|
800
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
801
|
-
|
802
|
-
|
803
|
-
<
|
804
|
-
Gets the top margin in units of <em class="parameter"><code>unit</code></em
|
805
|
-
|
806
|
-
<div class="
|
1107
|
+
<a name="gtk-source-print-compositor-get-top-margin"></a><h3>gtk_source_print_compositor_get_top_margin ()</h3>
|
1108
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1109
|
+
gtk_source_print_compositor_get_top_margin
|
1110
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1111
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1112
|
+
<p>Gets the top margin in units of <em class="parameter"><code>unit</code></em>
|
1113
|
+
.</p>
|
1114
|
+
<div class="refsect3">
|
1115
|
+
<a name="id-1.2.22.9.21.5"></a><h4>Parameters</h4>
|
1116
|
+
<div class="informaltable"><table width="100%" border="0">
|
807
1117
|
<colgroup>
|
808
|
-
<col
|
809
|
-
<col>
|
1118
|
+
<col width="150px" class="parameters_name">
|
1119
|
+
<col class="parameters_description">
|
1120
|
+
<col width="200px" class="parameters_annotations">
|
810
1121
|
</colgroup>
|
811
1122
|
<tbody>
|
812
1123
|
<tr>
|
813
|
-
<td
|
814
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1124
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1125
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1126
|
+
<td class="parameter_annotations"> </td>
|
815
1127
|
</tr>
|
816
1128
|
<tr>
|
817
|
-
<td
|
818
|
-
<td>the unit for the return value.</td>
|
819
|
-
</
|
820
|
-
<tr>
|
821
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
822
|
-
<td>the top margin.</td>
|
1129
|
+
<td class="parameter_name"><p>unit</p></td>
|
1130
|
+
<td class="parameter_description"><p>the unit for the return value.</p></td>
|
1131
|
+
<td class="parameter_annotations"> </td>
|
823
1132
|
</tr>
|
824
1133
|
</tbody>
|
825
1134
|
</table></div>
|
1135
|
+
</div>
|
1136
|
+
<div class="refsect3">
|
1137
|
+
<a name="id-1.2.22.9.21.6"></a><h4>Returns</h4>
|
1138
|
+
<p> the top margin.</p>
|
1139
|
+
<p></p>
|
1140
|
+
</div>
|
826
1141
|
<p class="since">Since 2.2</p>
|
827
1142
|
</div>
|
828
1143
|
<hr>
|
829
1144
|
<div class="refsect2">
|
830
|
-
<a name="gtk-source-print-compositor-set-top-margin"></a><h3>gtk_source_print_compositor_set_top_margin
|
831
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
<
|
836
|
-
Sets the top margin used by <em class="parameter"><code>compositor</code></em
|
837
|
-
|
838
|
-
<div class="
|
1145
|
+
<a name="gtk-source-print-compositor-set-top-margin"></a><h3>gtk_source_print_compositor_set_top_margin ()</h3>
|
1146
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1147
|
+
gtk_source_print_compositor_set_top_margin
|
1148
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1149
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
|
1150
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1151
|
+
<p>Sets the top margin used by <em class="parameter"><code>compositor</code></em>
|
1152
|
+
.</p>
|
1153
|
+
<div class="refsect3">
|
1154
|
+
<a name="id-1.2.22.9.22.5"></a><h4>Parameters</h4>
|
1155
|
+
<div class="informaltable"><table width="100%" border="0">
|
839
1156
|
<colgroup>
|
840
|
-
<col
|
841
|
-
<col>
|
1157
|
+
<col width="150px" class="parameters_name">
|
1158
|
+
<col class="parameters_description">
|
1159
|
+
<col width="200px" class="parameters_annotations">
|
842
1160
|
</colgroup>
|
843
1161
|
<tbody>
|
844
1162
|
<tr>
|
845
|
-
<td
|
846
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1163
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1164
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1165
|
+
<td class="parameter_annotations"> </td>
|
847
1166
|
</tr>
|
848
1167
|
<tr>
|
849
|
-
<td
|
850
|
-
<td>the new top margin in units of <em class="parameter"><code>unit</code></em>
|
851
|
-
</td>
|
1168
|
+
<td class="parameter_name"><p>margin</p></td>
|
1169
|
+
<td class="parameter_description"><p>the new top margin in units of <em class="parameter"><code>unit</code></em>
|
1170
|
+
</p></td>
|
1171
|
+
<td class="parameter_annotations"> </td>
|
852
1172
|
</tr>
|
853
1173
|
<tr>
|
854
|
-
<td
|
855
|
-
<td>the units for <em class="parameter"><code>margin</code></em>
|
856
|
-
</td>
|
1174
|
+
<td class="parameter_name"><p>unit</p></td>
|
1175
|
+
<td class="parameter_description"><p>the units for <em class="parameter"><code>margin</code></em>
|
1176
|
+
</p></td>
|
1177
|
+
<td class="parameter_annotations"> </td>
|
857
1178
|
</tr>
|
858
1179
|
</tbody>
|
859
1180
|
</table></div>
|
1181
|
+
</div>
|
860
1182
|
<p class="since">Since 2.2</p>
|
861
1183
|
</div>
|
862
1184
|
<hr>
|
863
1185
|
<div class="refsect2">
|
864
|
-
<a name="gtk-source-print-compositor-get-bottom-margin"></a><h3>gtk_source_print_compositor_get_bottom_margin
|
865
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
866
|
-
|
867
|
-
|
868
|
-
<
|
869
|
-
Gets the bottom margin in units of <em class="parameter"><code>unit</code></em
|
870
|
-
|
871
|
-
<div class="
|
1186
|
+
<a name="gtk-source-print-compositor-get-bottom-margin"></a><h3>gtk_source_print_compositor_get_bottom_margin ()</h3>
|
1187
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1188
|
+
gtk_source_print_compositor_get_bottom_margin
|
1189
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1190
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1191
|
+
<p>Gets the bottom margin in units of <em class="parameter"><code>unit</code></em>
|
1192
|
+
.</p>
|
1193
|
+
<div class="refsect3">
|
1194
|
+
<a name="id-1.2.22.9.23.5"></a><h4>Parameters</h4>
|
1195
|
+
<div class="informaltable"><table width="100%" border="0">
|
872
1196
|
<colgroup>
|
873
|
-
<col
|
874
|
-
<col>
|
1197
|
+
<col width="150px" class="parameters_name">
|
1198
|
+
<col class="parameters_description">
|
1199
|
+
<col width="200px" class="parameters_annotations">
|
875
1200
|
</colgroup>
|
876
1201
|
<tbody>
|
877
1202
|
<tr>
|
878
|
-
<td
|
879
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
880
|
-
</
|
881
|
-
<tr>
|
882
|
-
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
|
883
|
-
<td>the unit for the return value.</td>
|
1203
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1204
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1205
|
+
<td class="parameter_annotations"> </td>
|
884
1206
|
</tr>
|
885
1207
|
<tr>
|
886
|
-
<td
|
887
|
-
<td>the
|
1208
|
+
<td class="parameter_name"><p>unit</p></td>
|
1209
|
+
<td class="parameter_description"><p>the unit for the return value.</p></td>
|
1210
|
+
<td class="parameter_annotations"> </td>
|
888
1211
|
</tr>
|
889
1212
|
</tbody>
|
890
1213
|
</table></div>
|
1214
|
+
</div>
|
1215
|
+
<div class="refsect3">
|
1216
|
+
<a name="id-1.2.22.9.23.6"></a><h4>Returns</h4>
|
1217
|
+
<p> the bottom margin.</p>
|
1218
|
+
<p></p>
|
1219
|
+
</div>
|
891
1220
|
<p class="since">Since 2.2</p>
|
892
1221
|
</div>
|
893
1222
|
<hr>
|
894
1223
|
<div class="refsect2">
|
895
|
-
<a name="gtk-source-print-compositor-set-bottom-margin"></a><h3>gtk_source_print_compositor_set_bottom_margin
|
896
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
<
|
901
|
-
Sets the bottom margin used by <em class="parameter"><code>compositor</code></em
|
902
|
-
|
903
|
-
<div class="
|
1224
|
+
<a name="gtk-source-print-compositor-set-bottom-margin"></a><h3>gtk_source_print_compositor_set_bottom_margin ()</h3>
|
1225
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1226
|
+
gtk_source_print_compositor_set_bottom_margin
|
1227
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1228
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
|
1229
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1230
|
+
<p>Sets the bottom margin used by <em class="parameter"><code>compositor</code></em>
|
1231
|
+
.</p>
|
1232
|
+
<div class="refsect3">
|
1233
|
+
<a name="id-1.2.22.9.24.5"></a><h4>Parameters</h4>
|
1234
|
+
<div class="informaltable"><table width="100%" border="0">
|
904
1235
|
<colgroup>
|
905
|
-
<col
|
906
|
-
<col>
|
1236
|
+
<col width="150px" class="parameters_name">
|
1237
|
+
<col class="parameters_description">
|
1238
|
+
<col width="200px" class="parameters_annotations">
|
907
1239
|
</colgroup>
|
908
1240
|
<tbody>
|
909
1241
|
<tr>
|
910
|
-
<td
|
911
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1242
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1243
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1244
|
+
<td class="parameter_annotations"> </td>
|
912
1245
|
</tr>
|
913
1246
|
<tr>
|
914
|
-
<td
|
915
|
-
<td>the new bottom margin in units of <em class="parameter"><code>unit</code></em
|
1247
|
+
<td class="parameter_name"><p>margin</p></td>
|
1248
|
+
<td class="parameter_description"><p>the new bottom margin in units of <em class="parameter"><code>unit</code></em>
|
1249
|
+
.</p></td>
|
1250
|
+
<td class="parameter_annotations"> </td>
|
916
1251
|
</tr>
|
917
1252
|
<tr>
|
918
|
-
<td
|
919
|
-
<td>the units for <em class="parameter"><code>margin</code></em
|
1253
|
+
<td class="parameter_name"><p>unit</p></td>
|
1254
|
+
<td class="parameter_description"><p>the units for <em class="parameter"><code>margin</code></em>
|
1255
|
+
.</p></td>
|
1256
|
+
<td class="parameter_annotations"> </td>
|
920
1257
|
</tr>
|
921
1258
|
</tbody>
|
922
1259
|
</table></div>
|
1260
|
+
</div>
|
923
1261
|
<p class="since">Since 2.2</p>
|
924
1262
|
</div>
|
925
1263
|
<hr>
|
926
1264
|
<div class="refsect2">
|
927
|
-
<a name="gtk-source-print-compositor-get-left-margin"></a><h3>gtk_source_print_compositor_get_left_margin
|
928
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
929
|
-
|
930
|
-
|
931
|
-
<
|
932
|
-
Gets the left margin in units of <em class="parameter"><code>unit</code></em
|
933
|
-
|
934
|
-
<div class="
|
1265
|
+
<a name="gtk-source-print-compositor-get-left-margin"></a><h3>gtk_source_print_compositor_get_left_margin ()</h3>
|
1266
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1267
|
+
gtk_source_print_compositor_get_left_margin
|
1268
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1269
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1270
|
+
<p>Gets the left margin in units of <em class="parameter"><code>unit</code></em>
|
1271
|
+
.</p>
|
1272
|
+
<div class="refsect3">
|
1273
|
+
<a name="id-1.2.22.9.25.5"></a><h4>Parameters</h4>
|
1274
|
+
<div class="informaltable"><table width="100%" border="0">
|
935
1275
|
<colgroup>
|
936
|
-
<col
|
937
|
-
<col>
|
1276
|
+
<col width="150px" class="parameters_name">
|
1277
|
+
<col class="parameters_description">
|
1278
|
+
<col width="200px" class="parameters_annotations">
|
938
1279
|
</colgroup>
|
939
1280
|
<tbody>
|
940
1281
|
<tr>
|
941
|
-
<td
|
942
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1282
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1283
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1284
|
+
<td class="parameter_annotations"> </td>
|
943
1285
|
</tr>
|
944
1286
|
<tr>
|
945
|
-
<td
|
946
|
-
<td>the unit for the return value.</td>
|
947
|
-
</
|
948
|
-
<tr>
|
949
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
950
|
-
<td>the left margin</td>
|
1287
|
+
<td class="parameter_name"><p>unit</p></td>
|
1288
|
+
<td class="parameter_description"><p>the unit for the return value.</p></td>
|
1289
|
+
<td class="parameter_annotations"> </td>
|
951
1290
|
</tr>
|
952
1291
|
</tbody>
|
953
1292
|
</table></div>
|
1293
|
+
</div>
|
1294
|
+
<div class="refsect3">
|
1295
|
+
<a name="id-1.2.22.9.25.6"></a><h4>Returns</h4>
|
1296
|
+
<p> the left margin</p>
|
1297
|
+
<p></p>
|
1298
|
+
</div>
|
954
1299
|
<p class="since">Since 2.2</p>
|
955
1300
|
</div>
|
956
1301
|
<hr>
|
957
1302
|
<div class="refsect2">
|
958
|
-
<a name="gtk-source-print-compositor-set-left-margin"></a><h3>gtk_source_print_compositor_set_left_margin
|
959
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
<
|
964
|
-
Sets the left margin used by <em class="parameter"><code>compositor</code></em
|
965
|
-
|
966
|
-
<div class="
|
1303
|
+
<a name="gtk-source-print-compositor-set-left-margin"></a><h3>gtk_source_print_compositor_set_left_margin ()</h3>
|
1304
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1305
|
+
gtk_source_print_compositor_set_left_margin
|
1306
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1307
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
|
1308
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1309
|
+
<p>Sets the left margin used by <em class="parameter"><code>compositor</code></em>
|
1310
|
+
.</p>
|
1311
|
+
<div class="refsect3">
|
1312
|
+
<a name="id-1.2.22.9.26.5"></a><h4>Parameters</h4>
|
1313
|
+
<div class="informaltable"><table width="100%" border="0">
|
967
1314
|
<colgroup>
|
968
|
-
<col
|
969
|
-
<col>
|
1315
|
+
<col width="150px" class="parameters_name">
|
1316
|
+
<col class="parameters_description">
|
1317
|
+
<col width="200px" class="parameters_annotations">
|
970
1318
|
</colgroup>
|
971
1319
|
<tbody>
|
972
1320
|
<tr>
|
973
|
-
<td
|
974
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1321
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1322
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1323
|
+
<td class="parameter_annotations"> </td>
|
975
1324
|
</tr>
|
976
1325
|
<tr>
|
977
|
-
<td
|
978
|
-
<td>the new left margin in units of <em class="parameter"><code>unit</code></em
|
1326
|
+
<td class="parameter_name"><p>margin</p></td>
|
1327
|
+
<td class="parameter_description"><p>the new left margin in units of <em class="parameter"><code>unit</code></em>
|
1328
|
+
.</p></td>
|
1329
|
+
<td class="parameter_annotations"> </td>
|
979
1330
|
</tr>
|
980
1331
|
<tr>
|
981
|
-
<td
|
982
|
-
<td>the units for <em class="parameter"><code>margin</code></em
|
1332
|
+
<td class="parameter_name"><p>unit</p></td>
|
1333
|
+
<td class="parameter_description"><p>the units for <em class="parameter"><code>margin</code></em>
|
1334
|
+
.</p></td>
|
1335
|
+
<td class="parameter_annotations"> </td>
|
983
1336
|
</tr>
|
984
1337
|
</tbody>
|
985
1338
|
</table></div>
|
1339
|
+
</div>
|
986
1340
|
<p class="since">Since 2.2</p>
|
987
1341
|
</div>
|
988
1342
|
<hr>
|
989
1343
|
<div class="refsect2">
|
990
|
-
<a name="gtk-source-print-compositor-get-right-margin"></a><h3>gtk_source_print_compositor_get_right_margin
|
991
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
992
|
-
|
993
|
-
|
994
|
-
<
|
995
|
-
Gets the right margin in units of <em class="parameter"><code>unit</code></em
|
996
|
-
|
997
|
-
<div class="
|
1344
|
+
<a name="gtk-source-print-compositor-get-right-margin"></a><h3>gtk_source_print_compositor_get_right_margin ()</h3>
|
1345
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1346
|
+
gtk_source_print_compositor_get_right_margin
|
1347
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1348
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1349
|
+
<p>Gets the right margin in units of <em class="parameter"><code>unit</code></em>
|
1350
|
+
.</p>
|
1351
|
+
<div class="refsect3">
|
1352
|
+
<a name="id-1.2.22.9.27.5"></a><h4>Parameters</h4>
|
1353
|
+
<div class="informaltable"><table width="100%" border="0">
|
998
1354
|
<colgroup>
|
999
|
-
<col
|
1000
|
-
<col>
|
1355
|
+
<col width="150px" class="parameters_name">
|
1356
|
+
<col class="parameters_description">
|
1357
|
+
<col width="200px" class="parameters_annotations">
|
1001
1358
|
</colgroup>
|
1002
1359
|
<tbody>
|
1003
1360
|
<tr>
|
1004
|
-
<td
|
1005
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1361
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1362
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1363
|
+
<td class="parameter_annotations"> </td>
|
1006
1364
|
</tr>
|
1007
1365
|
<tr>
|
1008
|
-
<td
|
1009
|
-
<td>the unit for the return value.</td>
|
1010
|
-
</
|
1011
|
-
<tr>
|
1012
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1013
|
-
<td>the right margin.</td>
|
1366
|
+
<td class="parameter_name"><p>unit</p></td>
|
1367
|
+
<td class="parameter_description"><p>the unit for the return value.</p></td>
|
1368
|
+
<td class="parameter_annotations"> </td>
|
1014
1369
|
</tr>
|
1015
1370
|
</tbody>
|
1016
1371
|
</table></div>
|
1372
|
+
</div>
|
1373
|
+
<div class="refsect3">
|
1374
|
+
<a name="id-1.2.22.9.27.6"></a><h4>Returns</h4>
|
1375
|
+
<p> the right margin.</p>
|
1376
|
+
<p></p>
|
1377
|
+
</div>
|
1017
1378
|
<p class="since">Since 2.2</p>
|
1018
1379
|
</div>
|
1019
1380
|
<hr>
|
1020
1381
|
<div class="refsect2">
|
1021
|
-
<a name="gtk-source-print-compositor-set-right-margin"></a><h3>gtk_source_print_compositor_set_right_margin
|
1022
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
<
|
1027
|
-
Sets the right margin used by <em class="parameter"><code>compositor</code></em
|
1028
|
-
|
1029
|
-
<div class="
|
1382
|
+
<a name="gtk-source-print-compositor-set-right-margin"></a><h3>gtk_source_print_compositor_set_right_margin ()</h3>
|
1383
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1384
|
+
gtk_source_print_compositor_set_right_margin
|
1385
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1386
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
|
1387
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1388
|
+
<p>Sets the right margin used by <em class="parameter"><code>compositor</code></em>
|
1389
|
+
.</p>
|
1390
|
+
<div class="refsect3">
|
1391
|
+
<a name="id-1.2.22.9.28.5"></a><h4>Parameters</h4>
|
1392
|
+
<div class="informaltable"><table width="100%" border="0">
|
1030
1393
|
<colgroup>
|
1031
|
-
<col
|
1032
|
-
<col>
|
1394
|
+
<col width="150px" class="parameters_name">
|
1395
|
+
<col class="parameters_description">
|
1396
|
+
<col width="200px" class="parameters_annotations">
|
1033
1397
|
</colgroup>
|
1034
1398
|
<tbody>
|
1035
1399
|
<tr>
|
1036
|
-
<td
|
1037
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1400
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1401
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1402
|
+
<td class="parameter_annotations"> </td>
|
1038
1403
|
</tr>
|
1039
1404
|
<tr>
|
1040
|
-
<td
|
1041
|
-
<td>the new right margin in units of <em class="parameter"><code>unit</code></em
|
1405
|
+
<td class="parameter_name"><p>margin</p></td>
|
1406
|
+
<td class="parameter_description"><p>the new right margin in units of <em class="parameter"><code>unit</code></em>
|
1407
|
+
.</p></td>
|
1408
|
+
<td class="parameter_annotations"> </td>
|
1042
1409
|
</tr>
|
1043
1410
|
<tr>
|
1044
|
-
<td
|
1045
|
-
<td>the units for <em class="parameter"><code>margin</code></em
|
1411
|
+
<td class="parameter_name"><p>unit</p></td>
|
1412
|
+
<td class="parameter_description"><p>the units for <em class="parameter"><code>margin</code></em>
|
1413
|
+
.</p></td>
|
1414
|
+
<td class="parameter_annotations"> </td>
|
1046
1415
|
</tr>
|
1047
1416
|
</tbody>
|
1048
1417
|
</table></div>
|
1418
|
+
</div>
|
1049
1419
|
<p class="since">Since 2.2</p>
|
1050
1420
|
</div>
|
1051
1421
|
<hr>
|
1052
1422
|
<div class="refsect2">
|
1053
|
-
<a name="gtk-source-print-compositor-set-print-header"></a><h3>gtk_source_print_compositor_set_print_header
|
1054
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1055
|
-
|
1056
|
-
|
1057
|
-
<
|
1058
|
-
Sets whether you want to print a header in each page. The
|
1423
|
+
<a name="gtk-source-print-compositor-set-print-header"></a><h3>gtk_source_print_compositor_set_print_header ()</h3>
|
1424
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1425
|
+
gtk_source_print_compositor_set_print_header
|
1426
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1427
|
+
<em class="parameter"><code><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> print</code></em>);</pre>
|
1428
|
+
<p>Sets whether you want to print a header in each page. The
|
1059
1429
|
header consists of three pieces of text and an optional line
|
1060
1430
|
separator, configurable with
|
1061
|
-
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
<
|
1068
|
-
|
1069
|
-
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1070
|
-
</p>
|
1071
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1431
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format ()"><code class="function">gtk_source_print_compositor_set_header_format()</code></a>.</p>
|
1432
|
+
<p>Note that by default the header format is unspecified, and if it's
|
1433
|
+
empty it will not be printed, regardless of this setting.</p>
|
1434
|
+
<p>This function cannot be called anymore after the first call to the
|
1435
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
1436
|
+
<div class="refsect3">
|
1437
|
+
<a name="id-1.2.22.9.29.7"></a><h4>Parameters</h4>
|
1438
|
+
<div class="informaltable"><table width="100%" border="0">
|
1072
1439
|
<colgroup>
|
1073
|
-
<col
|
1074
|
-
<col>
|
1440
|
+
<col width="150px" class="parameters_name">
|
1441
|
+
<col class="parameters_description">
|
1442
|
+
<col width="200px" class="parameters_annotations">
|
1075
1443
|
</colgroup>
|
1076
1444
|
<tbody>
|
1077
1445
|
<tr>
|
1078
|
-
<td
|
1079
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1446
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1447
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1448
|
+
<td class="parameter_annotations"> </td>
|
1080
1449
|
</tr>
|
1081
1450
|
<tr>
|
1082
|
-
<td
|
1083
|
-
<td>
|
1084
|
-
<
|
1451
|
+
<td class="parameter_name"><p>print</p></td>
|
1452
|
+
<td class="parameter_description"><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 you want the header to be printed.</p></td>
|
1453
|
+
<td class="parameter_annotations"> </td>
|
1085
1454
|
</tr>
|
1086
1455
|
</tbody>
|
1087
1456
|
</table></div>
|
1457
|
+
</div>
|
1088
1458
|
<p class="since">Since 2.2</p>
|
1089
1459
|
</div>
|
1090
1460
|
<hr>
|
1091
1461
|
<div class="refsect2">
|
1092
|
-
<a name="gtk-source-print-compositor-get-print-header"></a><h3>gtk_source_print_compositor_get_print_header
|
1093
|
-
<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>
|
1094
|
-
|
1095
|
-
<
|
1096
|
-
Determines if a header is set to be printed for each page. A
|
1462
|
+
<a name="gtk-source-print-compositor-get-print-header"></a><h3>gtk_source_print_compositor_get_print_header ()</h3>
|
1463
|
+
<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>
|
1464
|
+
gtk_source_print_compositor_get_print_header
|
1465
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
1466
|
+
<p>Determines if a header is set to be printed for each page. A
|
1097
1467
|
header will be printed if this function returns <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>
|
1098
1468
|
<span class="emphasis"><em>and</em></span> some format strings have been specified
|
1099
|
-
with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format
|
1100
|
-
|
1101
|
-
<
|
1469
|
+
with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format ()"><code class="function">gtk_source_print_compositor_set_header_format()</code></a>.</p>
|
1470
|
+
<div class="refsect3">
|
1471
|
+
<a name="id-1.2.22.9.30.5"></a><h4>Parameters</h4>
|
1472
|
+
<div class="informaltable"><table width="100%" border="0">
|
1102
1473
|
<colgroup>
|
1103
|
-
<col
|
1104
|
-
<col>
|
1474
|
+
<col width="150px" class="parameters_name">
|
1475
|
+
<col class="parameters_description">
|
1476
|
+
<col width="200px" class="parameters_annotations">
|
1105
1477
|
</colgroup>
|
1106
|
-
<tbody>
|
1107
|
-
<
|
1108
|
-
<td><p
|
1109
|
-
<td
|
1110
|
-
</tr>
|
1111
|
-
<tr>
|
1112
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1113
|
-
<td>
|
1114
|
-
<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 header is set to be printed.</td>
|
1115
|
-
</tr>
|
1116
|
-
</tbody>
|
1478
|
+
<tbody><tr>
|
1479
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1480
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1481
|
+
<td class="parameter_annotations"> </td>
|
1482
|
+
</tr></tbody>
|
1117
1483
|
</table></div>
|
1484
|
+
</div>
|
1485
|
+
<div class="refsect3">
|
1486
|
+
<a name="id-1.2.22.9.30.6"></a><h4>Returns</h4>
|
1487
|
+
<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 header is set to be printed.</p>
|
1488
|
+
<p></p>
|
1489
|
+
</div>
|
1118
1490
|
<p class="since">Since 2.2</p>
|
1119
1491
|
</div>
|
1120
1492
|
<hr>
|
1121
1493
|
<div class="refsect2">
|
1122
|
-
<a name="gtk-source-print-compositor-set-print-footer"></a><h3>gtk_source_print_compositor_set_print_footer
|
1123
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1124
|
-
|
1125
|
-
|
1126
|
-
<
|
1127
|
-
Sets whether you want to print a footer in each page. The
|
1494
|
+
<a name="gtk-source-print-compositor-set-print-footer"></a><h3>gtk_source_print_compositor_set_print_footer ()</h3>
|
1495
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1496
|
+
gtk_source_print_compositor_set_print_footer
|
1497
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1498
|
+
<em class="parameter"><code><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> print</code></em>);</pre>
|
1499
|
+
<p>Sets whether you want to print a footer in each page. The
|
1128
1500
|
footer consists of three pieces of text and an optional line
|
1129
1501
|
separator, configurable with
|
1130
|
-
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
<
|
1137
|
-
|
1138
|
-
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1139
|
-
</p>
|
1140
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1502
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format ()"><code class="function">gtk_source_print_compositor_set_footer_format()</code></a>.</p>
|
1503
|
+
<p>Note that by default the footer format is unspecified, and if it's
|
1504
|
+
empty it will not be printed, regardless of this setting.</p>
|
1505
|
+
<p>This function cannot be called anymore after the first call to the
|
1506
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
1507
|
+
<div class="refsect3">
|
1508
|
+
<a name="id-1.2.22.9.31.7"></a><h4>Parameters</h4>
|
1509
|
+
<div class="informaltable"><table width="100%" border="0">
|
1141
1510
|
<colgroup>
|
1142
|
-
<col
|
1143
|
-
<col>
|
1511
|
+
<col width="150px" class="parameters_name">
|
1512
|
+
<col class="parameters_description">
|
1513
|
+
<col width="200px" class="parameters_annotations">
|
1144
1514
|
</colgroup>
|
1145
1515
|
<tbody>
|
1146
1516
|
<tr>
|
1147
|
-
<td
|
1148
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1517
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1518
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1519
|
+
<td class="parameter_annotations"> </td>
|
1149
1520
|
</tr>
|
1150
1521
|
<tr>
|
1151
|
-
<td
|
1152
|
-
<td>
|
1153
|
-
<
|
1522
|
+
<td class="parameter_name"><p>print</p></td>
|
1523
|
+
<td class="parameter_description"><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 you want the footer to be printed.</p></td>
|
1524
|
+
<td class="parameter_annotations"> </td>
|
1154
1525
|
</tr>
|
1155
1526
|
</tbody>
|
1156
1527
|
</table></div>
|
1528
|
+
</div>
|
1157
1529
|
<p class="since">Since 2.2</p>
|
1158
1530
|
</div>
|
1159
1531
|
<hr>
|
1160
1532
|
<div class="refsect2">
|
1161
|
-
<a name="gtk-source-print-compositor-get-print-footer"></a><h3>gtk_source_print_compositor_get_print_footer
|
1162
|
-
<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>
|
1163
|
-
|
1164
|
-
<
|
1165
|
-
Determines if a footer is set to be printed for each page. A
|
1533
|
+
<a name="gtk-source-print-compositor-get-print-footer"></a><h3>gtk_source_print_compositor_get_print_footer ()</h3>
|
1534
|
+
<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>
|
1535
|
+
gtk_source_print_compositor_get_print_footer
|
1536
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
1537
|
+
<p>Determines if a footer is set to be printed for each page. A
|
1166
1538
|
footer will be printed if this function returns <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>
|
1167
1539
|
<span class="emphasis"><em>and</em></span> some format strings have been specified
|
1168
|
-
with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format
|
1169
|
-
|
1170
|
-
<
|
1540
|
+
with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format ()"><code class="function">gtk_source_print_compositor_set_footer_format()</code></a>.</p>
|
1541
|
+
<div class="refsect3">
|
1542
|
+
<a name="id-1.2.22.9.32.5"></a><h4>Parameters</h4>
|
1543
|
+
<div class="informaltable"><table width="100%" border="0">
|
1171
1544
|
<colgroup>
|
1172
|
-
<col
|
1173
|
-
<col>
|
1545
|
+
<col width="150px" class="parameters_name">
|
1546
|
+
<col class="parameters_description">
|
1547
|
+
<col width="200px" class="parameters_annotations">
|
1174
1548
|
</colgroup>
|
1175
|
-
<tbody>
|
1176
|
-
<
|
1177
|
-
<td><p
|
1178
|
-
<td
|
1179
|
-
</tr>
|
1180
|
-
<tr>
|
1181
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1182
|
-
<td>
|
1183
|
-
<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 footer is set to be printed.</td>
|
1184
|
-
</tr>
|
1185
|
-
</tbody>
|
1549
|
+
<tbody><tr>
|
1550
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1551
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1552
|
+
<td class="parameter_annotations"> </td>
|
1553
|
+
</tr></tbody>
|
1186
1554
|
</table></div>
|
1555
|
+
</div>
|
1556
|
+
<div class="refsect3">
|
1557
|
+
<a name="id-1.2.22.9.32.6"></a><h4>Returns</h4>
|
1558
|
+
<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 footer is set to be printed.</p>
|
1559
|
+
<p></p>
|
1560
|
+
</div>
|
1187
1561
|
<p class="since">Since 2.2</p>
|
1188
1562
|
</div>
|
1189
1563
|
<hr>
|
1190
1564
|
<div class="refsect2">
|
1191
|
-
<a name="gtk-source-print-compositor-set-header-format"></a><h3>gtk_source_print_compositor_set_header_format
|
1192
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
<
|
1199
|
-
Sets strftime like header format strings, to be printed on the
|
1565
|
+
<a name="gtk-source-print-compositor-set-header-format"></a><h3>gtk_source_print_compositor_set_header_format ()</h3>
|
1566
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1567
|
+
gtk_source_print_compositor_set_header_format
|
1568
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1569
|
+
<em class="parameter"><code><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> separator</code></em>,
|
1570
|
+
<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> *left</code></em>,
|
1571
|
+
<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> *center</code></em>,
|
1572
|
+
<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> *right</code></em>);</pre>
|
1573
|
+
<p>Sets strftime like header format strings, to be printed on the
|
1200
1574
|
left, center and right of the top of each page. The strings may
|
1201
1575
|
include strftime(3) codes which will be expanded at print time.
|
1202
1576
|
All <code class="function">strftime()</code> codes are accepted, with the addition of #N for the
|
1203
|
-
page number and #Q for the page count
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
<p>
|
1210
|
-
If <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> is given for any of the three arguments, that particular
|
1211
|
-
string will not be printed.
|
1212
|
-
</p>
|
1213
|
-
<p>
|
1214
|
-
For the header to be printed, in
|
1577
|
+
page number and #Q for the page count.</p>
|
1578
|
+
<p><em class="parameter"><code>separator</code></em>
|
1579
|
+
specifies if a solid line should be drawn to separate
|
1580
|
+
the header from the document text.</p>
|
1581
|
+
<p>If <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> is given for any of the three arguments, that particular
|
1582
|
+
string will not be printed.</p>
|
1583
|
+
<p>For the header to be printed, in
|
1215
1584
|
addition to specifying format strings, you need to enable header
|
1216
|
-
printing with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-header" title="gtk_source_print_compositor_set_print_header
|
1217
|
-
|
1218
|
-
<p>
|
1219
|
-
|
1220
|
-
<a
|
1221
|
-
|
1222
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1585
|
+
printing with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-header" title="gtk_source_print_compositor_set_print_header ()"><code class="function">gtk_source_print_compositor_set_print_header()</code></a>.</p>
|
1586
|
+
<p>This function cannot be called anymore after the first call to the
|
1587
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
1588
|
+
<div class="refsect3">
|
1589
|
+
<a name="id-1.2.22.9.33.9"></a><h4>Parameters</h4>
|
1590
|
+
<div class="informaltable"><table width="100%" border="0">
|
1223
1591
|
<colgroup>
|
1224
|
-
<col
|
1225
|
-
<col>
|
1592
|
+
<col width="150px" class="parameters_name">
|
1593
|
+
<col class="parameters_description">
|
1594
|
+
<col width="200px" class="parameters_annotations">
|
1226
1595
|
</colgroup>
|
1227
1596
|
<tbody>
|
1228
1597
|
<tr>
|
1229
|
-
<td
|
1230
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1598
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1599
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1600
|
+
<td class="parameter_annotations"> </td>
|
1231
1601
|
</tr>
|
1232
1602
|
<tr>
|
1233
|
-
<td
|
1234
|
-
<td>
|
1235
|
-
<
|
1603
|
+
<td class="parameter_name"><p>separator</p></td>
|
1604
|
+
<td class="parameter_description"><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 you want a separator line to be printed.</p></td>
|
1605
|
+
<td class="parameter_annotations"> </td>
|
1236
1606
|
</tr>
|
1237
1607
|
<tr>
|
1238
|
-
<td
|
1239
|
-
<td>a format string to print on the left of the header.
|
1240
|
-
</td>
|
1608
|
+
<td class="parameter_name"><p>left</p></td>
|
1609
|
+
<td class="parameter_description"><p> a format string to print on the left of the header. </p></td>
|
1610
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1241
1611
|
</tr>
|
1242
1612
|
<tr>
|
1243
|
-
<td
|
1244
|
-
<td>a format string to print on the center of the header.
|
1245
|
-
</td>
|
1613
|
+
<td class="parameter_name"><p>center</p></td>
|
1614
|
+
<td class="parameter_description"><p> a format string to print on the center of the header. </p></td>
|
1615
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1246
1616
|
</tr>
|
1247
1617
|
<tr>
|
1248
|
-
<td
|
1249
|
-
<td>a format string to print on the right of the header.
|
1250
|
-
</td>
|
1618
|
+
<td class="parameter_name"><p>right</p></td>
|
1619
|
+
<td class="parameter_description"><p> a format string to print on the right of the header. </p></td>
|
1620
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1251
1621
|
</tr>
|
1252
1622
|
</tbody>
|
1253
1623
|
</table></div>
|
1624
|
+
</div>
|
1254
1625
|
<p class="since">Since 2.2</p>
|
1255
1626
|
</div>
|
1256
1627
|
<hr>
|
1257
1628
|
<div class="refsect2">
|
1258
|
-
<a name="gtk-source-print-compositor-set-footer-format"></a><h3>gtk_source_print_compositor_set_footer_format
|
1259
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
<
|
1266
|
-
Sets strftime like header format strings, to be printed on the
|
1629
|
+
<a name="gtk-source-print-compositor-set-footer-format"></a><h3>gtk_source_print_compositor_set_footer_format ()</h3>
|
1630
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1631
|
+
gtk_source_print_compositor_set_footer_format
|
1632
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1633
|
+
<em class="parameter"><code><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> separator</code></em>,
|
1634
|
+
<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> *left</code></em>,
|
1635
|
+
<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> *center</code></em>,
|
1636
|
+
<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> *right</code></em>);</pre>
|
1637
|
+
<p>Sets strftime like header format strings, to be printed on the
|
1267
1638
|
left, center and right of the bottom of each page. The strings may
|
1268
1639
|
include strftime(3) codes which will be expanded at print time.
|
1269
1640
|
All <code class="function">strftime()</code> codes are accepted, with the addition of #N for the
|
1270
|
-
page number and #Q for the page count
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
<p>
|
1277
|
-
If <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> is given for any of the three arguments, that particular
|
1278
|
-
string will not be printed.
|
1279
|
-
</p>
|
1280
|
-
<p>
|
1281
|
-
For the footer to be printed, in
|
1641
|
+
page number and #Q for the page count.</p>
|
1642
|
+
<p><em class="parameter"><code>separator</code></em>
|
1643
|
+
specifies if a solid line should be drawn to separate
|
1644
|
+
the footer from the document text.</p>
|
1645
|
+
<p>If <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> is given for any of the three arguments, that particular
|
1646
|
+
string will not be printed.</p>
|
1647
|
+
<p>For the footer to be printed, in
|
1282
1648
|
addition to specifying format strings, you need to enable footer
|
1283
|
-
printing with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-footer" title="gtk_source_print_compositor_set_print_footer
|
1284
|
-
|
1285
|
-
<p>
|
1286
|
-
|
1287
|
-
<a
|
1288
|
-
|
1289
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1649
|
+
printing with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-footer" title="gtk_source_print_compositor_set_print_footer ()"><code class="function">gtk_source_print_compositor_set_print_footer()</code></a>.</p>
|
1650
|
+
<p>This function cannot be called anymore after the first call to the
|
1651
|
+
<a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
1652
|
+
<div class="refsect3">
|
1653
|
+
<a name="id-1.2.22.9.34.9"></a><h4>Parameters</h4>
|
1654
|
+
<div class="informaltable"><table width="100%" border="0">
|
1290
1655
|
<colgroup>
|
1291
|
-
<col
|
1292
|
-
<col>
|
1656
|
+
<col width="150px" class="parameters_name">
|
1657
|
+
<col class="parameters_description">
|
1658
|
+
<col width="200px" class="parameters_annotations">
|
1293
1659
|
</colgroup>
|
1294
1660
|
<tbody>
|
1295
1661
|
<tr>
|
1296
|
-
<td
|
1297
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1662
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1663
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1664
|
+
<td class="parameter_annotations"> </td>
|
1298
1665
|
</tr>
|
1299
1666
|
<tr>
|
1300
|
-
<td
|
1301
|
-
<td>
|
1302
|
-
<
|
1667
|
+
<td class="parameter_name"><p>separator</p></td>
|
1668
|
+
<td class="parameter_description"><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 you want a separator line to be printed.</p></td>
|
1669
|
+
<td class="parameter_annotations"> </td>
|
1303
1670
|
</tr>
|
1304
1671
|
<tr>
|
1305
|
-
<td
|
1306
|
-
<td>a format string to print on the left of the footer.
|
1307
|
-
</td>
|
1672
|
+
<td class="parameter_name"><p>left</p></td>
|
1673
|
+
<td class="parameter_description"><p> a format string to print on the left of the footer. </p></td>
|
1674
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1308
1675
|
</tr>
|
1309
1676
|
<tr>
|
1310
|
-
<td
|
1311
|
-
<td>a format string to print on the center of the footer.
|
1312
|
-
</td>
|
1677
|
+
<td class="parameter_name"><p>center</p></td>
|
1678
|
+
<td class="parameter_description"><p> a format string to print on the center of the footer. </p></td>
|
1679
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1313
1680
|
</tr>
|
1314
1681
|
<tr>
|
1315
|
-
<td
|
1316
|
-
<td>a format string to print on the right of the footer.
|
1317
|
-
</td>
|
1682
|
+
<td class="parameter_name"><p>right</p></td>
|
1683
|
+
<td class="parameter_description"><p> a format string to print on the right of the footer. </p></td>
|
1684
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1318
1685
|
</tr>
|
1319
1686
|
</tbody>
|
1320
1687
|
</table></div>
|
1688
|
+
</div>
|
1321
1689
|
<p class="since">Since 2.2</p>
|
1322
1690
|
</div>
|
1323
1691
|
<hr>
|
1324
1692
|
<div class="refsect2">
|
1325
|
-
<a name="gtk-source-print-compositor-get-n-pages"></a><h3>gtk_source_print_compositor_get_n_pages
|
1326
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1327
|
-
|
1328
|
-
<
|
1329
|
-
Returns the number of pages in the document or <code class="code">-1</code> if the
|
1330
|
-
document has not been completely paginated
|
1331
|
-
|
1332
|
-
<
|
1693
|
+
<a name="gtk-source-print-compositor-get-n-pages"></a><h3>gtk_source_print_compositor_get_n_pages ()</h3>
|
1694
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1695
|
+
gtk_source_print_compositor_get_n_pages
|
1696
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
1697
|
+
<p>Returns the number of pages in the document or <code class="code">-1</code> if the
|
1698
|
+
document has not been completely paginated.</p>
|
1699
|
+
<div class="refsect3">
|
1700
|
+
<a name="id-1.2.22.9.35.5"></a><h4>Parameters</h4>
|
1701
|
+
<div class="informaltable"><table width="100%" border="0">
|
1333
1702
|
<colgroup>
|
1334
|
-
<col
|
1335
|
-
<col>
|
1703
|
+
<col width="150px" class="parameters_name">
|
1704
|
+
<col class="parameters_description">
|
1705
|
+
<col width="200px" class="parameters_annotations">
|
1336
1706
|
</colgroup>
|
1337
|
-
<tbody>
|
1338
|
-
<
|
1339
|
-
<td><p
|
1340
|
-
<td
|
1341
|
-
</tr>
|
1342
|
-
<tr>
|
1343
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1344
|
-
<td>the number of pages in the document or <code class="code">-1</code> if the
|
1345
|
-
document has not been completely paginated.</td>
|
1346
|
-
</tr>
|
1347
|
-
</tbody>
|
1707
|
+
<tbody><tr>
|
1708
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1709
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1710
|
+
<td class="parameter_annotations"> </td>
|
1711
|
+
</tr></tbody>
|
1348
1712
|
</table></div>
|
1713
|
+
</div>
|
1714
|
+
<div class="refsect3">
|
1715
|
+
<a name="id-1.2.22.9.35.6"></a><h4>Returns</h4>
|
1716
|
+
<p> the number of pages in the document or <code class="code">-1</code> if the
|
1717
|
+
document has not been completely paginated.</p>
|
1718
|
+
<p></p>
|
1719
|
+
</div>
|
1349
1720
|
<p class="since">Since 2.2</p>
|
1350
1721
|
</div>
|
1351
1722
|
<hr>
|
1352
1723
|
<div class="refsect2">
|
1353
|
-
<a name="gtk-source-print-compositor-paginate"></a><h3>gtk_source_print_compositor_paginate
|
1354
|
-
<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>
|
1355
|
-
|
1356
|
-
|
1357
|
-
<p>
|
1358
|
-
|
1359
|
-
|
1360
|
-
<
|
1361
|
-
|
1362
|
-
Each time <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> is invoked, a chunk of the document
|
1363
|
-
is paginated. To paginate the entire document, <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a>
|
1724
|
+
<a name="gtk-source-print-compositor-paginate"></a><h3>gtk_source_print_compositor_paginate ()</h3>
|
1725
|
+
<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>
|
1726
|
+
gtk_source_print_compositor_paginate (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1727
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> *context</code></em>);</pre>
|
1728
|
+
<p>Paginate the document associated with the <em class="parameter"><code>compositor</code></em>
|
1729
|
+
.</p>
|
1730
|
+
<p>In order to support non-blocking pagination, document is paginated in small chunks.
|
1731
|
+
Each time <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> is invoked, a chunk of the document
|
1732
|
+
is paginated. To paginate the entire document, <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a>
|
1364
1733
|
must be invoked multiple times.
|
1365
|
-
It returns <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 document has been completely paginated, otherwise it returns <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
|
1366
|
-
|
1367
|
-
|
1368
|
-
This method has been designed to be invoked in the handler of the <a href="http://developer.gnome.org/gtk2/gtk3-High-level-Printing-API.html#GtkPrintOperation-paginate"><span class="type">"paginate"</span></a> signal,
|
1369
|
-
as shown in the following example:
|
1370
|
-
</p>
|
1371
|
-
<p>
|
1372
|
-
</p>
|
1734
|
+
It returns <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 document has been completely paginated, otherwise it returns <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>.</p>
|
1735
|
+
<p>This method has been designed to be invoked in the handler of the <a href="http://developer.gnome.org/gtk2/gtk3-High-level-Printing-API.html#GtkPrintOperation-paginate"><span class="type">“paginate”</span></a> signal,
|
1736
|
+
as shown in the following example:</p>
|
1373
1737
|
<div class="informalexample">
|
1374
1738
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1375
1739
|
<tbody>
|
@@ -1425,15 +1789,9 @@ as shown in the following example:
|
|
1425
1789
|
</table>
|
1426
1790
|
</div>
|
1427
1791
|
|
1428
|
-
<p>
|
1429
|
-
|
1430
|
-
|
1431
|
-
If you don't need to do pagination in chunks, you can simply do it all in the
|
1432
|
-
<a href="http://developer.gnome.org/gtk2/gtk3-High-level-Printing-API.html#GtkPrintOperation-begin-print"><span class="type">"begin-print"</span></a> handler, and set the number of pages from there, like
|
1433
|
-
in the following example:
|
1434
|
-
</p>
|
1435
|
-
<p>
|
1436
|
-
</p>
|
1792
|
+
<p>If you don't need to do pagination in chunks, you can simply do it all in the
|
1793
|
+
<a href="http://developer.gnome.org/gtk2/gtk3-High-level-Printing-API.html#GtkPrintOperation-begin-print"><span class="type">“begin-print”</span></a> handler, and set the number of pages from there, like
|
1794
|
+
in the following example:</p>
|
1437
1795
|
<div class="informalexample">
|
1438
1796
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1439
1797
|
<tbody>
|
@@ -1477,74 +1835,78 @@ in the following example:
|
|
1477
1835
|
</table>
|
1478
1836
|
</div>
|
1479
1837
|
|
1480
|
-
<
|
1481
|
-
</
|
1482
|
-
<div class="
|
1838
|
+
<div class="refsect3">
|
1839
|
+
<a name="id-1.2.22.9.36.10"></a><h4>Parameters</h4>
|
1840
|
+
<div class="informaltable"><table width="100%" border="0">
|
1483
1841
|
<colgroup>
|
1484
|
-
<col
|
1485
|
-
<col>
|
1842
|
+
<col width="150px" class="parameters_name">
|
1843
|
+
<col class="parameters_description">
|
1844
|
+
<col width="200px" class="parameters_annotations">
|
1486
1845
|
</colgroup>
|
1487
1846
|
<tbody>
|
1488
1847
|
<tr>
|
1489
|
-
<td
|
1490
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1491
|
-
</
|
1492
|
-
<tr>
|
1493
|
-
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
1494
|
-
<td>the <a href="http://developer.gnome.org/gtk2/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> whose parameters (e.g. paper size, print margins, etc.)
|
1495
|
-
are used by the the <em class="parameter"><code>compositor</code></em> to paginate the document.</td>
|
1848
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1849
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1850
|
+
<td class="parameter_annotations"> </td>
|
1496
1851
|
</tr>
|
1497
1852
|
<tr>
|
1498
|
-
<td
|
1499
|
-
<td>
|
1500
|
-
|
1853
|
+
<td class="parameter_name"><p>context</p></td>
|
1854
|
+
<td class="parameter_description"><p>the <a href="http://developer.gnome.org/gtk2/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> whose parameters (e.g. paper size, print margins, etc.)
|
1855
|
+
are used by the the <em class="parameter"><code>compositor</code></em>
|
1856
|
+
to paginate the document.</p></td>
|
1857
|
+
<td class="parameter_annotations"> </td>
|
1501
1858
|
</tr>
|
1502
1859
|
</tbody>
|
1503
1860
|
</table></div>
|
1861
|
+
</div>
|
1862
|
+
<div class="refsect3">
|
1863
|
+
<a name="id-1.2.22.9.36.11"></a><h4>Returns</h4>
|
1864
|
+
<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 document has been completely paginated, <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>
|
1865
|
+
<p></p>
|
1866
|
+
</div>
|
1504
1867
|
<p class="since">Since 2.2</p>
|
1505
1868
|
</div>
|
1506
1869
|
<hr>
|
1507
1870
|
<div class="refsect2">
|
1508
|
-
<a name="gtk-source-print-compositor-get-pagination-progress"></a><h3>gtk_source_print_compositor_get_pagination_progress
|
1509
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1510
|
-
|
1511
|
-
<
|
1512
|
-
Returns the current fraction of the document pagination that has been completed
|
1513
|
-
|
1514
|
-
<
|
1871
|
+
<a name="gtk-source-print-compositor-get-pagination-progress"></a><h3>gtk_source_print_compositor_get_pagination_progress ()</h3>
|
1872
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1873
|
+
gtk_source_print_compositor_get_pagination_progress
|
1874
|
+
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
1875
|
+
<p>Returns the current fraction of the document pagination that has been completed.</p>
|
1876
|
+
<div class="refsect3">
|
1877
|
+
<a name="id-1.2.22.9.37.5"></a><h4>Parameters</h4>
|
1878
|
+
<div class="informaltable"><table width="100%" border="0">
|
1515
1879
|
<colgroup>
|
1516
|
-
<col
|
1517
|
-
<col>
|
1880
|
+
<col width="150px" class="parameters_name">
|
1881
|
+
<col class="parameters_description">
|
1882
|
+
<col width="200px" class="parameters_annotations">
|
1518
1883
|
</colgroup>
|
1519
|
-
<tbody>
|
1520
|
-
<
|
1521
|
-
<td><p
|
1522
|
-
<td
|
1523
|
-
</tr>
|
1524
|
-
<tr>
|
1525
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1526
|
-
<td>a fraction from 0.0 to 1.0 inclusive.</td>
|
1527
|
-
</tr>
|
1528
|
-
</tbody>
|
1884
|
+
<tbody><tr>
|
1885
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1886
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1887
|
+
<td class="parameter_annotations"> </td>
|
1888
|
+
</tr></tbody>
|
1529
1889
|
</table></div>
|
1890
|
+
</div>
|
1891
|
+
<div class="refsect3">
|
1892
|
+
<a name="id-1.2.22.9.37.6"></a><h4>Returns</h4>
|
1893
|
+
<p> a fraction from 0.0 to 1.0 inclusive.</p>
|
1894
|
+
<p></p>
|
1895
|
+
</div>
|
1530
1896
|
<p class="since">Since 2.2</p>
|
1531
1897
|
</div>
|
1532
1898
|
<hr>
|
1533
1899
|
<div class="refsect2">
|
1534
|
-
<a name="gtk-source-print-compositor-draw-page"></a><h3>gtk_source_print_compositor_draw_page
|
1535
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
<p>
|
1540
|
-
|
1541
|
-
|
1542
|
-
<p>
|
1543
|
-
|
1544
|
-
as shown in the following example:
|
1545
|
-
</p>
|
1546
|
-
<p>
|
1547
|
-
</p>
|
1900
|
+
<a name="gtk-source-print-compositor-draw-page"></a><h3>gtk_source_print_compositor_draw_page ()</h3>
|
1901
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1902
|
+
gtk_source_print_compositor_draw_page (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1903
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> *context</code></em>,
|
1904
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);</pre>
|
1905
|
+
<p>Draw page <em class="parameter"><code>page_nr</code></em>
|
1906
|
+
for printing on the the Cairo context encapsuled in <em class="parameter"><code>context</code></em>
|
1907
|
+
.</p>
|
1908
|
+
<p>This method has been designed to be called in the handler of the <a href="http://developer.gnome.org/gtk2/gtk3-High-level-Printing-API.html#GtkPrintOperation-draw-page"><span class="type">“draw_page”</span></a> signal
|
1909
|
+
as shown in the following example:</p>
|
1548
1910
|
<div class="informalexample">
|
1549
1911
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1550
1912
|
<tbody>
|
@@ -1586,227 +1948,195 @@ as shown in the following example:
|
|
1586
1948
|
</table>
|
1587
1949
|
</div>
|
1588
1950
|
|
1589
|
-
<
|
1590
|
-
</
|
1591
|
-
<div class="
|
1951
|
+
<div class="refsect3">
|
1952
|
+
<a name="id-1.2.22.9.38.7"></a><h4>Parameters</h4>
|
1953
|
+
<div class="informaltable"><table width="100%" border="0">
|
1592
1954
|
<colgroup>
|
1593
|
-
<col
|
1594
|
-
<col>
|
1955
|
+
<col width="150px" class="parameters_name">
|
1956
|
+
<col class="parameters_description">
|
1957
|
+
<col width="200px" class="parameters_annotations">
|
1595
1958
|
</colgroup>
|
1596
1959
|
<tbody>
|
1597
1960
|
<tr>
|
1598
|
-
<td
|
1599
|
-
<td>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</td>
|
1961
|
+
<td class="parameter_name"><p>compositor</p></td>
|
1962
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
|
1963
|
+
<td class="parameter_annotations"> </td>
|
1600
1964
|
</tr>
|
1601
1965
|
<tr>
|
1602
|
-
<td
|
1603
|
-
<td>the <a href="http://developer.gnome.org/gtk2/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> encapsulating the context information that is required when
|
1604
|
-
drawing the page for printing.</td>
|
1966
|
+
<td class="parameter_name"><p>context</p></td>
|
1967
|
+
<td class="parameter_description"><p>the <a href="http://developer.gnome.org/gtk2/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> encapsulating the context information that is required when
|
1968
|
+
drawing the page for printing.</p></td>
|
1969
|
+
<td class="parameter_annotations"> </td>
|
1605
1970
|
</tr>
|
1606
1971
|
<tr>
|
1607
|
-
<td
|
1608
|
-
<td>the number of the page to print.</td>
|
1972
|
+
<td class="parameter_name"><p>page_nr</p></td>
|
1973
|
+
<td class="parameter_description"><p>the number of the page to print.</p></td>
|
1974
|
+
<td class="parameter_annotations"> </td>
|
1609
1975
|
</tr>
|
1610
1976
|
</tbody>
|
1611
1977
|
</table></div>
|
1612
1978
|
</div>
|
1613
1979
|
</div>
|
1980
|
+
</div>
|
1981
|
+
<div class="refsect1">
|
1982
|
+
<a name="GtkSourcePrintCompositor.other_details"></a><h2>Types and Values</h2>
|
1983
|
+
<div class="refsect2">
|
1984
|
+
<a name="GtkSourcePrintCompositor-struct"></a><h3>GtkSourcePrintCompositor</h3>
|
1985
|
+
<pre class="programlisting">typedef struct _GtkSourcePrintCompositor GtkSourcePrintCompositor;</pre>
|
1986
|
+
</div>
|
1987
|
+
</div>
|
1614
1988
|
<div class="refsect1">
|
1615
1989
|
<a name="GtkSourcePrintCompositor.property-details"></a><h2>Property Details</h2>
|
1616
1990
|
<div class="refsect2">
|
1617
|
-
<a name="GtkSourcePrintCompositor--body-font-name"></a><h3>The <code class="literal"
|
1618
|
-
<pre class="programlisting">
|
1619
|
-
<p>
|
1620
|
-
|
1621
|
-
</p>
|
1622
|
-
<p>
|
1623
|
-
Accepted values are strings representing a font description Pango can understand.
|
1991
|
+
<a name="GtkSourcePrintCompositor--body-font-name"></a><h3>The <code class="literal">“body-font-name”</code> property</h3>
|
1992
|
+
<pre class="programlisting"> “body-font-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>
|
1993
|
+
<p>Name of the font used for the text body.</p>
|
1994
|
+
<p>Accepted values are strings representing a font description Pango can understand.
|
1624
1995
|
(e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
|
1625
|
-
for a description of the format of the string representation
|
1626
|
-
|
1627
|
-
<p>
|
1628
|
-
|
1629
|
-
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1630
|
-
</p>
|
1996
|
+
for a description of the format of the string representation.</p>
|
1997
|
+
<p>The value of this property cannot be changed anymore after the first
|
1998
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
1999
|
+
<p>Flags: Read / Write</p>
|
1631
2000
|
<p>Default value: NULL</p>
|
1632
2001
|
<p class="since">Since 2.2</p>
|
1633
2002
|
</div>
|
1634
2003
|
<hr>
|
1635
2004
|
<div class="refsect2">
|
1636
|
-
<a name="GtkSourcePrintCompositor--buffer"></a><h3>The <code class="literal"
|
1637
|
-
<pre class="programlisting">
|
1638
|
-
<p>
|
1639
|
-
|
1640
|
-
</p>
|
2005
|
+
<a name="GtkSourcePrintCompositor--buffer"></a><h3>The <code class="literal">“buffer”</code> property</h3>
|
2006
|
+
<pre class="programlisting"> “buffer” <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *</pre>
|
2007
|
+
<p>The GtkSourceBuffer object to print.</p>
|
2008
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1641
2009
|
<p class="since">Since 2.2</p>
|
1642
2010
|
</div>
|
1643
2011
|
<hr>
|
1644
2012
|
<div class="refsect2">
|
1645
|
-
<a name="GtkSourcePrintCompositor--footer-font-name"></a><h3>The <code class="literal"
|
1646
|
-
<pre class="programlisting">
|
1647
|
-
<p>
|
1648
|
-
|
1649
|
-
|
1650
|
-
</p>
|
1651
|
-
<p>
|
1652
|
-
Accepted values are strings representing a font description Pango can understand.
|
2013
|
+
<a name="GtkSourcePrintCompositor--footer-font-name"></a><h3>The <code class="literal">“footer-font-name”</code> property</h3>
|
2014
|
+
<pre class="programlisting"> “footer-font-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>
|
2015
|
+
<p>Name of the font used to print page footer.
|
2016
|
+
If this property is unspecified, the text body font is used.</p>
|
2017
|
+
<p>Accepted values are strings representing a font description Pango can understand.
|
1653
2018
|
(e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
|
1654
|
-
for a description of the format of the string representation
|
1655
|
-
|
1656
|
-
<p>
|
1657
|
-
|
1658
|
-
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1659
|
-
</p>
|
2019
|
+
for a description of the format of the string representation.</p>
|
2020
|
+
<p>The value of this property cannot be changed anymore after the first
|
2021
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
2022
|
+
<p>Flags: Read / Write</p>
|
1660
2023
|
<p>Default value: NULL</p>
|
1661
2024
|
<p class="since">Since 2.2</p>
|
1662
2025
|
</div>
|
1663
2026
|
<hr>
|
1664
2027
|
<div class="refsect2">
|
1665
|
-
<a name="GtkSourcePrintCompositor--header-font-name"></a><h3>The <code class="literal"
|
1666
|
-
<pre class="programlisting">
|
1667
|
-
<p>
|
1668
|
-
|
1669
|
-
|
1670
|
-
</p>
|
1671
|
-
<p>
|
1672
|
-
Accepted values are strings representing a font description Pango can understand.
|
2028
|
+
<a name="GtkSourcePrintCompositor--header-font-name"></a><h3>The <code class="literal">“header-font-name”</code> property</h3>
|
2029
|
+
<pre class="programlisting"> “header-font-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>
|
2030
|
+
<p>Name of the font used to print page header.
|
2031
|
+
If this property is unspecified, the text body font is used.</p>
|
2032
|
+
<p>Accepted values are strings representing a font description Pango can understand.
|
1673
2033
|
(e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
|
1674
|
-
for a description of the format of the string representation
|
1675
|
-
|
1676
|
-
<p>
|
1677
|
-
|
1678
|
-
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1679
|
-
</p>
|
2034
|
+
for a description of the format of the string representation.</p>
|
2035
|
+
<p>The value of this property cannot be changed anymore after the first
|
2036
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
2037
|
+
<p>Flags: Read / Write</p>
|
1680
2038
|
<p>Default value: NULL</p>
|
1681
2039
|
<p class="since">Since 2.2</p>
|
1682
2040
|
</div>
|
1683
2041
|
<hr>
|
1684
2042
|
<div class="refsect2">
|
1685
|
-
<a name="GtkSourcePrintCompositor--highlight-syntax"></a><h3>The <code class="literal"
|
1686
|
-
<pre class="programlisting">
|
1687
|
-
<p>
|
1688
|
-
|
1689
|
-
</p>
|
1690
|
-
<p>
|
1691
|
-
The value of this property cannot be changed anymore after the first
|
1692
|
-
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1693
|
-
</p>
|
2043
|
+
<a name="GtkSourcePrintCompositor--highlight-syntax"></a><h3>The <code class="literal">“highlight-syntax”</code> property</h3>
|
2044
|
+
<pre class="programlisting"> “highlight-syntax” <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>
|
2045
|
+
<p>Whether to print the document with highlighted syntax.</p>
|
2046
|
+
<p>The value of this property cannot be changed anymore after the first
|
2047
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
2048
|
+
<p>Flags: Read / Write</p>
|
1694
2049
|
<p>Default value: TRUE</p>
|
1695
2050
|
<p class="since">Since 2.2</p>
|
1696
2051
|
</div>
|
1697
2052
|
<hr>
|
1698
2053
|
<div class="refsect2">
|
1699
|
-
<a name="GtkSourcePrintCompositor--line-numbers-font-name"></a><h3>The <code class="literal"
|
1700
|
-
<pre class="programlisting">
|
1701
|
-
<p>
|
1702
|
-
|
1703
|
-
|
1704
|
-
</p>
|
1705
|
-
<p>
|
1706
|
-
Accepted values are strings representing a font description Pango can understand.
|
2054
|
+
<a name="GtkSourcePrintCompositor--line-numbers-font-name"></a><h3>The <code class="literal">“line-numbers-font-name”</code> property</h3>
|
2055
|
+
<pre class="programlisting"> “line-numbers-font-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>
|
2056
|
+
<p>Name of the font used to print line numbers on the left margin.
|
2057
|
+
If this property is unspecified, the text body font is used.</p>
|
2058
|
+
<p>Accepted values are strings representing a font description Pango can understand.
|
1707
2059
|
(e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
|
1708
|
-
for a description of the format of the string representation
|
1709
|
-
|
1710
|
-
<p>
|
1711
|
-
|
1712
|
-
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1713
|
-
</p>
|
2060
|
+
for a description of the format of the string representation.</p>
|
2061
|
+
<p>The value of this property cannot be changed anymore after the first
|
2062
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
2063
|
+
<p>Flags: Read / Write</p>
|
1714
2064
|
<p>Default value: NULL</p>
|
1715
2065
|
<p class="since">Since 2.2</p>
|
1716
2066
|
</div>
|
1717
2067
|
<hr>
|
1718
2068
|
<div class="refsect2">
|
1719
|
-
<a name="GtkSourcePrintCompositor--n-pages"></a><h3>The <code class="literal"
|
1720
|
-
<pre class="programlisting">
|
1721
|
-
<p>
|
1722
|
-
|
1723
|
-
|
1724
|
-
</p>
|
2069
|
+
<a name="GtkSourcePrintCompositor--n-pages"></a><h3>The <code class="literal">“n-pages”</code> property</h3>
|
2070
|
+
<pre class="programlisting"> “n-pages” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
2071
|
+
<p>The number of pages in the document or <code class="code">-1</code> if the
|
2072
|
+
document has not been completely paginated.</p>
|
2073
|
+
<p>Flags: Read</p>
|
1725
2074
|
<p>Allowed values: >= -1</p>
|
1726
2075
|
<p>Default value: -1</p>
|
1727
2076
|
<p class="since">Since 2.2</p>
|
1728
2077
|
</div>
|
1729
2078
|
<hr>
|
1730
2079
|
<div class="refsect2">
|
1731
|
-
<a name="GtkSourcePrintCompositor--print-footer"></a><h3>The <code class="literal"
|
1732
|
-
<pre class="programlisting">
|
1733
|
-
<p>
|
1734
|
-
|
1735
|
-
</p>
|
1736
|
-
<p>
|
1737
|
-
Note that by default the footer format is unspecified, and if it is
|
2080
|
+
<a name="GtkSourcePrintCompositor--print-footer"></a><h3>The <code class="literal">“print-footer”</code> property</h3>
|
2081
|
+
<pre class="programlisting"> “print-footer” <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>
|
2082
|
+
<p>Whether to print a footer in each page.</p>
|
2083
|
+
<p>Note that by default the footer format is unspecified, and if it is
|
1738
2084
|
unspecified the footer will not be printed, regardless of the value of
|
1739
|
-
this property
|
1740
|
-
|
1741
|
-
<p>
|
1742
|
-
|
1743
|
-
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1744
|
-
</p>
|
2085
|
+
this property.</p>
|
2086
|
+
<p>The value of this property cannot be changed anymore after the first
|
2087
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
2088
|
+
<p>Flags: Read / Write</p>
|
1745
2089
|
<p>Default value: FALSE</p>
|
1746
2090
|
<p class="since">Since 2.2</p>
|
1747
2091
|
</div>
|
1748
2092
|
<hr>
|
1749
2093
|
<div class="refsect2">
|
1750
|
-
<a name="GtkSourcePrintCompositor--print-header"></a><h3>The <code class="literal"
|
1751
|
-
<pre class="programlisting">
|
1752
|
-
<p>
|
1753
|
-
|
1754
|
-
</p>
|
1755
|
-
<p>
|
1756
|
-
Note that by default the header format is unspecified, and if it is
|
2094
|
+
<a name="GtkSourcePrintCompositor--print-header"></a><h3>The <code class="literal">“print-header”</code> property</h3>
|
2095
|
+
<pre class="programlisting"> “print-header” <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>
|
2096
|
+
<p>Whether to print a header in each page.</p>
|
2097
|
+
<p>Note that by default the header format is unspecified, and if it is
|
1757
2098
|
unspecified the header will not be printed, regardless of the value of
|
1758
|
-
this property
|
1759
|
-
|
1760
|
-
<p>
|
1761
|
-
|
1762
|
-
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1763
|
-
</p>
|
2099
|
+
this property.</p>
|
2100
|
+
<p>The value of this property cannot be changed anymore after the first
|
2101
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
2102
|
+
<p>Flags: Read / Write</p>
|
1764
2103
|
<p>Default value: FALSE</p>
|
1765
2104
|
<p class="since">Since 2.2</p>
|
1766
2105
|
</div>
|
1767
2106
|
<hr>
|
1768
2107
|
<div class="refsect2">
|
1769
|
-
<a name="GtkSourcePrintCompositor--print-line-numbers"></a><h3>The <code class="literal"
|
1770
|
-
<pre class="programlisting">
|
1771
|
-
<p>
|
1772
|
-
Interval of printed line numbers. If this property is set to 0 no
|
2108
|
+
<a name="GtkSourcePrintCompositor--print-line-numbers"></a><h3>The <code class="literal">“print-line-numbers”</code> property</h3>
|
2109
|
+
<pre class="programlisting"> “print-line-numbers” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
2110
|
+
<p>Interval of printed line numbers. If this property is set to 0 no
|
1773
2111
|
numbers will be printed. If greater than 0, a number will be
|
1774
|
-
printed every "print-line-numbers" lines (i.e. 1 will print all line numbers)
|
1775
|
-
|
1776
|
-
<p>
|
1777
|
-
|
1778
|
-
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1779
|
-
</p>
|
2112
|
+
printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).</p>
|
2113
|
+
<p>The value of this property cannot be changed anymore after the first
|
2114
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
2115
|
+
<p>Flags: Read / Write</p>
|
1780
2116
|
<p>Allowed values: <= 100</p>
|
1781
2117
|
<p>Default value: 1</p>
|
1782
2118
|
<p class="since">Since 2.2</p>
|
1783
2119
|
</div>
|
1784
2120
|
<hr>
|
1785
2121
|
<div class="refsect2">
|
1786
|
-
<a name="GtkSourcePrintCompositor--tab-width"></a><h3>The <code class="literal"
|
1787
|
-
<pre class="programlisting">
|
1788
|
-
<p>
|
1789
|
-
|
1790
|
-
</p>
|
1791
|
-
<p>
|
1792
|
-
The value of this property cannot be changed anymore after the first
|
1793
|
-
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1794
|
-
</p>
|
2122
|
+
<a name="GtkSourcePrintCompositor--tab-width"></a><h3>The <code class="literal">“tab-width”</code> property</h3>
|
2123
|
+
<pre class="programlisting"> “tab-width” <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
2124
|
+
<p>Width of a tab character expressed in spaces.</p>
|
2125
|
+
<p>The value of this property cannot be changed anymore after the first
|
2126
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
2127
|
+
<p>Flags: Read / Write</p>
|
1795
2128
|
<p>Allowed values: [1,32]</p>
|
1796
2129
|
<p>Default value: 8</p>
|
1797
2130
|
<p class="since">Since 2.2</p>
|
1798
2131
|
</div>
|
1799
2132
|
<hr>
|
1800
2133
|
<div class="refsect2">
|
1801
|
-
<a name="GtkSourcePrintCompositor--wrap-mode"></a><h3>The <code class="literal"
|
1802
|
-
<pre class="programlisting">
|
1803
|
-
<p>
|
1804
|
-
|
1805
|
-
</p>
|
1806
|
-
<p>
|
1807
|
-
The value of this property cannot be changed anymore after the first
|
1808
|
-
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.
|
1809
|
-
</p>
|
2134
|
+
<a name="GtkSourcePrintCompositor--wrap-mode"></a><h3>The <code class="literal">“wrap-mode”</code> property</h3>
|
2135
|
+
<pre class="programlisting"> “wrap-mode” <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a></pre>
|
2136
|
+
<p>Whether to wrap lines never, at word boundaries, or at character boundaries.</p>
|
2137
|
+
<p>The value of this property cannot be changed anymore after the first
|
2138
|
+
call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
|
2139
|
+
<p>Flags: Read / Write</p>
|
1810
2140
|
<p>Default value: GTK_WRAP_NONE</p>
|
1811
2141
|
<p class="since">Since 2.2</p>
|
1812
2142
|
</div>
|
@@ -1814,6 +2144,6 @@ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print
|
|
1814
2144
|
</div>
|
1815
2145
|
<div class="footer">
|
1816
2146
|
<hr>
|
1817
|
-
Generated by GTK-Doc V1.
|
2147
|
+
Generated by GTK-Doc V1.21.1</div>
|
1818
2148
|
</body>
|
1819
2149
|
</html>
|