/usr/share/guile-gnome-2/gnome/defs/printui.defs is in guile-gnome2-dev 2.16.2-1.1ubuntu1.
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | ;; -*- scheme -*-
;; object definitions ...
(define-object Dialog
(parent "GtkDialog")
(c-name "GnomePrintDialog")
(gtype-id "GNOME_TYPE_PRINT_DIALOG")
)
(define-object Preview
(parent "GnomePrintContext")
(c-name "GnomePrintPreview")
(gtype-id "GNOME_TYPE_PRINT_PREVIEW")
)
(define-object JobPreview
(parent "GtkWindow")
(c-name "GnomePrintJobPreview")
(gtype-id "GNOME_TYPE_PRINT_JOB_PREVIEW")
)
(define-object PaperSelector
(parent "GtkWidget")
(c-name "GnomePaperSelector")
(gtype-id "GNOME_TYPE_PAPER_SELECTOR")
)
(define-object FontSelection
(parent "GtkWidget")
(c-name "GnomeFontSelection")
(gtype-id "GNOME_TYPE_FONT_SELECTION")
)
(define-object FontPreview
(parent "GtkWidget")
(c-name "GnomeFontPreview")
(gtype-id "GNOME_TYPE_FONT_PREVIEW")
)
(define-object FontDialog
(parent "GtkWidget")
(c-name "GnomeFontDialog")
(gtype-id "GNOME_TYPE_FONT_DIALOG")
)
;; gnome-print-dialog.h
(define-function gnome_print_dialog_new
(is-constructor-of "GnomePrintDialog")
(c-name "gnome_print_dialog_new")
(return-type "GnomePrintDialog*")
(parameters
'("GnomePrintJob*" "job")
'("const-gchar*" "title")
'("gint" "flags" (default "0")))
)
(define-method get_copies
(of-object "GnomePrintDialog")
(c-name "gnome_print_dialog_get_copies")
(return-type "gint") ; actually return is copies(int), collate(int)
)
(define-method set_copies
(of-object "GnomePrintDialog")
(c-name "gnome_print_dialog_set_copies")
(return-type "none")
(parameters
'("gint" "copies")
'("gint" "collate"))
)
(define-method get_config
(of-object "GnomePrintDialog")
(c-name "gnome_print_dialog_get_config")
(return-type "GnomePrintConfig*")
)
(define-method get_range
(of-object "GnomePrintDialog")
(c-name "gnome_print_dialog_get_range")
(return-type "gint")
)
(define-method get_range_page
(of-object "GnomePrintDialog")
(c-name "gnome_print_dialog_get_range_page")
(return-type "gint")
)
;; gnome-print-preview.h
(define-function gnome_print_preview_new
(is-constructor-of "GnomePrintPreview")
(c-name "gnome_print_preview_new")
(return-type "GnomePrintContext*")
(parameters
'("GnomePrintConfig*" "config")
'("GnomeCanvas*" "canvas"))
)
;; gnome-print-job-preview.h
(define-function gnome_print_job_preview_new
(is-constructor-of "GnomePrintJobPreview")
(c-name "gnome_print_job_preview_new")
(return-type "GtkWidget*")
(parameters
'("GnomePrintJob*" "job")
'("const-gchar*" "title"))
)
;; gnome-print-paper-selector.h
(define-function gnome_print_paper_selector_new_with_flags
(is-constructor-of "GnomePaperSelector")
(c-name "gnome_paper_selector_new_with_flags")
(return-type "GtkWidget*")
(parameters
'("GnomePrintConfig*" "config")
'("gint" "flags" (default "0")))
)
;; gnome-font-dialog.h
(define-function gnome_font_selection_new
(is-constructor-of "GnomeFontSelection")
(c-name "gnome_font_selection_new")
(return-type "GtkWidget*")
)
(define-method get_face
(of-object "GnomeFontSelection")
(c-name "gnome_font_selection_get_face")
(return-type "GnomeFontFace*")
)
(define-method get_size
(of-object "GnomeFontSelection")
(c-name "gnome_font_selection_get_size")
(return-type "gdouble")
)
(define-method get_font
(of-object "GnomeFontSelection")
(c-name "gnome_font_selection_get_font")
(return-type "GnomeFont*")
)
(define-method set_font
(of-object "GnomeFontSelection")
(c-name "gnome_font_selection_set_font")
(return-type "none")
(parameters
'("GnomeFont*" "font"))
)
(define-function gnome_font_preview_new
(is-constructor-of "GnomeFontPreview")
(c-name "gnome_font_preview_new")
(return-type "GtkWidget*")
)
(define-method set_phrase
(of-object "GnomeFontPreview")
(c-name "gnome_font_preview_set_phrase")
(return-type "none")
(parameters
'("const-gchar*" "phrase"))
)
(define-method set_font
(of-object "GnomeFontPreview")
(c-name "gnome_font_preview_set_font")
(return-type "none")
(parameters
'("GnomeFont*" "font"))
)
(define-method set_color
(of-object "GnomeFontPreview")
(c-name "gnome_font_preview_set_color")
(return-type "none")
(parameters
'("guint32" "color"))
)
(define-function gnome_font_dialog_new
(is-constructor-of "GnomeFontDialog")
(c-name "gnome_font_dialog_new")
(return-type "GtkWidget*")
(parameters
'("const-gchar*" "title"))
)
(define-method get_fontsel
(of-object "GnomeFontDialog")
(c-name "gnome_font_dialog_get_fontsel")
(return-type "GtkWidget*")
)
(define-method get_preview
(of-object "GnomeFontDialog")
(c-name "gnome_font_dialog_get_preview")
(return-type "GtkWidget*")
)
|