RGtk2 (version 2.20.31)

gtkPaperSizeNewFromPpd: gtkPaperSizeNewFromPpd

Description

Creates a new GtkPaperSize object by using PPD information.

Usage

gtkPaperSizeNewFromPpd(ppd.name, ppd.display.name, width, height)

Arguments

ppd.name
a PPD paper name
ppd.display.name
the corresponding human-readable name
width
the paper width, in points
height
the paper height in points

Value

GtkPaperSize] a new GtkPaperSize,

Details

If ppd.name is not a recognized PPD paper name, ppd.display.name, width and height are used to construct a custom GtkPaperSize object. Since 2.10