@girs/evinceview-3.0 3.0.0-3.2.6 → 3.0.0-3.2.8
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 +1 -1
- package/evinceview-3.0-ambient.js +2 -0
- package/evinceview-3.0-import.js +3 -0
- package/evinceview-3.0.d.cts +53 -74
- package/evinceview-3.0.d.ts +53 -74
- package/package.json +25 -19
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
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.
|
|
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.8.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/evinceview-3.0.d.cts
CHANGED
|
@@ -77,26 +77,26 @@ export enum JobPageDataFlags {
|
|
|
77
77
|
MEDIA,
|
|
78
78
|
ALL,
|
|
79
79
|
}
|
|
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
|
|
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
|
*/
|
|
@@ -123,24 +123,17 @@ export module DocumentModel {
|
|
|
123
123
|
|
|
124
124
|
continuous?: boolean | null
|
|
125
125
|
document?: EvinceDocument.Document | null
|
|
126
|
-
dual_odd_left?: boolean | null
|
|
127
|
-
dual_page?: boolean | null
|
|
128
|
-
fullscreen?: boolean | null
|
|
129
|
-
inverted_colors?: boolean | null
|
|
130
|
-
max_scale?: number | null
|
|
131
|
-
min_scale?: number | null
|
|
132
|
-
page?: number | null
|
|
133
|
-
page_layout?: PageLayout | null
|
|
134
|
-
rotation?: number | null
|
|
135
|
-
rtl?: boolean | null
|
|
136
|
-
scale?: number | null
|
|
137
|
-
sizing_mode?: SizingMode | null
|
|
138
126
|
dualOddLeft?: boolean | null
|
|
139
127
|
dualPage?: boolean | null
|
|
128
|
+
fullscreen?: boolean | null
|
|
140
129
|
invertedColors?: boolean | null
|
|
141
130
|
maxScale?: number | null
|
|
142
131
|
minScale?: number | null
|
|
132
|
+
page?: number | null
|
|
143
133
|
pageLayout?: PageLayout | null
|
|
134
|
+
rotation?: number | null
|
|
135
|
+
rtl?: boolean | null
|
|
136
|
+
scale?: number | null
|
|
144
137
|
sizingMode?: SizingMode | null
|
|
145
138
|
}
|
|
146
139
|
|
|
@@ -152,24 +145,17 @@ export interface DocumentModel {
|
|
|
152
145
|
|
|
153
146
|
continuous: boolean
|
|
154
147
|
document: EvinceDocument.Document
|
|
155
|
-
dual_odd_left: boolean
|
|
156
148
|
dualOddLeft: boolean
|
|
157
|
-
dual_page: boolean
|
|
158
149
|
dualPage: boolean
|
|
159
150
|
fullscreen: boolean
|
|
160
|
-
inverted_colors: boolean
|
|
161
151
|
invertedColors: boolean
|
|
162
|
-
max_scale: number
|
|
163
152
|
maxScale: number
|
|
164
|
-
min_scale: number
|
|
165
153
|
minScale: number
|
|
166
154
|
page: number
|
|
167
|
-
page_layout: PageLayout
|
|
168
155
|
pageLayout: PageLayout
|
|
169
156
|
rotation: number
|
|
170
157
|
rtl: boolean
|
|
171
158
|
scale: number
|
|
172
|
-
sizing_mode: SizingMode
|
|
173
159
|
sizingMode: SizingMode
|
|
174
160
|
|
|
175
161
|
// Owm methods of EvinceView-3.0.EvinceView.DocumentModel
|
|
@@ -206,7 +192,7 @@ export interface DocumentModel {
|
|
|
206
192
|
set_max_scale(max_scale: number): void
|
|
207
193
|
set_min_scale(min_scale: number): void
|
|
208
194
|
set_page(page: number): void
|
|
209
|
-
set_page_by_label(page_label: string
|
|
195
|
+
set_page_by_label(page_label: string): void
|
|
210
196
|
/**
|
|
211
197
|
* Sets the document model's page layout to `layout`.
|
|
212
198
|
* @param layout a #EvPageLayout
|
|
@@ -581,8 +567,8 @@ export class JobFind extends Job {
|
|
|
581
567
|
// Constructors of EvinceView-3.0.EvinceView.JobFind
|
|
582
568
|
|
|
583
569
|
constructor(config?: JobFind.ConstructorProperties)
|
|
584
|
-
constructor(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string
|
|
585
|
-
static new(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string
|
|
570
|
+
constructor(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string, case_sensitive: boolean)
|
|
571
|
+
static new(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string, case_sensitive: boolean): JobFind
|
|
586
572
|
_init(config?: JobFind.ConstructorProperties): void
|
|
587
573
|
}
|
|
588
574
|
|
|
@@ -750,8 +736,8 @@ export interface JobLoad {
|
|
|
750
736
|
|
|
751
737
|
// Owm methods of EvinceView-3.0.EvinceView.JobLoad
|
|
752
738
|
|
|
753
|
-
set_password(password: string
|
|
754
|
-
set_uri(uri: string
|
|
739
|
+
set_password(password: string): void
|
|
740
|
+
set_uri(uri: string): void
|
|
755
741
|
|
|
756
742
|
// Class property signals of EvinceView-3.0.EvinceView.JobLoad
|
|
757
743
|
|
|
@@ -771,8 +757,8 @@ export class JobLoad extends Job {
|
|
|
771
757
|
// Constructors of EvinceView-3.0.EvinceView.JobLoad
|
|
772
758
|
|
|
773
759
|
constructor(config?: JobLoad.ConstructorProperties)
|
|
774
|
-
constructor(uri: string
|
|
775
|
-
static new(uri: string
|
|
760
|
+
constructor(uri: string)
|
|
761
|
+
static new(uri: string): JobLoad
|
|
776
762
|
_init(config?: JobLoad.ConstructorProperties): void
|
|
777
763
|
}
|
|
778
764
|
|
|
@@ -805,8 +791,8 @@ export interface JobLoadFd {
|
|
|
805
791
|
*/
|
|
806
792
|
set_fd(fd: number): boolean
|
|
807
793
|
set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
|
|
808
|
-
set_mime_type(mime_type: string
|
|
809
|
-
set_password(password: string
|
|
794
|
+
set_mime_type(mime_type: string): void
|
|
795
|
+
set_password(password: string): void
|
|
810
796
|
/**
|
|
811
797
|
* Sets `fd` as the file descriptor in `job`.
|
|
812
798
|
* Note that `job` takes ownership of `fd;` you must not do anything
|
|
@@ -847,7 +833,7 @@ export class JobLoadFd extends Job {
|
|
|
847
833
|
* @param flags flags from #EvDocumentLoadFlags
|
|
848
834
|
* @returns the new #EvJobLoadFd, or %NULL
|
|
849
835
|
*/
|
|
850
|
-
constructor(fd: number, mime_type: string
|
|
836
|
+
constructor(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags)
|
|
851
837
|
/**
|
|
852
838
|
* Creates a new #EvJobLoadFd for `fd`. If duplicating `fd` fails,
|
|
853
839
|
* returns %NULL with `error` filled in.
|
|
@@ -857,8 +843,8 @@ export class JobLoadFd extends Job {
|
|
|
857
843
|
* @param flags flags from #EvDocumentLoadFlags
|
|
858
844
|
* @returns the new #EvJobLoadFd, or %NULL
|
|
859
845
|
*/
|
|
860
|
-
static new(fd: number, mime_type: string
|
|
861
|
-
static new_take(fd: number, mime_type: string
|
|
846
|
+
static new(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
|
|
847
|
+
static new_take(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
|
|
862
848
|
_init(config?: JobLoadFd.ConstructorProperties): void
|
|
863
849
|
}
|
|
864
850
|
|
|
@@ -884,7 +870,7 @@ export interface JobLoadGFile {
|
|
|
884
870
|
|
|
885
871
|
set_gfile(gfile: Gio.File): void
|
|
886
872
|
set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
|
|
887
|
-
set_password(password: string
|
|
873
|
+
set_password(password: string): void
|
|
888
874
|
|
|
889
875
|
// Class property signals of EvinceView-3.0.EvinceView.JobLoadGFile
|
|
890
876
|
|
|
@@ -934,8 +920,8 @@ export interface JobLoadStream {
|
|
|
934
920
|
// Owm methods of EvinceView-3.0.EvinceView.JobLoadStream
|
|
935
921
|
|
|
936
922
|
set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
|
|
937
|
-
set_mime_type(mime_type: string
|
|
938
|
-
set_password(password: string
|
|
923
|
+
set_mime_type(mime_type: string): void
|
|
924
|
+
set_password(password: string): void
|
|
939
925
|
set_stream(stream: Gio.InputStream): void
|
|
940
926
|
|
|
941
927
|
// Class property signals of EvinceView-3.0.EvinceView.JobLoadStream
|
|
@@ -1153,8 +1139,8 @@ export class JobSave extends Job {
|
|
|
1153
1139
|
// Constructors of EvinceView-3.0.EvinceView.JobSave
|
|
1154
1140
|
|
|
1155
1141
|
constructor(config?: JobSave.ConstructorProperties)
|
|
1156
|
-
constructor(document: EvinceDocument.Document, uri: string
|
|
1157
|
-
static new(document: EvinceDocument.Document, uri: string
|
|
1142
|
+
constructor(document: EvinceDocument.Document, uri: string, document_uri: string)
|
|
1143
|
+
static new(document: EvinceDocument.Document, uri: string, document_uri: string): JobSave
|
|
1158
1144
|
_init(config?: JobSave.ConstructorProperties): void
|
|
1159
1145
|
}
|
|
1160
1146
|
|
|
@@ -1264,15 +1250,15 @@ export interface PrintOperation {
|
|
|
1264
1250
|
get_default_page_setup(): Gtk.PageSetup
|
|
1265
1251
|
get_embed_page_setup(): boolean
|
|
1266
1252
|
get_error(): void
|
|
1267
|
-
get_job_name(): string
|
|
1253
|
+
get_job_name(): string
|
|
1268
1254
|
get_print_settings(): Gtk.PrintSettings
|
|
1269
1255
|
get_progress(): number
|
|
1270
|
-
get_status(): string
|
|
1256
|
+
get_status(): string
|
|
1271
1257
|
run(parent: Gtk.Window): void
|
|
1272
1258
|
set_current_page(current_page: number): void
|
|
1273
1259
|
set_default_page_setup(page_setup: Gtk.PageSetup): void
|
|
1274
1260
|
set_embed_page_setup(embed: boolean): void
|
|
1275
|
-
set_job_name(job_name: string
|
|
1261
|
+
set_job_name(job_name: string): void
|
|
1276
1262
|
set_print_settings(print_settings: Gtk.PrintSettings): void
|
|
1277
1263
|
|
|
1278
1264
|
// Own signals of EvinceView-3.0.EvinceView.PrintOperation
|
|
@@ -1428,14 +1414,8 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
1428
1414
|
|
|
1429
1415
|
// Own properties of EvinceView-3.0.EvinceView.View
|
|
1430
1416
|
|
|
1431
|
-
readonly can_zoom_in: boolean
|
|
1432
1417
|
readonly canZoomIn: boolean
|
|
1433
|
-
readonly can_zoom_out: boolean
|
|
1434
1418
|
readonly canZoomOut: boolean
|
|
1435
|
-
/**
|
|
1436
|
-
* Allows to implement a custom notification system.
|
|
1437
|
-
*/
|
|
1438
|
-
readonly is_loading: boolean
|
|
1439
1419
|
/**
|
|
1440
1420
|
* Allows to implement a custom notification system.
|
|
1441
1421
|
*/
|
|
@@ -1455,6 +1435,8 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
1455
1435
|
autoscroll_start(): void
|
|
1456
1436
|
autoscroll_stop(): void
|
|
1457
1437
|
begin_add_annotation(annot_type: EvinceDocument.AnnotationType): void
|
|
1438
|
+
can_zoom_in(): boolean
|
|
1439
|
+
can_zoom_out(): boolean
|
|
1458
1440
|
cancel_add_annotation(): void
|
|
1459
1441
|
copy(): void
|
|
1460
1442
|
copy_link_address(action: EvinceDocument.LinkAction): void
|
|
@@ -1494,6 +1476,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
1494
1476
|
hide_cursor(): void
|
|
1495
1477
|
highlight_forward_search(link: EvinceDocument.SourceLink): void
|
|
1496
1478
|
is_caret_navigation_enabled(): boolean
|
|
1479
|
+
is_loading(): boolean
|
|
1497
1480
|
next_page(): boolean
|
|
1498
1481
|
previous_page(): boolean
|
|
1499
1482
|
reload(): void
|
|
@@ -1538,7 +1521,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
1538
1521
|
* @param child the child widget
|
|
1539
1522
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1540
1523
|
*/
|
|
1541
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1524
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1542
1525
|
|
|
1543
1526
|
// Overloads of child_notify
|
|
1544
1527
|
|
|
@@ -1552,7 +1535,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
1552
1535
|
* Also see gtk_container_child_notify().
|
|
1553
1536
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1554
1537
|
*/
|
|
1555
|
-
child_notify(child_property: string
|
|
1538
|
+
child_notify(child_property: string): void
|
|
1556
1539
|
/**
|
|
1557
1540
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1558
1541
|
* [child property][child-properties] `child_property`
|
|
@@ -1563,7 +1546,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
1563
1546
|
* Also see gtk_container_child_notify().
|
|
1564
1547
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1565
1548
|
*/
|
|
1566
|
-
child_notify(child_property: string
|
|
1549
|
+
child_notify(child_property: string): void
|
|
1567
1550
|
|
|
1568
1551
|
// Own signals of EvinceView-3.0.EvinceView.View
|
|
1569
1552
|
|
|
@@ -1812,12 +1795,10 @@ export module ViewPresentation {
|
|
|
1812
1795
|
|
|
1813
1796
|
// Own constructor properties of EvinceView-3.0.EvinceView.ViewPresentation
|
|
1814
1797
|
|
|
1815
|
-
current_page?: number | null
|
|
1816
|
-
document?: EvinceDocument.Document | null
|
|
1817
|
-
inverted_colors?: boolean | null
|
|
1818
|
-
rotation?: number | null
|
|
1819
1798
|
currentPage?: number | null
|
|
1799
|
+
document?: EvinceDocument.Document | null
|
|
1820
1800
|
invertedColors?: boolean | null
|
|
1801
|
+
rotation?: number | null
|
|
1821
1802
|
}
|
|
1822
1803
|
|
|
1823
1804
|
}
|
|
@@ -1826,10 +1807,8 @@ export interface ViewPresentation extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1826
1807
|
|
|
1827
1808
|
// Own properties of EvinceView-3.0.EvinceView.ViewPresentation
|
|
1828
1809
|
|
|
1829
|
-
current_page: number
|
|
1830
1810
|
currentPage: number
|
|
1831
1811
|
readonly document: EvinceDocument.Document
|
|
1832
|
-
readonly inverted_colors: boolean
|
|
1833
1812
|
readonly invertedColors: boolean
|
|
1834
1813
|
rotation: number
|
|
1835
1814
|
|
package/evinceview-3.0.d.ts
CHANGED
|
@@ -79,26 +79,26 @@ enum JobPageDataFlags {
|
|
|
79
79
|
MEDIA,
|
|
80
80
|
ALL,
|
|
81
81
|
}
|
|
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
|
|
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
|
*/
|
|
@@ -125,24 +125,17 @@ module DocumentModel {
|
|
|
125
125
|
|
|
126
126
|
continuous?: boolean | null
|
|
127
127
|
document?: EvinceDocument.Document | null
|
|
128
|
-
dual_odd_left?: boolean | null
|
|
129
|
-
dual_page?: boolean | null
|
|
130
|
-
fullscreen?: boolean | null
|
|
131
|
-
inverted_colors?: boolean | null
|
|
132
|
-
max_scale?: number | null
|
|
133
|
-
min_scale?: number | null
|
|
134
|
-
page?: number | null
|
|
135
|
-
page_layout?: PageLayout | null
|
|
136
|
-
rotation?: number | null
|
|
137
|
-
rtl?: boolean | null
|
|
138
|
-
scale?: number | null
|
|
139
|
-
sizing_mode?: SizingMode | null
|
|
140
128
|
dualOddLeft?: boolean | null
|
|
141
129
|
dualPage?: boolean | null
|
|
130
|
+
fullscreen?: boolean | null
|
|
142
131
|
invertedColors?: boolean | null
|
|
143
132
|
maxScale?: number | null
|
|
144
133
|
minScale?: number | null
|
|
134
|
+
page?: number | null
|
|
145
135
|
pageLayout?: PageLayout | null
|
|
136
|
+
rotation?: number | null
|
|
137
|
+
rtl?: boolean | null
|
|
138
|
+
scale?: number | null
|
|
146
139
|
sizingMode?: SizingMode | null
|
|
147
140
|
}
|
|
148
141
|
|
|
@@ -154,24 +147,17 @@ interface DocumentModel {
|
|
|
154
147
|
|
|
155
148
|
continuous: boolean
|
|
156
149
|
document: EvinceDocument.Document
|
|
157
|
-
dual_odd_left: boolean
|
|
158
150
|
dualOddLeft: boolean
|
|
159
|
-
dual_page: boolean
|
|
160
151
|
dualPage: boolean
|
|
161
152
|
fullscreen: boolean
|
|
162
|
-
inverted_colors: boolean
|
|
163
153
|
invertedColors: boolean
|
|
164
|
-
max_scale: number
|
|
165
154
|
maxScale: number
|
|
166
|
-
min_scale: number
|
|
167
155
|
minScale: number
|
|
168
156
|
page: number
|
|
169
|
-
page_layout: PageLayout
|
|
170
157
|
pageLayout: PageLayout
|
|
171
158
|
rotation: number
|
|
172
159
|
rtl: boolean
|
|
173
160
|
scale: number
|
|
174
|
-
sizing_mode: SizingMode
|
|
175
161
|
sizingMode: SizingMode
|
|
176
162
|
|
|
177
163
|
// Owm methods of EvinceView-3.0.EvinceView.DocumentModel
|
|
@@ -208,7 +194,7 @@ interface DocumentModel {
|
|
|
208
194
|
set_max_scale(max_scale: number): void
|
|
209
195
|
set_min_scale(min_scale: number): void
|
|
210
196
|
set_page(page: number): void
|
|
211
|
-
set_page_by_label(page_label: string
|
|
197
|
+
set_page_by_label(page_label: string): void
|
|
212
198
|
/**
|
|
213
199
|
* Sets the document model's page layout to `layout`.
|
|
214
200
|
* @param layout a #EvPageLayout
|
|
@@ -583,8 +569,8 @@ class JobFind extends Job {
|
|
|
583
569
|
// Constructors of EvinceView-3.0.EvinceView.JobFind
|
|
584
570
|
|
|
585
571
|
constructor(config?: JobFind.ConstructorProperties)
|
|
586
|
-
constructor(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string
|
|
587
|
-
static new(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string
|
|
572
|
+
constructor(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string, case_sensitive: boolean)
|
|
573
|
+
static new(document: EvinceDocument.Document, start_page: number, n_pages: number, text: string, case_sensitive: boolean): JobFind
|
|
588
574
|
_init(config?: JobFind.ConstructorProperties): void
|
|
589
575
|
}
|
|
590
576
|
|
|
@@ -752,8 +738,8 @@ interface JobLoad {
|
|
|
752
738
|
|
|
753
739
|
// Owm methods of EvinceView-3.0.EvinceView.JobLoad
|
|
754
740
|
|
|
755
|
-
set_password(password: string
|
|
756
|
-
set_uri(uri: string
|
|
741
|
+
set_password(password: string): void
|
|
742
|
+
set_uri(uri: string): void
|
|
757
743
|
|
|
758
744
|
// Class property signals of EvinceView-3.0.EvinceView.JobLoad
|
|
759
745
|
|
|
@@ -773,8 +759,8 @@ class JobLoad extends Job {
|
|
|
773
759
|
// Constructors of EvinceView-3.0.EvinceView.JobLoad
|
|
774
760
|
|
|
775
761
|
constructor(config?: JobLoad.ConstructorProperties)
|
|
776
|
-
constructor(uri: string
|
|
777
|
-
static new(uri: string
|
|
762
|
+
constructor(uri: string)
|
|
763
|
+
static new(uri: string): JobLoad
|
|
778
764
|
_init(config?: JobLoad.ConstructorProperties): void
|
|
779
765
|
}
|
|
780
766
|
|
|
@@ -807,8 +793,8 @@ interface JobLoadFd {
|
|
|
807
793
|
*/
|
|
808
794
|
set_fd(fd: number): boolean
|
|
809
795
|
set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
|
|
810
|
-
set_mime_type(mime_type: string
|
|
811
|
-
set_password(password: string
|
|
796
|
+
set_mime_type(mime_type: string): void
|
|
797
|
+
set_password(password: string): void
|
|
812
798
|
/**
|
|
813
799
|
* Sets `fd` as the file descriptor in `job`.
|
|
814
800
|
* Note that `job` takes ownership of `fd;` you must not do anything
|
|
@@ -849,7 +835,7 @@ class JobLoadFd extends Job {
|
|
|
849
835
|
* @param flags flags from #EvDocumentLoadFlags
|
|
850
836
|
* @returns the new #EvJobLoadFd, or %NULL
|
|
851
837
|
*/
|
|
852
|
-
constructor(fd: number, mime_type: string
|
|
838
|
+
constructor(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags)
|
|
853
839
|
/**
|
|
854
840
|
* Creates a new #EvJobLoadFd for `fd`. If duplicating `fd` fails,
|
|
855
841
|
* returns %NULL with `error` filled in.
|
|
@@ -859,8 +845,8 @@ class JobLoadFd extends Job {
|
|
|
859
845
|
* @param flags flags from #EvDocumentLoadFlags
|
|
860
846
|
* @returns the new #EvJobLoadFd, or %NULL
|
|
861
847
|
*/
|
|
862
|
-
static new(fd: number, mime_type: string
|
|
863
|
-
static new_take(fd: number, mime_type: string
|
|
848
|
+
static new(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
|
|
849
|
+
static new_take(fd: number, mime_type: string, flags: EvinceDocument.DocumentLoadFlags): JobLoadFd
|
|
864
850
|
_init(config?: JobLoadFd.ConstructorProperties): void
|
|
865
851
|
}
|
|
866
852
|
|
|
@@ -886,7 +872,7 @@ interface JobLoadGFile {
|
|
|
886
872
|
|
|
887
873
|
set_gfile(gfile: Gio.File): void
|
|
888
874
|
set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
|
|
889
|
-
set_password(password: string
|
|
875
|
+
set_password(password: string): void
|
|
890
876
|
|
|
891
877
|
// Class property signals of EvinceView-3.0.EvinceView.JobLoadGFile
|
|
892
878
|
|
|
@@ -936,8 +922,8 @@ interface JobLoadStream {
|
|
|
936
922
|
// Owm methods of EvinceView-3.0.EvinceView.JobLoadStream
|
|
937
923
|
|
|
938
924
|
set_load_flags(flags: EvinceDocument.DocumentLoadFlags): void
|
|
939
|
-
set_mime_type(mime_type: string
|
|
940
|
-
set_password(password: string
|
|
925
|
+
set_mime_type(mime_type: string): void
|
|
926
|
+
set_password(password: string): void
|
|
941
927
|
set_stream(stream: Gio.InputStream): void
|
|
942
928
|
|
|
943
929
|
// Class property signals of EvinceView-3.0.EvinceView.JobLoadStream
|
|
@@ -1155,8 +1141,8 @@ class JobSave extends Job {
|
|
|
1155
1141
|
// Constructors of EvinceView-3.0.EvinceView.JobSave
|
|
1156
1142
|
|
|
1157
1143
|
constructor(config?: JobSave.ConstructorProperties)
|
|
1158
|
-
constructor(document: EvinceDocument.Document, uri: string
|
|
1159
|
-
static new(document: EvinceDocument.Document, uri: string
|
|
1144
|
+
constructor(document: EvinceDocument.Document, uri: string, document_uri: string)
|
|
1145
|
+
static new(document: EvinceDocument.Document, uri: string, document_uri: string): JobSave
|
|
1160
1146
|
_init(config?: JobSave.ConstructorProperties): void
|
|
1161
1147
|
}
|
|
1162
1148
|
|
|
@@ -1266,15 +1252,15 @@ interface PrintOperation {
|
|
|
1266
1252
|
get_default_page_setup(): Gtk.PageSetup
|
|
1267
1253
|
get_embed_page_setup(): boolean
|
|
1268
1254
|
get_error(): void
|
|
1269
|
-
get_job_name(): string
|
|
1255
|
+
get_job_name(): string
|
|
1270
1256
|
get_print_settings(): Gtk.PrintSettings
|
|
1271
1257
|
get_progress(): number
|
|
1272
|
-
get_status(): string
|
|
1258
|
+
get_status(): string
|
|
1273
1259
|
run(parent: Gtk.Window): void
|
|
1274
1260
|
set_current_page(current_page: number): void
|
|
1275
1261
|
set_default_page_setup(page_setup: Gtk.PageSetup): void
|
|
1276
1262
|
set_embed_page_setup(embed: boolean): void
|
|
1277
|
-
set_job_name(job_name: string
|
|
1263
|
+
set_job_name(job_name: string): void
|
|
1278
1264
|
set_print_settings(print_settings: Gtk.PrintSettings): void
|
|
1279
1265
|
|
|
1280
1266
|
// Own signals of EvinceView-3.0.EvinceView.PrintOperation
|
|
@@ -1430,14 +1416,8 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
1430
1416
|
|
|
1431
1417
|
// Own properties of EvinceView-3.0.EvinceView.View
|
|
1432
1418
|
|
|
1433
|
-
readonly can_zoom_in: boolean
|
|
1434
1419
|
readonly canZoomIn: boolean
|
|
1435
|
-
readonly can_zoom_out: boolean
|
|
1436
1420
|
readonly canZoomOut: boolean
|
|
1437
|
-
/**
|
|
1438
|
-
* Allows to implement a custom notification system.
|
|
1439
|
-
*/
|
|
1440
|
-
readonly is_loading: boolean
|
|
1441
1421
|
/**
|
|
1442
1422
|
* Allows to implement a custom notification system.
|
|
1443
1423
|
*/
|
|
@@ -1457,6 +1437,8 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
1457
1437
|
autoscroll_start(): void
|
|
1458
1438
|
autoscroll_stop(): void
|
|
1459
1439
|
begin_add_annotation(annot_type: EvinceDocument.AnnotationType): void
|
|
1440
|
+
can_zoom_in(): boolean
|
|
1441
|
+
can_zoom_out(): boolean
|
|
1460
1442
|
cancel_add_annotation(): void
|
|
1461
1443
|
copy(): void
|
|
1462
1444
|
copy_link_address(action: EvinceDocument.LinkAction): void
|
|
@@ -1496,6 +1478,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
1496
1478
|
hide_cursor(): void
|
|
1497
1479
|
highlight_forward_search(link: EvinceDocument.SourceLink): void
|
|
1498
1480
|
is_caret_navigation_enabled(): boolean
|
|
1481
|
+
is_loading(): boolean
|
|
1499
1482
|
next_page(): boolean
|
|
1500
1483
|
previous_page(): boolean
|
|
1501
1484
|
reload(): void
|
|
@@ -1540,7 +1523,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
1540
1523
|
* @param child the child widget
|
|
1541
1524
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1542
1525
|
*/
|
|
1543
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1526
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1544
1527
|
|
|
1545
1528
|
// Overloads of child_notify
|
|
1546
1529
|
|
|
@@ -1554,7 +1537,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
1554
1537
|
* Also see gtk_container_child_notify().
|
|
1555
1538
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1556
1539
|
*/
|
|
1557
|
-
child_notify(child_property: string
|
|
1540
|
+
child_notify(child_property: string): void
|
|
1558
1541
|
/**
|
|
1559
1542
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1560
1543
|
* [child property][child-properties] `child_property`
|
|
@@ -1565,7 +1548,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
1565
1548
|
* Also see gtk_container_child_notify().
|
|
1566
1549
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1567
1550
|
*/
|
|
1568
|
-
child_notify(child_property: string
|
|
1551
|
+
child_notify(child_property: string): void
|
|
1569
1552
|
|
|
1570
1553
|
// Own signals of EvinceView-3.0.EvinceView.View
|
|
1571
1554
|
|
|
@@ -1814,12 +1797,10 @@ module ViewPresentation {
|
|
|
1814
1797
|
|
|
1815
1798
|
// Own constructor properties of EvinceView-3.0.EvinceView.ViewPresentation
|
|
1816
1799
|
|
|
1817
|
-
current_page?: number | null
|
|
1818
|
-
document?: EvinceDocument.Document | null
|
|
1819
|
-
inverted_colors?: boolean | null
|
|
1820
|
-
rotation?: number | null
|
|
1821
1800
|
currentPage?: number | null
|
|
1801
|
+
document?: EvinceDocument.Document | null
|
|
1822
1802
|
invertedColors?: boolean | null
|
|
1803
|
+
rotation?: number | null
|
|
1823
1804
|
}
|
|
1824
1805
|
|
|
1825
1806
|
}
|
|
@@ -1828,10 +1809,8 @@ interface ViewPresentation extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1828
1809
|
|
|
1829
1810
|
// Own properties of EvinceView-3.0.EvinceView.ViewPresentation
|
|
1830
1811
|
|
|
1831
|
-
current_page: number
|
|
1832
1812
|
currentPage: number
|
|
1833
1813
|
readonly document: EvinceDocument.Document
|
|
1834
|
-
readonly inverted_colors: boolean
|
|
1835
1814
|
readonly invertedColors: boolean
|
|
1836
1815
|
rotation: number
|
|
1837
1816
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/evinceview-3.0",
|
|
3
|
-
"version": "3.0.0-3.2.
|
|
3
|
+
"version": "3.0.0-3.2.8",
|
|
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",
|
|
7
7
|
"main": "evinceview-3.0.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./evinceview-3.0-ambient.d.ts",
|
|
11
|
+
"default": "./evinceview-3.0-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./evinceview-3.0-import.d.ts",
|
|
15
|
+
"default": "./evinceview-3.0-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./evinceview-3.0.d.ts",
|
|
@@ -25,21 +31,21 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit evinceview-3.0.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/atk-1.0": "^2.
|
|
29
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
30
|
-
"@girs/evincedocument-3.0": "^45.0.0-3.2.
|
|
31
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
32
|
-
"@girs/gdk-3.0": "^3.24.
|
|
33
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
34
|
-
"@girs/gio-2.0": "^2.
|
|
35
|
-
"@girs/gjs": "^3.2.
|
|
36
|
-
"@girs/glib-2.0": "^2.
|
|
37
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
38
|
-
"@girs/gobject-2.0": "^2.
|
|
39
|
-
"@girs/gtk-3.0": "^3.24.
|
|
40
|
-
"@girs/harfbuzz-0.0": "^8.
|
|
41
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
42
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
34
|
+
"@girs/atk-1.0": "^2.45.1-3.2.8",
|
|
35
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.8",
|
|
36
|
+
"@girs/evincedocument-3.0": "^45.0.0-3.2.8",
|
|
37
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.8",
|
|
38
|
+
"@girs/gdk-3.0": "^3.24.39-3.2.8",
|
|
39
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
|
|
40
|
+
"@girs/gio-2.0": "^2.77.0-3.2.8",
|
|
41
|
+
"@girs/gjs": "^3.2.8",
|
|
42
|
+
"@girs/glib-2.0": "^2.77.0-3.2.8",
|
|
43
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.8",
|
|
44
|
+
"@girs/gobject-2.0": "^2.77.0-3.2.8",
|
|
45
|
+
"@girs/gtk-3.0": "^3.24.39-3.2.8",
|
|
46
|
+
"@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
|
|
47
|
+
"@girs/pango-1.0": "^1.51.0-3.2.8",
|
|
48
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.8"
|
|
43
49
|
},
|
|
44
50
|
"devDependencies": {
|
|
45
51
|
"typescript": "*"
|
|
@@ -56,7 +62,7 @@
|
|
|
56
62
|
"license": "MIT",
|
|
57
63
|
"repository": {
|
|
58
64
|
"type": "git",
|
|
59
|
-
"url": "git+https://github.com/gjsify/
|
|
65
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
60
66
|
},
|
|
61
67
|
"bugs": {
|
|
62
68
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|