/usr/share/pygtk/2.0/defs/gtkunixprint-base-types.defs is in python-gtk2-dev 2.24.0-3ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | ;; -*- scheme -*-
; object definitions ...
(define-object PageSetupUnixDialog
(in-module "Unixprint")
(parent "GtkDialog")
(c-name "GtkPageSetupUnixDialog")
(gtype-id "GTK_TYPE_PAGE_SETUP_UNIX_DIALOG")
)
(define-object PrintJob
(in-module "Unixprint")
(parent "GObject")
(c-name "GtkPrintJob")
(gtype-id "GTK_TYPE_PRINT_JOB")
)
(define-object PrintUnixDialog
(in-module "Unixprint")
(parent "GtkDialog")
(c-name "GtkPrintUnixDialog")
(gtype-id "GTK_TYPE_PRINT_UNIX_DIALOG")
)
(define-object Printer
(in-module "Unixprint")
(parent "GObject")
(c-name "GtkPrinter")
(gtype-id "GTK_TYPE_PRINTER")
)
;; Enumerations and flags ...
(define-flags PrintCapabilities
(in-module "Unixprint")
(c-name "GtkPrintCapabilities")
(gtype-id "GTK_TYPE_PRINT_CAPABILITIES")
(values
'("page-set" "GTK_PRINT_CAPABILITY_PAGE_SET")
'("copies" "GTK_PRINT_CAPABILITY_COPIES")
'("collate" "GTK_PRINT_CAPABILITY_COLLATE")
'("reverse" "GTK_PRINT_CAPABILITY_REVERSE")
'("scale" "GTK_PRINT_CAPABILITY_SCALE")
'("generate-pdf" "GTK_PRINT_CAPABILITY_GENERATE_PDF")
'("generate-ps" "GTK_PRINT_CAPABILITY_GENERATE_PS")
'("preview" "GTK_PRINT_CAPABILITY_PREVIEW")
)
)
|