@girs/evinceview-3.0 3.0.0-3.2.5 → 3.0.0-3.2.7

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.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/evinceview-3.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for EvinceView-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.5.
8
+ GJS TypeScript type definitions for EvinceView-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
 
11
11
  ## Install
@@ -77,26 +77,26 @@ export enum JobPageDataFlags {
77
77
  MEDIA,
78
78
  ALL,
79
79
  }
80
- export const STOCK_ANNOT_SQUIGGLY: string | null
81
- export const STOCK_ANNOT_TEXT: string | null
82
- export const STOCK_ATTACHMENT: string | null
83
- export const STOCK_CLOSE: string | null
84
- export const STOCK_FIND_UNSUPPORTED: string | null
85
- export const STOCK_INVERTED_COLORS: string | null
86
- export const STOCK_OUTLINE: string | null
87
- export const STOCK_RESIZE_SE: string | null
88
- export const STOCK_RESIZE_SW: string | null
89
- export const STOCK_ROTATE_LEFT: string | null
90
- export const STOCK_ROTATE_RIGHT: string | null
91
- export const STOCK_RUN_PRESENTATION: string | null
92
- export const STOCK_SEND_TO: string | null
93
- export const STOCK_VIEW_CONTINUOUS: string | null
94
- export const STOCK_VIEW_DUAL: string | null
95
- export const STOCK_VIEW_SIDEBAR: string | null
96
- export const STOCK_VISIBLE: string | null
97
- export const STOCK_ZOOM: string | null
98
- export const STOCK_ZOOM_PAGE: string | null
99
- export const STOCK_ZOOM_WIDTH: string | null
80
+ export const STOCK_ANNOT_SQUIGGLY: string
81
+ export const STOCK_ANNOT_TEXT: string
82
+ export const STOCK_ATTACHMENT: string
83
+ export const STOCK_CLOSE: string
84
+ export const STOCK_FIND_UNSUPPORTED: string
85
+ export const STOCK_INVERTED_COLORS: string
86
+ export const STOCK_OUTLINE: string
87
+ export const STOCK_RESIZE_SE: string
88
+ export const STOCK_RESIZE_SW: string
89
+ export const STOCK_ROTATE_LEFT: string
90
+ export const STOCK_ROTATE_RIGHT: string
91
+ export const STOCK_RUN_PRESENTATION: string
92
+ export const STOCK_SEND_TO: string
93
+ export const STOCK_VIEW_CONTINUOUS: string
94
+ export const STOCK_VIEW_DUAL: string
95
+ export const STOCK_VIEW_SIDEBAR: string
96
+ export const STOCK_VISIBLE: string
97
+ export const STOCK_ZOOM: string
98
+ export const STOCK_ZOOM_PAGE: string
99
+ export const STOCK_ZOOM_WIDTH: string
100
100
  /**
101
101
  * Creates a new icon factory, adding the base stock icons to it.
102
102
  */
@@ -135,6 +135,13 @@ export module DocumentModel {
135
135
  rtl?: boolean | null
136
136
  scale?: number | null
137
137
  sizing_mode?: SizingMode | null
138
+ dualOddLeft?: boolean | null
139
+ dualPage?: boolean | null
140
+ invertedColors?: boolean | null
141
+ maxScale?: number | null
142
+ minScale?: number | null
143
+ pageLayout?: PageLayout | null
144
+ sizingMode?: SizingMode | null
138
145
  }
139
146
 
140
147
  }
