~ubuntu-branches/ubuntu/precise/gtksourceview2/precise-proposed

« back to all changes in this revision

Viewing changes to docs/reference/html/GtkSourcePrintCompositor.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-05-31 10:35:27 UTC
  • mfrom: (1.4.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: james.westby@ubuntu.com-20100531103527-3l3pn56d32uq9qna
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="rn01.html" title="API reference">
9
9
<link rel="prev" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager">
10
10
<link rel="next" href="GtkSourceStyle.html" title="GtkSourceStyle">
11
 
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.15.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">
53
53
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
54
54
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-tab-width" title="gtk_source_print_compositor_set_tab_width ()">gtk_source_print_compositor_set_tab_width</a>
55
55
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
56
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);
57
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-tab-width" title="gtk_source_print_compositor_get_tab_width ()">gtk_source_print_compositor_get_tab_width</a>
 
56
                                                         <em class="parameter"><code><span class="type">guint</span> width</code></em>);
 
57
<span class="returnvalue">guint</span>               <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-tab-width" title="gtk_source_print_compositor_get_tab_width ()">gtk_source_print_compositor_get_tab_width</a>
58
58
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
59
59
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-wrap-mode" title="gtk_source_print_compositor_set_wrap_mode ()">gtk_source_print_compositor_set_wrap_mode</a>
60
60
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
61
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTextTag.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a> wrap_mode</code></em>);
62
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTextTag.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>         <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>
 
61
                                                         <em class="parameter"><code><span class="type">GtkWrapMode</span> wrap_mode</code></em>);
 
62
<span class="returnvalue">GtkWrapMode</span>         <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>
63
63
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
64
64
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-highlight-syntax" title="gtk_source_print_compositor_set_highlight_syntax ()">gtk_source_print_compositor_set_highlight_syntax</a>
65
65
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
66
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);
67
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-highlight-syntax" title="gtk_source_print_compositor_get_highlight_syntax ()">gtk_source_print_compositor_get_highlight_syntax</a>
 
66
                                                         <em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);
 
67
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-highlight-syntax" title="gtk_source_print_compositor_get_highlight_syntax ()">gtk_source_print_compositor_get_highlight_syntax</a>
68
68
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
69
69
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-line-numbers" title="gtk_source_print_compositor_set_print_line_numbers ()">gtk_source_print_compositor_set_print_line_numbers</a>
70
70
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
71
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> interval</code></em>);
72
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-line-numbers" title="gtk_source_print_compositor_get_print_line_numbers ()">gtk_source_print_compositor_get_print_line_numbers</a>
 
71
                                                         <em class="parameter"><code><span class="type">guint</span> interval</code></em>);
 
72
<span class="returnvalue">guint</span>               <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-line-numbers" title="gtk_source_print_compositor_get_print_line_numbers ()">gtk_source_print_compositor_get_print_line_numbers</a>
73
73
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
74
74
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-body-font-name" title="gtk_source_print_compositor_set_body_font_name ()">gtk_source_print_compositor_set_body_font_name</a>
75
75
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
76
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);
77
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-body-font-name" title="gtk_source_print_compositor_get_body_font_name ()">gtk_source_print_compositor_get_body_font_name</a>
 
76
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);
 
77
<span class="returnvalue">gchar</span> *             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-body-font-name" title="gtk_source_print_compositor_get_body_font_name ()">gtk_source_print_compositor_get_body_font_name</a>
78
78
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
79
79
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-line-numbers-font-name" title="gtk_source_print_compositor_set_line_numbers_font_name ()">gtk_source_print_compositor_set_line_numbers_font_name</a>
80
80
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
81
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);
82
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-line-numbers-font-name" title="gtk_source_print_compositor_get_line_numbers_font_name ()">gtk_source_print_compositor_get_line_numbers_font_name</a>
 
81
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);
 
82
<span class="returnvalue">gchar</span> *             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-line-numbers-font-name" title="gtk_source_print_compositor_get_line_numbers_font_name ()">gtk_source_print_compositor_get_line_numbers_font_name</a>
83
83
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
84
84
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-font-name" title="gtk_source_print_compositor_set_header_font_name ()">gtk_source_print_compositor_set_header_font_name</a>
85
85
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
86
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);
87
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-header-font-name" title="gtk_source_print_compositor_get_header_font_name ()">gtk_source_print_compositor_get_header_font_name</a>
 
86
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);
 
87
<span class="returnvalue">gchar</span> *             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-header-font-name" title="gtk_source_print_compositor_get_header_font_name ()">gtk_source_print_compositor_get_header_font_name</a>
88
88
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
89
89
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-font-name" title="gtk_source_print_compositor_set_footer_font_name ()">gtk_source_print_compositor_set_footer_font_name</a>
90
90
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
91
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);
92
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-footer-font-name" title="gtk_source_print_compositor_get_footer_font_name ()">gtk_source_print_compositor_get_footer_font_name</a>
 
91
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);
 
92
<span class="returnvalue">gchar</span> *             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-footer-font-name" title="gtk_source_print_compositor_get_footer_font_name ()">gtk_source_print_compositor_get_footer_font_name</a>
93
93
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
94
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-top-margin" title="gtk_source_print_compositor_get_top_margin ()">gtk_source_print_compositor_get_top_margin</a>
 
94
<span class="returnvalue">gdouble</span>             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-top-margin" title="gtk_source_print_compositor_get_top_margin ()">gtk_source_print_compositor_get_top_margin</a>
95
95
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
96
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
 
96
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
97
97
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-top-margin" title="gtk_source_print_compositor_set_top_margin ()">gtk_source_print_compositor_set_top_margin</a>
98
98
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
99
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
100
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
101
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-bottom-margin" title="gtk_source_print_compositor_get_bottom_margin ()">gtk_source_print_compositor_get_bottom_margin</a>
 
99
                                                         <em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
 
100
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
 
101
<span class="returnvalue">gdouble</span>             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-bottom-margin" title="gtk_source_print_compositor_get_bottom_margin ()">gtk_source_print_compositor_get_bottom_margin</a>
102
102
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
103
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
 
103
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
104
104
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-bottom-margin" title="gtk_source_print_compositor_set_bottom_margin ()">gtk_source_print_compositor_set_bottom_margin</a>
105
105
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
106
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
107
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
108
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-left-margin" title="gtk_source_print_compositor_get_left_margin ()">gtk_source_print_compositor_get_left_margin</a>
 
106
                                                         <em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
 
107
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
 
108
<span class="returnvalue">gdouble</span>             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-left-margin" title="gtk_source_print_compositor_get_left_margin ()">gtk_source_print_compositor_get_left_margin</a>
109
109
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
110
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
 
110
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
111
111
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-left-margin" title="gtk_source_print_compositor_set_left_margin ()">gtk_source_print_compositor_set_left_margin</a>
112
112
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
113
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
114
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
115
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-right-margin" title="gtk_source_print_compositor_get_right_margin ()">gtk_source_print_compositor_get_right_margin</a>
 
