Sets our main struct and passes it to the parent class
Creates a new GtkPaperSize object by parsing a PWG 5101.1-2002 paper name. If name is NULL, the default paper size is returned, see gtk_paper_size_get_default(). Since 2.10
Creates a new GtkPaperSize object by using PPD information. 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
Creates a new GtkPaperSize object with the given parameters. Since 2.10
Reads a paper size from the group group_name in the key file key_file. Since 2.12
Copies an existing GtkPaperSize. Since 2.10
Free the given GtkPaperSize object. Since 2.10
Gets the default bottom margin for the GtkPaperSize. Since 2.10
Gets the default left margin for the GtkPaperSize. Since 2.10
Gets the default right margin for the GtkPaperSize. Since 2.10
Gets the default top margin for the GtkPaperSize. Since 2.10
Gets the human-readable name of the GtkPaperSize. Since 2.10
Gets the paper height of the GtkPaperSize, in units of unit. Since 2.10
Gets the name of the GtkPaperSize. Since 2.10
Gets the PPD name of the GtkPaperSize, which may be NULL. Since 2.10
the main Gtk struct as a void*
Gets the paper width of the GtkPaperSize, in units of unit. Since 2.10
Returns TRUE if size is not a standard paper size.
Compares two GtkPaperSize objects. Since 2.10
Changes the dimensions of a size to width x height. Since 2.10
This function adds the paper size from size to key_file. Since 2.12
Returns the name of the default paper size, which depends on the current locale. Since 2.10
Creates a list of known paper sizes. Since 2.12
the main Gtk struct
Provide a copy of a boxed structure src_boxed which is of type boxed_type.
Free the boxed structure boxed which is of type boxed_type.
This function creates a new G_TYPE_BOXED derived type id for a new boxed type with name name. Boxed type handling functions have to be provided to copy and free opaque boxed structures of this type.
Creates a new G_TYPE_POINTER derived type id for a new pointer type with name name.
GtkPaperSize handles paper sizes. It uses the standard called "PWG 5101.1-2002 PWG: Standard for Media Standardized Names" 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.
Printing support has been added in GTK+ 2.10.