gtkmm: Printing

Classes

class  Gtk::PageSetup
 A PageSetup object stores the page size, orientation and margins. More...

 
class  Gtk::PaperSize
 PaperSize handles paper sizes. More...

 
class  Gtk::PrintContext
 A PrintContext encapsulates context information that is required when drawing pages for printing, such as the cairo context and important parameters like page size and resolution. More...

 
class  Gtk::PrintOperation
 PrintOperation is the high-level, portable printing API. More...

 
class  Gtk::PrintOperationPreview
 
class  Gtk::PrintSettings::Keys
 Print settings keys. More...

 
class  Gtk::PrintSettings
 A PrintSettings object represents the settings of a print dialog in a system-independent way. More...

 
class  Gtk::PageSetupUnixDialog
 PageSetupUnixDialog implements a page setup dialog for platforms which don't provide a native page setup dialog, like Unix. More...

 
class  Gtk::Printer
 A Printer object represents a printer. More...

 
class  Gtk::PrintJob
 A PrintJob object represents a job that is sent to a printer. More...

 
class  Gtk::PrintUnixDialog
 PrintUnixDialog implements a print dialog for platforms which don't provide a native print dialog, like Unix. More...

 

Enumerations

enum  Gtk::PrintOperation::Result {

  Gtk::PrintOperation::Result::ERROR,

  Gtk::PrintOperation::Result::APPLY,

  Gtk::PrintOperation::Result::CANCEL,

  Gtk::PrintOperation::Result::IN_PROGRESS

}
 A value of this type is returned by Gtk::PrintOperation::run(). More...

 
enum  Gtk::PrintOperation::Action {

  Gtk::PrintOperation::Action::PRINT_DIALOG,

  Gtk::PrintOperation::Action::PRINT,

  Gtk::PrintOperation::Action::PREVIEW,

  Gtk::PrintOperation::Action::EXPORT

}
 The action parameter to Gtk::PrintOperation::run() determines what action the print operation should perform. More...

 

Detailed Description

Enumeration Type Documentation

The action parameter to Gtk::PrintOperation::run() determines what action the print operation should perform.

Enumerator
PRINT_DIALOG 

Show the print dialog.

PRINT 

Start to print without showing the print dialog, based on the current print settings.

PREVIEW 

Show the print preview.

EXPORT 

Export to a file.

This requires the export-filename property to be set.

A value of this type is returned by Gtk::PrintOperation::run().

Enumerator
ERROR 

An error has occurred.

APPLY 

The print settings should be stored.

CANCEL 

The print operation has been canceled, the print settings should not be stored.

IN_PROGRESS 

The print operation is not complete yet.

This value will only be returned when running asynchronously.