Package: gtk

Function gtk:paper-size-new-from-ppd

Lambda List

gtk:paper-size-new-from-ppd (name &optional displayname width height)

Arguments

name -- a string for the PPD paper name
displayname -- a string for the corresponding human readable name
width -- a number coerced to a double float for the paper width, in points
height -- a number coerced to a double float for the paper height, in points

Return Value

The new gtk:paper-size instance.

Details

Creates a new gtk:paper-size instance by using PPD information. If the name argument is not a recognized PPD paper name, the displayname, width and height arguments are used to construct a custom gtk:paper-size instance.
 

See also

2025-1-6