113
                                                         <em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
 
114
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
 
115
<span class="returnvalue">gdouble</span>             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-right-margin" title="gtk_source_print_compositor_get_right_margin ()">gtk_source_print_compositor_get_right_margin</a>
116
116
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
117
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
 
117
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
118
118
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-right-margin" title="gtk_source_print_compositor_set_right_margin ()">gtk_source_print_compositor_set_right_margin</a>
119
119
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
120
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
121
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
 
120
                                                         <em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
 
121
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);
122
122
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-header" title="gtk_source_print_compositor_set_print_header ()">gtk_source_print_compositor_set_print_header</a>
123
123
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
124
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> print</code></em>);
125
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-header" title="gtk_source_print_compositor_get_print_header ()">gtk_source_print_compositor_get_print_header</a>
 
124
                                                         <em class="parameter"><code><span class="type">gboolean</span> print</code></em>);
 
125
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-header" title="gtk_source_print_compositor_get_print_header ()">gtk_source_print_compositor_get_print_header</a>
126
126
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
127
127
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-footer" title="gtk_source_print_compositor_set_print_footer ()">gtk_source_print_compositor_set_print_footer</a>
128
128
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
129
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> print</code></em>);
130
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-footer" title="gtk_source_print_compositor_get_print_footer ()">gtk_source_print_compositor_get_print_footer</a>
 
129
                                                         <em class="parameter"><code><span class="type">gboolean</span> print</code></em>);
 
130
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-footer" title="gtk_source_print_compositor_get_print_footer ()">gtk_source_print_compositor_get_print_footer</a>
131
131
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
132
132
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format ()">gtk_source_print_compositor_set_header_format</a>
133
133
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
134
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> separator</code></em>,
135
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *left</code></em>,
136
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *center</code></em>,
137
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *right</code></em>);
 
134
                                                         <em class="parameter"><code><span class="type">gboolean</span> separator</code></em>,
 
135
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *left</code></em>,
 
136
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *center</code></em>,
 
137
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *right</code></em>);
138
138
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format ()">gtk_source_print_compositor_set_footer_format</a>
139
139
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
140
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> separator</code></em>,
141
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *left</code></em>,
142
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *center</code></em>,
143
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *right</code></em>);
144
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-n-pages" title="gtk_source_print_compositor_get_n_pages ()">gtk_source_print_compositor_get_n_pages</a>
 
140
                                                         <em class="parameter"><code><span class="type">gboolean</span> separator</code></em>,
 
141
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *left</code></em>,
 
142
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *center</code></em>,
 
143
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *right</code></em>);
 
144
<span class="returnvalue">gint</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-n-pages" title="gtk_source_print_compositor_get_n_pages ()">gtk_source_print_compositor_get_n_pages</a>
145
145
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
146
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()">gtk_source_print_compositor_paginate</a>
 
146
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()">gtk_source_print_compositor_paginate</a>
147
147
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
148
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> *context</code></em>);
149
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-pagination-progress" title="gtk_source_print_compositor_get_pagination_progress ()">gtk_source_print_compositor_get_pagination_progress</a>
 
148
                                                         <em class="parameter"><code><span class="type">GtkPrintContext</span> *context</code></em>);
 
149
<span class="returnvalue">gdouble</span>             <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-pagination-progress" title="gtk_source_print_compositor_get_pagination_progress ()">gtk_source_print_compositor_get_pagination_progress</a>
150
150
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
151
151
<span class="returnvalue">void</span>                <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-draw-page" title="gtk_source_print_compositor_draw_page ()">gtk_source_print_compositor_draw_page</a>
152
152
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
153
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> *context</code></em>,
154
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);
 
153
                                                         <em class="parameter"><code><span class="type">GtkPrintContext</span> *context</code></em>,
 
154
                                                         <em class="parameter"><code><span class="type">gint</span> page_nr</code></em>);
155
155
</pre>
156
156
</div>
157
157
<div class="refsect1" title="Object Hierarchy">
158
158
<a name="GtkSourcePrintCompositor.object-hierarchy"></a><h2>Object Hierarchy</h2>
159
159
<pre class="synopsis">
160
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
160
  GObject
161
161
   +----GtkSourcePrintCompositor
162
162
</pre>
163
163
</div>
164
164
<div class="refsect1" title="Properties">
165
165
<a name="GtkSourcePrintCompositor.properties"></a><h2>Properties</h2>
166
166
<pre class="synopsis">
167
 
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--body-font-name" title='The "body-font-name" property'>body-font-name</a>"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
 
167
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--body-font-name" title='The "body-font-name" property'>body-font-name</a>"           <span class="type">gchar</span>*                : Read / Write
168
168
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--buffer" title='The "buffer" property'>buffer</a>"                   <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>*      : Read / Write / Construct Only
169
 
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--footer-font-name" title='The "footer-font-name" property'>footer-font-name</a>"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
170
 
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--header-font-name" title='The "header-font-name" property'>header-font-name</a>"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
171
 
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--highlight-syntax" title='The "highlight-syntax" property'>highlight-syntax</a>"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
172
 
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--line-numbers-font-name" title='The "line-numbers-font-name" property'>line-numbers-font-name</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
173
 
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--n-pages" title='The "n-pages" property'>n-pages</a>"                  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
174
 
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-footer" title='The "print-footer" property'>print-footer</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
175
 
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-header" title='The "print-header" property'>print-header</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
176
 
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-line-numbers" title='The "print-line-numbers" property'>print-line-numbers</a>"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
177
 
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--tab-width" title='The "tab-width" property'>tab-width</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
178
 
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title='The "wrap-mode" property'>wrap-mode</a>"                <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextTag.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a>           : Read / Write
 
169
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--footer-font-name" title='The "footer-font-name" property'>footer-font-name</a>"         <span class="type">gchar</span>*                : Read / Write
 
170
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--header-font-name" title='The "header-font-name" property'>header-font-name</a>"         <span class="type">gchar</span>*                : Read / Write
 
171
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--highlight-syntax" title='The "highlight-syntax" property'>highlight-syntax</a>"         <span class="type">gboolean</span>              : Read / Write
 
172
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--line-numbers-font-name" title='The "line-numbers-font-name" property'>line-numbers-font-name</a>"   <span class="type">gchar</span>*                : Read / Write
 
173
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--n-pages" title='The "n-pages" property'>n-pages</a>"                  <span class="type">gint</span>                  : Read
 
174
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-footer" title='The "print-footer" property'>print-footer</a>"             <span class="type">gboolean</span>              : Read / Write
 
175
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-header" title='The "print-header" property'>print-header</a>"             <span class="type">gboolean</span>              : Read / Write
 
176
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-line-numbers" title='The "print-line-numbers" property'>print-line-numbers</a>"       <span class="type">guint</span>                 : Read / Write
 
