Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXPrintDialog Class Reference

Printer selection dialog.

#include <FXPrintDialog.h>

Inheritance diagram for FX::FXPrintDialog:

FX::FXDialogBox FX::FXTopWindow FX::FXShell FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Types

enum  {
  ID_TO_PRINTER = FXDialogBox::ID_LAST,
  ID_TO_FILE,
  ID_PRINTER_NAME,
  ID_FILE_NAME,
  ID_LANDSCAPE,
  ID_PORTRAIT,
  ID_MEDIA,
  ID_COLLATE_NORMAL,
  ID_COLLATE_REVERSED,
  ID_PAGES_ALL,
  ID_PAGES_EVEN,
  ID_PAGES_ODD,
  ID_PAGES_RANGE,
  ID_PAGES_FIRST,
  ID_PAGES_LAST,
  ID_BROWSE_FILE,
  ID_PROPERTIES,
  ID_COLOR_PRINTER,
  ID_GRAY_PRINTER,
  ID_NUM_COPIES
}

Public Methods

 FXPrintDialog (FXWindow *owner, const FXString &name, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
 Construct print dialog.

virtual void create ()
 Create dialog.

void setPrinter (const FXPrinter &pr)
 Set printer info.

void getPrinter (FXPrinter &pr)
 Get printer info.

virtual void save (FXStream &store) const
 Save dialog to a stream.

virtual void load (FXStream &store)
 Load dialog from a stream.

virtual ~FXPrintDialog ()
 Destructor.