gi-gtk-0.3.16.12: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Structs.PaperSize

Contents

Description

GtkPaperSize handles paper sizes. It uses the standard called [PWG 5101.1-2002 PWG: Standard for Media Standardized Names](http:/www.pwg.orgstandards.html) 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][print-margins].

Printing support has been added in GTK+ 2.10.

Synopsis

Exported types

Methods

paperSizeCopy

paperSizeFree

paperSizeGetDefaultBottomMargin

paperSizeGetDefaultLeftMargin

paperSizeGetDefaultRightMargin

paperSizeGetDefaultTopMargin

paperSizeGetDisplayName

paperSizeGetHeight

paperSizeGetName

paperSizeGetPpdName

paperSizeGetWidth

paperSizeIsCustom

paperSizeIsEqual

paperSizeIsIpp

paperSizeNew

paperSizeNewCustom

paperSizeNewFromIpp

paperSizeNewFromKeyFile

paperSizeNewFromPpd

paperSizeSetSize

paperSizeToKeyFile