177
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--tab-width" title='The "tab-width" property'>tab-width</a>"                <span class="type">guint</span>                 : Read / Write
 
178
  "<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title='The "wrap-mode" property'>wrap-mode</a>"                <span class="type">GtkWrapMode</span>           : Read / Write
179
179
</pre>
180
180
</div>
181
181
<div class="refsect1" title="Description">
184
184
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>
185
185
for printing. You can set various configuration options to customize the
186
186
printed output. <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> is designed to be used with the
187
 
high-level printing API of gtk+, i.e. <a href="http://library.gnome.org/devel/gtk/unstable/gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>.
 
187
high-level printing API of gtk+, i.e. <span class="type">GtkPrintOperation</span>.
188
188
</p>
189
189
<p>
190
190
The margins specified in this object are the layout margins: they define the
191
191
blank space bordering the printed area of the pages. They must not be
192
192
confused with the "print margins", i.e. the parts of the page that the
193
 
printer cannot print on, defined in the <a href="http://library.gnome.org/devel/gtk/unstable/GtkPageSetup.html"><span class="type">GtkPageSetup</span></a> objects. If the
 
193
printer cannot print on, defined in the <span class="type">GtkPageSetup</span> objects. If the
194
194
specified layout margins are smaller than the "print margins", the latter
195
195
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
196
196
the printed area is not clipped.
293
293
<a name="gtk-source-print-compositor-set-tab-width"></a><h3>gtk_source_print_compositor_set_tab_width ()</h3>
294
294
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_tab_width
295
295
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
296
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);</pre>
 
296
                                                         <em class="parameter"><code><span class="type">guint</span> width</code></em>);</pre>
297
297
<p>
298
298
Sets the width of tabulation in characters for printed text. 
299
299
</p>
321
321
<hr>
322
322
<div class="refsect2" title="gtk_source_print_compositor_get_tab_width ()">
323
323
<a name="gtk-source-print-compositor-get-tab-width"></a><h3>gtk_source_print_compositor_get_tab_width ()</h3>
324
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gtk_source_print_compositor_get_tab_width
 
324
<pre class="programlisting"><span class="returnvalue">guint</span>               gtk_source_print_compositor_get_tab_width
325
325
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
326
326
<p>
327
327
Returns the width of tabulation in characters for printed text.
349
349
<a name="gtk-source-print-compositor-set-wrap-mode"></a><h3>gtk_source_print_compositor_set_wrap_mode ()</h3>
350
350
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_wrap_mode
351
351
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
352
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTextTag.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a> wrap_mode</code></em>);</pre>
 
352
                                                         <em class="parameter"><code><span class="type">GtkWrapMode</span> wrap_mode</code></em>);</pre>
353
353
<p>
354
354
Sets the line wrapping mode for the printed text.
355
355
</p>
367
367
</tr>
368
368
<tr>
369
369
<td><p><span class="term"><em class="parameter"><code>wrap_mode</code></em> :</span></p></td>
370
 
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextTag.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a>.
 
370
<td>a <span class="type">GtkWrapMode</span>.
371
371
</td>
372
372
</tr>
373
373
</tbody>
377
377
<hr>
378
378
<div class="refsect2" title="gtk_source_print_compositor_get_wrap_mode ()">
379
379
<a name="gtk-source-print-compositor-get-wrap-mode"></a><h3>gtk_source_print_compositor_get_wrap_mode ()</h3>
380
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkTextTag.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>         gtk_source_print_compositor_get_wrap_mode
 
380
<pre class="programlisting"><span class="returnvalue">GtkWrapMode</span>         gtk_source_print_compositor_get_wrap_mode
381
381
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
382
382
<p>
383
383
Gets the line wrapping mode for the printed text.
405
405
<a name="gtk-source-print-compositor-set-highlight-syntax"></a><h3>gtk_source_print_compositor_set_highlight_syntax ()</h3>
406
406
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_highlight_syntax
407
407
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
408
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
 
408
                                                         <em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);</pre>
409
409
<p>
410
410
Sets whether the printed text will be highlighted according to the
411
411
buffer rules.  Both color and font style are applied.
434
434
<hr>
435
435
<div class="refsect2" title="gtk_source_print_compositor_get_highlight_syntax ()">
436
436
<a name="gtk-source-print-compositor-get-highlight-syntax"></a><h3>gtk_source_print_compositor_get_highlight_syntax ()</h3>
437
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_print_compositor_get_highlight_syntax
 
437
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_print_compositor_get_highlight_syntax
438
438
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
439
439
<p>
440
440
Determines whether the printed text will be highlighted according to the
451
451
</tr>
452
452
<tr>
453
453
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
454
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the printed output will be highlighted.
 
454
<td> <code class="literal">TRUE</code> if the printed output will be highlighted.
455
455
 
456
456
</td>
457
457
</tr>
464
464
<a name="gtk-source-print-compositor-set-print-line-numbers"></a><h3>gtk_source_print_compositor_set_print_line_numbers ()</h3>
465
465
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_print_line_numbers
466
466
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
467
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> interval</code></em>);</pre>
 
467
                                                         <em class="parameter"><code><span class="type">guint</span> interval</code></em>);</pre>
468
468
<p>
469
469
Sets the interval for printed line numbers.  If <em class="parameter"><code>interval</code></em> is 0 no
470
470
numbers will be printed.  If greater than 0, a number will be
497
497
<hr>
498
498
<div class="refsect2" title="gtk_source_print_compositor_get_print_line_numbers ()">
499
499
<a name="gtk-source-print-compositor-get-print-line-numbers"></a><h3>gtk_source_print_compositor_get_print_line_numbers ()</h3>
500
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gtk_source_print_compositor_get_print_line_numbers
 
500
<pre class="programlisting"><span class="returnvalue">guint</span>               gtk_source_print_compositor_get_print_line_numbers
501
501
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
502
502
<p>
503
503
Returns the interval used for line number printing.  If the
527
527
<a name="gtk-source-print-compositor-set-body-font-name"></a><h3>gtk_source_print_compositor_set_body_font_name ()</h3>
528
528
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_body_font_name
529
529
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
530
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);</pre>
 
530
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);</pre>
531
531
<p>
532
532
Sets the default font for the printed text. 
533
533
</p>
534
534
<p>
535
535
<em class="parameter"><code>font_name</code></em> should be a
536
536
string representation of a font description Pango can understand.
537
 
(e.g. "Monospace 10"). See <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
 
537
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
538
538
for a description of the format of the string representation. 
539
539
</p>
540
540
<p>
561
561
<hr>
562
562
<div class="refsect2" title="gtk_source_print_compositor_get_body_font_name ()">
563
563
<a name="gtk-source-print-compositor-get-body-font-name"></a><h3>gtk_source_print_compositor_get_body_font_name ()</h3>
564
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gtk_source_print_compositor_get_body_font_name
 
