Companion
object Companion
Functions
Link copied to clipboard
Returns the name of the default paper size, which depends on the current locale.
Link copied to clipboard
Creates a list of known paper sizes.
Link copied to clipboard
Creates a new GtkPaperSize
object by parsing a PWG 5101.1-2002 paper name.
Link copied to clipboard
Deserialize a paper size from a GVariant
.
Link copied to clipboard
fun newFromIpp(ippName: String, width: <Error class: unknown class>, height: <Error class: unknown class>): PaperSize
Creates a new GtkPaperSize
object by using IPP information.
Link copied to clipboard
fun newFromKeyFile(keyFile: <Error class: unknown class>, groupName: String? = null): <Error class: unknown class><PaperSize>
Reads a paper size from the group @group_name in the key file
Link copied to clipboard
fun newFromPpd(ppdName: String, ppdDisplayName: String, width: <Error class: unknown class>, height: <Error class: unknown class>): PaperSize
Creates a new GtkPaperSize
object by using PPD information.