gtksourceview3 3.1.8-x64-mingw32 → 3.1.9-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +1 -1
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +81 -69
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +40 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +48 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +80 -80
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +54 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +152 -75
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +76 -48
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSpaceDrawer.html +30 -13
- 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 +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +63 -47
- 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-full.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch09.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +4 -21
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt04.html +3 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +3 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +7 -7
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +17 -11
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +5 -5
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +24 -24
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/kotlin.lang +389 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/maxima.lang +1864 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +3 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +5 -5
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/swift.lang +440 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +10 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +3 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +46 -46
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- metadata +9 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +0 -62
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +0 -90
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +0 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +0 -270
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +0 -38
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +0 -50
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +0 -42
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +0 -194
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +0 -38
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +0 -298
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +0 -106
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +0 -114
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +0 -130
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-22.html +0 -126
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-24.html +0 -129
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +0 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +0 -146
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GtkSourcePrintCompositor: GtkSourceView 3 Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
8
|
<link rel="up" href="ch07.html" title="Printing">
|
9
9
|
<link rel="prev" href="ch07.html" title="Printing">
|
10
10
|
<link rel="next" href="ch08.html" title="Search and Replace">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.26.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">
|
@@ -91,7 +91,7 @@
|
|
91
91
|
</tr>
|
92
92
|
<tr>
|
93
93
|
<td class="function_type">
|
94
|
-
<a href="/home/seb/jhbuild/share/gtk-doc/html/
|
94
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/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="/home/seb/jhbuild/share/gtk-doc/html/
|
413
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/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="/home/seb/jhbuild/share/gtk-doc/html/
|
449
|
+
high-level printing API of gtk+, i.e. <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html#GtkPrintOperation-struct"><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="/home/seb/jhbuild/share/gtk-doc/html/
|
453
|
+
printer cannot print on, defined in the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPageSetup.html#GtkPageSetup-struct"><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>
|
@@ -619,7 +619,7 @@ gtk_source_print_compositor_get_tab_width
|
|
619
619
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
620
620
|
gtk_source_print_compositor_set_wrap_mode
|
621
621
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
622
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
622
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a> wrap_mode</code></em>);</pre>
|
623
623
|
<p>Sets the line wrapping mode for the printed text.</p>
|
624
624
|
<p>This function cannot be called anymore after the first call to the
|
625
625
|
<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>
|
@@ -639,7 +639,7 @@ gtk_source_print_compositor_set_wrap_mode
|
|
639
639
|
</tr>
|
640
640
|
<tr>
|
641
641
|
<td class="parameter_name"><p>wrap_mode</p></td>
|
642
|
-
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
642
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a>.</p></td>
|
643
643
|
<td class="parameter_annotations"> </td>
|
644
644
|
</tr>
|
645
645
|
</tbody>
|
@@ -650,7 +650,7 @@ gtk_source_print_compositor_set_wrap_mode
|
|
650
650
|
<hr>
|
651
651
|
<div class="refsect2">
|
652
652
|
<a name="gtk-source-print-compositor-get-wrap-mode"></a><h3>gtk_source_print_compositor_get_wrap_mode ()</h3>
|
653
|
-
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
653
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
|
654
654
|
gtk_source_print_compositor_get_wrap_mode
|
655
655
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
656
656
|
<p>Gets the line wrapping mode for the printed text.</p>
|
@@ -1098,7 +1098,7 @@ the page footer.</p>
|
|
1098
1098
|
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1099
1099
|
gtk_source_print_compositor_get_top_margin
|
1100
1100
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1101
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1101
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1102
1102
|
<p>Gets the top margin in units of <em class="parameter"><code>unit</code></em>
|
1103
1103
|
.</p>
|
1104
1104
|
<div class="refsect3">
|
@@ -1136,7 +1136,7 @@ gtk_source_print_compositor_get_top_margin
|
|
1136
1136
|
gtk_source_print_compositor_set_top_margin
|
1137
1137
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1138
1138
|
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
|
1139
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1139
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1140
1140
|
<p>Sets the top margin used by <em class="parameter"><code>compositor</code></em>
|
1141
1141
|
.</p>
|
1142
1142
|
<div class="refsect3">
|
@@ -1176,7 +1176,7 @@ gtk_source_print_compositor_set_top_margin
|
|
1176
1176
|
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1177
1177
|
gtk_source_print_compositor_get_bottom_margin
|
1178
1178
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1179
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1179
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1180
1180
|
<p>Gets the bottom margin in units of <em class="parameter"><code>unit</code></em>
|
1181
1181
|
.</p>
|
1182
1182
|
<div class="refsect3">
|
@@ -1214,7 +1214,7 @@ gtk_source_print_compositor_get_bottom_margin
|
|
1214
1214
|
gtk_source_print_compositor_set_bottom_margin
|
1215
1215
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1216
1216
|
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
|
1217
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1217
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1218
1218
|
<p>Sets the bottom margin used by <em class="parameter"><code>compositor</code></em>
|
1219
1219
|
.</p>
|
1220
1220
|
<div class="refsect3">
|
@@ -1254,7 +1254,7 @@ gtk_source_print_compositor_set_bottom_margin
|
|
1254
1254
|
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1255
1255
|
gtk_source_print_compositor_get_left_margin
|
1256
1256
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1257
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1257
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1258
1258
|
<p>Gets the left margin in units of <em class="parameter"><code>unit</code></em>
|
1259
1259
|
.</p>
|
1260
1260
|
<div class="refsect3">
|
@@ -1292,7 +1292,7 @@ gtk_source_print_compositor_get_left_margin
|
|
1292
1292
|
gtk_source_print_compositor_set_left_margin
|
1293
1293
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1294
1294
|
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
|
1295
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1295
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1296
1296
|
<p>Sets the left margin used by <em class="parameter"><code>compositor</code></em>
|
1297
1297
|
.</p>
|
1298
1298
|
<div class="refsect3">
|
@@ -1332,7 +1332,7 @@ gtk_source_print_compositor_set_left_margin
|
|
1332
1332
|
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1333
1333
|
gtk_source_print_compositor_get_right_margin
|
1334
1334
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1335
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1335
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1336
1336
|
<p>Gets the right margin in units of <em class="parameter"><code>unit</code></em>
|
1337
1337
|
.</p>
|
1338
1338
|
<div class="refsect3">
|
@@ -1370,7 +1370,7 @@ gtk_source_print_compositor_get_right_margin
|
|
1370
1370
|
gtk_source_print_compositor_set_right_margin
|
1371
1371
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
1372
1372
|
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
|
1373
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1373
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
1374
1374
|
<p>Sets the right margin used by <em class="parameter"><code>compositor</code></em>
|
1375
1375
|
.</p>
|
1376
1376
|
<div class="refsect3">
|
@@ -1699,7 +1699,7 @@ document has not been completely paginated.</p>
|
|
1699
1699
|
<a name="gtk-source-print-compositor-paginate"></a><h3>gtk_source_print_compositor_paginate ()</h3>
|
1700
1700
|
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1701
1701
|
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>,
|
1702
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1702
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPrintContext.html#GtkPrintContext-struct"><span class="type">GtkPrintContext</span></a> *context</code></em>);</pre>
|
1703
1703
|
<p>Paginate the document associated with the <em class="parameter"><code>compositor</code></em>
|
1704
1704
|
.</p>
|
1705
1705
|
<p>In order to support non-blocking pagination, document is paginated in small chunks.
|
@@ -1707,55 +1707,109 @@ Each time <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-c
|
|
1707
1707
|
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>
|
1708
1708
|
must be invoked multiple times.
|
1709
1709
|
It returns <a href="/home/seb/jhbuild/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/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
1710
|
-
<p>This method has been designed to be invoked in the handler of the <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1710
|
+
<p>This method has been designed to be invoked in the handler of the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html#GtkPrintOperation-paginate"><span class="type">“paginate”</span></a> signal,
|
1711
1711
|
as shown in the following example:</p>
|
1712
|
-
<div class="informalexample"
|
1713
|
-
|
1712
|
+
<div class="informalexample">
|
1713
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1714
|
+
<tbody>
|
1715
|
+
<tr>
|
1716
|
+
<td class="listing_lines" align="right"><pre>1
|
1717
|
+
2
|
1718
|
+
3
|
1719
|
+
4
|
1720
|
+
5
|
1721
|
+
6
|
1722
|
+
7
|
1723
|
+
8
|
1724
|
+
9
|
1725
|
+
10
|
1726
|
+
11
|
1727
|
+
12
|
1728
|
+
13
|
1729
|
+
14
|
1730
|
+
15
|
1731
|
+
16
|
1732
|
+
17
|
1733
|
+
18
|
1734
|
+
19
|
1735
|
+
20
|
1736
|
+
21
|
1737
|
+
22
|
1738
|
+
23</pre></td>
|
1739
|
+
<td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::paginate signal</span>
|
1714
1740
|
|
1715
|
-
static gboolean
|
1716
|
-
paginate (GtkPrintOperation
|
1717
|
-
GtkPrintContext
|
1718
|
-
gpointer user_data)
|
1719
|
-
{
|
1720
|
-
GtkSourcePrintCompositor
|
1741
|
+
<span class="keyword">static</span><span class="normal"> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a></span>
|
1742
|
+
<span class="function">paginate</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">operation</span><span class="symbol">,</span>
|
1743
|
+
<span class="normal"> </span><span class="usertype">GtkPrintContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
|
1744
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
1745
|
+
<span class="cbracket">{</span>
|
1746
|
+
<span class="normal"> </span><span class="usertype">GtkSourcePrintCompositor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">compositor</span><span class="symbol">;</span>
|
1721
1747
|
|
1722
|
-
compositor = GTK_SOURCE_PRINT_COMPOSITOR (user_data)
|
1748
|
+
<span class="normal"> compositor </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_SOURCE_PRINT_COMPOSITOR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
|
1723
1749
|
|
1724
|
-
if (gtk_source_print_compositor_paginate (compositor
|
1725
|
-
{
|
1726
|
-
gint n_pages
|
1750
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate">gtk_source_print_compositor_paginate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">,</span><span class="normal"> context</span><span class="symbol">))</span>
|
1751
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1752
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> n_pages</span><span class="symbol">;</span>
|
1727
1753
|
|
1728
|
-
n_pages = gtk_source_print_compositor_get_n_pages (compositor)
|
1729
|
-
gtk_print_operation_set_n_pages (operation
|
1754
|
+
<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>
|
1755
|
+
<span class="normal"> </span><span class="function"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/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>
|
1730
1756
|
|
1731
|
-
return TRUE
|
1732
|
-
}
|
1757
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">;</span>
|
1758
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1759
|
+
|
1760
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
1761
|
+
<span class="cbracket">}</span></pre></td>
|
1762
|
+
</tr>
|
1763
|
+
</tbody>
|
1764
|
+
</table>
|
1765
|
+
</div>
|
1733
1766
|
|
1734
|
-
return FALSE;
|
1735
|
-
}
|
1736
|
-
</pre></div>
|
1737
1767
|
<p>If you don't need to do pagination in chunks, you can simply do it all in the
|
1738
|
-
<a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1768
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/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
|
1739
1769
|
in the following example:</p>
|
1740
|
-
<div class="informalexample"
|
1741
|
-
|
1770
|
+
<div class="informalexample">
|
1771
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1772
|
+
<tbody>
|
1773
|
+
<tr>
|
1774
|
+
<td class="listing_lines" align="right"><pre>1
|
1775
|
+
2
|
1776
|
+
3
|
1777
|
+
4
|
1778
|
+
5
|
1779
|
+
6
|
1780
|
+
7
|
1781
|
+
8
|
1782
|
+
9
|
1783
|
+
10
|
1784
|
+
11
|
1785
|
+
12
|
1786
|
+
13
|
1787
|
+
14
|
1788
|
+
15
|
1789
|
+
16
|
1790
|
+
17</pre></td>
|
1791
|
+
<td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::begin-print signal</span>
|
1792
|
+
|
1793
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1794
|
+
<span class="function">begin_print</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">operation</span><span class="symbol">,</span>
|
1795
|
+
<span class="normal"> </span><span class="usertype">GtkPrintContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
|
1796
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
1797
|
+
<span class="cbracket">{</span>
|
1798
|
+
<span class="normal"> </span><span class="usertype">GtkSourcePrintCompositor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">compositor</span><span class="symbol">;</span>
|
1799
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> n_pages</span><span class="symbol">;</span>
|
1742
1800
|
|
1743
|
-
|
1744
|
-
begin_print (GtkPrintOperation *operation,
|
1745
|
-
GtkPrintContext *context,
|
1746
|
-
gpointer user_data)
|
1747
|
-
{
|
1748
|
-
GtkSourcePrintCompositor *compositor;
|
1749
|
-
gint n_pages;
|
1801
|
+
<span class="normal"> compositor </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_SOURCE_PRINT_COMPOSITOR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
|
1750
1802
|
|
1751
|
-
compositor =
|
1803
|
+
<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>
|
1752
1804
|
|
1753
|
-
|
1805
|
+
<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>
|
1806
|
+
<span class="normal"> </span><span class="function"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/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>
|
1807
|
+
<span class="cbracket">}</span></pre></td>
|
1808
|
+
</tr>
|
1809
|
+
</tbody>
|
1810
|
+
</table>
|
1811
|
+
</div>
|
1754
1812
|
|
1755
|
-
n_pages = gtk_source_print_compositor_get_n_pages (compositor);
|
1756
|
-
gtk_print_operation_set_n_pages (operation, n_pages);
|
1757
|
-
}
|
1758
|
-
</pre></div>
|
1759
1813
|
<div class="refsect3">
|
1760
1814
|
<a name="gtk-source-print-compositor-paginate.parameters"></a><h4>Parameters</h4>
|
1761
1815
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1772,7 +1826,7 @@ begin_print (GtkPrintOperation *operation,
|
|
1772
1826
|
</tr>
|
1773
1827
|
<tr>
|
1774
1828
|
<td class="parameter_name"><p>context</p></td>
|
1775
|
-
<td class="parameter_description"><p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1829
|
+
<td class="parameter_description"><p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPrintContext.html#GtkPrintContext-struct"><span class="type">GtkPrintContext</span></a> whose parameters (e.g. paper size, print margins, etc.)
|
1776
1830
|
are used by the the <em class="parameter"><code>compositor</code></em>
|
1777
1831
|
to paginate the document.</p></td>
|
1778
1832
|
<td class="parameter_annotations"> </td>
|
@@ -1819,31 +1873,54 @@ gtk_source_print_compositor_get_pagination_progress
|
|
1819
1873
|
<a name="gtk-source-print-compositor-draw-page"></a><h3>gtk_source_print_compositor_draw_page ()</h3>
|
1820
1874
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1821
1875
|
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>,
|
1822
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1876
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPrintContext.html#GtkPrintContext-struct"><span class="type">GtkPrintContext</span></a> *context</code></em>,
|
1823
1877
|
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);</pre>
|
1824
1878
|
<p>Draw page <em class="parameter"><code>page_nr</code></em>
|
1825
1879
|
for printing on the the Cairo context encapsuled in <em class="parameter"><code>context</code></em>
|
1826
1880
|
.</p>
|
1827
|
-
<p>This method has been designed to be called in the handler of the <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1881
|
+
<p>This method has been designed to be called in the handler of the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html#GtkPrintOperation-draw-page"><span class="type">“draw_page”</span></a> signal
|
1828
1882
|
as shown in the following example:</p>
|
1829
|
-
<div class="informalexample"
|
1830
|
-
|
1883
|
+
<div class="informalexample">
|
1884
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1885
|
+
<tbody>
|
1886
|
+
<tr>
|
1887
|
+
<td class="listing_lines" align="right"><pre>1
|
1888
|
+
2
|
1889
|
+
3
|
1890
|
+
4
|
1891
|
+
5
|
1892
|
+
6
|
1893
|
+
7
|
1894
|
+
8
|
1895
|
+
9
|
1896
|
+
10
|
1897
|
+
11
|
1898
|
+
12
|
1899
|
+
13
|
1900
|
+
14
|
1901
|
+
15
|
1902
|
+
16</pre></td>
|
1903
|
+
<td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::draw_page signal</span>
|
1904
|
+
|
1905
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1906
|
+
<span class="function">draw_page</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">operation</span><span class="symbol">,</span>
|
1907
|
+
<span class="normal"> </span><span class="usertype">GtkPrintContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
|
1908
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> page_nr</span><span class="symbol">,</span>
|
1909
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
1910
|
+
<span class="cbracket">{</span>
|
1911
|
+
<span class="normal"> </span><span class="usertype">GtkSourcePrintCompositor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">compositor</span><span class="symbol">;</span>
|
1831
1912
|
|
1832
|
-
|
1833
|
-
draw_page (GtkPrintOperation *operation,
|
1834
|
-
GtkPrintContext *context,
|
1835
|
-
gint page_nr,
|
1836
|
-
gpointer user_data)
|
1837
|
-
{
|
1838
|
-
GtkSourcePrintCompositor *compositor;
|
1913
|
+
<span class="normal"> compositor </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_SOURCE_PRINT_COMPOSITOR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
|
1839
1914
|
|
1840
|
-
compositor =
|
1915
|
+
<span class="normal"> </span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-draw-page">gtk_source_print_compositor_draw_page</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">,</span>
|
1916
|
+
<span class="normal"> context</span><span class="symbol">,</span>
|
1917
|
+
<span class="normal"> page_nr</span><span class="symbol">);</span>
|
1918
|
+
<span class="cbracket">}</span></pre></td>
|
1919
|
+
</tr>
|
1920
|
+
</tbody>
|
1921
|
+
</table>
|
1922
|
+
</div>
|
1841
1923
|
|
1842
|
-
gtk_source_print_compositor_draw_page (compositor,
|
1843
|
-
context,
|
1844
|
-
page_nr);
|
1845
|
-
}
|
1846
|
-
</pre></div>
|
1847
1924
|
<div class="refsect3">
|
1848
1925
|
<a name="gtk-source-print-compositor-draw-page.parameters"></a><h4>Parameters</h4>
|
1849
1926
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1860,7 +1937,7 @@ draw_page (GtkPrintOperation *operation,
|
|
1860
1937
|
</tr>
|
1861
1938
|
<tr>
|
1862
1939
|
<td class="parameter_name"><p>context</p></td>
|
1863
|
-
<td class="parameter_description"><p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
1940
|
+
<td class="parameter_description"><p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkPrintContext.html#GtkPrintContext-struct"><span class="type">GtkPrintContext</span></a> encapsulating the context information that is required when
|
1864
1941
|
drawing the page for printing.</p></td>
|
1865
1942
|
<td class="parameter_annotations"> </td>
|
1866
1943
|
</tr>
|
@@ -2028,7 +2105,7 @@ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print
|
|
2028
2105
|
<hr>
|
2029
2106
|
<div class="refsect2">
|
2030
2107
|
<a name="GtkSourcePrintCompositor--wrap-mode"></a><h3>The <code class="literal">“wrap-mode”</code> property</h3>
|
2031
|
-
<pre class="programlisting"> “wrap-mode” <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
2108
|
+
<pre class="programlisting"> “wrap-mode” <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a></pre>
|
2032
2109
|
<p>Whether to wrap lines never, at word boundaries, or at character boundaries.</p>
|
2033
2110
|
<p>The value of this property cannot be changed anymore after the first
|
2034
2111
|
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>
|
@@ -2039,6 +2116,6 @@ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print
|
|
2039
2116
|
</div>
|
2040
2117
|
</div>
|
2041
2118
|
<div class="footer">
|
2042
|
-
<hr>Generated by GTK-Doc V1.
|
2119
|
+
<hr>Generated by GTK-Doc V1.26.1</div>
|
2043
2120
|
</body>
|
2044
2121
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GtkSourceRegion: GtkSourceView 3 Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
8
|
<link rel="up" href="ch09.html" title="Other">
|
9
9
|
<link rel="prev" href="GtkSourceMap.html" title="GtkSourceMap">
|
10
10
|
<link rel="next" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.26.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">
|
@@ -51,7 +51,7 @@
|
|
51
51
|
</tr>
|
52
52
|
<tr>
|
53
53
|
<td class="function_type">
|
54
|
-
<a href="/home/seb/jhbuild/share/gtk-doc/html/
|
54
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="returnvalue">GtkTextBuffer</span></a> *
|
55
55
|
</td>
|
56
56
|
<td class="function_name">
|
57
57
|
<a class="link" href="GtkSourceRegion.html#gtk-source-region-get-buffer" title="gtk_source_region_get_buffer ()">gtk_source_region_get_buffer</a> <span class="c_punctuation">()</span>
|
@@ -174,7 +174,7 @@
|
|
174
174
|
</colgroup>
|
175
175
|
<tbody><tr>
|
176
176
|
<td class="property_type">
|
177
|
-
<a href="/home/seb/jhbuild/share/gtk-doc/html/
|
177
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> *</td>
|
178
178
|
<td class="property_name"><a class="link" href="GtkSourceRegion.html#GtkSourceRegion--buffer" title="The “buffer” property">buffer</a></td>
|
179
179
|
<td class="property_flags">Read / Write / Construct Only</td>
|
180
180
|
</tr></tbody>
|
@@ -213,42 +213,70 @@
|
|
213
213
|
<div class="refsect1">
|
214
214
|
<a name="GtkSourceRegion.description"></a><h2>Description</h2>
|
215
215
|
<p>A <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> permits to store a group of subregions of a
|
216
|
-
<a href="/home/seb/jhbuild/share/gtk-doc/html/
|
217
|
-
<a href="/home/seb/jhbuild/share/gtk-doc/html/
|
218
|
-
in the <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
219
|
-
<p>The <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
220
|
-
<a href="/home/seb/jhbuild/share/gtk-doc/html/
|
221
|
-
<p>The typical use-case of <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> is to scan a <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
216
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> stores the subregions with pairs of
|
217
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a>'s, so the region is still valid after insertions and deletions
|
218
|
+
in the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>.</p>
|
219
|
+
<p>The <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> for the start of a subregion has a left gravity, while the
|
220
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> for the end of a subregion has a right gravity.</p>
|
221
|
+
<p>The typical use-case of <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> is to scan a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> chunk by
|
222
222
|
chunk, not the whole buffer at once to not block the user interface. The
|
223
223
|
<a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> represents in that case the remaining region to scan. You
|
224
|
-
can listen to the <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
225
|
-
<a href="/home/seb/jhbuild/share/gtk-doc/html/
|
224
|
+
can listen to the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-insert-text"><span class="type">“insert-text”</span></a> and
|
225
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-delete-range"><span class="type">“delete-range”</span></a> signals to update the <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>
|
226
226
|
accordingly.</p>
|
227
227
|
<p>To iterate through the subregions, you need to use a <a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a>,
|
228
228
|
for example:</p>
|
229
|
-
<div class="informalexample"
|
230
|
-
|
231
|
-
|
229
|
+
<div class="informalexample">
|
230
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
231
|
+
<tbody>
|
232
|
+
<tr>
|
233
|
+
<td class="listing_lines" align="right"><pre>1
|
234
|
+
2
|
235
|
+
3
|
236
|
+
4
|
237
|
+
5
|
238
|
+
6
|
239
|
+
7
|
240
|
+
8
|
241
|
+
9
|
242
|
+
10
|
243
|
+
11
|
244
|
+
12
|
245
|
+
13
|
246
|
+
14
|
247
|
+
15
|
248
|
+
16
|
249
|
+
17
|
250
|
+
18
|
251
|
+
19
|
252
|
+
20
|
253
|
+
21</pre></td>
|
254
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkSourceRegion</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">region</span><span class="symbol">;</span>
|
255
|
+
<span class="usertype">GtkSourceRegionIter</span><span class="normal"> region_iter</span><span class="symbol">;</span>
|
232
256
|
|
233
|
-
gtk_source_region_get_start_region_iter (region
|
257
|
+
<span class="function"><a href="GtkSourceRegion.html#gtk-source-region-get-start-region-iter">gtk_source_region_get_start_region_iter</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">region</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">region_iter</span><span class="symbol">);</span>
|
234
258
|
|
235
|
-
while (
|
236
|
-
{
|
237
|
-
GtkTextIter subregion_start
|
238
|
-
GtkTextIter subregion_end
|
259
|
+
<span class="keyword">while</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="GtkSourceRegion.html#gtk-source-region-iter-is-end">gtk_source_region_iter_is_end</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">region_iter</span><span class="symbol">))</span>
|
260
|
+
<span class="cbracket">{</span>
|
261
|
+
<span class="normal"> </span><span class="usertype">GtkTextIter</span><span class="normal"> subregion_start</span><span class="symbol">;</span>
|
262
|
+
<span class="normal"> </span><span class="usertype">GtkTextIter</span><span class="normal"> subregion_end</span><span class="symbol">;</span>
|
239
263
|
|
240
|
-
if (
|
241
|
-
|
242
|
-
|
243
|
-
{
|
244
|
-
break
|
245
|
-
}
|
264
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="GtkSourceRegion.html#gtk-source-region-iter-get-subregion">gtk_source_region_iter_get_subregion</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">region_iter</span><span class="symbol">,</span>
|
265
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">subregion_start</span><span class="symbol">,</span>
|
266
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">subregion_end</span><span class="symbol">))</span>
|
267
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
268
|
+
<span class="normal"> </span><span class="keyword">break</span><span class="symbol">;</span>
|
269
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
246
270
|
|
247
|
-
|
271
|
+
<span class="normal"> </span><span class="comment">// Do something useful with the subregion.</span>
|
272
|
+
|
273
|
+
<span class="normal"> </span><span class="function"><a href="GtkSourceRegion.html#gtk-source-region-iter-next">gtk_source_region_iter_next</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">region_iter</span><span class="symbol">);</span>
|
274
|
+
<span class="cbracket">}</span></pre></td>
|
275
|
+
</tr>
|
276
|
+
</tbody>
|
277
|
+
</table>
|
278
|
+
</div>
|
248
279
|
|
249
|
-
gtk_source_region_iter_next (&region_iter);
|
250
|
-
}
|
251
|
-
</pre></div>
|
252
280
|
<p></p>
|
253
281
|
</div>
|
254
282
|
<div class="refsect1">
|
@@ -256,7 +284,7 @@ while (!gtk_source_region_iter_is_end (&region_iter))
|
|
256
284
|
<div class="refsect2">
|
257
285
|
<a name="gtk-source-region-new"></a><h3>gtk_source_region_new ()</h3>
|
258
286
|
<pre class="programlisting"><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="returnvalue">GtkSourceRegion</span></a> *
|
259
|
-
gtk_source_region_new (<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
287
|
+
gtk_source_region_new (<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);</pre>
|
260
288
|
<div class="refsect3">
|
261
289
|
<a name="gtk-source-region-new.parameters"></a><h4>Parameters</h4>
|
262
290
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -267,7 +295,7 @@ gtk_source_region_new (<em class="parameter"><code><a href="/home/seb/jhbuild/sh
|
|
267
295
|
</colgroup>
|
268
296
|
<tbody><tr>
|
269
297
|
<td class="parameter_name"><p>buffer</p></td>
|
270
|
-
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
298
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>.</p></td>
|
271
299
|
<td class="parameter_annotations"> </td>
|
272
300
|
</tr></tbody>
|
273
301
|
</table></div>
|
@@ -282,7 +310,7 @@ gtk_source_region_new (<em class="parameter"><code><a href="/home/seb/jhbuild/sh
|
|
282
310
|
<hr>
|
283
311
|
<div class="refsect2">
|
284
312
|
<a name="gtk-source-region-get-buffer"></a><h3>gtk_source_region_get_buffer ()</h3>
|
285
|
-
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
313
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="returnvalue">GtkTextBuffer</span></a> *
|
286
314
|
gtk_source_region_get_buffer (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>);</pre>
|
287
315
|
<div class="refsect3">
|
288
316
|
<a name="gtk-source-region-get-buffer.parameters"></a><h4>Parameters</h4>
|
@@ -301,7 +329,7 @@ gtk_source_region_get_buffer (<em class="parameter"><code><a class="link" href="
|
|
301
329
|
</div>
|
302
330
|
<div class="refsect3">
|
303
331
|
<a name="gtk-source-region-get-buffer.returns"></a><h4>Returns</h4>
|
304
|
-
<p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
332
|
+
<p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. </p>
|
305
333
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
306
334
|
</div>
|
307
335
|
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
@@ -311,8 +339,8 @@ gtk_source_region_get_buffer (<em class="parameter"><code><a class="link" href="
|
|
311
339
|
<a name="gtk-source-region-add-subregion"></a><h3>gtk_source_region_add_subregion ()</h3>
|
312
340
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
313
341
|
gtk_source_region_add_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
314
|
-
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
315
|
-
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
342
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_start</code></em>,
|
343
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_end</code></em>);</pre>
|
316
344
|
<p>Adds the subregion delimited by <em class="parameter"><code>_start</code></em>
|
317
345
|
and <em class="parameter"><code>_end</code></em>
|
318
346
|
to <em class="parameter"><code>region</code></em>
|
@@ -386,8 +414,8 @@ gtk_source_region_add_region (<em class="parameter"><code><a class="link" href="
|
|
386
414
|
<a name="gtk-source-region-subtract-subregion"></a><h3>gtk_source_region_subtract_subregion ()</h3>
|
387
415
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
388
416
|
gtk_source_region_subtract_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
389
|
-
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
390
|
-
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
417
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_start</code></em>,
|
418
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_end</code></em>);</pre>
|
391
419
|
<p>Subtracts the subregion delimited by <em class="parameter"><code>_start</code></em>
|
392
420
|
and <em class="parameter"><code>_end</code></em>
|
393
421
|
from <em class="parameter"><code>region</code></em>
|
@@ -463,8 +491,8 @@ modified.</p>
|
|
463
491
|
<a name="gtk-source-region-intersect-subregion"></a><h3>gtk_source_region_intersect_subregion ()</h3>
|
464
492
|
<pre class="programlisting"><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="returnvalue">GtkSourceRegion</span></a> *
|
465
493
|
gtk_source_region_intersect_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
466
|
-
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
467
|
-
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
494
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_start</code></em>,
|
495
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_end</code></em>);</pre>
|
468
496
|
<p>Returns the intersection between <em class="parameter"><code>region</code></em>
|
469
497
|
and the subregion delimited by
|
470
498
|
<em class="parameter"><code>_start</code></em>
|
@@ -583,8 +611,8 @@ is empty.</p>
|
|
583
611
|
<a name="gtk-source-region-get-bounds"></a><h3>gtk_source_region_get_bounds ()</h3>
|
584
612
|
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
585
613
|
gtk_source_region_get_bounds (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
586
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
587
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
614
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
615
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
588
616
|
<p>Gets the <em class="parameter"><code>start</code></em>
|
589
617
|
and <em class="parameter"><code>end</code></em>
|
590
618
|
bounds of the <em class="parameter"><code>region</code></em>
|
@@ -729,8 +757,8 @@ been set to the end iterator.</p>
|
|
729
757
|
<a name="gtk-source-region-iter-get-subregion"></a><h3>gtk_source_region_iter_get_subregion ()</h3>
|
730
758
|
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
731
759
|
gtk_source_region_iter_get_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a> *iter</code></em>,
|
732
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
733
|
-
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
760
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
761
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
734
762
|
<p>Gets the subregion at this iterator.</p>
|
735
763
|
<div class="refsect3">
|
736
764
|
<a name="gtk-source-region-iter-get-subregion.parameters"></a><h4>Parameters</h4>
|
@@ -824,8 +852,8 @@ Initialize the iter with <a class="link" href="GtkSourceRegion.html#gtk-source-r
|
|
824
852
|
<a name="GtkSourceRegion.property-details"></a><h2>Property Details</h2>
|
825
853
|
<div class="refsect2">
|
826
854
|
<a name="GtkSourceRegion--buffer"></a><h3>The <code class="literal">“buffer”</code> property</h3>
|
827
|
-
<pre class="programlisting"> “buffer” <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
828
|
-
<p>The <a href="/home/seb/jhbuild/share/gtk-doc/html/
|
855
|
+
<pre class="programlisting"> “buffer” <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> *</pre>
|
856
|
+
<p>The <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. The <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> has a weak reference to the
|
829
857
|
buffer.</p>
|
830
858
|
<p>Flags: Read / Write / Construct Only</p>
|
831
859
|
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
@@ -833,10 +861,10 @@ buffer.</p>
|
|
833
861
|
</div>
|
834
862
|
<div class="refsect1">
|
835
863
|
<a name="GtkSourceRegion.see-also"></a><h2>See Also</h2>
|
836
|
-
<p><a href="/home/seb/jhbuild/share/gtk-doc/html/
|
864
|
+
<p><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a></p>
|
837
865
|
</div>
|
838
866
|
</div>
|
839
867
|
<div class="footer">
|
840
|
-
<hr>Generated by GTK-Doc V1.
|
868
|
+
<hr>Generated by GTK-Doc V1.26.1</div>
|
841
869
|
</body>
|
842
870
|
</html>
|