564
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gtk_source_print_compositor_get_body_font_name
565
565
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
566
566
<p>
567
567
Returns the name of the font used to print the text body. The returned string
568
 
must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
 
568
must be freed with <code class="function">g_free()</code>.
569
569
</p>
570
570
<div class="variablelist"><table border="0">
571
571
<col align="left" valign="top">
591
591
<a name="gtk-source-print-compositor-set-line-numbers-font-name"></a><h3>gtk_source_print_compositor_set_line_numbers_font_name ()</h3>
592
592
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_line_numbers_font_name
593
593
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
594
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);</pre>
 
594
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);</pre>
595
595
<p>
596
596
Sets the font for printing line numbers on the left margin.  If
597
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is supplied, the default font (i.e. the one being used for the
 
597
<a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is supplied, the default font (i.e. the one being used for the
598
598
text) will be used instead.  
599
599
</p>
600
600
<p>
601
601
<em class="parameter"><code>font_name</code></em> should be a
602
602
string representation of a font description Pango can understand.
603
 
(e.g. "Monospace 10"). See <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
 
603
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
604
604
for a description of the format of the string representation. 
605
605
</p>
606
606
<p>
617
617
</tr>
618
618
<tr>
619
619
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
620
 
<td>the name of the font for line numbers, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
620
<td>the name of the font for line numbers, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
621
621
</td>
622
622
</tr>
623
623
</tbody>
627
627
<hr>
628
628
<div class="refsect2" title="gtk_source_print_compositor_get_line_numbers_font_name ()">
629
629
<a name="gtk-source-print-compositor-get-line-numbers-font-name"></a><h3>gtk_source_print_compositor_get_line_numbers_font_name ()</h3>
630
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gtk_source_print_compositor_get_line_numbers_font_name
 
630
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gtk_source_print_compositor_get_line_numbers_font_name
631
631
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
632
632
<p>
633
633
Returns the name of the font used to print line numbers on the left margin. 
634
 
The returned string must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>)
 
634
The returned string must be freed with <code class="function">g_free()</code>)
635
635
</p>
636
636
<div class="variablelist"><table border="0">
637
637
<col align="left" valign="top">
657
657
<a name="gtk-source-print-compositor-set-header-font-name"></a><h3>gtk_source_print_compositor_set_header_font_name ()</h3>
658
658
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_header_font_name
659
659
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
660
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);</pre>
 
660
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);</pre>
661
661
<p>
662
662
Sets the font for printing the page header. If
663
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is supplied, the default font (i.e. the one being used for the
 
663
<a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is supplied, the default font (i.e. the one being used for the
664
664
text) will be used instead.  
665
665
</p>
666
666
<p>
667
667
<em class="parameter"><code>font_name</code></em> should be a
668
668
string representation of a font description Pango can understand.
669
 
(e.g. "Monospace 10"). See <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
 
669
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
670
670
for a description of the format of the string representation. 
671
671
</p>
672
672
<p>
683
683
</tr>
684
684
<tr>
685
685
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
686
 
<td>the name of the font for header text, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
686
<td>the name of the font for header text, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
687
687
</td>
688
688
</tr>
689
689
</tbody>
693
693
<hr>
694
694
<div class="refsect2" title="gtk_source_print_compositor_get_header_font_name ()">
695
695
<a name="gtk-source-print-compositor-get-header-font-name"></a><h3>gtk_source_print_compositor_get_header_font_name ()</h3>
696
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gtk_source_print_compositor_get_header_font_name
 
696
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gtk_source_print_compositor_get_header_font_name
697
697
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
698
698
<p>
699
699
Returns the name of the font used to print the page header. 
700
 
The returned string must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>)
 
700
The returned string must be freed with <code class="function">g_free()</code>)
701
701
</p>
702
702
<div class="variablelist"><table border="0">
703
703
<col align="left" valign="top">
723
723
<a name="gtk-source-print-compositor-set-footer-font-name"></a><h3>gtk_source_print_compositor_set_footer_font_name ()</h3>
724
724
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_footer_font_name
725
725
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
726
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);</pre>
 
726
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);</pre>
727
727
<p>
728
728
Sets the font for printing the page footer. If
729
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is supplied, the default font (i.e. the one being used for the
 
729
<a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is supplied, the default font (i.e. the one being used for the
730
730
text) will be used instead.  
731
731
</p>
732
732
<p>
733
733
<em class="parameter"><code>font_name</code></em> should be a
734
734
string representation of a font description Pango can understand.
735
 
(e.g. "Monospace 10"). See <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
 
735
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
736
736
for a description of the format of the string representation. 
737
737
</p>
738
738
<p>
749
749
</tr>
750
750
<tr>
751
751
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
752
 
<td>the name of the font for the footer text, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
752
<td>the name of the font for the footer text, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
753
753
</td>
754
754
</tr>
755
755
</tbody>
759
759
<hr>
760
760
<div class="refsect2" title="gtk_source_print_compositor_get_footer_font_name ()">
761
761
<a name="gtk-source-print-compositor-get-footer-font-name"></a><h3>gtk_source_print_compositor_get_footer_font_name ()</h3>
762
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gtk_source_print_compositor_get_footer_font_name
 
762
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gtk_source_print_compositor_get_footer_font_name
763
763
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
764
764
<p>
765
765
Returns the name of the font used to print the page footer. 
766
 
The returned string must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>)
 
766
The returned string must be freed with <code class="function">g_free()</code>)
767
767
</p>
768
768
<div class="variablelist"><table border="0">
769
769
<col align="left" valign="top">
787
787
<hr>
788
788
<div class="refsect2" title="gtk_source_print_compositor_get_top_margin ()">
789
789
<a name="gtk-source-print-compositor-get-top-margin"></a><h3>gtk_source_print_compositor_get_top_margin ()</h3>
790
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             gtk_source_print_compositor_get_top_margin
 
790
<pre class="programlisting"><span class="returnvalue">gdouble</span>             gtk_source_print_compositor_get_top_margin
791
791
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
792
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
 
792
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
793
793
<p>
794
794
Gets the top margin in units of <em class="parameter"><code>unit</code></em>.
795
795
</p>
821
821
<a name="gtk-source-print-compositor-set-top-margin"></a><h3>gtk_source_print_compositor_set_top_margin ()</h3>
822
822
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_top_margin
823
823
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
824
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
825
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
 
824
                                                         <em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
 
825
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
826
826
<p>
827
827
Sets the top margin used by <em class="parameter"><code>compositor</code></em>.
828
828
</p>
851
851
<hr>
852
852
<div class="refsect2" title="gtk_source_print_compositor_get_bottom_margin ()">
853
853
<a name="gtk-source-print-compositor-get-bottom-margin"></a><h3>gtk_source_print_compositor_get_bottom_margin ()</h3>
854
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             gtk_source_print_compositor_get_bottom_margin
 
