Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::Gtk::PrintPaperSize Class Reference

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

#include <printpapersize.hh>

Inheritance diagram for Xfc::Gtk::PrintPaperSize:
Xfc::G::Object Xfc::G::TypeInstance Xfc::Trackable

List of all members.


Detailed Description

A PageSetup object stores the page size, orientation and margins.

The idea is that you can get one of these from the page setup dialog and then pass it to the PrintOperation when printing. The benefit of splitting this out of the PrintSettings is that these affect the actual layout of the page, and thus need to be set long before user prints.

The margins specified in this object are the "print margins", i.e. the parts of the page that the printer cannot print on. These are different from the layout margins that a word processor uses; they are typically used to determine the minimal size for the layout margins.

To obtain a PageSetup use gtk_page_setup_new() to get the defaults, or use run_page_setup_dialog() to show the page setup dialog and receive the resulting page setup.


The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3