Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtk2::printoperation(3) [suse man page]

Gtk2::PrintOperation(3) 				User Contributed Perl Documentation				   Gtk2::PrintOperation(3)

NAME
Gtk2::PrintOperation HIERARCHY
Glib::Object +----Gtk2::PrintOperation INTERFACES
Gtk2::PrintOperationPreview METHODS
printoperation = Gtk2::PrintOperation->new $op->set_allow_async ($allow_async) o $allow_async (boolean) $op->cancel $op->set_current_page ($current_page) o $current_page (integer) $op->set_custom_tab_label ($label) o $label (string) pagesetup or undef = $op->get_default_page_setup $op->set_default_page_setup ($default_page_setup) o $default_page_setup (Gtk2::PageSetup or undef) $op->set_defer_drawing () The method set_defer_drawing() can only be called from the callback 'draw-page'. Since: gtk+ 2.16 $op->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 scalar = $op->get_error $op->set_export_filename ($filename) o $filename (string) boolean = $op->is_finished $op->set_job_name ($job_name) o $job_name (string) $op->set_n_pages ($n_pages) o $n_pages (integer) printsettings or undef = $op->get_print_settings $op->set_print_settings ($print_settings) o $print_settings (Gtk2::PrintSettings or undef) printoperationresult = $op->run ($action, $parent) o $action (Gtk2::PrintOperationAction) o $parent (Gtk2::Window or undef) May croak with a Glib::Error in $@ on failure. $op->set_show_progress ($show_progress) o $show_progress (boolean) printstatus = $op->get_status string = $op->get_status_string $op->set_track_print_status ($track_status) o $track_status (boolean) $op->set_unit ($unit) o $unit (Gtk2::Unit) $op->set_use_full_page ($full_page) o $full_page (boolean) PROPERTIES
'allow-async' (boolean : readable / writable / private) TRUE if print process may run asynchronous. 'current-page' (integer : readable / writable / private) The current page in the document 'custom-tab-label' (string : readable / writable / private) Label for the tab containing custom widgets. 'default-page-setup' (Gtk2::PageSetup : readable / writable / private) The GtkPageSetup used by default 'embed-page-setup' (boolean : readable / writable / private) TRUE if page setup combos are embedded in GtkPrintDialog 'export-filename' (string : readable / writable / private) Export filename 'has-selection' (boolean : readable / writable / private) TRUE if a selecion exists. 'job-name' (string : readable / writable / private) A string used for identifying the print job. 'n-pages' (integer : readable / writable / private) The number of pages in the document. 'n-pages-to-print' (integer : readable / private) The number of pages that will be printed. 'print-settings' (Gtk2::PrintSettings : readable / writable / private) The GtkPrintSettings used for initializing the dialog 'show-progress' (boolean : readable / writable / private) TRUE if a progress dialog is shown while printing. 'status' (Gtk2::PrintStatus : readable / private) The status of the print operation 'status-string' (string : readable / private) A human-readable description of the status 'support-selection' (boolean : readable / writable / private) TRUE if the print operation will support print of selection. 'track-print-status' (boolean : 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. 'unit' (Gtk2::Unit : readable / writable / private) The unit in which distances can be measured in the context 'use-full-page' (boolean : 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 SIGNALS
done (Gtk2::PrintOperation, Gtk2::PrintOperationResult) begin-print (Gtk2::PrintOperation, Gtk2::PrintContext) boolean = paginate (Gtk2::PrintOperation, Gtk2::PrintContext) request-page-setup (Gtk2::PrintOperation, Gtk2::PrintContext, integer, Gtk2::PageSetup) draw-page (Gtk2::PrintOperation, Gtk2::PrintContext, integer) end-print (Gtk2::PrintOperation, Gtk2::PrintContext) status-changed (Gtk2::PrintOperation) Glib::Object = create-custom-widget (Gtk2::PrintOperation) update-custom-widget (Gtk2::PrintOperation, Gtk2::Widget, Gtk2::PageSetup, Gtk2::PrintSettings) custom-widget-apply (Gtk2::PrintOperation, Gtk2::Widget) boolean = preview (Gtk2::PrintOperation, Gtk2::PrintOperationPreview, Gtk2::PrintContext, Gtk2::Window) ENUMS AND FLAGS
enum Gtk2::PrintOperationAction o 'print-dialog' / 'GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG' o 'print' / 'GTK_PRINT_OPERATION_ACTION_PRINT' o 'preview' / 'GTK_PRINT_OPERATION_ACTION_PREVIEW' o 'export' / 'GTK_PRINT_OPERATION_ACTION_EXPORT' enum Gtk2::PrintOperationResult o 'error' / 'GTK_PRINT_OPERATION_RESULT_ERROR' o 'apply' / 'GTK_PRINT_OPERATION_RESULT_APPLY' o 'cancel' / 'GTK_PRINT_OPERATION_RESULT_CANCEL' o 'in-progress' / 'GTK_PRINT_OPERATION_RESULT_IN_PROGRESS' enum Gtk2::PrintStatus o 'initial' / 'GTK_PRINT_STATUS_INITIAL' o 'preparing' / 'GTK_PRINT_STATUS_PREPARING' o 'generating-data' / 'GTK_PRINT_STATUS_GENERATING_DATA' o 'sending-data' / 'GTK_PRINT_STATUS_SENDING_DATA' o 'pending' / 'GTK_PRINT_STATUS_PENDING' o 'pending-issue' / 'GTK_PRINT_STATUS_PENDING_ISSUE' o 'printing' / 'GTK_PRINT_STATUS_PRINTING' o 'finished' / 'GTK_PRINT_STATUS_FINISHED' o 'finished-aborted' / 'GTK_PRINT_STATUS_FINISHED_ABORTED' enum Gtk2::Unit o 'pixel' / 'GTK_UNIT_PIXEL' o 'points' / 'GTK_UNIT_POINTS' o 'inch' / 'GTK_UNIT_INCH' o 'mm' / 'GTK_UNIT_MM' SEE ALSO
Gtk2, Glib::Object COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::PrintOperation(3)
Man Page