854
<pre class="programlisting"><span class="returnvalue">gdouble</span>             gtk_source_print_compositor_get_bottom_margin
855
855
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
856
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
 
856
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
857
857
<p>
858
858
Gets the bottom margin in units of <em class="parameter"><code>unit</code></em>.
859
859
</p>
885
885
<a name="gtk-source-print-compositor-set-bottom-margin"></a><h3>gtk_source_print_compositor_set_bottom_margin ()</h3>
886
886
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_bottom_margin
887
887
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
888
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
889
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
 
888
                                                         <em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
 
889
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
890
890
<p>
891
891
Sets the bottom margin used by <em class="parameter"><code>compositor</code></em>.
892
892
</p>
915
915
<hr>
916
916
<div class="refsect2" title="gtk_source_print_compositor_get_left_margin ()">
917
917
<a name="gtk-source-print-compositor-get-left-margin"></a><h3>gtk_source_print_compositor_get_left_margin ()</h3>
918
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             gtk_source_print_compositor_get_left_margin
 
918
<pre class="programlisting"><span class="returnvalue">gdouble</span>             gtk_source_print_compositor_get_left_margin
919
919
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
920
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
 
920
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
921
921
<p>
922
922
Gets the left margin in units of <em class="parameter"><code>unit</code></em>.
923
923
</p>
949
949
<a name="gtk-source-print-compositor-set-left-margin"></a><h3>gtk_source_print_compositor_set_left_margin ()</h3>
950
950
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_left_margin
951
951
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
952
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
953
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
 
952
                                                         <em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
 
953
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
954
954
<p>
955
955
Sets the left margin used by <em class="parameter"><code>compositor</code></em>.
956
956
</p>
979
979
<hr>
980
980
<div class="refsect2" title="gtk_source_print_compositor_get_right_margin ()">
981
981
<a name="gtk-source-print-compositor-get-right-margin"></a><h3>gtk_source_print_compositor_get_right_margin ()</h3>
982
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             gtk_source_print_compositor_get_right_margin
 
982
<pre class="programlisting"><span class="returnvalue">gdouble</span>             gtk_source_print_compositor_get_right_margin
983
983
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
984
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
 
984
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
985
985
<p>
986
986
Gets the right margin in units of <em class="parameter"><code>unit</code></em>.
987
987
</p>
1013
1013
<a name="gtk-source-print-compositor-set-right-margin"></a><h3>gtk_source_print_compositor_set_right_margin ()</h3>
1014
1014
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_right_margin
1015
1015
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1016
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
1017
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
 
1016
                                                         <em class="parameter"><code><span class="type">gdouble</span> margin</code></em>,
 
1017
                                                         <em class="parameter"><code><span class="type">GtkUnit</span> unit</code></em>);</pre>
1018
1018
<p>
1019
1019
Sets the right margin used by <em class="parameter"><code>compositor</code></em>.
1020
1020
</p>
1045
1045
<a name="gtk-source-print-compositor-set-print-header"></a><h3>gtk_source_print_compositor_set_print_header ()</h3>
1046
1046
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_print_header
1047
1047
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1048
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> print</code></em>);</pre>
 
1048
                                                         <em class="parameter"><code><span class="type">gboolean</span> print</code></em>);</pre>
1049
1049
<p>
1050
1050
Sets whether you want to print a header in each page.  The 
1051
1051
header consists of three pieces of text and an optional line
1071
1071
<tr>
1072
1072
<td><p><span class="term"><em class="parameter"><code>print</code></em> :</span></p></td>
1073
1073
<td>
1074
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want the header to be printed.
 
1074
<code class="literal">TRUE</code> if you want the header to be printed.
1075
1075
</td>
1076
1076
</tr>
1077
1077
</tbody>
1081
1081
<hr>
1082
1082
<div class="refsect2" title="gtk_source_print_compositor_get_print_header ()">
1083
1083
<a name="gtk-source-print-compositor-get-print-header"></a><h3>gtk_source_print_compositor_get_print_header ()</h3>
1084
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_print_compositor_get_print_header
 
1084
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_print_compositor_get_print_header
1085
1085
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
1086
1086
<p>
1087
1087
Determines if a header is set to be printed for each page.  A
1088
 
header will be printed if this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
 
1088
header will be printed if this function returns <code class="literal">TRUE</code>
1089
1089
<span class="emphasis"><em>and</em></span> some format strings have been specified
1090
1090
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>.
1091
1091
</p>
1099
1099
</tr>
1100
1100
<tr>
1101
1101
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1102
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the header is set to be printed.
 
1102
<td> <code class="literal">TRUE</code> if the header is set to be printed.
1103
1103
 
1104
1104
</td>
1105
1105
</tr>
1112
1112
<a name="gtk-source-print-compositor-set-print-footer"></a><h3>gtk_source_print_compositor_set_print_footer ()</h3>
1113
1113
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_print_footer
1114
1114
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1115
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> print</code></em>);</pre>
 
1115
                                                         <em class="parameter"><code><span class="type">gboolean</span> print</code></em>);</pre>
1116
1116
<p>
1117
1117
Sets whether you want to print a footer in each page.  The 
1118
1118
footer consists of three pieces of text and an optional line
1138
1138
<tr>
1139
1139
<td><p><span class="term"><em class="parameter"><code>print</code></em> :</span></p></td>
1140
1140
<td>
1141
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want the footer to be printed.
 
1141
<code class="literal">TRUE</code> if you want the footer to be printed.
1142
1142
</td>
1143
1143
</tr>
1144
1144
</tbody>
1148
1148
<hr>
1149
1149
<div class="refsect2" title="gtk_source_print_compositor_get_print_footer ()">
1150
1150
<a name="gtk-source-print-compositor-get-print-footer"></a><h3>gtk_source_print_compositor_get_print_footer ()</h3>
1151
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_print_compositor_get_print_footer
 
1151
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_print_compositor_get_print_footer
1152
1152
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
1153
1153
<p>
1154
1154
Determines if a footer is set to be printed for each page.  A
1155
 
footer will be printed if this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
 
1155
footer will be printed if this function returns <code class="literal">TRUE</code>
1156
1156
<span class="emphasis"><em>and</em></span> some format strings have been specified
1157
1157
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>.
1158
1158
</p>
1166
1166
</tr>
1167
1167
<tr>
1168
1168
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1169
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the footer is set to be printed.
 
1169
<td> <code class="literal">TRUE</code> if the footer is set to be printed.
1170
1170
 
1171
1171
</td>
1172
1172
</tr>
1179
1179
<a name="gtk-source-print-compositor-set-header-format"></a><h3>gtk_source_print_compositor_set_header_format ()</h3>
1180
1180
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_header_format
1181
1181
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1182
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> separator</code></em>,
1183
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *left</code></em>,
1184
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *center</code></em>,
1185
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *right</code></em>);</pre>
 
1182
                                                         <em class="parameter"><code><span class="type">gboolean</span> separator</code></em>,
 
