/usr/share/perl5/Gtk2/PrintOperation.pod is in libgtk2-perl-doc 2:1.223-1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 | =head1 NAME
Gtk2::PrintOperation - wrapper for GtkPrintOperation
=cut
=head1 HIERARCHY
Glib::Object
+----Gtk2::PrintOperation
=cut
=head1 INTERFACES
Gtk2::PrintOperationPreview
=cut
=head1 METHODS
=head2 printoperation = Gtk2::PrintOperation-E<gt>B<new>
=head2 $op-E<gt>B<set_allow_async> ($allow_async)
=over
=item * $allow_async (boolean)
=back
=head2 $op-E<gt>B<cancel>
=head2 $op-E<gt>B<set_current_page> ($current_page)
=over
=item * $current_page (integer)
=back
=head2 $op-E<gt>B<set_custom_tab_label> ($label)
=over
=item * $label (string)
=back
=head2 pagesetup or undef = $op-E<gt>B<get_default_page_setup>
=head2 $op-E<gt>B<set_default_page_setup> ($default_page_setup)
=over
=item * $default_page_setup (Gtk2::PageSetup or undef)
=back
=head2 $op->B<set_defer_drawing> ()
The method set_defer_drawing() can only be called from the callback
C<'draw-page'>.
Since: gtk+ 2.16
=head2 $op->B<draw_page_finish> ()
The method draw_page_finish() can only be called if the method
set_defer_drawing() has been called previously otherwise a segmentation fault
will occur. This means that the application will crash and even an eval will not
be able to recover from that error.
Since: gtk+ 2.16
=head2 scalar = $op-E<gt>B<get_error>
=head2 $op-E<gt>B<set_export_filename> ($filename)
=over
=item * $filename (string)
=back
=head2 boolean = $op-E<gt>B<is_finished>
=head2 $op-E<gt>B<set_job_name> ($job_name)
=over
=item * $job_name (string)
=back
=head2 $op-E<gt>B<set_n_pages> ($n_pages)
=over
=item * $n_pages (integer)
=back
=head2 printsettings or undef = $op-E<gt>B<get_print_settings>
=head2 $op-E<gt>B<set_print_settings> ($print_settings)
=over
=item * $print_settings (Gtk2::PrintSettings or undef)
=back
=head2 printoperationresult = $op-E<gt>B<run> ($action, $parent)
=over
=item * $action (Gtk2::PrintOperationAction)
=item * $parent (Gtk2::Window or undef)
=back
May croak with a L<Glib::Error> in $@ on failure.
=head2 $op-E<gt>B<set_show_progress> ($show_progress)
=over
=item * $show_progress (boolean)
=back
=head2 printstatus = $op-E<gt>B<get_status>
=head2 string = $op-E<gt>B<get_status_string>
=head2 $op-E<gt>B<set_track_print_status> ($track_status)
=over
=item * $track_status (boolean)
=back
=head2 $op-E<gt>B<set_unit> ($unit)
=over
=item * $unit (Gtk2::Unit)
=back
=head2 $op-E<gt>B<set_use_full_page> ($full_page)
=over
=item * $full_page (boolean)
=back
=cut
=head1 PROPERTIES
=over
=item 'allow-async' (boolean : default false : readable / writable / private)
TRUE if print process may run asynchronous.
=item 'current-page' (integer : default -1 : readable / writable / private)
The current page in the document
=item 'custom-tab-label' (string : default undef : readable / writable / private)
Label for the tab containing custom widgets.
=item 'default-page-setup' (Gtk2::PageSetup : default undef : readable / writable / private)
The GtkPageSetup used by default
=item 'embed-page-setup' (boolean : default false : readable / writable / private)
TRUE if page setup combos are embedded in GtkPrintDialog
=item 'export-filename' (string : default undef : readable / writable / private)
Export filename
=item 'has-selection' (boolean : default false : readable / writable / private)
TRUE if a selection exists.
=item 'job-name' (string : default "" : readable / writable / private)
A string used for identifying the print job.
=item 'n-pages' (integer : default -1 : readable / writable / private)
The number of pages in the document.
=item 'n-pages-to-print' (integer : default -1 : readable / private)
The number of pages that will be printed.
=item 'print-settings' (Gtk2::PrintSettings : default undef : readable / writable / private)
The GtkPrintSettings used for initializing the dialog
=item 'show-progress' (boolean : default false : readable / writable / private)
TRUE if a progress dialog is shown while printing.
=item 'status' (Gtk2::PrintStatus : default "initial" : readable / private)
The status of the print operation
=item 'status-string' (string : default "" : readable / private)
A human-readable description of the status
=item 'support-selection' (boolean : default false : readable / writable / private)
TRUE if the print operation will support print of selection.
=item 'track-print-status' (boolean : default false : readable / writable / private)
TRUE if the print operation will continue to report on the print job status after the print data has been sent to the printer or print server.
=item 'unit' (Gtk2::Unit : default "pixel" : readable / writable / private)
The unit in which distances can be measured in the context
=item 'use-full-page' (boolean : default false : readable / writable / private)
TRUE if the origin of the context should be at the corner of the page and not the corner of the imageable area
=back
=cut
=head1 SIGNALS
=over
=item B<done> (Gtk2::PrintOperation, Gtk2::PrintOperationResult)
=item B<begin-print> (Gtk2::PrintOperation, Gtk2::PrintContext)
=item boolean = B<paginate> (Gtk2::PrintOperation, Gtk2::PrintContext)
=item B<request-page-setup> (Gtk2::PrintOperation, Gtk2::PrintContext, integer, Gtk2::PageSetup)
=item B<draw-page> (Gtk2::PrintOperation, Gtk2::PrintContext, integer)
=item B<end-print> (Gtk2::PrintOperation, Gtk2::PrintContext)
=item B<status-changed> (Gtk2::PrintOperation)
=item Glib::Object = B<create-custom-widget> (Gtk2::PrintOperation)
=item B<update-custom-widget> (Gtk2::PrintOperation, Gtk2::Widget, Gtk2::PageSetup, Gtk2::PrintSettings)
=item B<custom-widget-apply> (Gtk2::PrintOperation, Gtk2::Widget)
=item boolean = B<preview> (Gtk2::PrintOperation, Gtk2::PrintOperationPreview, Gtk2::PrintContext, Gtk2::Window)
=back
=cut
=head1 ENUMS AND FLAGS
=head2 enum Gtk2::PrintOperationAction
=over
=item * 'print-dialog' / 'GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG'
=item * 'print' / 'GTK_PRINT_OPERATION_ACTION_PRINT'
=item * 'preview' / 'GTK_PRINT_OPERATION_ACTION_PREVIEW'
=item * 'export' / 'GTK_PRINT_OPERATION_ACTION_EXPORT'
=back
=head2 enum Gtk2::PrintOperationResult
=over
=item * 'error' / 'GTK_PRINT_OPERATION_RESULT_ERROR'
=item * 'apply' / 'GTK_PRINT_OPERATION_RESULT_APPLY'
=item * 'cancel' / 'GTK_PRINT_OPERATION_RESULT_CANCEL'
=item * 'in-progress' / 'GTK_PRINT_OPERATION_RESULT_IN_PROGRESS'
=back
=head2 enum Gtk2::PrintStatus
=over
=item * 'initial' / 'GTK_PRINT_STATUS_INITIAL'
=item * 'preparing' / 'GTK_PRINT_STATUS_PREPARING'
=item * 'generating-data' / 'GTK_PRINT_STATUS_GENERATING_DATA'
=item * 'sending-data' / 'GTK_PRINT_STATUS_SENDING_DATA'
=item * 'pending' / 'GTK_PRINT_STATUS_PENDING'
=item * 'pending-issue' / 'GTK_PRINT_STATUS_PENDING_ISSUE'
=item * 'printing' / 'GTK_PRINT_STATUS_PRINTING'
=item * 'finished' / 'GTK_PRINT_STATUS_FINISHED'
=item * 'finished-aborted' / 'GTK_PRINT_STATUS_FINISHED_ABORTED'
=back
=head2 enum Gtk2::Unit
=over
=item * 'pixel' / 'GTK_UNIT_PIXEL'
=item * 'points' / 'GTK_UNIT_POINTS'
=item * 'inch' / 'GTK_UNIT_INCH'
=item * 'mm' / 'GTK_UNIT_MM'
=back
=cut
=head1 SEE ALSO
L<Gtk2>, L<Glib::Object>
=cut
=head1 COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See L<Gtk2> for a full notice.
=cut
|