@@ -146,17 +153,24 @@ export interface DocumentModel {
146
153
  continuous: boolean
147
154
  document: EvinceDocument.Document
148
155
  dual_odd_left: boolean
156
+ dualOddLeft: boolean
149
157
  dual_page: boolean
158
+ dualPage: boolean
150
159
  fullscreen: boolean
151
160
  inverted_colors: boolean
161
+ invertedColors: boolean
152
162
  max_scale: number
163
+ maxScale: number
153
164
  min_scale: number
165
+ minScale: number
154
166
  page: number
155
167
  page_layout: PageLayout
168
+ pageLayout: PageLayout
156
169
  rotation: number
157
170
  rtl: boolean
158
171
  scale: number
159
172
  sizing_mode: SizingMode
173
+ sizingMode: SizingMode
160
174
 
161
175
  // Owm methods of EvinceView-3.0.EvinceView.DocumentModel
162
176
 
@@ -192,7 +206,7 @@ export interface DocumentModel {
192
206
  set_max_scale(max_scale: number): void
193
207
  set_min_scale(min_scale: number): void
194
208
  set_page(page: number): void
195
- set_page_by_label(page_label: string | null): void
209
+ set_page_by_label(page_label: string): void
196
210
  /**
197
211
  * Sets the document model's page layout to `layout`.
198
212
  * @param layout a #EvPageLayout
@@ -567,8 +581,8 @@ export class JobFind extends Job {
567
581
  // Constructors of EvinceView-3.0.EvinceView.JobFind
568
582
 
569
583
  constructor(config?: JobFind.ConstructorProperties)
570
- constructor(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string | null, case_sensitive: boolean)
571
- static new(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string | null, case_sensitive: boolean): JobFind
584
+ constructor(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string, case_sensitive: boolean)
585
+ static new(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string, case_sensitive: boolean): JobFind
572
586
  _init(config?: JobFind.ConstructorProperties): void
573
587
  }
574
588
 
@@ -736,8 +750,8 @@ export interface JobLoad {
736
750
 
737
751
  // Owm methods of EvinceView-3.0.EvinceView.JobLoad
738
752
 
739
- set_password(password: string | null): void
740
- set_uri(uri: string | null): void
753
+ set_password(password: string): void
754
+ set_uri(uri: string): void
741
755
 
742
756
  // Class property signals of EvinceView-3.0.EvinceView.JobLoad
743
757
 
@@ -757,8 +771,8 @@ export class JobLoad extends Job {
757
771
  // Constructors of EvinceView-3.0.EvinceView.JobLoad
758
772
 
759
773
  constructor(config?: JobLoad.ConstructorProperties)
760
- constructor(uri: string | null)
761
- static new(uri: string | null): JobLoad
774
+ constructor(uri: string)
775
+ static new(uri: string): JobLoad
762
776
  _init(config?: JobLoad.ConstructorProperties): void
763
777
  }
764
778
 
@@ -791,8 +805,8 @@ export interface JobLoadFd {
791
805
  */
792
806
  set_fd(fd: number): boolean
793
807
  set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
794
- set_mime_type(mime_type: string | null): void
795
- set_password(password: string | null): void
808
+ set_mime_type(mime_type: string): void
809
+ set_password(password: string): void
796
810
  /**
797
811
  * Sets `fd` as the file descriptor in `job`.
798
812
  * Note that `job` takes ownership of `fd;` you must not do anything
@@ -833,7 +847,7 @@ export class JobLoadFd extends Job {
833
847
  * @param flags flags from #EvDocumentLoadFlags
834
848
  * @returns the new #EvJobLoadFd, or %NULL
835
849
  */
836
- constructor(fd: number, mime_type: string | null, flags: EvinceDocument.DocumentLoadFlags)
850
+ constructor(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags)
837
851
  /**
838
852
  * Creates a new #EvJobLoadFd for `fd`. If duplicating `fd` fails,
839
853
  * returns %NULL with `error` filled in.
@@ -843,8 +857,8 @@ export class JobLoadFd extends Job {
843
857
  * @param flags flags from #EvDocumentLoadFlags
844
858
  * @returns the new #EvJobLoadFd, or %NULL
845
859
  */
846
- static new(fd: number, mime_type: string | null, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
847
- static new_take(fd: number, mime_type: string | null, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
860
+ static new(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
861
+ static new_take(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
848
862
  _init(config?: JobLoadFd.ConstructorProperties): void
849
863
  }
850
864
 
@@ -870,7 +884,7 @@ export interface JobLoadGFile {
870
884
 
871
885
  set_gfile(gfile: Gio.File): void
872
886
  set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
873
- set_password(password: string | null): void
887
+ set_password(password: string): void
874
888
 
875
889
  // Class property signals of EvinceView-3.0.EvinceView.JobLoadGFile
876
890
 
@@ -920,8 +934,8 @@ export interface JobLoadStream {
920
934
  // Owm methods of EvinceView-3.0.EvinceView.JobLoadStream
921
935
 
922
936
  set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
923
- set_mime_type(mime_type: string | null): void
924
- set_password(password: string | null): void
937
+ set_mime_type(mime_type: string): void
938
+ set_password(password: string): void
925
939
  set_stream(stream: Gio.InputStream): void
926
940
 
927
941
  // Class property signals of EvinceView-3.0.EvinceView.JobLoadStream
@@ -1139,8 +1153,8 @@ export class JobSave extends Job {
1139
1153
  // Constructors of EvinceView-3.0.EvinceView.JobSave
1140
1154
 
1141
1155
  constructor(config?: JobSave.ConstructorProperties)
1142
- constructor(document: EvinceDocument.Document, uri: string | null, document_uri: string | null)
1143
- static new(document: EvinceDocument.Document, uri: string | null, document_uri: string | null): JobSave
1156
+ constructor(document: EvinceDocument.Document, uri: string, document_uri: string)
1157
+ static new(document: EvinceDocument.Document, uri: string, document_uri: string): JobSave
1144
1158
  _init(config?: JobSave.ConstructorProperties): void
1145
1159
  }
1146
1160
 
@@ -1250,15 +1264,15 @@ export interface PrintOperation {
1250
1264
  get_default_page_setup(): Gtk.PageSetup
1251
1265
  get_embed_page_setup(): boolean
1252
1266
  get_error(): void
1253
- get_job_name(): string | null
1267
+ get_job_name(): string
1254
1268
  get_print_settings(): Gtk.PrintSettings
1255
1269
  get_progress(): number
1256
- get_status(): string | null
1270
+ get_status(): string
1257
1271
  run(parent: Gtk.Window): void
1258
1272
  set_current_page(current_page: number): void
1259
1273
  set_default_page_setup(page_setup: Gtk.PageSetup): void
1260
1274
  set_embed_page_setup(embed: boolean): void
1261
- set_job_name(job_name: string | null): void
1275
+ set_job_name(job_name: string): void
1262
1276
  set_print_settings(print_settings: Gtk.PrintSettings): void
1263
1277
 
1264
1278
  // Own signals of EvinceView-3.0.EvinceView.PrintOperation
@@ -1415,11 +1429,17 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
1415
1429
  // Own properties of EvinceView-3.0.EvinceView.View
1416
1430
 
1417
1431
  readonly can_zoom_in: boolean
1432
+ readonly canZoomIn: boolean
1418
1433
  readonly can_zoom_out: boolean
1434
+ readonly canZoomOut: boolean
1419
1435
  /**
1420
1436
  * Allows to implement a custom notification system.
1421
1437
  */
1422
1438
  readonly is_loading: boolean
1439
+ /**
1440
+ * Allows to implement a custom notification system.
1441
+ */
1442
+ readonly isLoading: boolean
1423
1443
 
1424
1444
  // Owm methods of EvinceView-3.0.EvinceView.View
1425
1445
 
@@ -1518,7 +1538,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
1518
1538
  * @param child the child widget
1519
1539
  * @param child_property the name of a child property installed on the class of `container`
1520
1540
  */
1521
- child_notify(child: Gtk.Widget, child_property: string | null): void
1541
+ child_notify(child: Gtk.Widget, child_property: string): void
1522
1542
 
1523
1543
  // Overloads of child_notify
1524
1544
 
@@ -1532,7 +1552,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
1532
1552
  * Also see gtk_container_child_notify().
1533
1553
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1534
1554
  */
1535
- child_notify(child_property: string | null): void
1555
+ child_notify(child_property: string): void
1536
1556
  /**
1537
1557
  * Emits a #GtkWidget::child-notify signal for the
1538
1558
  * [child property][child-properties] `child_property`
@@ -1543,7 +1563,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
1543
1563
  * Also see gtk_container_child_notify().
1544
1564
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1545
1565
  */
1546
- child_notify(child_property: string | null): void
1566
+ child_notify(child_property: string): void
1547
1567
 
1548
1568
  // Own signals of EvinceView-3.0.EvinceView.View
1549
1569
 
@@ -1796,6 +1816,8 @@ export module ViewPresentation {
1796
1816
  document?: EvinceDocument.Document | null
1797
1817
  inverted_colors?: boolean | null
1798
1818
  rotation?: number | null
1819
+ currentPage?: number | null
1820
+ invertedColors?: boolean | null
1799
1821
  }
1800
1822
 
1801
1823
  }
@@ -1805,8 +1827,10 @@ export interface ViewPresentation extends Atk.ImplementorIface, Gtk.Buildable {
1805
1827
  // Own properties of EvinceView-3.0.EvinceView.ViewPresentation
1806
1828
 
1807
1829
  current_page: number
1830
+ currentPage: number
1808
1831
  readonly document: EvinceDocument.Document
1809
1832
  readonly inverted_colors: boolean
1833
+ readonly invertedColors: boolean
1810
1834
  rotation: number
1811
1835
 
1812
1836
  // Owm methods of EvinceView-3.0.EvinceView.ViewPresentation
@@ -79,26 +79,26 @@ enum JobPageDataFlags {
79
79
  MEDIA,
80
80
  ALL,
81
81
  }
82
- const STOCK_ANNOT_SQUIGGLY: string | null
83
- const STOCK_ANNOT_TEXT: string | null
84
- const STOCK_ATTACHMENT: string | null
85
- const STOCK_CLOSE: string | null
86
- const STOCK_FIND_UNSUPPORTED: string | null
87
- const STOCK_INVERTED_COLORS: string | null
88
- const STOCK_OUTLINE: string | null
89
- const STOCK_RESIZE_SE: string | null
90
- const STOCK_RESIZE_SW: string | null
91
- const STOCK_ROTATE_LEFT: string | null
92
- const STOCK_ROTATE_RIGHT: string | null
93
- const STOCK_RUN_PRESENTATION: string | null
94
- const STOCK_SEND_TO: string | null
95
- const STOCK_VIEW_CONTINUOUS: string | null
96
- const STOCK_VIEW_DUAL: string | null
97
- const STOCK_VIEW_SIDEBAR: string | null
98
- const STOCK_VISIBLE: string | null
99
- const STOCK_ZOOM: string | null
100
- const STOCK_ZOOM_PAGE: string | null
101
- const STOCK_ZOOM_WIDTH: string | null
82
+ const STOCK_ANNOT_SQUIGGLY: string
83
+ const STOCK_ANNOT_TEXT: string
84
+ const STOCK_ATTACHMENT: string
85
+ const STOCK_CLOSE: string
86
+ const STOCK_FIND_UNSUPPORTED: string
87
+ const STOCK_INVERTED_COLORS: string
88
+ const STOCK_OUTLINE: string
89
+ const STOCK_RESIZE_SE: string
90
+ const STOCK_RESIZE_SW: string
91
+ const STOCK_ROTATE_LEFT: string
92
+ const STOCK_ROTATE_RIGHT: string
93
+ const STOCK_RUN_PRESENTATION: string
94
+ const STOCK_SEND_TO: string
95
+ const STOCK_VIEW_CONTINUOUS: string
96
+ const STOCK_VIEW_DUAL: string
97
+ const STOCK_VIEW_SIDEBAR: string
98
+ const STOCK_VISIBLE: string
99
+ const STOCK_ZOOM: string
100
+ const STOCK_ZOOM_PAGE: string
101
+ const STOCK_ZOOM_WIDTH: string
102
102
  /**
103
103
  * Creates a new icon factory, adding the base stock icons to it.
104
104
  */
@@ -137,6 +137,13 @@ module DocumentModel {
137
137
  rtl?: boolean | null
138
138
  scale?: number | null
139
139
  sizing_mode?: SizingMode | null
140
+ dualOddLeft?: boolean | null
141
+ dualPage?: boolean | null
142
+ invertedColors?: boolean | null
143
+ maxScale?: number | null
144
+ minScale?: number | null
145
+ pageLayout?: PageLayout | null
146
+ sizingMode?: SizingMode | null
140
147
  }
141
148
 
142
149
  }
@@ -148,17 +155,24 @@ interface DocumentModel {
148
155
  continuous: boolean
149
156
  document: EvinceDocument.Document
150
157
  dual_odd_left: boolean
158
+ dualOddLeft: boolean
151
159
  dual_page: boolean
160
+ dualPage: boolean
152
161
  fullscreen: boolean
153
162
  inverted_colors: boolean
163
+ invertedColors: boolean
154
164
  max_scale: number
165
+ maxScale: number
155
166
  min_scale: number
167
+ minScale: number
156
168
  page: number
157
169
  page_layout: PageLayout
170
+ pageLayout: PageLayout
158
171
  rotation: number
159
172
  rtl: boolean
160
173
  scale: number
161
174
  sizing_mode: SizingMode
175
+ sizingMode: SizingMode
162
176
 
163
177
  // Owm methods of EvinceView-3.0.EvinceView.DocumentModel
164
178
 
@@ -194,7 +208,7 @@ interface DocumentModel {
194
208
  set_max_scale(max_scale: number): void
195
209
  set_min_scale(min_scale: number): void
196
210
  set_page(page: number): void
197
- set_page_by_label(page_label: string | null): void
211
+ set_page_by_label(page_label: string): void
198
212
  /**
199
213
  * Sets the document model's page layout to `layout`.
200
214
  * @param layout a #EvPageLayout
@@ -569,8 +583,8 @@ class JobFind extends Job {
569
583
  // Constructors of EvinceView-3.0.EvinceView.JobFind
570
584
 
571
585
  constructor(config?: JobFind.ConstructorProperties)
572
- constructor(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string | null, case_sensitive: boolean)
573
- static new(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string | null, case_sensitive: boolean): JobFind
586
+ constructor(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string, case_sensitive: boolean)
587
+ static new(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string, case_sensitive: boolean): JobFind
574
588
  _init(config?: JobFind.ConstructorProperties): void
575
589
  }
576
590
 
@@ -738,8 +752,8 @@ interface JobLoad {
738
752
 
739
753
  // Owm methods of EvinceView-3.0.EvinceView.JobLoad
740
754
 
741
- set_password(password: string | null): void
742
- set_uri(uri: string | null): void
755
+ set_password(password: string): void
756
+ set_uri(uri: string): void
743
757
 
744
758
  // Class property signals of EvinceView-3.0.EvinceView.JobLoad
745
759
 
@@ -759,8 +773,8 @@ class JobLoad extends Job {
759
773
  // Constructors of EvinceView-3.0.EvinceView.JobLoad
760
774
 
761
775
  constructor(config?: JobLoad.ConstructorProperties)
762
- constructor(uri: string | null)
763
- static new(uri: string | null): JobLoad
776
+ constructor(uri: string)
777
+ static new(uri: string): JobLoad
764
778
  _init(config?: JobLoad.ConstructorProperties): void
765
779
  }
766
780
 
@@ -793,8 +807,8 @@ interface JobLoadFd {
793
807
  */
794
808
  set_fd(fd: number): boolean
795
809
  set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
796
- set_mime_type(mime_type: string | null): void
797
- set_password(password: string | null): void
810
+ set_mime_type(mime_type: string): void
811
+ set_password(password: string): void
798
812
  /**
799
813
  * Sets `fd` as the file descriptor in `job`.
800
814
  * Note that `job` takes ownership of `fd;` you must not do anything
@@ -835,7 +849,7 @@ class JobLoadFd extends Job {
835
849
  * @param flags flags from #EvDocumentLoadFlags
836
850
  * @returns the new #EvJobLoadFd, or %NULL
837
851
  */
838
- constructor(fd: number, mime_type: string | null, flags: EvinceDocument.DocumentLoadFlags)
852
+ constructor(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags)
839
853
  /**
840
854
  * Creates a new #EvJobLoadFd for `fd`. If duplicating `fd` fails,
841
855
  * returns %NULL with `error` filled in.
@@ -845,8 +859,8 @@ class JobLoadFd extends Job {
845
859
  * @param flags flags from #EvDocumentLoadFlags
846
860
  * @returns the new #EvJobLoadFd, or %NULL
847
861
  */
848
- static new(fd: number, mime_type: string | null, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
849
- static new_take(fd: number, mime_type: string | null, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
862
+ static new(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
863
+ static new_take(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
850
864
  _init(config?: JobLoadFd.ConstructorProperties): void
851
865
  }
852
866
 
@@ -872,7 +886,7 @@ interface JobLoadGFile {
872
886
 
873
887
  set_gfile(gfile: Gio.File): void
874
888
  set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
875
- set_password(password: string | null): void
889
+ set_password(password: string): void
876
890
 
877
891
  // Class property signals of EvinceView-3.0.EvinceView.JobLoadGFile
878
892
 
@@ -922,8 +936,8 @@ interface JobLoadStream {
922
936
  // Owm methods of EvinceView-3.0.EvinceView.JobLoadStream
923
937
 
924
938
  set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
925
- set_mime_type(mime_type: string | null): void
926
- set_password(password: string | null): void
939
+ set_mime_type(mime_type: string): void
940
+ set_password(password: string): void
927
941
  set_stream(stream: Gio.InputStream): void
928
942
 
929
943
  // Class property signals of EvinceView-3.0.EvinceView.JobLoadStream
@@ -1141,8 +1155,8 @@ class JobSave extends Job {
1141
1155
  // Constructors of EvinceView-3.0.EvinceView.JobSave
1142
1156
 
1143
1157
  constructor(config?: JobSave.ConstructorProperties)
1144
- constructor(document: EvinceDocument.Document, uri: string | null, document_uri: string | null)
1145
- static new(document: EvinceDocument.Document, uri: string | null, document_uri: string | null): JobSave
1158
+ constructor(document: EvinceDocument.Document, uri: string, document_uri: string)
1159
+ static new(document: EvinceDocument.Document, uri: string, document_uri: string): JobSave
1146
1160
  _init(config?: JobSave.ConstructorProperties): void
1147
1161
  }
1148
1162
 
@@ -1252,15 +1266,15 @@ interface PrintOperation {
1252
1266
  get_default_page_setup(): Gtk.PageSetup
1253
1267
  get_embed_page_setup(): boolean
1254
1268
  get_error(): void
1255
- get_job_name(): string | null
1269
+ get_job_name(): string
1256
1270
  get_print_settings(): Gtk.PrintSettings
1257
1271
  get_progress(): number
1258
- get_status(): string | null
1272
+ get_status(): string
1259
1273
  run(parent: Gtk.Window): void
1260
1274
  set_current_page(current_page: number): void
1261
1275
  set_default_page_setup(page_setup: Gtk.PageSetup): void
1262
1276
  set_embed_page_setup(embed: boolean): void
1263
- set_job_name(job_name: string | null): void
1277
+ set_job_name(job_name: string): void
1264
1278
  set_print_settings(print_settings: Gtk.PrintSettings): void
1265
1279
 
1266
1280
  // Own signals of EvinceView-3.0.EvinceView.PrintOperation
@@ -1417,11 +1431,17 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
1417
1431
  // Own properties of EvinceView-3.0.EvinceView.View
1418
1432
 
1419
1433
  readonly can_zoom_in: boolean
1434
+ readonly canZoomIn: boolean
1420
1435
  readonly can_zoom_out: boolean
1436
+ readonly canZoomOut: boolean
1421
1437
  /**
1422
1438
  * Allows to implement a custom notification system.
1423
1439
  */
1424
1440
  readonly is_loading: boolean
1441
+ /**
1442
+ * Allows to implement a custom notification system.
1443
+ */
1444
+ readonly isLoading: boolean
1425
1445
 
1426
1446
  // Owm methods of EvinceView-3.0.EvinceView.View
1427
1447
 
@@ -1520,7 +1540,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
1520
1540
  * @param child the child widget
1521
1541
  * @param child_property the name of a child property installed on the class of `container`
1522
1542
  */
1523
- child_notify(child: Gtk.Widget, child_property: string | null): void
1543
+ child_notify(child: Gtk.Widget, child_property: string): void
1524
1544
 
1525
1545
  // Overloads of child_notify
1526
1546
 
@@ -1534,7 +1554,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
1534
1554
  * Also see gtk_container_child_notify().
1535
1555
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1536
1556
  */
1537
- child_notify(child_property: string | null): void
1557
+ child_notify(child_property: string): void
1538
1558
  /**
1539
1559
  * Emits a #GtkWidget::child-notify signal for the
1540
1560
  * [child property][child-properties] `child_property`
@@ -1545,7 +1565,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
1545
1565
  * Also see gtk_container_child_notify().
1546
1566
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1547
1567
  */
1548
- child_notify(child_property: string | null): void
1568
+ child_notify(child_property: string): void
1549
1569
 
1550
1570
  // Own signals of EvinceView-3.0.EvinceView.View
1551
1571
 
@@ -1798,6 +1818,8 @@ module ViewPresentation {
1798
1818
  document?: EvinceDocument.Document | null
1799
1819
  inverted_colors?: boolean | null
1800
1820
  rotation?: number | null
1821
+ currentPage?: number | null
1822
+ invertedColors?: boolean | null
1801
1823
  }
1802
1824
 
1803
1825
  }
@@ -1807,8 +1829,10 @@ interface ViewPresentation extends Atk.ImplementorIface, Gtk.Buildable {
1807
1829
  // Own properties of EvinceView-3.0.EvinceView.ViewPresentation
1808
1830
 
1809
1831
  current_page: number
1832
+ currentPage: number
1810
1833
  readonly document: EvinceDocument.Document
1811
1834
  readonly inverted_colors: boolean
1835
+ readonly invertedColors: boolean
1812
1836
  rotation: number
1813
1837
 
1814
1838
  // Owm methods of EvinceView-3.0.EvinceView.ViewPresentation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/evinceview-3.0",
3
- "version": "3.0.0-3.2.5",
3
+ "version": "3.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for EvinceView-3.0, generated from library version 3.0.0",
5
5
  "type": "module",
6
6
  "module": "evinceview-3.0.js",
@@ -25,21 +25,21 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit evinceview-3.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/atk-1.0": "^2.50.0-3.2.5",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.5",
30
- "@girs/evincedocument-3.0": "^45.0.0-3.2.5",
31
- "@girs/freetype2-2.0": "^2.0.0-3.2.5",
32
- "@girs/gdk-3.0": "^3.24.38-3.2.5",
33
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.5",
34
- "@girs/gio-2.0": "^2.78.0-3.2.5",
35
- "@girs/gjs": "^3.2.5",
36
- "@girs/glib-2.0": "^2.78.0-3.2.5",
37
- "@girs/gmodule-2.0": "^2.0.0-3.2.5",
38
- "@girs/gobject-2.0": "^2.78.0-3.2.5",
39
- "@girs/gtk-3.0": "^3.24.38-3.2.5",
40
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.5",
41
- "@girs/pango-1.0": "^1.51.0-3.2.5",
42
- "@girs/xlib-2.0": "^2.0.0-3.2.5"
28
+ "@girs/atk-1.0": "^2.50.0-3.2.7",
29
+ "@girs/cairo-1.0": "^1.0.0-3.2.7",
30
+ "@girs/evincedocument-3.0": "^45.0.0-3.2.7",
31
+ "@girs/freetype2-2.0": "^2.0.0-3.2.7",
32
+ "@girs/gdk-3.0": "^3.24.38-3.2.7",
33
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
34
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
35
+ "@girs/gjs": "^3.2.7",
36
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
37
+ "@girs/gmodule-2.0": "^2.0.0-3.2.7",
38
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
39
+ "@girs/gtk-3.0": "^3.24.38-3.2.7",
40
+ "@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
41
+ "@girs/pango-1.0": "^1.51.0-3.2.7",
42
+ "@girs/xlib-2.0": "^2.0.0-3.2.7"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "*"