1183
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *left</code></em>,
 
1184
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *center</code></em>,
 
1185
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *right</code></em>);</pre>
1186
1186
<p>
1187
1187
Sets strftime like header format strings, to be printed on the
1188
1188
left, center and right of the top of each page.  The strings may
1195
1195
the header from the document text.
1196
1196
</p>
1197
1197
<p>
1198
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is given for any of the three arguments, that particular
 
1198
If <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is given for any of the three arguments, that particular
1199
1199
string will not be printed.
1200
1200
</p>
1201
1201
<p>
1218
1218
<tr>
1219
1219
<td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
1220
1220
<td>
1221
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want a separator line to be printed.
 
1221
<code class="literal">TRUE</code> if you want a separator line to be printed.
1222
1222
</td>
1223
1223
</tr>
1224
1224
<tr>
1245
1245
<a name="gtk-source-print-compositor-set-footer-format"></a><h3>gtk_source_print_compositor_set_footer_format ()</h3>
1246
1246
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_set_footer_format
1247
1247
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1248
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> separator</code></em>,
1249
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *left</code></em>,
1250
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *center</code></em>,
1251
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *right</code></em>);</pre>
 
1248
                                                         <em class="parameter"><code><span class="type">gboolean</span> separator</code></em>,
 
1249
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *left</code></em>,
 
1250
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *center</code></em>,
 
1251
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *right</code></em>);</pre>
1252
1252
<p>
1253
1253
Sets strftime like header format strings, to be printed on the
1254
1254
left, center and right of the bottom of each page. The strings may
1261
1261
the footer from the document text.
1262
1262
</p>
1263
1263
<p>
1264
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is given for any of the three arguments, that particular
 
1264
If <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is given for any of the three arguments, that particular
1265
1265
string will not be printed.
1266
1266
</p>
1267
1267
<p>
1284
1284
<tr>
1285
1285
<td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
1286
1286
<td>
1287
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want a separator line to be printed.
 
1287
<code class="literal">TRUE</code> if you want a separator line to be printed.
1288
1288
</td>
1289
1289
</tr>
1290
1290
<tr>
1309
1309
<hr>
1310
1310
<div class="refsect2" title="gtk_source_print_compositor_get_n_pages ()">
1311
1311
<a name="gtk-source-print-compositor-get-n-pages"></a><h3>gtk_source_print_compositor_get_n_pages ()</h3>
1312
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_source_print_compositor_get_n_pages
 
1312
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_source_print_compositor_get_n_pages
1313
1313
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
1314
1314
<p>
1315
1315
Returns the number of pages in the document or <code class="code">-1</code> if the 
1337
1337
<hr>
1338
1338
<div class="refsect2" title="gtk_source_print_compositor_paginate ()">
1339
1339
<a name="gtk-source-print-compositor-paginate"></a><h3>gtk_source_print_compositor_paginate ()</h3>
1340
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_print_compositor_paginate
 
1340
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_print_compositor_paginate
1341
1341
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1342
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> *context</code></em>);</pre>
 
1342
                                                         <em class="parameter"><code><span class="type">GtkPrintContext</span> *context</code></em>);</pre>
1343
1343
<p>
1344
1344
Paginate the document associated with the <em class="parameter"><code>compositor</code></em>.
1345
1345
</p>
1348
1348
Each time <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> is invoked, a chunk of the document 
1349
1349
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> 
1350
1350
must be invoked multiple times.
1351
 
It returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the document has been completely paginated, otherwise it returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
 
1351
It returns <code class="literal">TRUE</code> if the document has been completely paginated, otherwise it returns <code class="literal">FALSE</code>.
1352
1352
</p>
1353
1353
<p>
1354
 
This method has been designed to be invoked in the handler of the <a href="http://library.gnome.org/devel/gtk/unstable/gtk-High-level-Printing-API.html#GtkPrintOperation-paginate"><span class="type">"paginate"</span></a> signal,
 
1354
This method has been designed to be invoked in the handler of the <span class="type">"paginate"</span> signal,
1355
1355
as shown in the following example:
1356
1356
</p>
1357
1357
<p>
1358
1358
</p>
1359
 
<div class="informalexample"><pre class="programlisting">
1360
 
// Signal handler for the GtkPrintOperation::paginate signal
 
1359
<div class="informalexample">
 
1360
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
 
1361
    <tbody>
 
1362
      <tr>
 
1363
        <td class="listing_lines" align="right"><pre>1
 
1364
2
 
1365
3
 
1366
4
 
1367
5
 
1368
6
 
1369
7
 
1370
8
 
1371
9
 
1372
10
 
1373
11
 
1374
12
 
1375
13
 
1376
14
 
1377
15
 
1378
16
 
1379
17
 
1380
18
 
1381
19
 
1382
20
 
1383
21
 
1384
22
 
1385
23</pre></td>
 
1386
        <td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::paginate signal</span>
1361
1387
 
1362
 
static gboolean
 
1388
<span class="type">static</span> gboolean
1363
1389
paginate (GtkPrintOperation *operation,
1364
1390
          GtkPrintContext   *context,
1365
1391
          gpointer           user_data)
1368
1394
 
1369
1395
    compositor = GTK_SOURCE_PRINT_COMPOSITOR (user_data);
1370
1396
 
1371
 
    if (gtk_source_print_compositor_paginate (compositor, context))
 
1397
    <span class="keyword">if</span> (gtk_source_print_compositor_paginate (compositor, context))
1372
1398
    {
1373
1399
        gint n_pages;
1374
 
        
 
1400
 
1375
1401
        n_pages = gtk_source_print_compositor_get_n_pages (compositor);
1376
1402
        gtk_print_operation_set_n_pages (operation, n_pages);
1377
1403
 
1378
 
        return TRUE;
 
1404
        <span class="keyword">return</span> TRUE;
1379
1405
    }
1380
 
     
1381
 
    return FALSE;
1382
 
}
1383
 
</pre></div>
 
1406
 
 
1407
    <span class="keyword">return</span> FALSE;
 
1408
}</pre></td>
 
1409
      </tr>
 
1410
    </tbody>
 
1411
  </table>
 
1412
</div>
 
1413
 
1384
1414
<p>
1385
1415
</p>
1386
1416
<p>
1387
1417
If you don't need to do pagination in chunks, you can simply do it all in the 
1388
 
<a href="http://library.gnome.org/devel/gtk/unstable/gtk-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
 
1418
<span class="type">"begin-print"</span> handler, and set the number of pages from there, like
1389
1419
in the following example:
1390
1420
</p>
1391
1421
<p>
1392
1422
</p>
1393
 
<div class="informalexample"><pre class="programlisting">
1394
 
// Signal handler for the GtkPrintOperation::begin-print signal
 
1423
<div class="informalexample">
 
1424
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
 
1425
    <tbody>
 
1426
      <tr>
 
