PaperSize.this

Creates a new GtkPaperSize object with the given parameters. Since 2.10

  1. this(GtkPaperSize* gtkPaperSize)
  2. this(string name)
  3. this(string ppdName, string ppdDisplayName, double width, double height)
  4. this(string name, string displayName, double width, double height, GtkUnit unit)
    class PaperSize
    this
    (
    string name
    ,,
    double width
    ,
    double height
    ,)
  5. this(KeyFile keyFile, string groupName)

Parameters

name string

the paper name

displayName string

the human-readable name

width double

the paper width, in units of unit

height double

the paper height, in units of unit

unit GtkUnit

the unit for width and height. not GTK_UNIT_NONE.

Throws

ConstructionException GTK+ fails to create the object.

Meta