Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

GtkPaperSize

GtkPaperSize


Description

Support for named paper sizes

Methods and Functions

gtkPaperSizeNew(name = NULL)
gtkPaperSizeNewFromPpd(ppd.name, ppd.display.name, width, height)
gtkPaperSizeNewCustom(name, display.name, width, height, unit)
gtkPaperSizeCopy(object)
gtkPaperSizeIsEqual(object, size2)
gtkPaperSizeGetPaperSizes(include.custom)
gtkPaperSizeGetName(object)
gtkPaperSizeGetDisplayName(object)
gtkPaperSizeGetPpdName(object)
gtkPaperSizeGetWidth(object, unit)
gtkPaperSizeGetHeight(object, unit)
gtkPaperSizeIsCustom(object)
gtkPaperSizeSetSize(object, width, height, unit)
gtkPaperSizeGetDefaultTopMargin(object, unit)
gtkPaperSizeGetDefaultBottomMargin(object, unit)
gtkPaperSizeGetDefaultLeftMargin(object, unit)
gtkPaperSizeGetDefaultRightMargin(object, unit)
gtkPaperSizeGetDefault()
gtkPaperSizeNewFromKeyFile(key.file, group.name, .errwarn = TRUE)
gtkPaperSizeToKeyFile(object, key.file, group.name)

Hierarchy

GBoxed
   +----GtkPaperSize

Detailed Description

GtkPaperSize handles paper sizes. It uses the standard called "PWG 5101.1-2002 PWG: Standard for Media Standardized Names"

to name the paper sizes (and to get the data for the page sizes). In addition to standard paper sizes, GtkPaperSize allows to construct custom paper sizes with arbitrary dimensions.

The GtkPaperSize object stores not only the dimensions (width and height) of a paper size and its name, it also provides default print margins.

Printing support has been added in GTK+ 2.10.

Structures

GtkPaperSize

undocumented

Enums and Flags

GtkUnit

undocumented

pixel

undocumented

points

undocumented

inch

undocumented

mm

undocumented

Author(s)

Derived by RGtkGen from GTK+ documentation

References

See Also


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.