@girs/evinceview-3.0 3.0.0-3.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2283 @@
1
+
2
+ /*
3
+ * Type Definitions for Gjs (https://gjs.guide/)
4
+ *
5
+ * These type definitions are automatically generated, do not edit them by hand.
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
7
+ */
8
+ /**
9
+ * EvinceView-3.0
10
+ */
11
+
12
+ import type Gtk from '@girs/gtk-3.0';
13
+ import type xlib from '@girs/xlib-2.0';
14
+ import type Gdk from '@girs/gdk-3.0';
15
+ import type cairo from '@girs/cairo-1.0';
16
+ import type Pango from '@girs/pango-1.0';
17
+ import type HarfBuzz from '@girs/harfbuzz-0.0';
18
+ import type freetype2 from '@girs/freetype2-2.0';
19
+ import type GObject from '@girs/gobject-2.0';
20
+ import type GLib from '@girs/glib-2.0';
21
+ import type Gio from '@girs/gio-2.0';
22
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
23
+ import type GModule from '@girs/gmodule-2.0';
24
+ import type Atk from '@girs/atk-1.0';
25
+ import type EvinceDocument from '@girs/evincedocument-3.0';
26
+
27
+ export namespace EvinceView {
28
+
29
+ enum JobPriority {
30
+ PRIORITY_URGENT,
31
+ PRIORITY_HIGH,
32
+ PRIORITY_LOW,
33
+ PRIORITY_NONE,
34
+ N_PRIORITIES,
35
+ }
36
+ enum JobRunMode {
37
+ THREAD,
38
+ MAIN_LOOP,
39
+ }
40
+ enum JobThumbnailFormat {
41
+ PIXBUF,
42
+ SURFACE,
43
+ }
44
+ enum PageLayout {
45
+ SINGLE,
46
+ DUAL,
47
+ AUTOMATIC,
48
+ }
49
+ enum SizingMode {
50
+ /**
51
+ * Since: 3.8
52
+ */
53
+ FIT_PAGE,
54
+ /**
55
+ * Same as %EV_SIZING_FIT_PAGE. Deprecated:
56
+ */
57
+ BEST_FIT,
58
+ FIT_WIDTH,
59
+ FREE,
60
+ /**
61
+ * Since: 3.8
62
+ */
63
+ AUTOMATIC,
64
+ }
65
+ enum JobPageDataFlags {
66
+ NONE,
67
+ LINKS,
68
+ TEXT,
69
+ TEXT_MAPPING,
70
+ TEXT_LAYOUT,
71
+ TEXT_ATTRS,
72
+ TEXT_LOG_ATTRS,
73
+ IMAGES,
74
+ FORMS,
75
+ ANNOTS,
76
+ MEDIA,
77
+ ALL,
78
+ }
79
+ const STOCK_ANNOT_SQUIGGLY: string | null
80
+ const STOCK_ANNOT_TEXT: string | null
81
+ const STOCK_ATTACHMENT: string | null
82
+ const STOCK_CLOSE: string | null
83
+ const STOCK_FIND_UNSUPPORTED: string | null
84
+ const STOCK_INVERTED_COLORS: string | null
85
+ const STOCK_OUTLINE: string | null
86
+ const STOCK_RESIZE_SE: string | null
87
+ const STOCK_RESIZE_SW: string | null
88
+ const STOCK_ROTATE_LEFT: string | null
89
+ const STOCK_ROTATE_RIGHT: string | null
90
+ const STOCK_RUN_PRESENTATION: string | null
91
+ const STOCK_SEND_TO: string | null
92
+ const STOCK_VIEW_CONTINUOUS: string | null
93
+ const STOCK_VIEW_DUAL: string | null
94
+ const STOCK_VIEW_SIDEBAR: string | null
95
+ const STOCK_VISIBLE: string | null
96
+ const STOCK_ZOOM: string | null
97
+ const STOCK_ZOOM_PAGE: string | null
98
+ const STOCK_ZOOM_WIDTH: string | null
99
+ /**
100
+ * Creates a new icon factory, adding the base stock icons to it.
101
+ */
102
+ function stock_icons_init(): void
103
+ function stock_icons_set_screen(screen: Gdk.Screen): void
104
+ function stock_icons_shutdown(): void
105
+ module DocumentModel {
106
+
107
+ // Signal callback interfaces
108
+
109
+ /**
110
+ * Signal callback interface for `page-changed`
111
+ */
112
+ interface PageChangedSignalCallback {
113
+ ($obj: DocumentModel, object: number, p0: number): void
114
+ }
115
+
116
+
117
+ // Constructor properties interface
118
+
119
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
120
+
121
+ // Own constructor properties of EvinceView-3.0.EvinceView.DocumentModel
122
+
123
+ continuous?: boolean | null
124
+ document?: EvinceDocument.Document | null
125
+ dual_odd_left?: boolean | null
126
+ dual_page?: boolean | null
127
+ fullscreen?: boolean | null
128
+ inverted_colors?: boolean | null
129
+ max_scale?: number | null
130
+ min_scale?: number | null
131
+ page?: number | null
132
+ page_layout?: PageLayout | null
133
+ rotation?: number | null
134
+ rtl?: boolean | null
135
+ scale?: number | null
136
+ sizing_mode?: SizingMode | null
137
+ }
138
+
139
+ }
140
+
141
+ interface DocumentModel {
142
+
143
+ // Own properties of EvinceView-3.0.EvinceView.DocumentModel
144
+
145
+ continuous: boolean
146
+ document: EvinceDocument.Document
147
+ dual_odd_left: boolean
148
+ dual_page: boolean
149
+ fullscreen: boolean
150
+ inverted_colors: boolean
151
+ max_scale: number
152
+ min_scale: number
153
+ page: number
154
+ page_layout: PageLayout
155
+ rotation: number
156
+ rtl: boolean
157
+ scale: number
158
+ sizing_mode: SizingMode
159
+
160
+ // Owm methods of EvinceView-3.0.EvinceView.DocumentModel
161
+
162
+ get_continuous(): boolean
163
+ /**
164
+ * Returns the #EvDocument referenced by the model.
165
+ * @returns a #EvDocument
166
+ */
167
+ get_document(): EvinceDocument.Document
168
+ get_dual_page(): boolean
169
+ get_dual_page_odd_pages_left(): boolean
170
+ get_fullscreen(): boolean
171
+ get_inverted_colors(): boolean
172
+ get_max_scale(): number
173
+ get_min_scale(): number
174
+ get_page(): number
175
+ get_page_layout(): PageLayout
176
+ get_rotation(): number
177
+ get_rtl(): boolean
178
+ get_scale(): number
179
+ get_sizing_mode(): SizingMode
180
+ set_continuous(continuous: boolean): void
181
+ set_document(document: EvinceDocument.Document): void
182
+ /**
183
+ * Sets the document model's page layout to %EV_PAGE_LAYOUT_SINGLE or
184
+ * %EV_PAGE_LAYOUT_DUAL.
185
+ * @param dual_page whether to enable dual page mode
186
+ */
187
+ set_dual_page(dual_page: boolean): void
188
+ set_dual_page_odd_pages_left(odd_left: boolean): void
189
+ set_fullscreen(fullscreen: boolean): void
190
+ set_inverted_colors(inverted_colors: boolean): void
191
+ set_max_scale(max_scale: number): void
192
+ set_min_scale(min_scale: number): void
193
+ set_page(page: number): void
194
+ set_page_by_label(page_label: string | null): void
195
+ /**
196
+ * Sets the document model's page layout to `layout`.
197
+ * @param layout a #EvPageLayout
198
+ */
199
+ set_page_layout(layout: PageLayout): void
200
+ set_rotation(rotation: number): void
201
+ set_rtl(rtl: boolean): void
202
+ set_scale(scale: number): void
203
+ set_sizing_mode(mode: SizingMode): void
204
+
205
+ // Own signals of EvinceView-3.0.EvinceView.DocumentModel
206
+
207
+ connect(sigName: "page-changed", callback: DocumentModel.PageChangedSignalCallback): number
208
+ connect_after(sigName: "page-changed", callback: DocumentModel.PageChangedSignalCallback): number
209
+ emit(sigName: "page-changed", object: number, p0: number, ...args: any[]): void
210
+
211
+ // Class property signals of EvinceView-3.0.EvinceView.DocumentModel
212
+
213
+ connect(sigName: "notify::continuous", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
214
+ connect_after(sigName: "notify::continuous", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
215
+ emit(sigName: "notify::continuous", ...args: any[]): void
216
+ connect(sigName: "notify::document", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
217
+ connect_after(sigName: "notify::document", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
218
+ emit(sigName: "notify::document", ...args: any[]): void
219
+ connect(sigName: "notify::dual-odd-left", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
220
+ connect_after(sigName: "notify::dual-odd-left", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
221
+ emit(sigName: "notify::dual-odd-left", ...args: any[]): void
222
+ connect(sigName: "notify::dual-page", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
223
+ connect_after(sigName: "notify::dual-page", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
224
+ emit(sigName: "notify::dual-page", ...args: any[]): void
225
+ connect(sigName: "notify::fullscreen", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
226
+ connect_after(sigName: "notify::fullscreen", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
227
+ emit(sigName: "notify::fullscreen", ...args: any[]): void
228
+ connect(sigName: "notify::inverted-colors", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
229
+ connect_after(sigName: "notify::inverted-colors", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
230
+ emit(sigName: "notify::inverted-colors", ...args: any[]): void
231
+ connect(sigName: "notify::max-scale", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
232
+ connect_after(sigName: "notify::max-scale", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
233
+ emit(sigName: "notify::max-scale", ...args: any[]): void
234
+ connect(sigName: "notify::min-scale", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
235
+ connect_after(sigName: "notify::min-scale", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
236
+ emit(sigName: "notify::min-scale", ...args: any[]): void
237
+ connect(sigName: "notify::page", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
238
+ connect_after(sigName: "notify::page", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
239
+ emit(sigName: "notify::page", ...args: any[]): void
240
+ connect(sigName: "notify::page-layout", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
241
+ connect_after(sigName: "notify::page-layout", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
242
+ emit(sigName: "notify::page-layout", ...args: any[]): void
243
+ connect(sigName: "notify::rotation", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
244
+ connect_after(sigName: "notify::rotation", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
245
+ emit(sigName: "notify::rotation", ...args: any[]): void
246
+ connect(sigName: "notify::rtl", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
247
+ connect_after(sigName: "notify::rtl", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
248
+ emit(sigName: "notify::rtl", ...args: any[]): void
249
+ connect(sigName: "notify::scale", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
250
+ connect_after(sigName: "notify::scale", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
251
+ emit(sigName: "notify::scale", ...args: any[]): void
252
+ connect(sigName: "notify::sizing-mode", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
253
+ connect_after(sigName: "notify::sizing-mode", callback: (($obj: DocumentModel, pspec: GObject.ParamSpec) => void)): number
254
+ emit(sigName: "notify::sizing-mode", ...args: any[]): void
255
+ connect(sigName: string, callback: (...args: any[]) => void): number
256
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
257
+ emit(sigName: string, ...args: any[]): void
258
+ disconnect(id: number): void
259
+ }
260
+
261
+ class DocumentModel extends GObject.Object {
262
+
263
+ // Own properties of EvinceView-3.0.EvinceView.DocumentModel
264
+
265
+ static name: string
266
+ static $gtype: GObject.GType<DocumentModel>
267
+
268
+ // Constructors of EvinceView-3.0.EvinceView.DocumentModel
269
+
270
+ constructor(config?: DocumentModel.ConstructorProperties)
271
+ constructor()
272
+ static new(): DocumentModel
273
+ static new_with_document(document: EvinceDocument.Document): DocumentModel
274
+ _init(config?: DocumentModel.ConstructorProperties): void
275
+ }
276
+
277
+ module Job {
278
+
279
+ // Signal callback interfaces
280
+
281
+ /**
282
+ * Signal callback interface for `cancelled`
283
+ */
284
+ interface CancelledSignalCallback {
285
+ ($obj: Job): void
286
+ }
287
+
288
+ /**
289
+ * Signal callback interface for `finished`
290
+ */
291
+ interface FinishedSignalCallback {
292
+ ($obj: Job): void
293
+ }
294
+
295
+
296
+ // Constructor properties interface
297
+
298
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
299
+ }
300
+
301
+ }
302
+
303
+ interface Job {
304
+
305
+ // Own fields of EvinceView-3.0.EvinceView.Job
306
+
307
+ parent: GObject.Object
308
+ document: EvinceDocument.Document
309
+ run_mode: JobRunMode
310
+ cancelled: number
311
+ finished: number
312
+ failed: number
313
+ error: GLib.Error
314
+ cancellable: Gio.Cancellable
315
+ idle_finished_id: number
316
+ idle_cancelled_id: number
317
+
318
+ // Owm methods of EvinceView-3.0.EvinceView.Job
319
+
320
+ cancel(): void
321
+ get_run_mode(): JobRunMode
322
+ is_failed(): boolean
323
+ is_finished(): boolean
324
+ run(): boolean
325
+ scheduler_push_job(priority: JobPriority): void
326
+ scheduler_update_job(priority: JobPriority): void
327
+ set_run_mode(run_mode: JobRunMode): void
328
+ succeeded(): void
329
+
330
+ // Own virtual methods of EvinceView-3.0.EvinceView.Job
331
+
332
+ vfunc_cancelled(): void
333
+ vfunc_finished(): void
334
+ vfunc_run(): boolean
335
+
336
+ // Own signals of EvinceView-3.0.EvinceView.Job
337
+
338
+ connect(sigName: "cancelled", callback: Job.CancelledSignalCallback): number
339
+ connect_after(sigName: "cancelled", callback: Job.CancelledSignalCallback): number
340
+ emit(sigName: "cancelled", ...args: any[]): void
341
+ connect(sigName: "finished", callback: Job.FinishedSignalCallback): number
342
+ connect_after(sigName: "finished", callback: Job.FinishedSignalCallback): number
343
+ emit(sigName: "finished", ...args: any[]): void
344
+
345
+ // Class property signals of EvinceView-3.0.EvinceView.Job
346
+
347
+ connect(sigName: string, callback: (...args: any[]) => void): number
348
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
349
+ emit(sigName: string, ...args: any[]): void
350
+ disconnect(id: number): void
351
+ }
352
+
353
+ class Job extends GObject.Object {
354
+
355
+ // Own properties of EvinceView-3.0.EvinceView.Job
356
+
357
+ static name: string
358
+ static $gtype: GObject.GType<Job>
359
+
360
+ // Constructors of EvinceView-3.0.EvinceView.Job
361
+
362
+ constructor(config?: Job.ConstructorProperties)
363
+ _init(config?: Job.ConstructorProperties): void
364
+ static scheduler_get_running_thread_job(): Job
365
+ /**
366
+ * Synchronously waits until all jobs are done.
367
+ * Remember that main loop is not running already probably.
368
+ */
369
+ static scheduler_wait(): void
370
+ }
371
+
372
+ module JobAnnots {
373
+
374
+ // Constructor properties interface
375
+
376
+ interface ConstructorProperties extends Job.ConstructorProperties {
377
+ }
378
+
379
+ }
380
+
381
+ interface JobAnnots {
382
+
383
+ // Own fields of EvinceView-3.0.EvinceView.JobAnnots
384
+
385
+ parent: Job & GObject.Object
386
+ annots: any[]
387
+
388
+ // Class property signals of EvinceView-3.0.EvinceView.JobAnnots
389
+
390
+ connect(sigName: string, callback: (...args: any[]) => void): number
391
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
392
+ emit(sigName: string, ...args: any[]): void
393
+ disconnect(id: number): void
394
+ }
395
+
396
+ class JobAnnots extends Job {
397
+
398
+ // Own properties of EvinceView-3.0.EvinceView.JobAnnots
399
+
400
+ static name: string
401
+ static $gtype: GObject.GType<JobAnnots>
402
+
403
+ // Constructors of EvinceView-3.0.EvinceView.JobAnnots
404
+
405
+ constructor(config?: JobAnnots.ConstructorProperties)
406
+ constructor(document: EvinceDocument.Document)
407
+ static new(document: EvinceDocument.Document): JobAnnots
408
+ _init(config?: JobAnnots.ConstructorProperties): void
409
+ }
410
+
411
+ module JobAttachments {
412
+
413
+ // Constructor properties interface
414
+
415
+ interface ConstructorProperties extends Job.ConstructorProperties {
416
+ }
417
+
418
+ }
419
+
420
+ interface JobAttachments {
421
+
422
+ // Own fields of EvinceView-3.0.EvinceView.JobAttachments
423
+
424
+ parent: Job & GObject.Object
425
+ attachments: any[]
426
+
427
+ // Class property signals of EvinceView-3.0.EvinceView.JobAttachments
428
+
429
+ connect(sigName: string, callback: (...args: any[]) => void): number
430
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
431
+ emit(sigName: string, ...args: any[]): void
432
+ disconnect(id: number): void
433
+ }
434
+
435
+ class JobAttachments extends Job {
436
+
437
+ // Own properties of EvinceView-3.0.EvinceView.JobAttachments
438
+
439
+ static name: string
440
+ static $gtype: GObject.GType<JobAttachments>
441
+
442
+ // Constructors of EvinceView-3.0.EvinceView.JobAttachments
443
+
444
+ constructor(config?: JobAttachments.ConstructorProperties)
445
+ constructor(document: EvinceDocument.Document)
446
+ static new(document: EvinceDocument.Document): JobAttachments
447
+ _init(config?: JobAttachments.ConstructorProperties): void
448
+ }
449
+
450
+ module JobExport {
451
+
452
+ // Constructor properties interface
453
+
454
+ interface ConstructorProperties extends Job.ConstructorProperties {
455
+ }
456
+
457
+ }
458
+
459
+ interface JobExport {
460
+
461
+ // Own fields of EvinceView-3.0.EvinceView.JobExport
462
+
463
+ parent: Job & GObject.Object
464
+ page: number
465
+ rc: EvinceDocument.RenderContext
466
+
467
+ // Owm methods of EvinceView-3.0.EvinceView.JobExport
468
+
469
+ set_page(page: number): void
470
+
471
+ // Class property signals of EvinceView-3.0.EvinceView.JobExport
472
+
473
+ connect(sigName: string, callback: (...args: any[]) => void): number
474
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
475
+ emit(sigName: string, ...args: any[]): void
476
+ disconnect(id: number): void
477
+ }
478
+
479
+ class JobExport extends Job {
480
+
481
+ // Own properties of EvinceView-3.0.EvinceView.JobExport
482
+
483
+ static name: string
484
+ static $gtype: GObject.GType<JobExport>
485
+
486
+ // Constructors of EvinceView-3.0.EvinceView.JobExport
487
+
488
+ constructor(config?: JobExport.ConstructorProperties)
489
+ constructor(document: EvinceDocument.Document)
490
+ static new(document: EvinceDocument.Document): JobExport
491
+ _init(config?: JobExport.ConstructorProperties): void
492
+ }
493
+
494
+ module JobFind {
495
+
496
+ // Signal callback interfaces
497
+
498
+ /**
499
+ * Signal callback interface for `updated`
500
+ */
501
+ interface UpdatedSignalCallback {
502
+ ($obj: JobFind, object: number): void
503
+ }
504
+
505
+
506
+ // Constructor properties interface
507
+
508
+ interface ConstructorProperties extends Job.ConstructorProperties {
509
+ }
510
+
511
+ }
512
+
513
+ interface JobFind {
514
+
515
+ // Own fields of EvinceView-3.0.EvinceView.JobFind
516
+
517
+ parent: Job & GObject.Object
518
+ start_page: number
519
+ current_page: number
520
+ n_pages: number
521
+ pages: any[]
522
+ text: string | null
523
+ case_sensitive: boolean
524
+ has_results: boolean
525
+ options: EvinceDocument.FindOptions
526
+
527
+ // Owm methods of EvinceView-3.0.EvinceView.JobFind
528
+
529
+ /**
530
+ * This is similar to ev_job_find_get_n_results() but it takes
531
+ * care to treat any multi-line matches as being only one result.
532
+ * @param page number of the page we want to count its match results.
533
+ * @returns total number of match results in @page
534
+ */
535
+ get_n_main_results(page: number): number
536
+ get_n_results(pages: number): number
537
+ get_options(): EvinceDocument.FindOptions
538
+ get_progress(): number
539
+ set_options(options: EvinceDocument.FindOptions): void
540
+
541
+ // Own virtual methods of EvinceView-3.0.EvinceView.JobFind
542
+
543
+ vfunc_updated(page: number): void
544
+
545
+ // Own signals of EvinceView-3.0.EvinceView.JobFind
546
+
547
+ connect(sigName: "updated", callback: JobFind.UpdatedSignalCallback): number
548
+ connect_after(sigName: "updated", callback: JobFind.UpdatedSignalCallback): number
549
+ emit(sigName: "updated", object: number, ...args: any[]): void
550
+
551
+ // Class property signals of EvinceView-3.0.EvinceView.JobFind
552
+
553
+ connect(sigName: string, callback: (...args: any[]) => void): number
554
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
555
+ emit(sigName: string, ...args: any[]): void
556
+ disconnect(id: number): void
557
+ }
558
+
559
+ class JobFind extends Job {
560
+
561
+ // Own properties of EvinceView-3.0.EvinceView.JobFind
562
+
563
+ static name: string
564
+ static $gtype: GObject.GType<JobFind>
565
+
566
+ // Constructors of EvinceView-3.0.EvinceView.JobFind
567
+
568
+ constructor(config?: JobFind.ConstructorProperties)
569
+ constructor(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string | null, case_sensitive: boolean)
570
+ static new(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string | null, case_sensitive: boolean): JobFind
571
+ _init(config?: JobFind.ConstructorProperties): void
572
+ }
573
+
574
+ module JobFonts {
575
+
576
+ // Signal callback interfaces
577
+
578
+ /**
579
+ * Signal callback interface for `updated`
580
+ */
581
+ interface UpdatedSignalCallback {
582
+ ($obj: JobFonts, object: number): void
583
+ }
584
+
585
+
586
+ // Constructor properties interface
587
+
588
+ interface ConstructorProperties extends Job.ConstructorProperties {
589
+ }
590
+
591
+ }
592
+
593
+ interface JobFonts {
594
+
595
+ // Own fields of EvinceView-3.0.EvinceView.JobFonts
596
+
597
+ parent: Job & GObject.Object
598
+ scan_completed: boolean
599
+
600
+ // Own virtual methods of EvinceView-3.0.EvinceView.JobFonts
601
+
602
+ vfunc_updated(progress: number): void
603
+
604
+ // Own signals of EvinceView-3.0.EvinceView.JobFonts
605
+
606
+ connect(sigName: "updated", callback: JobFonts.UpdatedSignalCallback): number
607
+ connect_after(sigName: "updated", callback: JobFonts.UpdatedSignalCallback): number
608
+ emit(sigName: "updated", object: number, ...args: any[]): void
609
+
610
+ // Class property signals of EvinceView-3.0.EvinceView.JobFonts
611
+
612
+ connect(sigName: string, callback: (...args: any[]) => void): number
613
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
614
+ emit(sigName: string, ...args: any[]): void
615
+ disconnect(id: number): void
616
+ }
617
+
618
+ class JobFonts extends Job {
619
+
620
+ // Own properties of EvinceView-3.0.EvinceView.JobFonts
621
+
622
+ static name: string
623
+ static $gtype: GObject.GType<JobFonts>
624
+
625
+ // Constructors of EvinceView-3.0.EvinceView.JobFonts
626
+
627
+ constructor(config?: JobFonts.ConstructorProperties)
628
+ constructor(document: EvinceDocument.Document)
629
+ static new(document: EvinceDocument.Document): JobFonts
630
+ _init(config?: JobFonts.ConstructorProperties): void
631
+ }
632
+
633
+ module JobLayers {
634
+
635
+ // Constructor properties interface
636
+
637
+ interface ConstructorProperties extends Job.ConstructorProperties {
638
+ }
639
+
640
+ }
641
+
642
+ interface JobLayers {
643
+
644
+ // Own fields of EvinceView-3.0.EvinceView.JobLayers
645
+
646
+ parent: Job & GObject.Object
647
+ model: Gtk.TreeModel
648
+
649
+ // Class property signals of EvinceView-3.0.EvinceView.JobLayers
650
+
651
+ connect(sigName: string, callback: (...args: any[]) => void): number
652
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
653
+ emit(sigName: string, ...args: any[]): void
654
+ disconnect(id: number): void
655
+ }
656
+
657
+ class JobLayers extends Job {
658
+
659
+ // Own properties of EvinceView-3.0.EvinceView.JobLayers
660
+
661
+ static name: string
662
+ static $gtype: GObject.GType<JobLayers>
663
+
664
+ // Constructors of EvinceView-3.0.EvinceView.JobLayers
665
+
666
+ constructor(config?: JobLayers.ConstructorProperties)
667
+ constructor(document: EvinceDocument.Document)
668
+ static new(document: EvinceDocument.Document): JobLayers
669
+ _init(config?: JobLayers.ConstructorProperties): void
670
+ }
671
+
672
+ module JobLinks {
673
+
674
+ // Constructor properties interface
675
+
676
+ interface ConstructorProperties extends Job.ConstructorProperties {
677
+ }
678
+
679
+ }
680
+
681
+ interface JobLinks {
682
+
683
+ // Own fields of EvinceView-3.0.EvinceView.JobLinks
684
+
685
+ parent: Job & GObject.Object
686
+ model: Gtk.TreeModel
687
+
688
+ // Owm methods of EvinceView-3.0.EvinceView.JobLinks
689
+
690
+ /**
691
+ * Get a #GtkTreeModel loaded with the links
692
+ * @returns The #GtkTreeModel loaded
693
+ */
694
+ get_model(): Gtk.TreeModel
695
+
696
+ // Class property signals of EvinceView-3.0.EvinceView.JobLinks
697
+
698
+ connect(sigName: string, callback: (...args: any[]) => void): number
699
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
700
+ emit(sigName: string, ...args: any[]): void
701
+ disconnect(id: number): void
702
+ }
703
+
704
+ class JobLinks extends Job {
705
+
706
+ // Own properties of EvinceView-3.0.EvinceView.JobLinks
707
+
708
+ static name: string
709
+ static $gtype: GObject.GType<JobLinks>
710
+
711
+ // Constructors of EvinceView-3.0.EvinceView.JobLinks
712
+
713
+ constructor(config?: JobLinks.ConstructorProperties)
714
+ constructor(document: EvinceDocument.Document)
715
+ static new(document: EvinceDocument.Document): JobLinks
716
+ _init(config?: JobLinks.ConstructorProperties): void
717
+ }
718
+
719
+ module JobLoad {
720
+
721
+ // Constructor properties interface
722
+
723
+ interface ConstructorProperties extends Job.ConstructorProperties {
724
+ }
725
+
726
+ }
727
+
728
+ interface JobLoad {
729
+
730
+ // Own fields of EvinceView-3.0.EvinceView.JobLoad
731
+
732
+ parent: Job & GObject.Object
733
+ uri: string | null
734
+ password: string | null
735
+
736
+ // Owm methods of EvinceView-3.0.EvinceView.JobLoad
737
+
738
+ set_password(password: string | null): void
739
+ set_uri(uri: string | null): void
740
+
741
+ // Class property signals of EvinceView-3.0.EvinceView.JobLoad
742
+
743
+ connect(sigName: string, callback: (...args: any[]) => void): number
744
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
745
+ emit(sigName: string, ...args: any[]): void
746
+ disconnect(id: number): void
747
+ }
748
+
749
+ class JobLoad extends Job {
750
+
751
+ // Own properties of EvinceView-3.0.EvinceView.JobLoad
752
+
753
+ static name: string
754
+ static $gtype: GObject.GType<JobLoad>
755
+
756
+ // Constructors of EvinceView-3.0.EvinceView.JobLoad
757
+
758
+ constructor(config?: JobLoad.ConstructorProperties)
759
+ constructor(uri: string | null)
760
+ static new(uri: string | null): JobLoad
761
+ _init(config?: JobLoad.ConstructorProperties): void
762
+ }
763
+
764
+ module JobLoadFd {
765
+
766
+ // Constructor properties interface
767
+
768
+ interface ConstructorProperties extends Job.ConstructorProperties {
769
+ }
770
+
771
+ }
772
+
773
+ interface JobLoadFd {
774
+
775
+ // Own fields of EvinceView-3.0.EvinceView.JobLoadFd
776
+
777
+ parent: Job & GObject.Object
778
+ mime_type: string | null
779
+ password: string | null
780
+ fd: number
781
+ flags: EvinceDocument.DocumentLoadFlags
782
+
783
+ // Owm methods of EvinceView-3.0.EvinceView.JobLoadFd
784
+
785
+ /**
786
+ * Sets `fd` as the file descriptor in `job`. If duplicating `fd` fails,
787
+ * returns %FALSE with `error` filled in.
788
+ * @param fd a file descriptor
789
+ * @returns %TRUE if the file descriptor could be set
790
+ */
791
+ set_fd(fd: number): boolean
792
+ set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
793
+ set_mime_type(mime_type: string | null): void
794
+ set_password(password: string | null): void
795
+ /**
796
+ * Sets `fd` as the file descriptor in `job`.
797
+ * Note that `job` takes ownership of `fd;` you must not do anything
798
+ * with it afterwards.
799
+ * @param fd a file descriptor
800
+ */
801
+ take_fd(fd: number): void
802
+
803
+ // Class property signals of EvinceView-3.0.EvinceView.JobLoadFd
804
+
805
+ connect(sigName: string, callback: (...args: any[]) => void): number
806
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
807
+ emit(sigName: string, ...args: any[]): void
808
+ disconnect(id: number): void
809
+ }
810
+
811
+ /**
812
+ * A job class to load a #EvDocument from a file descriptor
813
+ * referring to a regular file.
814
+ * @class
815
+ */
816
+ class JobLoadFd extends Job {
817
+
818
+ // Own properties of EvinceView-3.0.EvinceView.JobLoadFd
819
+
820
+ static name: string
821
+ static $gtype: GObject.GType<JobLoadFd>
822
+
823
+ // Constructors of EvinceView-3.0.EvinceView.JobLoadFd
824
+
825
+ constructor(config?: JobLoadFd.ConstructorProperties)
826
+ /**
827
+ * Creates a new #EvJobLoadFd for `fd`. If duplicating `fd` fails,
828
+ * returns %NULL with `error` filled in.
829
+ * @constructor
830
+ * @param fd a file descriptor
831
+ * @param mime_type the mime type
832
+ * @param flags flags from #EvDocumentLoadFlags
833
+ * @returns the new #EvJobLoadFd, or %NULL
834
+ */
835
+ constructor(fd: number, mime_type: string | null, flags: EvinceDocument.DocumentLoadFlags)
836
+ /**
837
+ * Creates a new #EvJobLoadFd for `fd`. If duplicating `fd` fails,
838
+ * returns %NULL with `error` filled in.
839
+ * @constructor
840
+ * @param fd a file descriptor
841
+ * @param mime_type the mime type
842
+ * @param flags flags from #EvDocumentLoadFlags
843
+ * @returns the new #EvJobLoadFd, or %NULL
844
+ */
845
+ static new(fd: number, mime_type: string | null, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
846
+ static new_take(fd: number, mime_type: string | null, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
847
+ _init(config?: JobLoadFd.ConstructorProperties): void
848
+ }
849
+
850
+ module JobLoadGFile {
851
+
852
+ // Constructor properties interface
853
+
854
+ interface ConstructorProperties extends Job.ConstructorProperties {
855
+ }
856
+
857
+ }
858
+
859
+ interface JobLoadGFile {
860
+
861
+ // Own fields of EvinceView-3.0.EvinceView.JobLoadGFile
862
+
863
+ parent: Job & GObject.Object
864
+ password: string | null
865
+ gfile: Gio.File
866
+ flags: EvinceDocument.DocumentLoadFlags
867
+
868
+ // Owm methods of EvinceView-3.0.EvinceView.JobLoadGFile
869
+
870
+ set_gfile(gfile: Gio.File): void
871
+ set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
872
+ set_password(password: string | null): void
873
+
874
+ // Class property signals of EvinceView-3.0.EvinceView.JobLoadGFile
875
+
876
+ connect(sigName: string, callback: (...args: any[]) => void): number
877
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
878
+ emit(sigName: string, ...args: any[]): void
879
+ disconnect(id: number): void
880
+ }
881
+
882
+ /**
883
+ * A job class to load a #EvDocument from a #GFile.
884
+ * @class
885
+ */
886
+ class JobLoadGFile extends Job {
887
+
888
+ // Own properties of EvinceView-3.0.EvinceView.JobLoadGFile
889
+
890
+ static name: string
891
+ static $gtype: GObject.GType<JobLoadGFile>
892
+
893
+ // Constructors of EvinceView-3.0.EvinceView.JobLoadGFile
894
+
895
+ constructor(config?: JobLoadGFile.ConstructorProperties)
896
+ constructor(gfile: Gio.File, flags: EvinceDocument.DocumentLoadFlags)
897
+ static new(gfile: Gio.File, flags: EvinceDocument.DocumentLoadFlags): JobLoadGFile
898
+ _init(config?: JobLoadGFile.ConstructorProperties): void
899
+ }
900
+
901
+ module JobLoadStream {
902
+
903
+ // Constructor properties interface
904
+
905
+ interface ConstructorProperties extends Job.ConstructorProperties {
906
+ }
907
+
908
+ }
909
+
910
+ interface JobLoadStream {
911
+
912
+ // Own fields of EvinceView-3.0.EvinceView.JobLoadStream
913
+
914
+ parent: Job & GObject.Object
915
+ password: string | null
916
+ stream: Gio.InputStream
917
+ flags: EvinceDocument.DocumentLoadFlags
918
+
919
+ // Owm methods of EvinceView-3.0.EvinceView.JobLoadStream
920
+
921
+ set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
922
+ set_mime_type(mime_type: string | null): void
923
+ set_password(password: string | null): void
924
+ set_stream(stream: Gio.InputStream): void
925
+
926
+ // Class property signals of EvinceView-3.0.EvinceView.JobLoadStream
927
+
928
+ connect(sigName: string, callback: (...args: any[]) => void): number
929
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
930
+ emit(sigName: string, ...args: any[]): void
931
+ disconnect(id: number): void
932
+ }
933
+
934
+ /**
935
+ * A job class to load a #EvDocument from a #GInputStream.
936
+ * @class
937
+ */
938
+ class JobLoadStream extends Job {
939
+
940
+ // Own properties of EvinceView-3.0.EvinceView.JobLoadStream
941
+
942
+ static name: string
943
+ static $gtype: GObject.GType<JobLoadStream>
944
+
945
+ // Constructors of EvinceView-3.0.EvinceView.JobLoadStream
946
+
947
+ constructor(config?: JobLoadStream.ConstructorProperties)
948
+ constructor(stream: Gio.InputStream, flags: EvinceDocument.DocumentLoadFlags)
949
+ static new(stream: Gio.InputStream, flags: EvinceDocument.DocumentLoadFlags): JobLoadStream
950
+ _init(config?: JobLoadStream.ConstructorProperties): void
951
+ }
952
+
953
+ module JobPageData {
954
+
955
+ // Constructor properties interface
956
+
957
+ interface ConstructorProperties extends Job.ConstructorProperties {
958
+ }
959
+
960
+ }
961
+
962
+ interface JobPageData {
963
+
964
+ // Own fields of EvinceView-3.0.EvinceView.JobPageData
965
+
966
+ parent: Job & GObject.Object
967
+ page: number
968
+ flags: JobPageDataFlags
969
+ link_mapping: EvinceDocument.MappingList
970
+ image_mapping: EvinceDocument.MappingList
971
+ form_field_mapping: EvinceDocument.MappingList
972
+ annot_mapping: EvinceDocument.MappingList
973
+ media_mapping: EvinceDocument.MappingList
974
+ text_mapping: cairo.Region
975
+ text: string | null
976
+ text_layout: EvinceDocument.Rectangle
977
+ text_layout_length: number
978
+ text_attrs: Pango.AttrList
979
+ text_log_attrs: Pango.LogAttr
980
+ text_log_attrs_length: number
981
+
982
+ // Class property signals of EvinceView-3.0.EvinceView.JobPageData
983
+
984
+ connect(sigName: string, callback: (...args: any[]) => void): number
985
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
986
+ emit(sigName: string, ...args: any[]): void
987
+ disconnect(id: number): void
988
+ }
989
+
990
+ class JobPageData extends Job {
991
+
992
+ // Own properties of EvinceView-3.0.EvinceView.JobPageData
993
+
994
+ static name: string
995
+ static $gtype: GObject.GType<JobPageData>
996
+
997
+ // Constructors of EvinceView-3.0.EvinceView.JobPageData
998
+
999
+ constructor(config?: JobPageData.ConstructorProperties)
1000
+ constructor(document: EvinceDocument.Document, page: number, flags: JobPageDataFlags)
1001
+ static new(document: EvinceDocument.Document, page: number, flags: JobPageDataFlags): JobPageData
1002
+ _init(config?: JobPageData.ConstructorProperties): void
1003
+ }
1004
+
1005
+ module JobPrint {
1006
+
1007
+ // Constructor properties interface
1008
+
1009
+ interface ConstructorProperties extends Job.ConstructorProperties {
1010
+ }
1011
+
1012
+ }
1013
+
1014
+ interface JobPrint {
1015
+
1016
+ // Own fields of EvinceView-3.0.EvinceView.JobPrint
1017
+
1018
+ parent: Job & GObject.Object
1019
+ page: number
1020
+ cr: cairo.Context
1021
+
1022
+ // Owm methods of EvinceView-3.0.EvinceView.JobPrint
1023
+
1024
+ set_cairo(cr: cairo.Context): void
1025
+ set_page(page: number): void
1026
+
1027
+ // Class property signals of EvinceView-3.0.EvinceView.JobPrint
1028
+
1029
+ connect(sigName: string, callback: (...args: any[]) => void): number
1030
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1031
+ emit(sigName: string, ...args: any[]): void
1032
+ disconnect(id: number): void
1033
+ }
1034
+
1035
+ class JobPrint extends Job {
1036
+
1037
+ // Own properties of EvinceView-3.0.EvinceView.JobPrint
1038
+
1039
+ static name: string
1040
+ static $gtype: GObject.GType<JobPrint>
1041
+
1042
+ // Constructors of EvinceView-3.0.EvinceView.JobPrint
1043
+
1044
+ constructor(config?: JobPrint.ConstructorProperties)
1045
+ constructor(document: EvinceDocument.Document)
1046
+ static new(document: EvinceDocument.Document): JobPrint
1047
+ _init(config?: JobPrint.ConstructorProperties): void
1048
+ }
1049
+
1050
+ module JobRender {
1051
+
1052
+ // Constructor properties interface
1053
+
1054
+ interface ConstructorProperties extends Job.ConstructorProperties {
1055
+ }
1056
+
1057
+ }
1058
+
1059
+ interface JobRender {
1060
+
1061
+ // Own fields of EvinceView-3.0.EvinceView.JobRender
1062
+
1063
+ parent: Job & GObject.Object
1064
+ page: number
1065
+ rotation: number
1066
+ scale: number
1067
+ page_ready: boolean
1068
+ target_width: number
1069
+ target_height: number
1070
+ surface: cairo.Surface
1071
+ include_selection: boolean
1072
+ selection: cairo.Surface
1073
+ selection_region: cairo.Region
1074
+ selection_points: EvinceDocument.Rectangle
1075
+ selection_style: EvinceDocument.SelectionStyle
1076
+ base: Gdk.Color
1077
+ text: Gdk.Color
1078
+
1079
+ // Owm methods of EvinceView-3.0.EvinceView.JobRender
1080
+
1081
+ set_selection_info(selection_points: EvinceDocument.Rectangle, selection_style: EvinceDocument.SelectionStyle, text: Gdk.Color, base: Gdk.Color): void
1082
+
1083
+ // Class property signals of EvinceView-3.0.EvinceView.JobRender
1084
+
1085
+ connect(sigName: string, callback: (...args: any[]) => void): number
1086
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1087
+ emit(sigName: string, ...args: any[]): void
1088
+ disconnect(id: number): void
1089
+ }
1090
+
1091
+ class JobRender extends Job {
1092
+
1093
+ // Own properties of EvinceView-3.0.EvinceView.JobRender
1094
+
1095
+ static name: string
1096
+ static $gtype: GObject.GType<JobRender>
1097
+
1098
+ // Constructors of EvinceView-3.0.EvinceView.JobRender
1099
+
1100
+ constructor(config?: JobRender.ConstructorProperties)
1101
+ constructor(document: EvinceDocument.Document, page: number, rotation: number, scale: number, width: number, height: number)
1102
+ static new(document: EvinceDocument.Document, page: number, rotation: number, scale: number, width: number, height: number): JobRender
1103
+ _init(config?: JobRender.ConstructorProperties): void
1104
+ }
1105
+
1106
+ module JobSave {
1107
+
1108
+ // Constructor properties interface
1109
+
1110
+ interface ConstructorProperties extends Job.ConstructorProperties {
1111
+ }
1112
+
1113
+ }
1114
+
1115
+ interface JobSave {
1116
+
1117
+ // Own fields of EvinceView-3.0.EvinceView.JobSave
1118
+
1119
+ parent: Job & GObject.Object
1120
+ uri: string | null
1121
+ document_uri: string | null
1122
+
1123
+ // Class property signals of EvinceView-3.0.EvinceView.JobSave
1124
+
1125
+ connect(sigName: string, callback: (...args: any[]) => void): number
1126
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1127
+ emit(sigName: string, ...args: any[]): void
1128
+ disconnect(id: number): void
1129
+ }
1130
+
1131
+ class JobSave extends Job {
1132
+
1133
+ // Own properties of EvinceView-3.0.EvinceView.JobSave
1134
+
1135
+ static name: string
1136
+ static $gtype: GObject.GType<JobSave>
1137
+
1138
+ // Constructors of EvinceView-3.0.EvinceView.JobSave
1139
+
1140
+ constructor(config?: JobSave.ConstructorProperties)
1141
+ constructor(document: EvinceDocument.Document, uri: string | null, document_uri: string | null)
1142
+ static new(document: EvinceDocument.Document, uri: string | null, document_uri: string | null): JobSave
1143
+ _init(config?: JobSave.ConstructorProperties): void
1144
+ }
1145
+
1146
+ module JobThumbnail {
1147
+
1148
+ // Constructor properties interface
1149
+
1150
+ interface ConstructorProperties extends Job.ConstructorProperties {
1151
+ }
1152
+
1153
+ }
1154
+
1155
+ interface JobThumbnail {
1156
+
1157
+ // Own fields of EvinceView-3.0.EvinceView.JobThumbnail
1158
+
1159
+ parent: Job & GObject.Object
1160
+ page: number
1161
+ rotation: number
1162
+ scale: number
1163
+ target_width: number
1164
+ target_height: number
1165
+ thumbnail: GdkPixbuf.Pixbuf
1166
+ has_frame: boolean
1167
+ format: JobThumbnailFormat
1168
+ thumbnail_surface: cairo.Surface
1169
+
1170
+ // Owm methods of EvinceView-3.0.EvinceView.JobThumbnail
1171
+
1172
+ set_has_frame(has_frame: boolean): void
1173
+ /**
1174
+ * Set the desired output format for the generated thumbnail
1175
+ * @param format a #EvJobThumbnailFormat
1176
+ */
1177
+ set_output_format(format: JobThumbnailFormat): void
1178
+
1179
+ // Class property signals of EvinceView-3.0.EvinceView.JobThumbnail
1180
+
1181
+ connect(sigName: string, callback: (...args: any[]) => void): number
1182
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1183
+ emit(sigName: string, ...args: any[]): void
1184
+ disconnect(id: number): void
1185
+ }
1186
+
1187
+ class JobThumbnail extends Job {
1188
+
1189
+ // Own properties of EvinceView-3.0.EvinceView.JobThumbnail
1190
+
1191
+ static name: string
1192
+ static $gtype: GObject.GType<JobThumbnail>
1193
+
1194
+ // Constructors of EvinceView-3.0.EvinceView.JobThumbnail
1195
+
1196
+ constructor(config?: JobThumbnail.ConstructorProperties)
1197
+ constructor(document: EvinceDocument.Document, page: number, rotation: number, scale: number)
1198
+ static new(document: EvinceDocument.Document, page: number, rotation: number, scale: number): JobThumbnail
1199
+ static new_with_target_size(document: EvinceDocument.Document, page: number, rotation: number, target_width: number, target_height: number): JobThumbnail
1200
+ _init(config?: JobThumbnail.ConstructorProperties): void
1201
+ }
1202
+
1203
+ module PrintOperation {
1204
+
1205
+ // Signal callback interfaces
1206
+
1207
+ /**
1208
+ * Signal callback interface for `begin-print`
1209
+ */
1210
+ interface BeginPrintSignalCallback {
1211
+ ($obj: PrintOperation): void
1212
+ }
1213
+
1214
+ /**
1215
+ * Signal callback interface for `done`
1216
+ */
1217
+ interface DoneSignalCallback {
1218
+ ($obj: PrintOperation, object: Gtk.PrintOperationResult): void
1219
+ }
1220
+
1221
+ /**
1222
+ * Signal callback interface for `status-changed`
1223
+ */
1224
+ interface StatusChangedSignalCallback {
1225
+ ($obj: PrintOperation): void
1226
+ }
1227
+
1228
+
1229
+ // Constructor properties interface
1230
+
1231
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1232
+
1233
+ // Own constructor properties of EvinceView-3.0.EvinceView.PrintOperation
1234
+
1235
+ document?: EvinceDocument.Document | null
1236
+ }
1237
+
1238
+ }
1239
+
1240
+ interface PrintOperation {
1241
+
1242
+ // Own properties of EvinceView-3.0.EvinceView.PrintOperation
1243
+
1244
+ readonly document: EvinceDocument.Document
1245
+
1246
+ // Owm methods of EvinceView-3.0.EvinceView.PrintOperation
1247
+
1248
+ cancel(): void
1249
+ get_default_page_setup(): Gtk.PageSetup
1250
+ get_embed_page_setup(): boolean
1251
+ get_error(): void
1252
+ get_job_name(): string | null
1253
+ get_print_settings(): Gtk.PrintSettings
1254
+ get_progress(): number
1255
+ get_status(): string | null
1256
+ run(parent: Gtk.Window): void
1257
+ set_current_page(current_page: number): void
1258
+ set_default_page_setup(page_setup: Gtk.PageSetup): void
1259
+ set_embed_page_setup(embed: boolean): void
1260
+ set_job_name(job_name: string | null): void
1261
+ set_print_settings(print_settings: Gtk.PrintSettings): void
1262
+
1263
+ // Own signals of EvinceView-3.0.EvinceView.PrintOperation
1264
+
1265
+ connect(sigName: "begin-print", callback: PrintOperation.BeginPrintSignalCallback): number
1266
+ connect_after(sigName: "begin-print", callback: PrintOperation.BeginPrintSignalCallback): number
1267
+ emit(sigName: "begin-print", ...args: any[]): void
1268
+ connect(sigName: "done", callback: PrintOperation.DoneSignalCallback): number
1269
+ connect_after(sigName: "done", callback: PrintOperation.DoneSignalCallback): number
1270
+ emit(sigName: "done", object: Gtk.PrintOperationResult, ...args: any[]): void
1271
+ connect(sigName: "status-changed", callback: PrintOperation.StatusChangedSignalCallback): number
1272
+ connect_after(sigName: "status-changed", callback: PrintOperation.StatusChangedSignalCallback): number
1273
+ emit(sigName: "status-changed", ...args: any[]): void
1274
+
1275
+ // Class property signals of EvinceView-3.0.EvinceView.PrintOperation
1276
+
1277
+ connect(sigName: "notify::document", callback: (($obj: PrintOperation, pspec: GObject.ParamSpec) => void)): number
1278
+ connect_after(sigName: "notify::document", callback: (($obj: PrintOperation, pspec: GObject.ParamSpec) => void)): number
1279
+ emit(sigName: "notify::document", ...args: any[]): void
1280
+ connect(sigName: string, callback: (...args: any[]) => void): number
1281
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1282
+ emit(sigName: string, ...args: any[]): void
1283
+ disconnect(id: number): void
1284
+ }
1285
+
1286
+ class PrintOperation extends GObject.Object {
1287
+
1288
+ // Own properties of EvinceView-3.0.EvinceView.PrintOperation
1289
+
1290
+ static name: string
1291
+ static $gtype: GObject.GType<PrintOperation>
1292
+
1293
+ // Constructors of EvinceView-3.0.EvinceView.PrintOperation
1294
+
1295
+ constructor(config?: PrintOperation.ConstructorProperties)
1296
+ constructor(document: EvinceDocument.Document)
1297
+ static new(document: EvinceDocument.Document): PrintOperation
1298
+ _init(config?: PrintOperation.ConstructorProperties): void
1299
+ static exists_for_document(document: EvinceDocument.Document): boolean
1300
+ }
1301
+
1302
+ module View {
1303
+
1304
+ // Signal callback interfaces
1305
+
1306
+ /**
1307
+ * Signal callback interface for `activate`
1308
+ */
1309
+ interface ActivateSignalCallback {
1310
+ ($obj: View): void
1311
+ }
1312
+
1313
+ /**
1314
+ * Signal callback interface for `annot-added`
1315
+ */
1316
+ interface AnnotAddedSignalCallback {
1317
+ ($obj: View, object: EvinceDocument.Annotation): void
1318
+ }
1319
+
1320
+ /**
1321
+ * Signal callback interface for `annot-cancel-add`
1322
+ */
1323
+ interface AnnotCancelAddSignalCallback {
1324
+ ($obj: View): void
1325
+ }
1326
+
1327
+ /**
1328
+ * Signal callback interface for `annot-changed`
1329
+ */
1330
+ interface AnnotChangedSignalCallback {
1331
+ ($obj: View, object: EvinceDocument.Annotation): void
1332
+ }
1333
+
1334
+ /**
1335
+ * Signal callback interface for `annot-removed`
1336
+ */
1337
+ interface AnnotRemovedSignalCallback {
1338
+ ($obj: View, object: EvinceDocument.Annotation): void
1339
+ }
1340
+
1341
+ /**
1342
+ * Signal callback interface for `cursor-moved`
1343
+ */
1344
+ interface CursorMovedSignalCallback {
1345
+ ($obj: View, object: number, p0: number): void
1346
+ }
1347
+
1348
+ /**
1349
+ * Signal callback interface for `external-link`
1350
+ */
1351
+ interface ExternalLinkSignalCallback {
1352
+ ($obj: View, object: GObject.Object): void
1353
+ }
1354
+
1355
+ /**
1356
+ * Signal callback interface for `handle-link`
1357
+ */
1358
+ interface HandleLinkSignalCallback {
1359
+ ($obj: View, object: number, p0: GObject.Object): void
1360
+ }
1361
+
1362
+ /**
1363
+ * Signal callback interface for `layers-changed`
1364
+ */
1365
+ interface LayersChangedSignalCallback {
1366
+ ($obj: View): void
1367
+ }
1368
+
1369
+ /**
1370
+ * Signal callback interface for `move-cursor`
1371
+ */
1372
+ interface MoveCursorSignalCallback {
1373
+ ($obj: View, object: Gtk.MovementStep, p0: number, p1: boolean): boolean
1374
+ }
1375
+
1376
+ /**
1377
+ * Signal callback interface for `popup`
1378
+ */
1379
+ interface PopupSignalCallback {
1380
+ ($obj: View, object: any | null): void
1381
+ }
1382
+
1383
+ /**
1384
+ * Signal callback interface for `scroll`
1385
+ */
1386
+ interface ScrollSignalCallback {
1387
+ ($obj: View, object: Gtk.ScrollType, p0: Gtk.Orientation): void
1388
+ }
1389
+
1390
+ /**
1391
+ * Signal callback interface for `selection-changed`
1392
+ */
1393
+ interface SelectionChangedSignalCallback {
1394
+ ($obj: View): void
1395
+ }
1396
+
1397
+ /**
1398
+ * Signal callback interface for `sync-source`
1399
+ */
1400
+ interface SyncSourceSignalCallback {
1401
+ ($obj: View, object: EvinceDocument.SourceLink): void
1402
+ }
1403
+
1404
+
1405
+ // Constructor properties interface
1406
+
1407
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Scrollable.ConstructorProperties, Gtk.Container.ConstructorProperties {
1408
+ }
1409
+
1410
+ }
1411
+
1412
+ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
1413
+
1414
+ // Own properties of EvinceView-3.0.EvinceView.View
1415
+
1416
+ readonly can_zoom_in: boolean
1417
+ readonly can_zoom_out: boolean
1418
+ /**
1419
+ * Allows to implement a custom notification system.
1420
+ */
1421
+ readonly is_loading: boolean
1422
+
1423
+ // Owm methods of EvinceView-3.0.EvinceView.View
1424
+
1425
+ /**
1426
+ * Adds a Text Markup annotation (defaulting to a 'highlight' one) to
1427
+ * the currently selected text on the document.
1428
+ *
1429
+ * When the selected text spans more than one page, it will add a
1430
+ * corresponding annotation for each page that contains selected text.
1431
+ * @returns %TRUE if annotations were added successfully, %FALSE otherwise.
1432
+ */
1433
+ add_text_markup_annotation_for_selected_text(): boolean
1434
+ autoscroll_start(): void
1435
+ autoscroll_stop(): void
1436
+ begin_add_annotation(annot_type: EvinceDocument.AnnotationType): void
1437
+ cancel_add_annotation(): void
1438
+ copy(): void
1439
+ copy_link_address(action: EvinceDocument.LinkAction): void
1440
+ current_event_is_type(type: Gdk.EventType): boolean
1441
+ find_cancel(): void
1442
+ find_next(): void
1443
+ find_previous(): void
1444
+ /**
1445
+ * Restart the current search operation from the given `page`.
1446
+ * @param page a page index
1447
+ */
1448
+ find_restart(page: number): void
1449
+ find_search_changed(): void
1450
+ find_set_highlight_search(value: boolean): void
1451
+ /**
1452
+ * FIXME
1453
+ * @param page
1454
+ * @param result
1455
+ */
1456
+ find_set_result(page: number, result: number): void
1457
+ find_started(job: JobFind): void
1458
+ focus_annotation(annot_mapping: EvinceDocument.Mapping): void
1459
+ get_allow_links_change_zoom(): boolean
1460
+ get_enable_spellchecking(): boolean
1461
+ get_has_selection(): boolean
1462
+ get_page_extents(page: number, page_area: Gdk.Rectangle, border: Gtk.Border): boolean
1463
+ get_page_extents_for_border(page: number, border: Gtk.Border, page_area: Gdk.Rectangle): boolean
1464
+ /**
1465
+ * Returns a pointer to a constant string containing the selected
1466
+ * text in the view.
1467
+ *
1468
+ * The value returned may be NULL if there is no selected text.
1469
+ * @returns The string representing selected text.
1470
+ */
1471
+ get_selected_text(): string | null
1472
+ handle_link(link: EvinceDocument.Link): void
1473
+ hide_cursor(): void
1474
+ highlight_forward_search(link: EvinceDocument.SourceLink): void
1475
+ is_caret_navigation_enabled(): boolean
1476
+ next_page(): boolean
1477
+ previous_page(): boolean
1478
+ reload(): void
1479
+ remove_annotation(annot: EvinceDocument.Annotation): void
1480
+ scroll(scroll: Gtk.ScrollType, horizontal: boolean): void
1481
+ select_all(): void
1482
+ set_allow_links_change_zoom(allowed: boolean): void
1483
+ set_caret_cursor_position(page: number, offset: number): void
1484
+ /**
1485
+ * Enables or disables caret navigation mode for the document.
1486
+ * @param enabled whether to enable caret navigation mode
1487
+ */
1488
+ set_caret_navigation_enabled(enabled: boolean): void
1489
+ set_enable_spellchecking(spellcheck: boolean): void
1490
+ set_loading(loading: boolean): void
1491
+ set_model(model: DocumentModel): void
1492
+ /**
1493
+ * Sets the maximum size in bytes that will be used to cache
1494
+ * rendered pages. Use 0 to disable caching rendered pages.
1495
+ *
1496
+ * Note that this limit doesn't affect the current visible page range,
1497
+ * which will always be rendered. In order to limit the total memory used
1498
+ * you have to use ev_document_model_set_max_scale() too.
1499
+ * @param cache_size size in bytes
1500
+ */
1501
+ set_page_cache_size(cache_size: number): void
1502
+ show_cursor(): void
1503
+ supports_caret_navigation(): boolean
1504
+ zoom_in(): void
1505
+ zoom_out(): void
1506
+
1507
+ // Conflicting methods
1508
+
1509
+ /**
1510
+ * Emits a #GtkWidget::child-notify signal for the
1511
+ * [child property][child-properties]
1512
+ * `child_property` on the child.
1513
+ *
1514
+ * This is an analogue of g_object_notify() for child properties.
1515
+ *
1516
+ * Also see gtk_widget_child_notify().
1517
+ * @param child the child widget
1518
+ * @param child_property the name of a child property installed on the class of `container`
1519
+ */
1520
+ child_notify(child: Gtk.Widget, child_property: string | null): void
1521
+
1522
+ // Overloads of child_notify
1523
+
1524
+ /**
1525
+ * Emits a #GtkWidget::child-notify signal for the
1526
+ * [child property][child-properties] `child_property`
1527
+ * on `widget`.
1528
+ *
1529
+ * This is the analogue of g_object_notify() for child properties.
1530
+ *
1531
+ * Also see gtk_container_child_notify().
1532
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1533
+ */
1534
+ child_notify(child_property: string | null): void
1535
+ /**
1536
+ * Emits a #GtkWidget::child-notify signal for the
1537
+ * [child property][child-properties] `child_property`
1538
+ * on `widget`.
1539
+ *
1540
+ * This is the analogue of g_object_notify() for child properties.
1541
+ *
1542
+ * Also see gtk_container_child_notify().
1543
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1544
+ */
1545
+ child_notify(child_property: string | null): void
1546
+
1547
+ // Own signals of EvinceView-3.0.EvinceView.View
1548
+
1549
+ connect(sigName: "activate", callback: View.ActivateSignalCallback): number
1550
+ connect_after(sigName: "activate", callback: View.ActivateSignalCallback): number
1551
+ emit(sigName: "activate", ...args: any[]): void
1552
+ connect(sigName: "annot-added", callback: View.AnnotAddedSignalCallback): number
1553
+ connect_after(sigName: "annot-added", callback: View.AnnotAddedSignalCallback): number
1554
+ emit(sigName: "annot-added", object: EvinceDocument.Annotation, ...args: any[]): void
1555
+ connect(sigName: "annot-cancel-add", callback: View.AnnotCancelAddSignalCallback): number
1556
+ connect_after(sigName: "annot-cancel-add", callback: View.AnnotCancelAddSignalCallback): number
1557
+ emit(sigName: "annot-cancel-add", ...args: any[]): void
1558
+ connect(sigName: "annot-changed", callback: View.AnnotChangedSignalCallback): number
1559
+ connect_after(sigName: "annot-changed", callback: View.AnnotChangedSignalCallback): number
1560
+ emit(sigName: "annot-changed", object: EvinceDocument.Annotation, ...args: any[]): void
1561
+ connect(sigName: "annot-removed", callback: View.AnnotRemovedSignalCallback): number
1562
+ connect_after(sigName: "annot-removed", callback: View.AnnotRemovedSignalCallback): number
1563
+ emit(sigName: "annot-removed", object: EvinceDocument.Annotation, ...args: any[]): void
1564
+ connect(sigName: "cursor-moved", callback: View.CursorMovedSignalCallback): number
1565
+ connect_after(sigName: "cursor-moved", callback: View.CursorMovedSignalCallback): number
1566
+ emit(sigName: "cursor-moved", object: number, p0: number, ...args: any[]): void
1567
+ connect(sigName: "external-link", callback: View.ExternalLinkSignalCallback): number
1568
+ connect_after(sigName: "external-link", callback: View.ExternalLinkSignalCallback): number
1569
+ emit(sigName: "external-link", object: GObject.Object, ...args: any[]): void
1570
+ connect(sigName: "handle-link", callback: View.HandleLinkSignalCallback): number
1571
+ connect_after(sigName: "handle-link", callback: View.HandleLinkSignalCallback): number
1572
+ emit(sigName: "handle-link", object: number, p0: GObject.Object, ...args: any[]): void
1573
+ connect(sigName: "layers-changed", callback: View.LayersChangedSignalCallback): number
1574
+ connect_after(sigName: "layers-changed", callback: View.LayersChangedSignalCallback): number
1575
+ emit(sigName: "layers-changed", ...args: any[]): void
1576
+ connect(sigName: "move-cursor", callback: View.MoveCursorSignalCallback): number
1577
+ connect_after(sigName: "move-cursor", callback: View.MoveCursorSignalCallback): number
1578
+ emit(sigName: "move-cursor", object: Gtk.MovementStep, p0: number, p1: boolean, ...args: any[]): void
1579
+ connect(sigName: "popup", callback: View.PopupSignalCallback): number
1580
+ connect_after(sigName: "popup", callback: View.PopupSignalCallback): number
1581
+ emit(sigName: "popup", object: any | null, ...args: any[]): void
1582
+ connect(sigName: "scroll", callback: View.ScrollSignalCallback): number
1583
+ connect_after(sigName: "scroll", callback: View.ScrollSignalCallback): number
1584
+ emit(sigName: "scroll", object: Gtk.ScrollType, p0: Gtk.Orientation, ...args: any[]): void
1585
+ connect(sigName: "selection-changed", callback: View.SelectionChangedSignalCallback): number
1586
+ connect_after(sigName: "selection-changed", callback: View.SelectionChangedSignalCallback): number
1587
+ emit(sigName: "selection-changed", ...args: any[]): void
1588
+ connect(sigName: "sync-source", callback: View.SyncSourceSignalCallback): number
1589
+ connect_after(sigName: "sync-source", callback: View.SyncSourceSignalCallback): number
1590
+ emit(sigName: "sync-source", object: EvinceDocument.SourceLink, ...args: any[]): void
1591
+
1592
+ // Class property signals of EvinceView-3.0.EvinceView.View
1593
+
1594
+ connect(sigName: "notify::can-zoom-in", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1595
+ connect_after(sigName: "notify::can-zoom-in", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1596
+ emit(sigName: "notify::can-zoom-in", ...args: any[]): void
1597
+ connect(sigName: "notify::can-zoom-out", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1598
+ connect_after(sigName: "notify::can-zoom-out", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1599
+ emit(sigName: "notify::can-zoom-out", ...args: any[]): void
1600
+ connect(sigName: "notify::is-loading", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1601
+ connect_after(sigName: "notify::is-loading", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1602
+ emit(sigName: "notify::is-loading", ...args: any[]): void
1603
+ connect(sigName: "notify::border-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1604
+ connect_after(sigName: "notify::border-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1605
+ emit(sigName: "notify::border-width", ...args: any[]): void
1606
+ connect(sigName: "notify::child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1607
+ connect_after(sigName: "notify::child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1608
+ emit(sigName: "notify::child", ...args: any[]): void
1609
+ connect(sigName: "notify::resize-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1610
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1611
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
1612
+ connect(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1613
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1614
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
1615
+ connect(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1616
+ connect_after(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1617
+ emit(sigName: "notify::can-default", ...args: any[]): void
1618
+ connect(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1619
+ connect_after(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1620
+ emit(sigName: "notify::can-focus", ...args: any[]): void
1621
+ connect(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1622
+ connect_after(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1623
+ emit(sigName: "notify::composite-child", ...args: any[]): void
1624
+ connect(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1625
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1626
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
1627
+ connect(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1628
+ connect_after(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1629
+ emit(sigName: "notify::events", ...args: any[]): void
1630
+ connect(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1631
+ connect_after(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1632
+ emit(sigName: "notify::expand", ...args: any[]): void
1633
+ connect(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1634
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1635
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1636
+ connect(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1637
+ connect_after(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1638
+ emit(sigName: "notify::halign", ...args: any[]): void
1639
+ connect(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1640
+ connect_after(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1641
+ emit(sigName: "notify::has-default", ...args: any[]): void
1642
+ connect(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1643
+ connect_after(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1644
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1645
+ connect(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1646
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1647
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1648
+ connect(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1649
+ connect_after(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1650
+ emit(sigName: "notify::height-request", ...args: any[]): void
1651
+ connect(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1652
+ connect_after(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1653
+ emit(sigName: "notify::hexpand", ...args: any[]): void
1654
+ connect(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1655
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1656
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
1657
+ connect(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1658
+ connect_after(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1659
+ emit(sigName: "notify::is-focus", ...args: any[]): void
1660
+ connect(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1661
+ connect_after(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1662
+ emit(sigName: "notify::margin", ...args: any[]): void
1663
+ connect(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1664
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1665
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
1666
+ connect(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1667
+ connect_after(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1668
+ emit(sigName: "notify::margin-end", ...args: any[]): void
1669
+ connect(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1670
+ connect_after(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1671
+ emit(sigName: "notify::margin-left", ...args: any[]): void
1672
+ connect(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1673
+ connect_after(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1674
+ emit(sigName: "notify::margin-right", ...args: any[]): void
1675
+ connect(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1676
+ connect_after(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1677
+ emit(sigName: "notify::margin-start", ...args: any[]): void
1678
+ connect(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1679
+ connect_after(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1680
+ emit(sigName: "notify::margin-top", ...args: any[]): void
1681
+ connect(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1682
+ connect_after(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1683
+ emit(sigName: "notify::name", ...args: any[]): void
1684
+ connect(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1685
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1686
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
1687
+ connect(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1688
+ connect_after(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1689
+ emit(sigName: "notify::opacity", ...args: any[]): void
1690
+ connect(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1691
+ connect_after(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1692
+ emit(sigName: "notify::parent", ...args: any[]): void
1693
+ connect(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1694
+ connect_after(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1695
+ emit(sigName: "notify::receives-default", ...args: any[]): void
1696
+ connect(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1697
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1698
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
1699
+ connect(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1700
+ connect_after(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1701
+ emit(sigName: "notify::sensitive", ...args: any[]): void
1702
+ connect(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1703
+ connect_after(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1704
+ emit(sigName: "notify::style", ...args: any[]): void
1705
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1706
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1707
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1708
+ connect(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1709
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1710
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
1711
+ connect(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1712
+ connect_after(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1713
+ emit(sigName: "notify::valign", ...args: any[]): void
1714
+ connect(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1715
+ connect_after(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1716
+ emit(sigName: "notify::vexpand", ...args: any[]): void
1717
+ connect(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1718
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1719
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
1720
+ connect(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1721
+ connect_after(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1722
+ emit(sigName: "notify::visible", ...args: any[]): void
1723
+ connect(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1724
+ connect_after(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1725
+ emit(sigName: "notify::width-request", ...args: any[]): void
1726
+ connect(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1727
+ connect_after(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1728
+ emit(sigName: "notify::window", ...args: any[]): void
1729
+ connect(sigName: "notify::hadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1730
+ connect_after(sigName: "notify::hadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1731
+ emit(sigName: "notify::hadjustment", ...args: any[]): void
1732
+ connect(sigName: "notify::hscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1733
+ connect_after(sigName: "notify::hscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1734
+ emit(sigName: "notify::hscroll-policy", ...args: any[]): void
1735
+ connect(sigName: "notify::vadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1736
+ connect_after(sigName: "notify::vadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1737
+ emit(sigName: "notify::vadjustment", ...args: any[]): void
1738
+ connect(sigName: "notify::vscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1739
+ connect_after(sigName: "notify::vscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1740
+ emit(sigName: "notify::vscroll-policy", ...args: any[]): void
1741
+ connect(sigName: string, callback: (...args: any[]) => void): number
1742
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1743
+ emit(sigName: string, ...args: any[]): void
1744
+ disconnect(id: number): void
1745
+ }
1746
+
1747
+ class View extends Gtk.Container {
1748
+
1749
+ // Own properties of EvinceView-3.0.EvinceView.View
1750
+
1751
+ static name: string
1752
+ static $gtype: GObject.GType<View>
1753
+
1754
+ // Constructors of EvinceView-3.0.EvinceView.View
1755
+
1756
+ constructor(config?: View.ConstructorProperties)
1757
+ constructor()
1758
+ static new(): View
1759
+ _init(config?: View.ConstructorProperties): void
1760
+ }
1761
+
1762
+ module ViewPresentation {
1763
+
1764
+ // Signal callback interfaces
1765
+
1766
+ /**
1767
+ * Signal callback interface for `change-page`
1768
+ */
1769
+ interface ChangePageSignalCallback {
1770
+ ($obj: ViewPresentation, object: Gtk.ScrollType): void
1771
+ }
1772
+
1773
+ /**
1774
+ * Signal callback interface for `external-link`
1775
+ */
1776
+ interface ExternalLinkSignalCallback {
1777
+ ($obj: ViewPresentation, object: GObject.Object): void
1778
+ }
1779
+
1780
+ /**
1781
+ * Signal callback interface for `finished`
1782
+ */
1783
+ interface FinishedSignalCallback {
1784
+ ($obj: ViewPresentation): void
1785
+ }
1786
+
1787
+
1788
+ // Constructor properties interface
1789
+
1790
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Widget.ConstructorProperties {
1791
+
1792
+ // Own constructor properties of EvinceView-3.0.EvinceView.ViewPresentation
1793
+
1794
+ current_page?: number | null
1795
+ document?: EvinceDocument.Document | null
1796
+ inverted_colors?: boolean | null
1797
+ rotation?: number | null
1798
+ }
1799
+
1800
+ }
1801
+
1802
+ interface ViewPresentation extends Atk.ImplementorIface, Gtk.Buildable {
1803
+
1804
+ // Own properties of EvinceView-3.0.EvinceView.ViewPresentation
1805
+
1806
+ current_page: number
1807
+ readonly document: EvinceDocument.Document
1808
+ readonly inverted_colors: boolean
1809
+ rotation: number
1810
+
1811
+ // Owm methods of EvinceView-3.0.EvinceView.ViewPresentation
1812
+
1813
+ get_current_page(): number
1814
+ get_rotation(): number
1815
+ next_page(): void
1816
+ previous_page(): void
1817
+ set_rotation(rotation: number): void
1818
+
1819
+ // Own signals of EvinceView-3.0.EvinceView.ViewPresentation
1820
+
1821
+ connect(sigName: "change-page", callback: ViewPresentation.ChangePageSignalCallback): number
1822
+ connect_after(sigName: "change-page", callback: ViewPresentation.ChangePageSignalCallback): number
1823
+ emit(sigName: "change-page", object: Gtk.ScrollType, ...args: any[]): void
1824
+ connect(sigName: "external-link", callback: ViewPresentation.ExternalLinkSignalCallback): number
1825
+ connect_after(sigName: "external-link", callback: ViewPresentation.ExternalLinkSignalCallback): number
1826
+ emit(sigName: "external-link", object: GObject.Object, ...args: any[]): void
1827
+ connect(sigName: "finished", callback: ViewPresentation.FinishedSignalCallback): number
1828
+ connect_after(sigName: "finished", callback: ViewPresentation.FinishedSignalCallback): number
1829
+ emit(sigName: "finished", ...args: any[]): void
1830
+
1831
+ // Class property signals of EvinceView-3.0.EvinceView.ViewPresentation
1832
+
1833
+ connect(sigName: "notify::current-page", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1834
+ connect_after(sigName: "notify::current-page", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1835
+ emit(sigName: "notify::current-page", ...args: any[]): void
1836
+ connect(sigName: "notify::document", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1837
+ connect_after(sigName: "notify::document", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1838
+ emit(sigName: "notify::document", ...args: any[]): void
1839
+ connect(sigName: "notify::inverted-colors", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1840
+ connect_after(sigName: "notify::inverted-colors", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1841
+ emit(sigName: "notify::inverted-colors", ...args: any[]): void
1842
+ connect(sigName: "notify::rotation", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1843
+ connect_after(sigName: "notify::rotation", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1844
+ emit(sigName: "notify::rotation", ...args: any[]): void
1845
+ connect(sigName: "notify::app-paintable", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1846
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1847
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
1848
+ connect(sigName: "notify::can-default", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1849
+ connect_after(sigName: "notify::can-default", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1850
+ emit(sigName: "notify::can-default", ...args: any[]): void
1851
+ connect(sigName: "notify::can-focus", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1852
+ connect_after(sigName: "notify::can-focus", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1853
+ emit(sigName: "notify::can-focus", ...args: any[]): void
1854
+ connect(sigName: "notify::composite-child", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1855
+ connect_after(sigName: "notify::composite-child", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1856
+ emit(sigName: "notify::composite-child", ...args: any[]): void
1857
+ connect(sigName: "notify::double-buffered", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1858
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1859
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
1860
+ connect(sigName: "notify::events", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1861
+ connect_after(sigName: "notify::events", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1862
+ emit(sigName: "notify::events", ...args: any[]): void
1863
+ connect(sigName: "notify::expand", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1864
+ connect_after(sigName: "notify::expand", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1865
+ emit(sigName: "notify::expand", ...args: any[]): void
1866
+ connect(sigName: "notify::focus-on-click", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1867
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1868
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1869
+ connect(sigName: "notify::halign", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1870
+ connect_after(sigName: "notify::halign", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1871
+ emit(sigName: "notify::halign", ...args: any[]): void
1872
+ connect(sigName: "notify::has-default", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1873
+ connect_after(sigName: "notify::has-default", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1874
+ emit(sigName: "notify::has-default", ...args: any[]): void
1875
+ connect(sigName: "notify::has-focus", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1876
+ connect_after(sigName: "notify::has-focus", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1877
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1878
+ connect(sigName: "notify::has-tooltip", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1879
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1880
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1881
+ connect(sigName: "notify::height-request", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1882
+ connect_after(sigName: "notify::height-request", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1883
+ emit(sigName: "notify::height-request", ...args: any[]): void
1884
+ connect(sigName: "notify::hexpand", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1885
+ connect_after(sigName: "notify::hexpand", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1886
+ emit(sigName: "notify::hexpand", ...args: any[]): void
1887
+ connect(sigName: "notify::hexpand-set", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1888
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1889
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
1890
+ connect(sigName: "notify::is-focus", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1891
+ connect_after(sigName: "notify::is-focus", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1892
+ emit(sigName: "notify::is-focus", ...args: any[]): void
1893
+ connect(sigName: "notify::margin", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1894
+ connect_after(sigName: "notify::margin", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1895
+ emit(sigName: "notify::margin", ...args: any[]): void
1896
+ connect(sigName: "notify::margin-bottom", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1897
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1898
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
1899
+ connect(sigName: "notify::margin-end", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1900
+ connect_after(sigName: "notify::margin-end", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1901
+ emit(sigName: "notify::margin-end", ...args: any[]): void
1902
+ connect(sigName: "notify::margin-left", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1903
+ connect_after(sigName: "notify::margin-left", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1904
+ emit(sigName: "notify::margin-left", ...args: any[]): void
1905
+ connect(sigName: "notify::margin-right", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1906
+ connect_after(sigName: "notify::margin-right", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1907
+ emit(sigName: "notify::margin-right", ...args: any[]): void
1908
+ connect(sigName: "notify::margin-start", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1909
+ connect_after(sigName: "notify::margin-start", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1910
+ emit(sigName: "notify::margin-start", ...args: any[]): void
1911
+ connect(sigName: "notify::margin-top", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1912
+ connect_after(sigName: "notify::margin-top", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1913
+ emit(sigName: "notify::margin-top", ...args: any[]): void
1914
+ connect(sigName: "notify::name", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1915
+ connect_after(sigName: "notify::name", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1916
+ emit(sigName: "notify::name", ...args: any[]): void
1917
+ connect(sigName: "notify::no-show-all", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1918
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1919
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
1920
+ connect(sigName: "notify::opacity", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1921
+ connect_after(sigName: "notify::opacity", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1922
+ emit(sigName: "notify::opacity", ...args: any[]): void
1923
+ connect(sigName: "notify::parent", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1924
+ connect_after(sigName: "notify::parent", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1925
+ emit(sigName: "notify::parent", ...args: any[]): void
1926
+ connect(sigName: "notify::receives-default", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1927
+ connect_after(sigName: "notify::receives-default", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1928
+ emit(sigName: "notify::receives-default", ...args: any[]): void
1929
+ connect(sigName: "notify::scale-factor", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1930
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1931
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
1932
+ connect(sigName: "notify::sensitive", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1933
+ connect_after(sigName: "notify::sensitive", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1934
+ emit(sigName: "notify::sensitive", ...args: any[]): void
1935
+ connect(sigName: "notify::style", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1936
+ connect_after(sigName: "notify::style", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1937
+ emit(sigName: "notify::style", ...args: any[]): void
1938
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1939
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1940
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1941
+ connect(sigName: "notify::tooltip-text", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1942
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1943
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
1944
+ connect(sigName: "notify::valign", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1945
+ connect_after(sigName: "notify::valign", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1946
+ emit(sigName: "notify::valign", ...args: any[]): void
1947
+ connect(sigName: "notify::vexpand", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1948
+ connect_after(sigName: "notify::vexpand", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1949
+ emit(sigName: "notify::vexpand", ...args: any[]): void
1950
+ connect(sigName: "notify::vexpand-set", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1951
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1952
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
1953
+ connect(sigName: "notify::visible", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1954
+ connect_after(sigName: "notify::visible", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1955
+ emit(sigName: "notify::visible", ...args: any[]): void
1956
+ connect(sigName: "notify::width-request", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1957
+ connect_after(sigName: "notify::width-request", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1958
+ emit(sigName: "notify::width-request", ...args: any[]): void
1959
+ connect(sigName: "notify::window", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1960
+ connect_after(sigName: "notify::window", callback: (($obj: ViewPresentation, pspec: GObject.ParamSpec) => void)): number
1961
+ emit(sigName: "notify::window", ...args: any[]): void
1962
+ connect(sigName: string, callback: (...args: any[]) => void): number
1963
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1964
+ emit(sigName: string, ...args: any[]): void
1965
+ disconnect(id: number): void
1966
+ }
1967
+
1968
+ class ViewPresentation extends Gtk.Widget {
1969
+
1970
+ // Own properties of EvinceView-3.0.EvinceView.ViewPresentation
1971
+
1972
+ static name: string
1973
+ static $gtype: GObject.GType<ViewPresentation>
1974
+
1975
+ // Constructors of EvinceView-3.0.EvinceView.ViewPresentation
1976
+
1977
+ constructor(config?: ViewPresentation.ConstructorProperties)
1978
+ constructor(document: EvinceDocument.Document, current_page: number, rotation: number, inverted_colors: boolean)
1979
+ static new(document: EvinceDocument.Document, current_page: number, rotation: number, inverted_colors: boolean): ViewPresentation
1980
+ _init(config?: ViewPresentation.ConstructorProperties): void
1981
+ }
1982
+
1983
+ interface DocumentModelClass {
1984
+
1985
+ // Own fields of EvinceView-3.0.EvinceView.DocumentModelClass
1986
+
1987
+ parent_class: GObject.ObjectClass
1988
+ }
1989
+
1990
+ abstract class DocumentModelClass {
1991
+
1992
+ // Own properties of EvinceView-3.0.EvinceView.DocumentModelClass
1993
+
1994
+ static name: string
1995
+ }
1996
+
1997
+ interface JobAnnotsClass {
1998
+
1999
+ // Own fields of EvinceView-3.0.EvinceView.JobAnnotsClass
2000
+
2001
+ parent_class: JobClass
2002
+ }
2003
+
2004
+ abstract class JobAnnotsClass {
2005
+
2006
+ // Own properties of EvinceView-3.0.EvinceView.JobAnnotsClass
2007
+
2008
+ static name: string
2009
+ }
2010
+
2011
+ interface JobAttachmentsClass {
2012
+
2013
+ // Own fields of EvinceView-3.0.EvinceView.JobAttachmentsClass
2014
+
2015
+ parent_class: JobClass
2016
+ }
2017
+
2018
+ abstract class JobAttachmentsClass {
2019
+
2020
+ // Own properties of EvinceView-3.0.EvinceView.JobAttachmentsClass
2021
+
2022
+ static name: string
2023
+ }
2024
+
2025
+ interface JobClass {
2026
+
2027
+ // Own fields of EvinceView-3.0.EvinceView.JobClass
2028
+
2029
+ parent_class: GObject.ObjectClass
2030
+ run: (job: Job) => boolean
2031
+ cancelled: (job: Job) => void
2032
+ finished: (job: Job) => void
2033
+ }
2034
+
2035
+ abstract class JobClass {
2036
+
2037
+ // Own properties of EvinceView-3.0.EvinceView.JobClass
2038
+
2039
+ static name: string
2040
+ }
2041
+
2042
+ interface JobExportClass {
2043
+
2044
+ // Own fields of EvinceView-3.0.EvinceView.JobExportClass
2045
+
2046
+ parent_class: JobClass
2047
+ }
2048
+
2049
+ abstract class JobExportClass {
2050
+
2051
+ // Own properties of EvinceView-3.0.EvinceView.JobExportClass
2052
+
2053
+ static name: string
2054
+ }
2055
+
2056
+ interface JobFindClass {
2057
+
2058
+ // Own fields of EvinceView-3.0.EvinceView.JobFindClass
2059
+
2060
+ parent_class: JobClass
2061
+ updated: (job: JobFind, page: number) => void
2062
+ }
2063
+
2064
+ abstract class JobFindClass {
2065
+
2066
+ // Own properties of EvinceView-3.0.EvinceView.JobFindClass
2067
+
2068
+ static name: string
2069
+ }
2070
+
2071
+ interface JobFontsClass {
2072
+
2073
+ // Own fields of EvinceView-3.0.EvinceView.JobFontsClass
2074
+
2075
+ parent_class: JobClass
2076
+ updated: (job: JobFonts, progress: number) => void
2077
+ }
2078
+
2079
+ abstract class JobFontsClass {
2080
+
2081
+ // Own properties of EvinceView-3.0.EvinceView.JobFontsClass
2082
+
2083
+ static name: string
2084
+ }
2085
+
2086
+ interface JobLayersClass {
2087
+
2088
+ // Own fields of EvinceView-3.0.EvinceView.JobLayersClass
2089
+
2090
+ parent_class: JobClass
2091
+ }
2092
+
2093
+ abstract class JobLayersClass {
2094
+
2095
+ // Own properties of EvinceView-3.0.EvinceView.JobLayersClass
2096
+
2097
+ static name: string
2098
+ }
2099
+
2100
+ interface JobLinksClass {
2101
+
2102
+ // Own fields of EvinceView-3.0.EvinceView.JobLinksClass
2103
+
2104
+ parent_class: JobClass
2105
+ }
2106
+
2107
+ abstract class JobLinksClass {
2108
+
2109
+ // Own properties of EvinceView-3.0.EvinceView.JobLinksClass
2110
+
2111
+ static name: string
2112
+ }
2113
+
2114
+ interface JobLoadClass {
2115
+
2116
+ // Own fields of EvinceView-3.0.EvinceView.JobLoadClass
2117
+
2118
+ parent_class: JobClass
2119
+ }
2120
+
2121
+ abstract class JobLoadClass {
2122
+
2123
+ // Own properties of EvinceView-3.0.EvinceView.JobLoadClass
2124
+
2125
+ static name: string
2126
+ }
2127
+
2128
+ interface JobLoadFdClass {
2129
+
2130
+ // Own fields of EvinceView-3.0.EvinceView.JobLoadFdClass
2131
+
2132
+ parent_class: JobClass
2133
+ }
2134
+
2135
+ abstract class JobLoadFdClass {
2136
+
2137
+ // Own properties of EvinceView-3.0.EvinceView.JobLoadFdClass
2138
+
2139
+ static name: string
2140
+ }
2141
+
2142
+ interface JobLoadGFileClass {
2143
+
2144
+ // Own fields of EvinceView-3.0.EvinceView.JobLoadGFileClass
2145
+
2146
+ parent_class: JobClass
2147
+ }
2148
+
2149
+ abstract class JobLoadGFileClass {
2150
+
2151
+ // Own properties of EvinceView-3.0.EvinceView.JobLoadGFileClass
2152
+
2153
+ static name: string
2154
+ }
2155
+
2156
+ interface JobLoadStreamClass {
2157
+
2158
+ // Own fields of EvinceView-3.0.EvinceView.JobLoadStreamClass
2159
+
2160
+ parent_class: JobClass
2161
+ }
2162
+
2163
+ abstract class JobLoadStreamClass {
2164
+
2165
+ // Own properties of EvinceView-3.0.EvinceView.JobLoadStreamClass
2166
+
2167
+ static name: string
2168
+ }
2169
+
2170
+ interface JobPageDataClass {
2171
+
2172
+ // Own fields of EvinceView-3.0.EvinceView.JobPageDataClass
2173
+
2174
+ parent_class: JobClass
2175
+ }
2176
+
2177
+ abstract class JobPageDataClass {
2178
+
2179
+ // Own properties of EvinceView-3.0.EvinceView.JobPageDataClass
2180
+
2181
+ static name: string
2182
+ }
2183
+
2184
+ interface JobPrintClass {
2185
+
2186
+ // Own fields of EvinceView-3.0.EvinceView.JobPrintClass
2187
+
2188
+ parent_class: JobClass
2189
+ }
2190
+
2191
+ abstract class JobPrintClass {
2192
+
2193
+ // Own properties of EvinceView-3.0.EvinceView.JobPrintClass
2194
+
2195
+ static name: string
2196
+ }
2197
+
2198
+ interface JobRenderClass {
2199
+
2200
+ // Own fields of EvinceView-3.0.EvinceView.JobRenderClass
2201
+
2202
+ parent_class: JobClass
2203
+ }
2204
+
2205
+ abstract class JobRenderClass {
2206
+
2207
+ // Own properties of EvinceView-3.0.EvinceView.JobRenderClass
2208
+
2209
+ static name: string
2210
+ }
2211
+
2212
+ interface JobSaveClass {
2213
+
2214
+ // Own fields of EvinceView-3.0.EvinceView.JobSaveClass
2215
+
2216
+ parent_class: JobClass
2217
+ }
2218
+
2219
+ abstract class JobSaveClass {
2220
+
2221
+ // Own properties of EvinceView-3.0.EvinceView.JobSaveClass
2222
+
2223
+ static name: string
2224
+ }
2225
+
2226
+ interface JobThumbnailClass {
2227
+
2228
+ // Own fields of EvinceView-3.0.EvinceView.JobThumbnailClass
2229
+
2230
+ parent_class: JobClass
2231
+ }
2232
+
2233
+ abstract class JobThumbnailClass {
2234
+
2235
+ // Own properties of EvinceView-3.0.EvinceView.JobThumbnailClass
2236
+
2237
+ static name: string
2238
+ }
2239
+
2240
+ interface PrintOperationClass {
2241
+ }
2242
+
2243
+ abstract class PrintOperationClass {
2244
+
2245
+ // Own properties of EvinceView-3.0.EvinceView.PrintOperationClass
2246
+
2247
+ static name: string
2248
+ }
2249
+
2250
+ interface ViewClass {
2251
+ }
2252
+
2253
+ abstract class ViewClass {
2254
+
2255
+ // Own properties of EvinceView-3.0.EvinceView.ViewClass
2256
+
2257
+ static name: string
2258
+ }
2259
+
2260
+ interface ViewPresentationClass {
2261
+ }
2262
+
2263
+ abstract class ViewPresentationClass {
2264
+
2265
+ // Own properties of EvinceView-3.0.EvinceView.ViewPresentationClass
2266
+
2267
+ static name: string
2268
+ }
2269
+
2270
+ /**
2271
+ * Name of the imported GIR library
2272
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
2273
+ */
2274
+ const __name__: string
2275
+ /**
2276
+ * Version of the imported GIR library
2277
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
2278
+ */
2279
+ const __version__: string
2280
+ }
2281
+
2282
+ export default EvinceView;
2283
+ // END