1427
        <td class="listing_lines" align="right"><pre>1
 
1428
2
 
1429
3
 
1430
4
 
1431
5
 
1432
6
 
1433
7
 
1434
8
 
1435
9
 
1436
10
 
1437
11
 
1438
12
 
1439
13
 
1440
14
 
1441
15
 
1442
16
 
1443
17</pre></td>
 
1444
        <td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::begin-print signal</span>
1395
1445
 
1396
 
static void
 
1446
<span class="type">static</span> <span class="type">void</span>
1397
1447
begin_print (GtkPrintOperation *operation,
1398
1448
             GtkPrintContext   *context,
1399
1449
             gpointer           user_data)
1403
1453
 
1404
1454
    compositor = GTK_SOURCE_PRINT_COMPOSITOR (user_data);
1405
1455
 
1406
 
    while (!gtk_source_print_compositor_paginate (compositor, context));
 
1456
    <span class="keyword">while</span> (!gtk_source_print_compositor_paginate (compositor, context));
1407
1457
 
1408
1458
    n_pages = gtk_source_print_compositor_get_n_pages (compositor);
1409
1459
    gtk_print_operation_set_n_pages (operation, n_pages);
1410
 
}
1411
 
</pre></div>
 
1460
}</pre></td>
 
1461
      </tr>
 
1462
    </tbody>
 
1463
  </table>
 
1464
</div>
 
1465
 
1412
1466
<p>
1413
1467
</p>
1414
1468
<div class="variablelist"><table border="0">
1421
1475
</tr>
1422
1476
<tr>
1423
1477
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
1424
 
<td>the <a href="http://library.gnome.org/devel/gtk/unstable/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> whose parameters (e.g. paper size, print margins, etc.) 
 
1478
<td>the <span class="type">GtkPrintContext</span> whose parameters (e.g. paper size, print margins, etc.) 
1425
1479
are used by the the <em class="parameter"><code>compositor</code></em> to paginate the document.
1426
1480
</td>
1427
1481
</tr>
1428
1482
<tr>
1429
1483
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1430
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the document has been completely paginated, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
1484
<td> <code class="literal">TRUE</code> if the document has been completely paginated, <code class="literal">FALSE</code> otherwise.
1431
1485
 
1432
1486
</td>
1433
1487
</tr>
1438
1492
<hr>
1439
1493
<div class="refsect2" title="gtk_source_print_compositor_get_pagination_progress ()">
1440
1494
<a name="gtk-source-print-compositor-get-pagination-progress"></a><h3>gtk_source_print_compositor_get_pagination_progress ()</h3>
1441
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             gtk_source_print_compositor_get_pagination_progress
 
1495
<pre class="programlisting"><span class="returnvalue">gdouble</span>             gtk_source_print_compositor_get_pagination_progress
1442
1496
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
1443
1497
<p>
1444
1498
Returns the current fraction of the document pagination that has been completed.
1466
1520
<a name="gtk-source-print-compositor-draw-page"></a><h3>gtk_source_print_compositor_draw_page ()</h3>
1467
1521
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_print_compositor_draw_page
1468
1522
                                                        (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1469
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> *context</code></em>,
1470
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);</pre>
 
1523
                                                         <em class="parameter"><code><span class="type">GtkPrintContext</span> *context</code></em>,
 
1524
                                                         <em class="parameter"><code><span class="type">gint</span> page_nr</code></em>);</pre>
1471
1525
<p>
1472
1526
Draw page <em class="parameter"><code>page_nr</code></em> for printing on the the Cairo context encapsuled in <em class="parameter"><code>context</code></em>.
1473
1527
</p>
1474
1528
<p>
1475
 
This method has been designed to be called in the handler of the <a href="http://library.gnome.org/devel/gtk/unstable/gtk-High-level-Printing-API.html#GtkPrintOperation-draw-page"><span class="type">"draw_page"</span></a> signal
 
1529
This method has been designed to be called in the handler of the <span class="type">"draw_page"</span> signal
1476
1530
as shown in the following example:
1477
1531
</p>
1478
1532
<p>
1479
1533
</p>
1480
 
<div class="informalexample"><pre class="programlisting">
1481
 
// Signal handler for the GtkPrintOperation::draw_page signal
 
1534
<div class="informalexample">
 
1535
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
 
1536
    <tbody>
 
1537
      <tr>
 
1538
        <td class="listing_lines" align="right"><pre>1
 
1539
2
 
1540
3
 
1541
4
 
1542
5
 
1543
6
 
1544
7
 
1545
8
 
1546
9
 
1547
10
 
1548
11
 
1549
12
 
1550
13
 
1551
14
 
1552
15
 
1553
16</pre></td>
 
1554
        <td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::draw_page signal</span>
1482
1555
 
1483
 
static void
 
1556
<span class="type">static</span> <span class="type">void</span>
1484
1557
draw_page (GtkPrintOperation *operation,
1485
1558
           GtkPrintContext   *context,
1486
1559
           gint               page_nr,
1490
1563
 
1491
1564
    compositor = GTK_SOURCE_PRINT_COMPOSITOR (user_data);
1492
1565
 
1493
 
    gtk_source_print_compositor_draw_page (compositor, 
 
1566
    gtk_source_print_compositor_draw_page (compositor,
1494
1567
                                           context,
1495
1568
                                           page_nr);
1496
 
}
1497
 
</pre></div>
 
1569
}</pre></td>
 
1570
      </tr>
 
1571
    </tbody>
 
1572
  </table>
 
1573
</div>
 
1574
 
1498
1575
<p>
1499
1576
</p>
1500
1577
<div class="variablelist"><table border="0">
1507
1584
</tr>
1508
1585
<tr>
1509
1586
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
1510
 
<td>the <a href="http://library.gnome.org/devel/gtk/unstable/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> encapsulating the context information that is required when 
 
1587
<td>the <span class="type">GtkPrintContext</span> encapsulating the context information that is required when 
1511
1588
          drawing the page for printing.
1512
1589
</td>
1513
1590
</tr>
1524
1601
<a name="GtkSourcePrintCompositor.property-details"></a><h2>Property Details</h2>
1525
1602
<div class="refsect2" title='The "body-font-name" property'>
1526
1603
<a name="GtkSourcePrintCompositor--body-font-name"></a><h3>The <code class="literal">"body-font-name"</code> property</h3>
1527
 
<pre class="programlisting">  "body-font-name"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
1604
<pre class="programlisting">  "body-font-name"           <span class="type">gchar</span>*                : Read / Write</pre>
1528
1605
<p>
1529
1606
Name of the font used for the text body.
1530
1607
</p>
1531
1608
<p>
1532
1609
Accepted values are strings representing a font description Pango can understand.
1533
 
(e.g. "Monospace 10"). See <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
 
