gi-gtk-0.3.18.14: 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

newtype PaperSize Source

Instances

BoxedObject PaperSize 
((~) * signature (KeyFile -> Text -> m ()), MonadIO m) => MethodInfo * PaperSizeToKeyFileMethodInfo PaperSize signature 
((~) * signature (Double -> Double -> Unit -> m ()), MonadIO m) => MethodInfo * PaperSizeSetSizeMethodInfo PaperSize signature 
((~) * signature (m Bool), MonadIO m) => MethodInfo * PaperSizeIsIppMethodInfo PaperSize signature 
((~) * signature (PaperSize -> m Bool), MonadIO m) => MethodInfo * PaperSizeIsEqualMethodInfo PaperSize signature 
((~) * signature (m Bool), MonadIO m) => MethodInfo * PaperSizeIsCustomMethodInfo PaperSize signature 
((~) * signature (Unit -> m Double), MonadIO m) => MethodInfo * PaperSizeGetWidthMethodInfo PaperSize signature 
((~) * signature (m Text), MonadIO m) => MethodInfo * PaperSizeGetPpdNameMethodInfo PaperSize signature 
((~) * signature (m Text), MonadIO m) => MethodInfo * PaperSizeGetNameMethodInfo PaperSize signature 
((~) * signature (Unit -> m Double), MonadIO m) => MethodInfo * PaperSizeGetHeightMethodInfo PaperSize signature 
((~) * signature (m Text), MonadIO m) => MethodInfo * PaperSizeGetDisplayNameMethodInfo PaperSize signature 
((~) * signature (Unit -> m Double), MonadIO m) => MethodInfo * PaperSizeGetDefaultTopMarginMethodInfo PaperSize signature 
((~) * signature (Unit -> m Double), MonadIO m) => MethodInfo * PaperSizeGetDefaultRightMarginMethodInfo PaperSize signature 
((~) * signature (Unit -> m Double), MonadIO m) => MethodInfo * PaperSizeGetDefaultLeftMarginMethodInfo PaperSize signature 
((~) * signature (Unit -> m Double), MonadIO m) => MethodInfo * PaperSizeGetDefaultBottomMarginMethodInfo PaperSize signature 
((~) * signature (m ()), MonadIO m) => MethodInfo * PaperSizeFreeMethodInfo PaperSize signature 
((~) * signature (m PaperSize), MonadIO m) => MethodInfo * PaperSizeCopyMethodInfo PaperSize signature 
((~) * info (ResolvePaperSizeMethod t PaperSize), MethodInfo * info PaperSize p) => IsLabelProxy t (PaperSize -> p) 
type AttributeList PaperSize 

Methods

paperSizeCopy

data PaperSizeCopyMethodInfo Source

Instances

((~) * signature (m PaperSize), MonadIO m) => MethodInfo * PaperSizeCopyMethodInfo PaperSize signature 

paperSizeFree

data PaperSizeFreeMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m) => MethodInfo * PaperSizeFreeMethodInfo PaperSize signature 

paperSizeGetDefault

paperSizeGetDefaultBottomMargin

paperSizeGetDefaultLeftMargin

paperSizeGetDefaultRightMargin

paperSizeGetDefaultTopMargin

paperSizeGetDisplayName

paperSizeGetHeight

paperSizeGetName

data PaperSizeGetNameMethodInfo Source

Instances

((~) * signature (m Text), MonadIO m) => MethodInfo * PaperSizeGetNameMethodInfo PaperSize signature 

paperSizeGetPaperSizes

paperSizeGetPpdName

paperSizeGetWidth

data PaperSizeGetWidthMethodInfo Source

Instances

((~) * signature (Unit -> m Double), MonadIO m) => MethodInfo * PaperSizeGetWidthMethodInfo PaperSize signature 

paperSizeIsCustom

data PaperSizeIsCustomMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m) => MethodInfo * PaperSizeIsCustomMethodInfo PaperSize signature 

paperSizeIsEqual

data PaperSizeIsEqualMethodInfo Source

Instances

((~) * signature (PaperSize -> m Bool), MonadIO m) => MethodInfo * PaperSizeIsEqualMethodInfo PaperSize signature 

paperSizeIsIpp

data PaperSizeIsIppMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m) => MethodInfo * PaperSizeIsIppMethodInfo PaperSize signature 

paperSizeNew

paperSizeNewCustom

paperSizeNewFromIpp

paperSizeNewFromKeyFile

paperSizeNewFromPpd

paperSizeSetSize

data PaperSizeSetSizeMethodInfo Source

Instances

((~) * signature (Double -> Double -> Unit -> m ()), MonadIO m) => MethodInfo * PaperSizeSetSizeMethodInfo PaperSize signature 

paperSizeToKeyFile

data PaperSizeToKeyFileMethodInfo Source

Instances

((~) * signature (KeyFile -> Text -> m ()), MonadIO m) => MethodInfo * PaperSizeToKeyFileMethodInfo PaperSize signature