gtksourceview3 2.2.5-x64-mingw32 → 3.0.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -4
- data/lib/gtksourceview3/loader.rb +46 -0
- data/lib/gtksourceview3/mark-attributes.rb +29 -0
- data/lib/gtksourceview3.rb +47 -12
- data/test/run-test.rb +2 -0
- data/test/{test_mark_attributes.rb → test-mark-attributes.rb} +1 -1
- data/test/{test_source_gutter_renderer.rb → test-source-gutter-renderer.rb} +0 -0
- data/test/{test_source_language_manager.rb → test-source-language-manager.rb} +6 -6
- data/test/{test_source_view.rb → test-source-view.rb} +1 -1
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +4 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +1 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +0 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +5 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +5 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +60 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +56 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +56 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +13 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +5 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +41 -14
- 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/bs/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/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/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/gl/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/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/kk/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/nb/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_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/tr/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 +501 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +186 -132
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +29 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +141 -133
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +89 -89
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +155 -56
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +17 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +215 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +27 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +751 -327
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +107 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +89 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +9 -90
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +25 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +33 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +253 -161
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +57 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +295 -190
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +73 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +13 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +153 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +3 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +234 -125
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +247 -257
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/genie.lang +238 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +4 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +3 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +150 -5
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +1008 -172
- data/vendor/local/share/gtksourceview-3.0/language-specs/pig.lang +283 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/thrift.lang +267 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +13 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +2 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +1 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +3 -1
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +3 -1
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +2 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +7 -5
- metadata +43 -35
- data/ext/gtksourceview3/depend +0 -6
- data/ext/gtksourceview3/extconf.rb +0 -67
- data/ext/gtksourceview3/gtksourceview3.def +0 -2
- data/ext/gtksourceview3/rbgtksource.c +0 -53
- data/ext/gtksourceview3/rbgtksourcebuffer.c +0 -318
- data/ext/gtksourceview3/rbgtksourcegutter.c +0 -82
- data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +0 -143
- data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +0 -42
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +0 -40
- data/ext/gtksourceview3/rbgtksourcelanguage.c +0 -124
- data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +0 -114
- data/ext/gtksourceview3/rbgtksourcemark.c +0 -85
- data/ext/gtksourceview3/rbgtksourcemarkattributes.c +0 -77
- data/ext/gtksourceview3/rbgtksourceprintcompositor.c +0 -171
- data/ext/gtksourceview3/rbgtksourcestyle.c +0 -42
- data/ext/gtksourceview3/rbgtksourcestylescheme.c +0 -72
- data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +0 -140
- data/ext/gtksourceview3/rbgtksourceundomanager.c +0 -83
- data/ext/gtksourceview3/rbgtksourceview.c +0 -94
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +0 -50
- data/ext/gtksourceview3/rbgtksourceview3private.h +0 -53
- data/extconf.rb +0 -49
- data/lib/2.0/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
- data/lib/2.2/gtksourceview3.so +0 -0
- data/sample/sourcelanguagemanager.rb +0 -21
- data/sample/test.rb +0 -32
@@ -2,12 +2,12 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GtkSourceView 3 Reference Manual
|
5
|
+
<title>GtkSourcePrintCompositor: GtkSourceView 3 Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
-
<link rel="up" href="
|
9
|
-
<link rel="prev" href="
|
10
|
-
<link rel="next" href="
|
8
|
+
<link rel="up" href="ch06.html" title="Printing">
|
9
|
+
<link rel="prev" href="ch06.html" title="Printing">
|
10
|
+
<link rel="next" href="ch07.html" title="Search and Replace">
|
11
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>
|
@@ -20,9 +20,9 @@
|
|
20
20
|
<a href="#GtkSourcePrintCompositor.properties" class="shortcut">Properties</a></span>
|
21
21
|
</td>
|
22
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
|
-
<td><a accesskey="u" href="
|
24
|
-
<td><a accesskey="p" href="
|
25
|
-
<td><a accesskey="n" href="
|
23
|
+
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="ch06.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="ch07.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
26
|
</tr></table>
|
27
27
|
<div class="refentry">
|
28
28
|
<a name="GtkSourcePrintCompositor"></a><div class="titlepage"></div>
|
@@ -91,7 +91,7 @@
|
|
91
91
|
</tr>
|
92
92
|
<tr>
|
93
93
|
<td class="function_type">
|
94
|
-
<a href="
|
94
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
|
95
95
|
</td>
|
96
96
|
<td class="function_name">
|
97
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>
|
@@ -410,7 +410,7 @@
|
|
410
410
|
<td class="property_flags">Read / Write</td>
|
411
411
|
</tr>
|
412
412
|
<tr>
|
413
|
-
<td class="property_type"><a href="
|
413
|
+
<td class="property_type"><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a></td>
|
414
414
|
<td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title="The “wrap-mode” property">wrap-mode</a></td>
|
415
415
|
<td class="property_flags">Read / Write</td>
|
416
416
|
</tr>
|
@@ -446,11 +446,11 @@
|
|
446
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>
|
447
447
|
for printing. You can set various configuration options to customize the
|
448
448
|
printed output. <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> is designed to be used with the
|
449
|
-
high-level printing API of gtk+, i.e. <a href="
|
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
450
|
<p>The margins specified in this object are the layout margins: they define the
|
451
451
|
blank space bordering the printed area of the pages. They must not be
|
452
452
|
confused with the "print margins", i.e. the parts of the page that the
|
453
|
-
printer cannot print on, defined in the <a href="
|
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
|
454
454
|
specified layout margins are smaller than the "print margins", the latter
|
455
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
|
456
456
|
the printed area is not clipped.</p>
|
@@ -464,7 +464,7 @@ gtk_source_print_compositor_new (<em class="parameter"><code><a class="link" hre
|
|
464
464
|
<p>Creates a new print compositor that can be used to print <em class="parameter"><code>buffer</code></em>
|
465
465
|
.</p>
|
466
466
|
<div class="refsect3">
|
467
|
-
<a name="id-1.2.
|
467
|
+
<a name="id-1.2.7.2.9.2.5"></a><h4>Parameters</h4>
|
468
468
|
<div class="informaltable"><table width="100%" border="0">
|
469
469
|
<colgroup>
|
470
470
|
<col width="150px" class="parameters_name">
|
@@ -479,7 +479,7 @@ gtk_source_print_compositor_new (<em class="parameter"><code><a class="link" hre
|
|
479
479
|
</table></div>
|
480
480
|
</div>
|
481
481
|
<div class="refsect3">
|
482
|
-
<a name="id-1.2.
|
482
|
+
<a name="id-1.2.7.2.9.2.6"></a><h4>Returns</h4>
|
483
483
|
<p> a new print compositor object.</p>
|
484
484
|
<p></p>
|
485
485
|
</div>
|
@@ -501,7 +501,7 @@ printed output match <em class="parameter"><code>view</code></em>
|
|
501
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
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
503
|
<div class="refsect3">
|
504
|
-
<a name="id-1.2.
|
504
|
+
<a name="id-1.2.7.2.9.3.5"></a><h4>Parameters</h4>
|
505
505
|
<div class="informaltable"><table width="100%" border="0">
|
506
506
|
<colgroup>
|
507
507
|
<col width="150px" class="parameters_name">
|
@@ -516,7 +516,7 @@ printed output match <em class="parameter"><code>view</code></em>
|
|
516
516
|
</table></div>
|
517
517
|
</div>
|
518
518
|
<div class="refsect3">
|
519
|
-
<a name="id-1.2.
|
519
|
+
<a name="id-1.2.7.2.9.3.6"></a><h4>Returns</h4>
|
520
520
|
<p> a new print compositor object.</p>
|
521
521
|
<p></p>
|
522
522
|
</div>
|
@@ -532,7 +532,7 @@ gtk_source_print_compositor_get_buffer
|
|
532
532
|
object reference is owned by the compositor object and
|
533
533
|
should not be unreferenced.</p>
|
534
534
|
<div class="refsect3">
|
535
|
-
<a name="id-1.2.
|
535
|
+
<a name="id-1.2.7.2.9.4.5"></a><h4>Parameters</h4>
|
536
536
|
<div class="informaltable"><table width="100%" border="0">
|
537
537
|
<colgroup>
|
538
538
|
<col width="150px" class="parameters_name">
|
@@ -547,7 +547,7 @@ should not be unreferenced.</p>
|
|
547
547
|
</table></div>
|
548
548
|
</div>
|
549
549
|
<div class="refsect3">
|
550
|
-
<a name="id-1.2.
|
550
|
+
<a name="id-1.2.7.2.9.4.6"></a><h4>Returns</h4>
|
551
551
|
<p> the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> associated with the compositor. </p>
|
552
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
553
|
</div>
|
@@ -564,7 +564,7 @@ gtk_source_print_compositor_set_tab_width
|
|
564
564
|
<p>This function cannot be called anymore after the first call to the
|
565
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
566
|
<div class="refsect3">
|
567
|
-
<a name="id-1.2.
|
567
|
+
<a name="id-1.2.7.2.9.5.6"></a><h4>Parameters</h4>
|
568
568
|
<div class="informaltable"><table width="100%" border="0">
|
569
569
|
<colgroup>
|
570
570
|
<col width="150px" class="parameters_name">
|
@@ -595,7 +595,7 @@ gtk_source_print_compositor_get_tab_width
|
|
595
595
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
596
596
|
<p>Returns the width of tabulation in characters for printed text.</p>
|
597
597
|
<div class="refsect3">
|
598
|
-
<a name="id-1.2.
|
598
|
+
<a name="id-1.2.7.2.9.6.5"></a><h4>Parameters</h4>
|
599
599
|
<div class="informaltable"><table width="100%" border="0">
|
600
600
|
<colgroup>
|
601
601
|
<col width="150px" class="parameters_name">
|
@@ -610,7 +610,7 @@ gtk_source_print_compositor_get_tab_width
|
|
610
610
|
</table></div>
|
611
611
|
</div>
|
612
612
|
<div class="refsect3">
|
613
|
-
<a name="id-1.2.
|
613
|
+
<a name="id-1.2.7.2.9.6.6"></a><h4>Returns</h4>
|
614
614
|
<p> width of tab.</p>
|
615
615
|
<p></p>
|
616
616
|
</div>
|
@@ -622,12 +622,12 @@ gtk_source_print_compositor_get_tab_width
|
|
622
622
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
623
623
|
gtk_source_print_compositor_set_wrap_mode
|
624
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="
|
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
626
|
<p>Sets the line wrapping mode for the printed text.</p>
|
627
627
|
<p>This function cannot be called anymore after the first call to the
|
628
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
629
|
<div class="refsect3">
|
630
|
-
<a name="id-1.2.
|
630
|
+
<a name="id-1.2.7.2.9.7.6"></a><h4>Parameters</h4>
|
631
631
|
<div class="informaltable"><table width="100%" border="0">
|
632
632
|
<colgroup>
|
633
633
|
<col width="150px" class="parameters_name">
|
@@ -642,7 +642,7 @@ gtk_source_print_compositor_set_wrap_mode
|
|
642
642
|
</tr>
|
643
643
|
<tr>
|
644
644
|
<td class="parameter_name"><p>wrap_mode</p></td>
|
645
|
-
<td class="parameter_description"><p>a <a href="
|
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
646
|
<td class="parameter_annotations"> </td>
|
647
647
|
</tr>
|
648
648
|
</tbody>
|
@@ -653,12 +653,12 @@ gtk_source_print_compositor_set_wrap_mode
|
|
653
653
|
<hr>
|
654
654
|
<div class="refsect2">
|
655
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="
|
656
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
|
657
657
|
gtk_source_print_compositor_get_wrap_mode
|
658
658
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
659
659
|
<p>Gets the line wrapping mode for the printed text.</p>
|
660
660
|
<div class="refsect3">
|
661
|
-
<a name="id-1.2.
|
661
|
+
<a name="id-1.2.7.2.9.8.5"></a><h4>Parameters</h4>
|
662
662
|
<div class="informaltable"><table width="100%" border="0">
|
663
663
|
<colgroup>
|
664
664
|
<col width="150px" class="parameters_name">
|
@@ -673,7 +673,7 @@ gtk_source_print_compositor_get_wrap_mode
|
|
673
673
|
</table></div>
|
674
674
|
</div>
|
675
675
|
<div class="refsect3">
|
676
|
-
<a name="id-1.2.
|
676
|
+
<a name="id-1.2.7.2.9.8.6"></a><h4>Returns</h4>
|
677
677
|
<p> the line wrap mode.</p>
|
678
678
|
<p></p>
|
679
679
|
</div>
|
@@ -691,7 +691,7 @@ buffer rules. Both color and font style are applied.</p>
|
|
691
691
|
<p>This function cannot be called anymore after the first call to the
|
692
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
693
|
<div class="refsect3">
|
694
|
-
<a name="id-1.2.
|
694
|
+
<a name="id-1.2.7.2.9.9.6"></a><h4>Parameters</h4>
|
695
695
|
<div class="informaltable"><table width="100%" border="0">
|
696
696
|
<colgroup>
|
697
697
|
<col width="150px" class="parameters_name">
|
@@ -724,7 +724,7 @@ gtk_source_print_compositor_get_highlight_syntax
|
|
724
724
|
buffer rules. Note that highlighting will happen
|
725
725
|
only if the buffer to print has highlighting activated.</p>
|
726
726
|
<div class="refsect3">
|
727
|
-
<a name="id-1.2.
|
727
|
+
<a name="id-1.2.7.2.9.10.5"></a><h4>Parameters</h4>
|
728
728
|
<div class="informaltable"><table width="100%" border="0">
|
729
729
|
<colgroup>
|
730
730
|
<col width="150px" class="parameters_name">
|
@@ -739,7 +739,7 @@ only if the buffer to print has highlighting activated.</p>
|
|
739
739
|
</table></div>
|
740
740
|
</div>
|
741
741
|
<div class="refsect3">
|
742
|
-
<a name="id-1.2.
|
742
|
+
<a name="id-1.2.7.2.9.10.6"></a><h4>Returns</h4>
|
743
743
|
<p> <a href="/home/vagrant/ruby-gnome2.win64/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
744
|
<p></p>
|
745
745
|
</div>
|
@@ -762,7 +762,7 @@ printed every <em class="parameter"><code>interval</code></em>
|
|
762
762
|
<p>This function cannot be called anymore after the first call to the
|
763
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
764
|
<div class="refsect3">
|
765
|
-
<a name="id-1.2.
|
765
|
+
<a name="id-1.2.7.2.9.11.7"></a><h4>Parameters</h4>
|
766
766
|
<div class="informaltable"><table width="100%" border="0">
|
767
767
|
<colgroup>
|
768
768
|
<col width="150px" class="parameters_name">
|
@@ -795,7 +795,7 @@ gtk_source_print_compositor_get_print_line_numbers
|
|
795
795
|
value is 0, no line numbers will be printed. The default value is
|
796
796
|
1 (i.e. numbers printed in all lines).</p>
|
797
797
|
<div class="refsect3">
|
798
|
-
<a name="id-1.2.
|
798
|
+
<a name="id-1.2.7.2.9.12.5"></a><h4>Parameters</h4>
|
799
799
|
<div class="informaltable"><table width="100%" border="0">
|
800
800
|
<colgroup>
|
801
801
|
<col width="150px" class="parameters_name">
|
@@ -810,7 +810,7 @@ value is 0, no line numbers will be printed. The default value is
|
|
810
810
|
</table></div>
|
811
811
|
</div>
|
812
812
|
<div class="refsect3">
|
813
|
-
<a name="id-1.2.
|
813
|
+
<a name="id-1.2.7.2.9.12.6"></a><h4>Returns</h4>
|
814
814
|
<p> the interval of printed line numbers.</p>
|
815
815
|
<p></p>
|
816
816
|
</div>
|
@@ -832,7 +832,7 @@ for a description of the format of the string representation.</p>
|
|
832
832
|
<p>This function cannot be called anymore after the first call to the
|
833
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
834
|
<div class="refsect3">
|
835
|
-
<a name="id-1.2.
|
835
|
+
<a name="id-1.2.7.2.9.13.7"></a><h4>Parameters</h4>
|
836
836
|
<div class="informaltable"><table width="100%" border="0">
|
837
837
|
<colgroup>
|
838
838
|
<col width="150px" class="parameters_name">
|
@@ -864,7 +864,7 @@ gtk_source_print_compositor_get_body_font_name
|
|
864
864
|
<p>Returns the name of the font used to print the text body. The returned string
|
865
865
|
must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
866
866
|
<div class="refsect3">
|
867
|
-
<a name="id-1.2.
|
867
|
+
<a name="id-1.2.7.2.9.14.5"></a><h4>Parameters</h4>
|
868
868
|
<div class="informaltable"><table width="100%" border="0">
|
869
869
|
<colgroup>
|
870
870
|
<col width="150px" class="parameters_name">
|
@@ -879,7 +879,7 @@ must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/s
|
|
879
879
|
</table></div>
|
880
880
|
</div>
|
881
881
|
<div class="refsect3">
|
882
|
-
<a name="id-1.2.
|
882
|
+
<a name="id-1.2.7.2.9.14.6"></a><h4>Returns</h4>
|
883
883
|
<p> a new string containing the name of the font used to print the
|
884
884
|
text body.</p>
|
885
885
|
<p></p>
|
@@ -904,7 +904,7 @@ for a description of the format of the string representation.</p>
|
|
904
904
|
<p>This function cannot be called anymore after the first call to the
|
905
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
906
|
<div class="refsect3">
|
907
|
-
<a name="id-1.2.
|
907
|
+
<a name="id-1.2.7.2.9.15.7"></a><h4>Parameters</h4>
|
908
908
|
<div class="informaltable"><table width="100%" border="0">
|
909
909
|
<colgroup>
|
910
910
|
<col width="150px" class="parameters_name">
|
@@ -936,7 +936,7 @@ gtk_source_print_compositor_get_line_numbers_font_name
|
|
936
936
|
<p>Returns the name of the font used to print line numbers on the left margin.
|
937
937
|
The returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
938
938
|
<div class="refsect3">
|
939
|
-
<a name="id-1.2.
|
939
|
+
<a name="id-1.2.7.2.9.16.5"></a><h4>Parameters</h4>
|
940
940
|
<div class="informaltable"><table width="100%" border="0">
|
941
941
|
<colgroup>
|
942
942
|
<col width="150px" class="parameters_name">
|
@@ -951,7 +951,7 @@ The returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/
|
|
951
951
|
</table></div>
|
952
952
|
</div>
|
953
953
|
<div class="refsect3">
|
954
|
-
<a name="id-1.2.
|
954
|
+
<a name="id-1.2.7.2.9.16.6"></a><h4>Returns</h4>
|
955
955
|
<p> a new string containing the name of the font used to print
|
956
956
|
line numbers on the left margin.</p>
|
957
957
|
<p></p>
|
@@ -976,7 +976,7 @@ for a description of the format of the string representation.</p>
|
|
976
976
|
<p>This function cannot be called anymore after the first call to the
|
977
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
978
|
<div class="refsect3">
|
979
|
-
<a name="id-1.2.
|
979
|
+
<a name="id-1.2.7.2.9.17.7"></a><h4>Parameters</h4>
|
980
980
|
<div class="informaltable"><table width="100%" border="0">
|
981
981
|
<colgroup>
|
982
982
|
<col width="150px" class="parameters_name">
|
@@ -1008,7 +1008,7 @@ gtk_source_print_compositor_get_header_font_name
|
|
1008
1008
|
<p>Returns the name of the font used to print the page header.
|
1009
1009
|
The returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
1010
1010
|
<div class="refsect3">
|
1011
|
-
<a name="id-1.2.
|
1011
|
+
<a name="id-1.2.7.2.9.18.5"></a><h4>Parameters</h4>
|
1012
1012
|
<div class="informaltable"><table width="100%" border="0">
|
1013
1013
|
<colgroup>
|
1014
1014
|
<col width="150px" class="parameters_name">
|
@@ -1023,7 +1023,7 @@ The returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/
|
|
1023
1023
|
</table></div>
|
1024
1024
|
</div>
|
1025
1025
|
<div class="refsect3">
|
1026
|
-
<a name="id-1.2.
|
1026
|
+
<a name="id-1.2.7.2.9.18.6"></a><h4>Returns</h4>
|
1027
1027
|
<p> a new string containing the name of the font used to print
|
1028
1028
|
the page header.</p>
|
1029
1029
|
<p></p>
|
@@ -1048,7 +1048,7 @@ for a description of the format of the string representation.</p>
|
|
1048
1048
|
<p>This function cannot be called anymore after the first call to the
|
1049
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
1050
|
<div class="refsect3">
|
1051
|
-
<a name="id-1.2.
|
1051
|
+
<a name="id-1.2.7.2.9.19.7"></a><h4>Parameters</h4>
|
1052
1052
|
<div class="informaltable"><table width="100%" border="0">
|
1053
1053
|
<colgroup>
|
1054
1054
|
<col width="150px" class="parameters_name">
|
@@ -1080,7 +1080,7 @@ gtk_source_print_compositor_get_footer_font_name
|
|
1080
1080
|
<p>Returns the name of the font used to print the page footer.
|
1081
1081
|
The returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
1082
1082
|
<div class="refsect3">
|
1083
|
-
<a name="id-1.2.
|
1083
|
+
<a name="id-1.2.7.2.9.20.5"></a><h4>Parameters</h4>
|
1084
1084
|
<div class="informaltable"><table width="100%" border="0">
|
1085
1085
|
<colgroup>
|
1086
1086
|
<col width="150px" class="parameters_name">
|
@@ -1095,7 +1095,7 @@ The returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/
|
|
1095
1095
|
</table></div>
|
1096
1096
|
</div>
|
1097
1097
|
<div class="refsect3">
|
1098
|
-
<a name="id-1.2.
|
1098
|
+
<a name="id-1.2.7.2.9.20.6"></a><h4>Returns</h4>
|
1099
1099
|
<p> a new string containing the name of the font used to print
|
1100
1100
|
the page footer.</p>
|
1101
1101
|
<p></p>
|
@@ -1108,11 +1108,11 @@ the page footer.</p>
|
|
1108
1108
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1109
1109
|
gtk_source_print_compositor_get_top_margin
|
1110
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="
|
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
1112
|
<p>Gets the top margin in units of <em class="parameter"><code>unit</code></em>
|
1113
1113
|
.</p>
|
1114
1114
|
<div class="refsect3">
|
1115
|
-
<a name="id-1.2.
|
1115
|
+
<a name="id-1.2.7.2.9.21.5"></a><h4>Parameters</h4>
|
1116
1116
|
<div class="informaltable"><table width="100%" border="0">
|
1117
1117
|
<colgroup>
|
1118
1118
|
<col width="150px" class="parameters_name">
|
@@ -1134,7 +1134,7 @@ gtk_source_print_compositor_get_top_margin
|
|
1134
1134
|
</table></div>
|
1135
1135
|
</div>
|
1136
1136
|
<div class="refsect3">
|
1137
|
-
<a name="id-1.2.
|
1137
|
+
<a name="id-1.2.7.2.9.21.6"></a><h4>Returns</h4>
|
1138
1138
|
<p> the top margin.</p>
|
1139
1139
|
<p></p>
|
1140
1140
|
</div>
|
@@ -1147,11 +1147,11 @@ gtk_source_print_compositor_get_top_margin
|
|
1147
1147
|
gtk_source_print_compositor_set_top_margin
|
1148
1148
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1149
1149
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/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="
|
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
1151
|
<p>Sets the top margin used by <em class="parameter"><code>compositor</code></em>
|
1152
1152
|
.</p>
|
1153
1153
|
<div class="refsect3">
|
1154
|
-
<a name="id-1.2.
|
1154
|
+
<a name="id-1.2.7.2.9.22.5"></a><h4>Parameters</h4>
|
1155
1155
|
<div class="informaltable"><table width="100%" border="0">
|
1156
1156
|
<colgroup>
|
1157
1157
|
<col width="150px" class="parameters_name">
|
@@ -1187,11 +1187,11 @@ gtk_source_print_compositor_set_top_margin
|
|
1187
1187
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1188
1188
|
gtk_source_print_compositor_get_bottom_margin
|
1189
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="
|
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
1191
|
<p>Gets the bottom margin in units of <em class="parameter"><code>unit</code></em>
|
1192
1192
|
.</p>
|
1193
1193
|
<div class="refsect3">
|
1194
|
-
<a name="id-1.2.
|
1194
|
+
<a name="id-1.2.7.2.9.23.5"></a><h4>Parameters</h4>
|
1195
1195
|
<div class="informaltable"><table width="100%" border="0">
|
1196
1196
|
<colgroup>
|
1197
1197
|
<col width="150px" class="parameters_name">
|
@@ -1213,7 +1213,7 @@ gtk_source_print_compositor_get_bottom_margin
|
|
1213
1213
|
</table></div>
|
1214
1214
|
</div>
|
1215
1215
|
<div class="refsect3">
|
1216
|
-
<a name="id-1.2.
|
1216
|
+
<a name="id-1.2.7.2.9.23.6"></a><h4>Returns</h4>
|
1217
1217
|
<p> the bottom margin.</p>
|
1218
1218
|
<p></p>
|
1219
1219
|
</div>
|
@@ -1226,11 +1226,11 @@ gtk_source_print_compositor_get_bottom_margin
|
|
1226
1226
|
gtk_source_print_compositor_set_bottom_margin
|
1227
1227
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1228
1228
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/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="
|
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
1230
|
<p>Sets the bottom margin used by <em class="parameter"><code>compositor</code></em>
|
1231
1231
|
.</p>
|
1232
1232
|
<div class="refsect3">
|
1233
|
-
<a name="id-1.2.
|
1233
|
+
<a name="id-1.2.7.2.9.24.5"></a><h4>Parameters</h4>
|
1234
1234
|
<div class="informaltable"><table width="100%" border="0">
|
1235
1235
|
<colgroup>
|
1236
1236
|
<col width="150px" class="parameters_name">
|
@@ -1266,11 +1266,11 @@ gtk_source_print_compositor_set_bottom_margin
|
|
1266
1266
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1267
1267
|
gtk_source_print_compositor_get_left_margin
|
1268
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="
|
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
1270
|
<p>Gets the left margin in units of <em class="parameter"><code>unit</code></em>
|
1271
1271
|
.</p>
|
1272
1272
|
<div class="refsect3">
|
1273
|
-
<a name="id-1.2.
|
1273
|
+
<a name="id-1.2.7.2.9.25.5"></a><h4>Parameters</h4>
|
1274
1274
|
<div class="informaltable"><table width="100%" border="0">
|
1275
1275
|
<colgroup>
|
1276
1276
|
<col width="150px" class="parameters_name">
|
@@ -1292,7 +1292,7 @@ gtk_source_print_compositor_get_left_margin
|
|
1292
1292
|
</table></div>
|
1293
1293
|
</div>
|
1294
1294
|
<div class="refsect3">
|
1295
|
-
<a name="id-1.2.
|
1295
|
+
<a name="id-1.2.7.2.9.25.6"></a><h4>Returns</h4>
|
1296
1296
|
<p> the left margin</p>
|
1297
1297
|
<p></p>
|
1298
1298
|
</div>
|
@@ -1305,11 +1305,11 @@ gtk_source_print_compositor_get_left_margin
|
|
1305
1305
|
gtk_source_print_compositor_set_left_margin
|
1306
1306
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1307
1307
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/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="
|
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
1309
|
<p>Sets the left margin used by <em class="parameter"><code>compositor</code></em>
|
1310
1310
|
.</p>
|
1311
1311
|
<div class="refsect3">
|
1312
|
-
<a name="id-1.2.
|
1312
|
+
<a name="id-1.2.7.2.9.26.5"></a><h4>Parameters</h4>
|
1313
1313
|
<div class="informaltable"><table width="100%" border="0">
|
1314
1314
|
<colgroup>
|
1315
1315
|
<col width="150px" class="parameters_name">
|
@@ -1345,11 +1345,11 @@ gtk_source_print_compositor_set_left_margin
|
|
1345
1345
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1346
1346
|
gtk_source_print_compositor_get_right_margin
|
1347
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="
|
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
1349
|
<p>Gets the right margin in units of <em class="parameter"><code>unit</code></em>
|
1350
1350
|
.</p>
|
1351
1351
|
<div class="refsect3">
|
1352
|
-
<a name="id-1.2.
|
1352
|
+
<a name="id-1.2.7.2.9.27.5"></a><h4>Parameters</h4>
|
1353
1353
|
<div class="informaltable"><table width="100%" border="0">
|
1354
1354
|
<colgroup>
|
1355
1355
|
<col width="150px" class="parameters_name">
|
@@ -1371,7 +1371,7 @@ gtk_source_print_compositor_get_right_margin
|
|
1371
1371
|
</table></div>
|
1372
1372
|
</div>
|
1373
1373
|
<div class="refsect3">
|
1374
|
-
<a name="id-1.2.
|
1374
|
+
<a name="id-1.2.7.2.9.27.6"></a><h4>Returns</h4>
|
1375
1375
|
<p> the right margin.</p>
|
1376
1376
|
<p></p>
|
1377
1377
|
</div>
|
@@ -1384,11 +1384,11 @@ gtk_source_print_compositor_get_right_margin
|
|
1384
1384
|
gtk_source_print_compositor_set_right_margin
|
1385
1385
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1386
1386
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/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="
|
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
1388
|
<p>Sets the right margin used by <em class="parameter"><code>compositor</code></em>
|
1389
1389
|
.</p>
|
1390
1390
|
<div class="refsect3">
|
1391
|
-
<a name="id-1.2.
|
1391
|
+
<a name="id-1.2.7.2.9.28.5"></a><h4>Parameters</h4>
|
1392
1392
|
<div class="informaltable"><table width="100%" border="0">
|
1393
1393
|
<colgroup>
|
1394
1394
|
<col width="150px" class="parameters_name">
|
@@ -1434,7 +1434,7 @@ empty it will not be printed, regardless of this setting.</p>
|
|
1434
1434
|
<p>This function cannot be called anymore after the first call to the
|
1435
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
1436
|
<div class="refsect3">
|
1437
|
-
<a name="id-1.2.
|
1437
|
+
<a name="id-1.2.7.2.9.29.7"></a><h4>Parameters</h4>
|
1438
1438
|
<div class="informaltable"><table width="100%" border="0">
|
1439
1439
|
<colgroup>
|
1440
1440
|
<col width="150px" class="parameters_name">
|
@@ -1468,7 +1468,7 @@ header will be printed if this function returns <a href="/home/vagrant/ruby-gnom
|
|
1468
1468
|
<span class="emphasis"><em>and</em></span> some format strings have been specified
|
1469
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
1470
|
<div class="refsect3">
|
1471
|
-
<a name="id-1.2.
|
1471
|
+
<a name="id-1.2.7.2.9.30.5"></a><h4>Parameters</h4>
|
1472
1472
|
<div class="informaltable"><table width="100%" border="0">
|
1473
1473
|
<colgroup>
|
1474
1474
|
<col width="150px" class="parameters_name">
|
@@ -1483,7 +1483,7 @@ with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compos
|
|
1483
1483
|
</table></div>
|
1484
1484
|
</div>
|
1485
1485
|
<div class="refsect3">
|
1486
|
-
<a name="id-1.2.
|
1486
|
+
<a name="id-1.2.7.2.9.30.6"></a><h4>Returns</h4>
|
1487
1487
|
<p> <a href="/home/vagrant/ruby-gnome2.win64/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
1488
|
<p></p>
|
1489
1489
|
</div>
|
@@ -1505,7 +1505,7 @@ empty it will not be printed, regardless of this setting.</p>
|
|
1505
1505
|
<p>This function cannot be called anymore after the first call to the
|
1506
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
1507
|
<div class="refsect3">
|
1508
|
-
<a name="id-1.2.
|
1508
|
+
<a name="id-1.2.7.2.9.31.7"></a><h4>Parameters</h4>
|
1509
1509
|
<div class="informaltable"><table width="100%" border="0">
|
1510
1510
|
<colgroup>
|
1511
1511
|
<col width="150px" class="parameters_name">
|
@@ -1539,7 +1539,7 @@ footer will be printed if this function returns <a href="/home/vagrant/ruby-gnom
|
|
1539
1539
|
<span class="emphasis"><em>and</em></span> some format strings have been specified
|
1540
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
1541
|
<div class="refsect3">
|
1542
|
-
<a name="id-1.2.
|
1542
|
+
<a name="id-1.2.7.2.9.32.5"></a><h4>Parameters</h4>
|
1543
1543
|
<div class="informaltable"><table width="100%" border="0">
|
1544
1544
|
<colgroup>
|
1545
1545
|
<col width="150px" class="parameters_name">
|
@@ -1554,7 +1554,7 @@ with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compos
|
|
1554
1554
|
</table></div>
|
1555
1555
|
</div>
|
1556
1556
|
<div class="refsect3">
|
1557
|
-
<a name="id-1.2.
|
1557
|
+
<a name="id-1.2.7.2.9.32.6"></a><h4>Returns</h4>
|
1558
1558
|
<p> <a href="/home/vagrant/ruby-gnome2.win64/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
1559
|
<p></p>
|
1560
1560
|
</div>
|
@@ -1586,7 +1586,7 @@ printing with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-pri
|
|
1586
1586
|
<p>This function cannot be called anymore after the first call to the
|
1587
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
1588
|
<div class="refsect3">
|
1589
|
-
<a name="id-1.2.
|
1589
|
+
<a name="id-1.2.7.2.9.33.9"></a><h4>Parameters</h4>
|
1590
1590
|
<div class="informaltable"><table width="100%" border="0">
|
1591
1591
|
<colgroup>
|
1592
1592
|
<col width="150px" class="parameters_name">
|
@@ -1650,7 +1650,7 @@ printing with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-pri
|
|
1650
1650
|
<p>This function cannot be called anymore after the first call to the
|
1651
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
1652
|
<div class="refsect3">
|
1653
|
-
<a name="id-1.2.
|
1653
|
+
<a name="id-1.2.7.2.9.34.9"></a><h4>Parameters</h4>
|
1654
1654
|
<div class="informaltable"><table width="100%" border="0">
|
1655
1655
|
<colgroup>
|
1656
1656
|
<col width="150px" class="parameters_name">
|
@@ -1697,7 +1697,7 @@ gtk_source_print_compositor_get_n_pages
|
|
1697
1697
|
<p>Returns the number of pages in the document or <code class="code">-1</code> if the
|
1698
1698
|
document has not been completely paginated.</p>
|
1699
1699
|
<div class="refsect3">
|
1700
|
-
<a name="id-1.2.
|
1700
|
+
<a name="id-1.2.7.2.9.35.5"></a><h4>Parameters</h4>
|
1701
1701
|
<div class="informaltable"><table width="100%" border="0">
|
1702
1702
|
<colgroup>
|
1703
1703
|
<col width="150px" class="parameters_name">
|
@@ -1712,7 +1712,7 @@ document has not been completely paginated.</p>
|
|
1712
1712
|
</table></div>
|
1713
1713
|
</div>
|
1714
1714
|
<div class="refsect3">
|
1715
|
-
<a name="id-1.2.
|
1715
|
+
<a name="id-1.2.7.2.9.35.6"></a><h4>Returns</h4>
|
1716
1716
|
<p> the number of pages in the document or <code class="code">-1</code> if the
|
1717
1717
|
document has not been completely paginated.</p>
|
1718
1718
|
<p></p>
|
@@ -1724,7 +1724,7 @@ document has not been completely paginated.</p>
|
|
1724
1724
|
<a name="gtk-source-print-compositor-paginate"></a><h3>gtk_source_print_compositor_paginate ()</h3>
|
1725
1725
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1726
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="
|
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
1728
|
<p>Paginate the document associated with the <em class="parameter"><code>compositor</code></em>
|
1729
1729
|
.</p>
|
1730
1730
|
<p>In order to support non-blocking pagination, document is paginated in small chunks.
|
@@ -1732,7 +1732,7 @@ Each time <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-c
|
|
1732
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>
|
1733
1733
|
must be invoked multiple times.
|
1734
1734
|
It returns <a href="/home/vagrant/ruby-gnome2.win64/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/vagrant/ruby-gnome2.win64/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="
|
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
1736
|
as shown in the following example:</p>
|
1737
1737
|
<div class="informalexample">
|
1738
1738
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -1777,7 +1777,7 @@ as shown in the following example:</p>
|
|
1777
1777
|
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> n_pages</span><span class="symbol">;</span>
|
1778
1778
|
|
1779
1779
|
<span class="normal"> n_pages </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-n-pages">gtk_source_print_compositor_get_n_pages</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">);</span>
|
1780
|
-
<span class="normal"> </span><span class="function"><a href="
|
1780
|
+
<span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk2/gtk3-High-level-Printing-API.html#gtk-print-operation-set-n-pages">gtk_print_operation_set_n_pages</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">operation</span><span class="symbol">,</span><span class="normal"> n_pages</span><span class="symbol">);</span>
|
1781
1781
|
|
1782
1782
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">;</span>
|
1783
1783
|
<span class="normal"> </span><span class="cbracket">}</span>
|
@@ -1790,7 +1790,7 @@ as shown in the following example:</p>
|
|
1790
1790
|
</div>
|
1791
1791
|
|
1792
1792
|
<p>If you don't need to do pagination in chunks, you can simply do it all in the
|
1793
|
-
<a href="
|
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
1794
|
in the following example:</p>
|
1795
1795
|
<div class="informalexample">
|
1796
1796
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -1828,7 +1828,7 @@ in the following example:</p>
|
|
1828
1828
|
<span class="normal"> </span><span class="keyword">while</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate">gtk_source_print_compositor_paginate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">,</span><span class="normal"> context</span><span class="symbol">));</span>
|
1829
1829
|
|
1830
1830
|
<span class="normal"> n_pages </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-n-pages">gtk_source_print_compositor_get_n_pages</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">);</span>
|
1831
|
-
<span class="normal"> </span><span class="function"><a href="
|
1831
|
+
<span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk2/gtk3-High-level-Printing-API.html#gtk-print-operation-set-n-pages">gtk_print_operation_set_n_pages</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">operation</span><span class="symbol">,</span><span class="normal"> n_pages</span><span class="symbol">);</span>
|
1832
1832
|
<span class="cbracket">}</span></pre></td>
|
1833
1833
|
</tr>
|
1834
1834
|
</tbody>
|
@@ -1836,7 +1836,7 @@ in the following example:</p>
|
|
1836
1836
|
</div>
|
1837
1837
|
|
1838
1838
|
<div class="refsect3">
|
1839
|
-
<a name="id-1.2.
|
1839
|
+
<a name="id-1.2.7.2.9.36.10"></a><h4>Parameters</h4>
|
1840
1840
|
<div class="informaltable"><table width="100%" border="0">
|
1841
1841
|
<colgroup>
|
1842
1842
|
<col width="150px" class="parameters_name">
|
@@ -1851,7 +1851,7 @@ in the following example:</p>
|
|
1851
1851
|
</tr>
|
1852
1852
|
<tr>
|
1853
1853
|
<td class="parameter_name"><p>context</p></td>
|
1854
|
-
<td class="parameter_description"><p>the <a href="
|
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
1855
|
are used by the the <em class="parameter"><code>compositor</code></em>
|
1856
1856
|
to paginate the document.</p></td>
|
1857
1857
|
<td class="parameter_annotations"> </td>
|
@@ -1860,7 +1860,7 @@ to paginate the document.</p></td>
|
|
1860
1860
|
</table></div>
|
1861
1861
|
</div>
|
1862
1862
|
<div class="refsect3">
|
1863
|
-
<a name="id-1.2.
|
1863
|
+
<a name="id-1.2.7.2.9.36.11"></a><h4>Returns</h4>
|
1864
1864
|
<p> <a href="/home/vagrant/ruby-gnome2.win64/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/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
1865
1865
|
<p></p>
|
1866
1866
|
</div>
|
@@ -1874,7 +1874,7 @@ gtk_source_print_compositor_get_pagination_progress
|
|
1874
1874
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
1875
1875
|
<p>Returns the current fraction of the document pagination that has been completed.</p>
|
1876
1876
|
<div class="refsect3">
|
1877
|
-
<a name="id-1.2.
|
1877
|
+
<a name="id-1.2.7.2.9.37.5"></a><h4>Parameters</h4>
|
1878
1878
|
<div class="informaltable"><table width="100%" border="0">
|
1879
1879
|
<colgroup>
|
1880
1880
|
<col width="150px" class="parameters_name">
|
@@ -1889,7 +1889,7 @@ gtk_source_print_compositor_get_pagination_progress
|
|
1889
1889
|
</table></div>
|
1890
1890
|
</div>
|
1891
1891
|
<div class="refsect3">
|
1892
|
-
<a name="id-1.2.
|
1892
|
+
<a name="id-1.2.7.2.9.37.6"></a><h4>Returns</h4>
|
1893
1893
|
<p> a fraction from 0.0 to 1.0 inclusive.</p>
|
1894
1894
|
<p></p>
|
1895
1895
|
</div>
|
@@ -1900,12 +1900,12 @@ gtk_source_print_compositor_get_pagination_progress
|
|
1900
1900
|
<a name="gtk-source-print-compositor-draw-page"></a><h3>gtk_source_print_compositor_draw_page ()</h3>
|
1901
1901
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1902
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="
|
1903
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> *context</code></em>,
|
1904
1904
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/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
1905
|
<p>Draw page <em class="parameter"><code>page_nr</code></em>
|
1906
1906
|
for printing on the the Cairo context encapsuled in <em class="parameter"><code>context</code></em>
|
1907
1907
|
.</p>
|
1908
|
-
<p>This method has been designed to be called in the handler of the <a href="
|
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
1909
|
as shown in the following example:</p>
|
1910
1910
|
<div class="informalexample">
|
1911
1911
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -1949,7 +1949,7 @@ as shown in the following example:</p>
|
|
1949
1949
|
</div>
|
1950
1950
|
|
1951
1951
|
<div class="refsect3">
|
1952
|
-
<a name="id-1.2.
|
1952
|
+
<a name="id-1.2.7.2.9.38.7"></a><h4>Parameters</h4>
|
1953
1953
|
<div class="informaltable"><table width="100%" border="0">
|
1954
1954
|
<colgroup>
|
1955
1955
|
<col width="150px" class="parameters_name">
|
@@ -1964,7 +1964,7 @@ as shown in the following example:</p>
|
|
1964
1964
|
</tr>
|
1965
1965
|
<tr>
|
1966
1966
|
<td class="parameter_name"><p>context</p></td>
|
1967
|
-
<td class="parameter_description"><p>the <a href="
|
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
1968
|
drawing the page for printing.</p></td>
|
1969
1969
|
<td class="parameter_annotations"> </td>
|
1970
1970
|
</tr>
|
@@ -2132,7 +2132,7 @@ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print
|
|
2132
2132
|
<hr>
|
2133
2133
|
<div class="refsect2">
|
2134
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="
|
2135
|
+
<pre class="programlisting"> “wrap-mode” <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a></pre>
|
2136
2136
|
<p>Whether to wrap lines never, at word boundaries, or at character boundaries.</p>
|
2137
2137
|
<p>The value of this property cannot be changed anymore after the first
|
2138
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>
|