1610
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
1534
1611
for a description of the format of the string representation. 
1535
1612
</p>
1536
1613
<p>
1552
1629
<hr>
1553
1630
<div class="refsect2" title='The "footer-font-name" property'>
1554
1631
<a name="GtkSourcePrintCompositor--footer-font-name"></a><h3>The <code class="literal">"footer-font-name"</code> property</h3>
1555
 
<pre class="programlisting">  "footer-font-name"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
1632
<pre class="programlisting">  "footer-font-name"         <span class="type">gchar</span>*                : Read / Write</pre>
1556
1633
<p>
1557
1634
Name of the font used to print page footer.  
1558
1635
If this property is unspecified, the text body font is used.
1559
1636
</p>
1560
1637
<p>
1561
1638
Accepted values are strings representing a font description Pango can understand.
1562
 
(e.g. "Monospace 10"). See <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
 
1639
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
1563
1640
for a description of the format of the string representation. 
1564
1641
</p>
1565
1642
<p>
1572
1649
<hr>
1573
1650
<div class="refsect2" title='The "header-font-name" property'>
1574
1651
<a name="GtkSourcePrintCompositor--header-font-name"></a><h3>The <code class="literal">"header-font-name"</code> property</h3>
1575
 
<pre class="programlisting">  "header-font-name"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
1652
<pre class="programlisting">  "header-font-name"         <span class="type">gchar</span>*                : Read / Write</pre>
1576
1653
<p>
1577
1654
Name of the font used to print page header.  
1578
1655
If this property is unspecified, the text body font is used.
1579
1656
</p>
1580
1657
<p>
1581
1658
Accepted values are strings representing a font description Pango can understand.
1582
 
(e.g. "Monospace 10"). See <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
 
1659
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
1583
1660
for a description of the format of the string representation. 
1584
1661
</p>
1585
1662
<p>
1592
1669
<hr>
1593
1670
<div class="refsect2" title='The "highlight-syntax" property'>
1594
1671
<a name="GtkSourcePrintCompositor--highlight-syntax"></a><h3>The <code class="literal">"highlight-syntax"</code> property</h3>
1595
 
<pre class="programlisting">  "highlight-syntax"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
1672
<pre class="programlisting">  "highlight-syntax"         <span class="type">gboolean</span>              : Read / Write</pre>
1596
1673
<p>
1597
1674
Whether to print the document with highlighted syntax.
1598
1675
 
1605
1682
<hr>
1606
1683
<div class="refsect2" title='The "line-numbers-font-name" property'>
1607
1684
<a name="GtkSourcePrintCompositor--line-numbers-font-name"></a><h3>The <code class="literal">"line-numbers-font-name"</code> property</h3>
1608
 
<pre class="programlisting">  "line-numbers-font-name"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
1685
<pre class="programlisting">  "line-numbers-font-name"   <span class="type">gchar</span>*                : Read / Write</pre>
1609
1686
<p>
1610
1687
Name of the font used to print line numbers on the left margin.  
1611
1688
If this property is unspecified, the text body font is used.
1612
1689
</p>
1613
1690
<p>
1614
1691
Accepted values are strings representing a font description Pango can understand.
1615
 
(e.g. "Monospace 10"). See <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
 
1692
(e.g. "Monospace 10"). See <code class="function">pango_font_description_from_string()</code>
1616
1693
for a description of the format of the string representation. 
1617
1694
</p>
1618
1695
<p>
1625
1702
<hr>
1626
1703
<div class="refsect2" title='The "n-pages" property'>
1627
1704
<a name="GtkSourcePrintCompositor--n-pages"></a><h3>The <code class="literal">"n-pages"</code> property</h3>
1628
 
<pre class="programlisting">  "n-pages"                  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
 
1705
<pre class="programlisting">  "n-pages"                  <span class="type">gint</span>                  : Read</pre>
1629
1706
<p>
1630
1707
The number of pages in the document or <code class="code">-1</code> if the 
1631
1708
document has not been completely paginated.
1637
1714
<hr>
1638
1715
<div class="refsect2" title='The "print-footer" property'>
1639
1716
<a name="GtkSourcePrintCompositor--print-footer"></a><h3>The <code class="literal">"print-footer"</code> property</h3>
1640
 
<pre class="programlisting">  "print-footer"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
1717
<pre class="programlisting">  "print-footer"             <span class="type">gboolean</span>              : Read / Write</pre>
1641
1718
<p>
1642
1719
Whether to print a footer in each page.
1643
1720
</p>
1656
1733
<hr>
1657
1734
<div class="refsect2" title='The "print-header" property'>
1658
1735
<a name="GtkSourcePrintCompositor--print-header"></a><h3>The <code class="literal">"print-header"</code> property</h3>
1659
 
<pre class="programlisting">  "print-header"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
1736
<pre class="programlisting">  "print-header"             <span class="type">gboolean</span>              : Read / Write</pre>
1660
1737
<p>
1661
1738
Whether to print a header in each page.
1662
1739
</p>
1675
1752
<hr>
1676
1753
<div class="refsect2" title='The "print-line-numbers" property'>
1677
1754
<a name="GtkSourcePrintCompositor--print-line-numbers"></a><h3>The <code class="literal">"print-line-numbers"</code> property</h3>
1678
 
<pre class="programlisting">  "print-line-numbers"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
1755
<pre class="programlisting">  "print-line-numbers"       <span class="type">guint</span>                 : Read / Write</pre>
1679
1756
<p>
1680
1757
Interval of printed line numbers. If this property is set to 0 no
1681
1758
numbers will be printed.  If greater than 0, a number will be
1692
1769
<hr>
1693
1770
<div class="refsect2" title='The "tab-width" property'>
1694
1771
<a name="GtkSourcePrintCompositor--tab-width"></a><h3>The <code class="literal">"tab-width"</code> property</h3>
1695
 
<pre class="programlisting">  "tab-width"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
1772
<pre class="programlisting">  "tab-width"                <span class="type">guint</span>                 : Read / Write</pre>
1696
1773
<p>
1697
1774
Width of a tab character expressed in spaces.
1698
1775
</p>
1707
1784
<hr>
1708
1785
<div class="refsect2" title='The "wrap-mode" property'>
1709
1786
<a name="GtkSourcePrintCompositor--wrap-mode"></a><h3>The <code class="literal">"wrap-mode"</code> property</h3>
1710
 
<pre class="programlisting">  "wrap-mode"                <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextTag.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a>           : Read / Write</pre>
 
1787
<pre class="programlisting">  "wrap-mode"                <span class="type">GtkWrapMode</span>           : Read / Write</pre>
1711
1788
<p>
1712
1789
Whether to wrap lines never, at word boundaries, or at character boundaries.
1713
1790
</p>
1722
1799
</div>
1723
1800
<div class="footer">
1724
1801
<hr>
1725
 
          Generated by GTK-Doc V1.14</div>
 
1802
          Generated by GTK-Doc V1.15.1</div>
1726
1803
</body>
1727
1804
</html>
 
 
b'\\ No newline at end of file'