@girs/evincedocument-3.0 46.3.0-4.0.0-beta.21 → 46.3.0-4.0.0-beta.24

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/evincedocument-3.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for EvinceDocument-3.0, generated from library version 46.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.21.
8
+ GJS TypeScript type definitions for EvinceDocument-3.0, generated from library version 46.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.24.
9
9
 
10
10
 
11
11
  ## Install
@@ -7,11 +7,13 @@
7
7
  * The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
8
8
  */
9
9
 
10
+ import '@girs/gjs';
11
+
10
12
  // Module dependencies
11
13
  import type Gtk from '@girs/gtk-3.0';
12
14
  import type xlib from '@girs/xlib-2.0';
13
15
  import type Gdk from '@girs/gdk-3.0';
14
- import type cairo from '@girs/cairo-1.0';
16
+ import type cairo from 'cairo';
15
17
  import type GObject from '@girs/gobject-2.0';
16
18
  import type GLib from '@girs/glib-2.0';
17
19
  import type Pango from '@girs/pango-1.0';
@@ -470,6 +472,17 @@ export namespace EvinceDocument {
470
472
  WHOLE_WORDS_ONLY,
471
473
  }
472
474
  namespace Annotation {
475
+ // Signal signatures
476
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
477
+ 'notify::area': (pspec: GObject.ParamSpec) => void;
478
+ 'notify::color': (pspec: GObject.ParamSpec) => void;
479
+ 'notify::contents': (pspec: GObject.ParamSpec) => void;
480
+ 'notify::modified': (pspec: GObject.ParamSpec) => void;
481
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
482
+ 'notify::page': (pspec: GObject.ParamSpec) => void;
483
+ 'notify::rgba': (pspec: GObject.ParamSpec) => void;
484
+ }
485
+
473
486
  // Constructor properties interface
474
487
 
475
488
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -513,12 +526,39 @@ export namespace EvinceDocument {
513
526
  get rgba(): Gdk.RGBA;
514
527
  set rgba(val: Gdk.RGBA);
515
528
 
529
+ /**
530
+ * Compile-time signal type information.
531
+ *
532
+ * This instance property is generated only for TypeScript type checking.
533
+ * It is not defined at runtime and should not be accessed in JS code.
534
+ * @internal
535
+ */
536
+ $signals: Annotation.SignalSignatures;
537
+
516
538
  // Constructors
517
539
 
518
540
  constructor(properties?: Partial<Annotation.ConstructorProps>, ...args: any[]);
519
541
 
520
542
  _init(...args: any[]): void;
521
543
 
544
+ // Signals
545
+
546
+ connect<K extends keyof Annotation.SignalSignatures>(
547
+ signal: K,
548
+ callback: GObject.SignalCallback<this, Annotation.SignalSignatures[K]>,
549
+ ): number;
550
+ connect(signal: string, callback: (...args: any[]) => any): number;
551
+ connect_after<K extends keyof Annotation.SignalSignatures>(
552
+ signal: K,
553
+ callback: GObject.SignalCallback<this, Annotation.SignalSignatures[K]>,
554
+ ): number;
555
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
556
+ emit<K extends keyof Annotation.SignalSignatures>(
557
+ signal: K,
558
+ ...args: GObject.GjsParameters<Annotation.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
559
+ ): void;
560
+ emit(signal: string, ...args: any[]): void;
561
+
522
562
  // Methods
523
563
 
524
564
  /**
@@ -637,6 +677,24 @@ export namespace EvinceDocument {
637
677
  }
638
678
 
639
679
  namespace AnnotationAttachment {
680
+ // Signal signatures
681
+ interface SignalSignatures extends Annotation.SignalSignatures {
682
+ 'notify::attachment': (pspec: GObject.ParamSpec) => void;
683
+ 'notify::area': (pspec: GObject.ParamSpec) => void;
684
+ 'notify::color': (pspec: GObject.ParamSpec) => void;
685
+ 'notify::contents': (pspec: GObject.ParamSpec) => void;
686
+ 'notify::modified': (pspec: GObject.ParamSpec) => void;
687
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
688
+ 'notify::page': (pspec: GObject.ParamSpec) => void;
689
+ 'notify::rgba': (pspec: GObject.ParamSpec) => void;
690
+ 'notify::can-have-popup': (pspec: GObject.ParamSpec) => void;
691
+ 'notify::has-popup': (pspec: GObject.ParamSpec) => void;
692
+ 'notify::label': (pspec: GObject.ParamSpec) => void;
693
+ 'notify::opacity': (pspec: GObject.ParamSpec) => void;
694
+ 'notify::popup-is-open': (pspec: GObject.ParamSpec) => void;
695
+ 'notify::rectangle': (pspec: GObject.ParamSpec) => void;
696
+ }
697
+
640
698
  // Constructor properties interface
641
699
 
642
700
  interface ConstructorProps extends Annotation.ConstructorProps, AnnotationMarkup.ConstructorProps {
@@ -652,6 +710,15 @@ export namespace EvinceDocument {
652
710
  get attachment(): Attachment;
653
711
  set attachment(val: Attachment);
654
712
 
713
+ /**
714
+ * Compile-time signal type information.
715
+ *
716
+ * This instance property is generated only for TypeScript type checking.
717
+ * It is not defined at runtime and should not be accessed in JS code.
718
+ * @internal
719
+ */
720
+ $signals: AnnotationAttachment.SignalSignatures;
721
+
655
722
  // Constructors
656
723
 
657
724
  constructor(properties?: Partial<AnnotationAttachment.ConstructorProps>, ...args: any[]);
@@ -660,6 +727,26 @@ export namespace EvinceDocument {
660
727
 
661
728
  static ['new'](page: Page, attachment: Attachment): AnnotationAttachment;
662
729
 
730
+ // Signals
731
+
732
+ connect<K extends keyof AnnotationAttachment.SignalSignatures>(
733
+ signal: K,
734
+ callback: GObject.SignalCallback<this, AnnotationAttachment.SignalSignatures[K]>,
735
+ ): number;
736
+ connect(signal: string, callback: (...args: any[]) => any): number;
737
+ connect_after<K extends keyof AnnotationAttachment.SignalSignatures>(
738
+ signal: K,
739
+ callback: GObject.SignalCallback<this, AnnotationAttachment.SignalSignatures[K]>,
740
+ ): number;
741
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
742
+ emit<K extends keyof AnnotationAttachment.SignalSignatures>(
743
+ signal: K,
744
+ ...args: GObject.GjsParameters<AnnotationAttachment.SignalSignatures[K]> extends [any, ...infer Q]
745
+ ? Q
746
+ : never
747
+ ): void;
748
+ emit(signal: string, ...args: any[]): void;
749
+
663
750
  // Methods
664
751
 
665
752
  get_attachment(): Attachment;
@@ -835,6 +922,25 @@ export namespace EvinceDocument {
835
922
  }
836
923
 
837
924
  namespace AnnotationText {
925
+ // Signal signatures
926
+ interface SignalSignatures extends Annotation.SignalSignatures {
927
+ 'notify::icon': (pspec: GObject.ParamSpec) => void;
928
+ 'notify::is-open': (pspec: GObject.ParamSpec) => void;
929
+ 'notify::area': (pspec: GObject.ParamSpec) => void;
930
+ 'notify::color': (pspec: GObject.ParamSpec) => void;
931
+ 'notify::contents': (pspec: GObject.ParamSpec) => void;
932
+ 'notify::modified': (pspec: GObject.ParamSpec) => void;
933
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
934
+ 'notify::page': (pspec: GObject.ParamSpec) => void;
935
+ 'notify::rgba': (pspec: GObject.ParamSpec) => void;
936
+ 'notify::can-have-popup': (pspec: GObject.ParamSpec) => void;
937
+ 'notify::has-popup': (pspec: GObject.ParamSpec) => void;
938
+ 'notify::label': (pspec: GObject.ParamSpec) => void;
939
+ 'notify::opacity': (pspec: GObject.ParamSpec) => void;
940
+ 'notify::popup-is-open': (pspec: GObject.ParamSpec) => void;
941
+ 'notify::rectangle': (pspec: GObject.ParamSpec) => void;
942
+ }
943
+
838
944
  // Constructor properties interface
839
945
 
840
946
  interface ConstructorProps extends Annotation.ConstructorProps, AnnotationMarkup.ConstructorProps {
@@ -856,6 +962,15 @@ export namespace EvinceDocument {
856
962
  get isOpen(): boolean;
857
963
  set isOpen(val: boolean);
858
964
 
965
+ /**
966
+ * Compile-time signal type information.
967
+ *
968
+ * This instance property is generated only for TypeScript type checking.
969
+ * It is not defined at runtime and should not be accessed in JS code.
970
+ * @internal
971
+ */
972
+ $signals: AnnotationText.SignalSignatures;
973
+
859
974
  // Constructors
860
975
 
861
976
  constructor(properties?: Partial<AnnotationText.ConstructorProps>, ...args: any[]);
@@ -864,6 +979,24 @@ export namespace EvinceDocument {
864
979
 
865
980
  static ['new'](page: Page): AnnotationText;
866
981
 
982
+ // Signals
983
+
984
+ connect<K extends keyof AnnotationText.SignalSignatures>(
985
+ signal: K,
986
+ callback: GObject.SignalCallback<this, AnnotationText.SignalSignatures[K]>,
987
+ ): number;
988
+ connect(signal: string, callback: (...args: any[]) => any): number;
989
+ connect_after<K extends keyof AnnotationText.SignalSignatures>(
990
+ signal: K,
991
+ callback: GObject.SignalCallback<this, AnnotationText.SignalSignatures[K]>,
992
+ ): number;
993
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
994
+ emit<K extends keyof AnnotationText.SignalSignatures>(
995
+ signal: K,
996
+ ...args: GObject.GjsParameters<AnnotationText.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
997
+ ): void;
998
+ emit(signal: string, ...args: any[]): void;
999
+
867
1000
  // Methods
868
1001
 
869
1002
  get_icon(): AnnotationTextIcon;
@@ -1041,6 +1174,24 @@ export namespace EvinceDocument {
1041
1174
  }
1042
1175
 
1043
1176
  namespace AnnotationTextMarkup {
1177
+ // Signal signatures
1178
+ interface SignalSignatures extends Annotation.SignalSignatures {
1179
+ 'notify::type': (pspec: GObject.ParamSpec) => void;
1180
+ 'notify::area': (pspec: GObject.ParamSpec) => void;
1181
+ 'notify::color': (pspec: GObject.ParamSpec) => void;
1182
+ 'notify::contents': (pspec: GObject.ParamSpec) => void;
1183
+ 'notify::modified': (pspec: GObject.ParamSpec) => void;
1184
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
1185
+ 'notify::page': (pspec: GObject.ParamSpec) => void;
1186
+ 'notify::rgba': (pspec: GObject.ParamSpec) => void;
1187
+ 'notify::can-have-popup': (pspec: GObject.ParamSpec) => void;
1188
+ 'notify::has-popup': (pspec: GObject.ParamSpec) => void;
1189
+ 'notify::label': (pspec: GObject.ParamSpec) => void;
1190
+ 'notify::opacity': (pspec: GObject.ParamSpec) => void;
1191
+ 'notify::popup-is-open': (pspec: GObject.ParamSpec) => void;
1192
+ 'notify::rectangle': (pspec: GObject.ParamSpec) => void;
1193
+ }
1194
+
1044
1195
  // Constructor properties interface
1045
1196
 
1046
1197
  interface ConstructorProps extends Annotation.ConstructorProps, AnnotationMarkup.ConstructorProps {
@@ -1056,6 +1207,15 @@ export namespace EvinceDocument {
1056
1207
  get type(): AnnotationTextMarkupType;
1057
1208
  set type(val: AnnotationTextMarkupType);
1058
1209
 
1210
+ /**
1211
+ * Compile-time signal type information.
1212
+ *
1213
+ * This instance property is generated only for TypeScript type checking.
1214
+ * It is not defined at runtime and should not be accessed in JS code.
1215
+ * @internal
1216
+ */
1217
+ $signals: AnnotationTextMarkup.SignalSignatures;
1218
+
1059
1219
  // Constructors
1060
1220
 
1061
1221
  constructor(properties?: Partial<AnnotationTextMarkup.ConstructorProps>, ...args: any[]);
@@ -1070,6 +1230,26 @@ export namespace EvinceDocument {
1070
1230
 
1071
1231
  static underline_new(page: Page): AnnotationTextMarkup;
1072
1232
 
1233
+ // Signals
1234
+
1235
+ connect<K extends keyof AnnotationTextMarkup.SignalSignatures>(
1236
+ signal: K,
1237
+ callback: GObject.SignalCallback<this, AnnotationTextMarkup.SignalSignatures[K]>,
1238
+ ): number;
1239
+ connect(signal: string, callback: (...args: any[]) => any): number;
1240
+ connect_after<K extends keyof AnnotationTextMarkup.SignalSignatures>(
1241
+ signal: K,
1242
+ callback: GObject.SignalCallback<this, AnnotationTextMarkup.SignalSignatures[K]>,
1243
+ ): number;
1244
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1245
+ emit<K extends keyof AnnotationTextMarkup.SignalSignatures>(
1246
+ signal: K,
1247
+ ...args: GObject.GjsParameters<AnnotationTextMarkup.SignalSignatures[K]> extends [any, ...infer Q]
1248
+ ? Q
1249
+ : never
1250
+ ): void;
1251
+ emit(signal: string, ...args: any[]): void;
1252
+
1073
1253
  // Methods
1074
1254
 
1075
1255
  get_markup_type(): AnnotationTextMarkupType;
@@ -1245,6 +1425,16 @@ export namespace EvinceDocument {
1245
1425
  }
1246
1426
 
1247
1427
  namespace Attachment {
1428
+ // Signal signatures
1429
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
1430
+ 'notify::ctime': (pspec: GObject.ParamSpec) => void;
1431
+ 'notify::data': (pspec: GObject.ParamSpec) => void;
1432
+ 'notify::description': (pspec: GObject.ParamSpec) => void;
1433
+ 'notify::mtime': (pspec: GObject.ParamSpec) => void;
1434
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
1435
+ 'notify::size': (pspec: GObject.ParamSpec) => void;
1436
+ }
1437
+
1248
1438
  // Constructor properties interface
1249
1439
 
1250
1440
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1269,6 +1459,15 @@ export namespace EvinceDocument {
1269
1459
  set name(val: string);
1270
1460
  set size(val: number);
1271
1461
 
1462
+ /**
1463
+ * Compile-time signal type information.
1464
+ *
1465
+ * This instance property is generated only for TypeScript type checking.
1466
+ * It is not defined at runtime and should not be accessed in JS code.
1467
+ * @internal
1468
+ */
1469
+ $signals: Attachment.SignalSignatures;
1470
+
1272
1471
  // Fields
1273
1472
 
1274
1473
  base_instance: GObject.Object;
@@ -1288,6 +1487,24 @@ export namespace EvinceDocument {
1288
1487
  data?: any | null,
1289
1488
  ): Attachment;
1290
1489
 
1490
+ // Signals
1491
+
1492
+ connect<K extends keyof Attachment.SignalSignatures>(
1493
+ signal: K,
1494
+ callback: GObject.SignalCallback<this, Attachment.SignalSignatures[K]>,
1495
+ ): number;
1496
+ connect(signal: string, callback: (...args: any[]) => any): number;
1497
+ connect_after<K extends keyof Attachment.SignalSignatures>(
1498
+ signal: K,
1499
+ callback: GObject.SignalCallback<this, Attachment.SignalSignatures[K]>,
1500
+ ): number;
1501
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1502
+ emit<K extends keyof Attachment.SignalSignatures>(
1503
+ signal: K,
1504
+ ...args: GObject.GjsParameters<Attachment.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1505
+ ): void;
1506
+ emit(signal: string, ...args: any[]): void;
1507
+
1291
1508
  // Static methods
1292
1509
 
1293
1510
  static error_quark(): GLib.Quark;
@@ -1304,6 +1521,11 @@ export namespace EvinceDocument {
1304
1521
  }
1305
1522
 
1306
1523
  namespace Document {
1524
+ // Signal signatures
1525
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
1526
+ 'notify::modified': (pspec: GObject.ParamSpec) => void;
1527
+ }
1528
+
1307
1529
  // Constructor properties interface
1308
1530
 
1309
1531
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1319,6 +1541,15 @@ export namespace EvinceDocument {
1319
1541
  get modified(): boolean;
1320
1542
  set modified(val: boolean);
1321
1543
 
1544
+ /**
1545
+ * Compile-time signal type information.
1546
+ *
1547
+ * This instance property is generated only for TypeScript type checking.
1548
+ * It is not defined at runtime and should not be accessed in JS code.
1549
+ * @internal
1550
+ */
1551
+ $signals: Document.SignalSignatures;
1552
+
1322
1553
  // Fields
1323
1554
 
1324
1555
  base: GObject.Object;
@@ -1329,6 +1560,24 @@ export namespace EvinceDocument {
1329
1560
 
1330
1561
  _init(...args: any[]): void;
1331
1562
 
1563
+ // Signals
1564
+
1565
+ connect<K extends keyof Document.SignalSignatures>(
1566
+ signal: K,
1567
+ callback: GObject.SignalCallback<this, Document.SignalSignatures[K]>,
1568
+ ): number;
1569
+ connect(signal: string, callback: (...args: any[]) => any): number;
1570
+ connect_after<K extends keyof Document.SignalSignatures>(
1571
+ signal: K,
1572
+ callback: GObject.SignalCallback<this, Document.SignalSignatures[K]>,
1573
+ ): number;
1574
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1575
+ emit<K extends keyof Document.SignalSignatures>(
1576
+ signal: K,
1577
+ ...args: GObject.GjsParameters<Document.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1578
+ ): void;
1579
+ emit(signal: string, ...args: any[]): void;
1580
+
1332
1581
  // Static methods
1333
1582
 
1334
1583
  static doc_mutex_lock(): void;
@@ -1679,6 +1928,9 @@ export namespace EvinceDocument {
1679
1928
  }
1680
1929
 
1681
1930
  namespace FormField {
1931
+ // Signal signatures
1932
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1933
+
1682
1934
  // Constructor properties interface
1683
1935
 
1684
1936
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1687,6 +1939,15 @@ export namespace EvinceDocument {
1687
1939
  abstract class FormField extends GObject.Object {
1688
1940
  static $gtype: GObject.GType<FormField>;
1689
1941
 
1942
+ /**
1943
+ * Compile-time signal type information.
1944
+ *
1945
+ * This instance property is generated only for TypeScript type checking.
1946
+ * It is not defined at runtime and should not be accessed in JS code.
1947
+ * @internal
1948
+ */
1949
+ $signals: FormField.SignalSignatures;
1950
+
1690
1951
  // Fields
1691
1952
 
1692
1953
  id: number;
@@ -1701,9 +1962,30 @@ export namespace EvinceDocument {
1701
1962
  constructor(properties?: Partial<FormField.ConstructorProps>, ...args: any[]);
1702
1963
 
1703
1964
  _init(...args: any[]): void;
1965
+
1966
+ // Signals
1967
+
1968
+ connect<K extends keyof FormField.SignalSignatures>(
1969
+ signal: K,
1970
+ callback: GObject.SignalCallback<this, FormField.SignalSignatures[K]>,
1971
+ ): number;
1972
+ connect(signal: string, callback: (...args: any[]) => any): number;
1973
+ connect_after<K extends keyof FormField.SignalSignatures>(
1974
+ signal: K,
1975
+ callback: GObject.SignalCallback<this, FormField.SignalSignatures[K]>,
1976
+ ): number;
1977
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1978
+ emit<K extends keyof FormField.SignalSignatures>(
1979
+ signal: K,
1980
+ ...args: GObject.GjsParameters<FormField.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1981
+ ): void;
1982
+ emit(signal: string, ...args: any[]): void;
1704
1983
  }
1705
1984
 
1706
1985
  namespace FormFieldButton {
1986
+ // Signal signatures
1987
+ interface SignalSignatures extends FormField.SignalSignatures {}
1988
+
1707
1989
  // Constructor properties interface
1708
1990
 
1709
1991
  interface ConstructorProps extends FormField.ConstructorProps {}
@@ -1712,6 +1994,15 @@ export namespace EvinceDocument {
1712
1994
  class FormFieldButton extends FormField {
1713
1995
  static $gtype: GObject.GType<FormFieldButton>;
1714
1996
 
1997
+ /**
1998
+ * Compile-time signal type information.
1999
+ *
2000
+ * This instance property is generated only for TypeScript type checking.
2001
+ * It is not defined at runtime and should not be accessed in JS code.
2002
+ * @internal
2003
+ */
2004
+ $signals: FormFieldButton.SignalSignatures;
2005
+
1715
2006
  // Fields
1716
2007
 
1717
2008
  type: FormFieldButtonType;
@@ -1724,9 +2015,30 @@ export namespace EvinceDocument {
1724
2015
  _init(...args: any[]): void;
1725
2016
 
1726
2017
  static ['new'](id: number, type: FormFieldButtonType): FormFieldButton;
2018
+
2019
+ // Signals
2020
+
2021
+ connect<K extends keyof FormFieldButton.SignalSignatures>(
2022
+ signal: K,
2023
+ callback: GObject.SignalCallback<this, FormFieldButton.SignalSignatures[K]>,
2024
+ ): number;
2025
+ connect(signal: string, callback: (...args: any[]) => any): number;
2026
+ connect_after<K extends keyof FormFieldButton.SignalSignatures>(
2027
+ signal: K,
2028
+ callback: GObject.SignalCallback<this, FormFieldButton.SignalSignatures[K]>,
2029
+ ): number;
2030
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2031
+ emit<K extends keyof FormFieldButton.SignalSignatures>(
2032
+ signal: K,
2033
+ ...args: GObject.GjsParameters<FormFieldButton.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2034
+ ): void;
2035
+ emit(signal: string, ...args: any[]): void;
1727
2036
  }
1728
2037
 
1729
2038
  namespace FormFieldChoice {
2039
+ // Signal signatures
2040
+ interface SignalSignatures extends FormField.SignalSignatures {}
2041
+
1730
2042
  // Constructor properties interface
1731
2043
 
1732
2044
  interface ConstructorProps extends FormField.ConstructorProps {}
@@ -1735,6 +2047,15 @@ export namespace EvinceDocument {
1735
2047
  class FormFieldChoice extends FormField {
1736
2048
  static $gtype: GObject.GType<FormFieldChoice>;
1737
2049
 
2050
+ /**
2051
+ * Compile-time signal type information.
2052
+ *
2053
+ * This instance property is generated only for TypeScript type checking.
2054
+ * It is not defined at runtime and should not be accessed in JS code.
2055
+ * @internal
2056
+ */
2057
+ $signals: FormFieldChoice.SignalSignatures;
2058
+
1738
2059
  // Fields
1739
2060
 
1740
2061
  type: FormFieldChoiceType;
@@ -1752,9 +2073,30 @@ export namespace EvinceDocument {
1752
2073
  _init(...args: any[]): void;
1753
2074
 
1754
2075
  static ['new'](id: number, type: FormFieldChoiceType): FormFieldChoice;
2076
+
2077
+ // Signals
2078
+
2079
+ connect<K extends keyof FormFieldChoice.SignalSignatures>(
2080
+ signal: K,
2081
+ callback: GObject.SignalCallback<this, FormFieldChoice.SignalSignatures[K]>,
2082
+ ): number;
2083
+ connect(signal: string, callback: (...args: any[]) => any): number;
2084
+ connect_after<K extends keyof FormFieldChoice.SignalSignatures>(
2085
+ signal: K,
2086
+ callback: GObject.SignalCallback<this, FormFieldChoice.SignalSignatures[K]>,
2087
+ ): number;
2088
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2089
+ emit<K extends keyof FormFieldChoice.SignalSignatures>(
2090
+ signal: K,
2091
+ ...args: GObject.GjsParameters<FormFieldChoice.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2092
+ ): void;
2093
+ emit(signal: string, ...args: any[]): void;
1755
2094
  }
1756
2095
 
1757
2096
  namespace FormFieldSignature {
2097
+ // Signal signatures
2098
+ interface SignalSignatures extends FormField.SignalSignatures {}
2099
+
1758
2100
  // Constructor properties interface
1759
2101
 
1760
2102
  interface ConstructorProps extends FormField.ConstructorProps {}
@@ -1763,6 +2105,15 @@ export namespace EvinceDocument {
1763
2105
  class FormFieldSignature extends FormField {
1764
2106
  static $gtype: GObject.GType<FormFieldSignature>;
1765
2107
 
2108
+ /**
2109
+ * Compile-time signal type information.
2110
+ *
2111
+ * This instance property is generated only for TypeScript type checking.
2112
+ * It is not defined at runtime and should not be accessed in JS code.
2113
+ * @internal
2114
+ */
2115
+ $signals: FormFieldSignature.SignalSignatures;
2116
+
1766
2117
  // Constructors
1767
2118
 
1768
2119
  constructor(properties?: Partial<FormFieldSignature.ConstructorProps>, ...args: any[]);
@@ -1770,9 +2121,30 @@ export namespace EvinceDocument {
1770
2121
  _init(...args: any[]): void;
1771
2122
 
1772
2123
  static ['new'](id: number): FormFieldSignature;
2124
+
2125
+ // Signals
2126
+
2127
+ connect<K extends keyof FormFieldSignature.SignalSignatures>(
2128
+ signal: K,
2129
+ callback: GObject.SignalCallback<this, FormFieldSignature.SignalSignatures[K]>,
2130
+ ): number;
2131
+ connect(signal: string, callback: (...args: any[]) => any): number;
2132
+ connect_after<K extends keyof FormFieldSignature.SignalSignatures>(
2133
+ signal: K,
2134
+ callback: GObject.SignalCallback<this, FormFieldSignature.SignalSignatures[K]>,
2135
+ ): number;
2136
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2137
+ emit<K extends keyof FormFieldSignature.SignalSignatures>(
2138
+ signal: K,
2139
+ ...args: GObject.GjsParameters<FormFieldSignature.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2140
+ ): void;
2141
+ emit(signal: string, ...args: any[]): void;
1773
2142
  }
1774
2143
 
1775
2144
  namespace FormFieldText {
2145
+ // Signal signatures
2146
+ interface SignalSignatures extends FormField.SignalSignatures {}
2147
+
1776
2148
  // Constructor properties interface
1777
2149
 
1778
2150
  interface ConstructorProps extends FormField.ConstructorProps {}
@@ -1781,6 +2153,15 @@ export namespace EvinceDocument {
1781
2153
  class FormFieldText extends FormField {
1782
2154
  static $gtype: GObject.GType<FormFieldText>;
1783
2155
 
2156
+ /**
2157
+ * Compile-time signal type information.
2158
+ *
2159
+ * This instance property is generated only for TypeScript type checking.
2160
+ * It is not defined at runtime and should not be accessed in JS code.
2161
+ * @internal
2162
+ */
2163
+ $signals: FormFieldText.SignalSignatures;
2164
+
1784
2165
  // Fields
1785
2166
 
1786
2167
  type: FormFieldTextType;
@@ -1799,9 +2180,30 @@ export namespace EvinceDocument {
1799
2180
  _init(...args: any[]): void;
1800
2181
 
1801
2182
  static ['new'](id: number, type: FormFieldTextType): FormFieldText;
2183
+
2184
+ // Signals
2185
+
2186
+ connect<K extends keyof FormFieldText.SignalSignatures>(
2187
+ signal: K,
2188
+ callback: GObject.SignalCallback<this, FormFieldText.SignalSignatures[K]>,
2189
+ ): number;
2190
+ connect(signal: string, callback: (...args: any[]) => any): number;
2191
+ connect_after<K extends keyof FormFieldText.SignalSignatures>(
2192
+ signal: K,
2193
+ callback: GObject.SignalCallback<this, FormFieldText.SignalSignatures[K]>,
2194
+ ): number;
2195
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2196
+ emit<K extends keyof FormFieldText.SignalSignatures>(
2197
+ signal: K,
2198
+ ...args: GObject.GjsParameters<FormFieldText.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2199
+ ): void;
2200
+ emit(signal: string, ...args: any[]): void;
1802
2201
  }
1803
2202
 
1804
2203
  namespace Image {
2204
+ // Signal signatures
2205
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2206
+
1805
2207
  // Constructor properties interface
1806
2208
 
1807
2209
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1810,6 +2212,15 @@ export namespace EvinceDocument {
1810
2212
  class Image extends GObject.Object {
1811
2213
  static $gtype: GObject.GType<Image>;
1812
2214
 
2215
+ /**
2216
+ * Compile-time signal type information.
2217
+ *
2218
+ * This instance property is generated only for TypeScript type checking.
2219
+ * It is not defined at runtime and should not be accessed in JS code.
2220
+ * @internal
2221
+ */
2222
+ $signals: Image.SignalSignatures;
2223
+
1813
2224
  // Fields
1814
2225
 
1815
2226
  base_instance: GObject.Object;
@@ -1824,6 +2235,24 @@ export namespace EvinceDocument {
1824
2235
 
1825
2236
  static new_from_pixbuf(pixbuf: GdkPixbuf.Pixbuf): Image;
1826
2237
 
2238
+ // Signals
2239
+
2240
+ connect<K extends keyof Image.SignalSignatures>(
2241
+ signal: K,
2242
+ callback: GObject.SignalCallback<this, Image.SignalSignatures[K]>,
2243
+ ): number;
2244
+ connect(signal: string, callback: (...args: any[]) => any): number;
2245
+ connect_after<K extends keyof Image.SignalSignatures>(
2246
+ signal: K,
2247
+ callback: GObject.SignalCallback<this, Image.SignalSignatures[K]>,
2248
+ ): number;
2249
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2250
+ emit<K extends keyof Image.SignalSignatures>(
2251
+ signal: K,
2252
+ ...args: GObject.GjsParameters<Image.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2253
+ ): void;
2254
+ emit(signal: string, ...args: any[]): void;
2255
+
1827
2256
  // Methods
1828
2257
 
1829
2258
  get_id(): number;
@@ -1834,6 +2263,9 @@ export namespace EvinceDocument {
1834
2263
  }
1835
2264
 
1836
2265
  namespace Layer {
2266
+ // Signal signatures
2267
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2268
+
1837
2269
  // Constructor properties interface
1838
2270
 
1839
2271
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1842,6 +2274,15 @@ export namespace EvinceDocument {
1842
2274
  class Layer extends GObject.Object {
1843
2275
  static $gtype: GObject.GType<Layer>;
1844
2276
 
2277
+ /**
2278
+ * Compile-time signal type information.
2279
+ *
2280
+ * This instance property is generated only for TypeScript type checking.
2281
+ * It is not defined at runtime and should not be accessed in JS code.
2282
+ * @internal
2283
+ */
2284
+ $signals: Layer.SignalSignatures;
2285
+
1845
2286
  // Fields
1846
2287
 
1847
2288
  base_instance: GObject.Object;
@@ -1854,6 +2295,24 @@ export namespace EvinceDocument {
1854
2295
 
1855
2296
  static ['new'](is_parent: boolean, rb_group: number): Layer;
1856
2297
 
2298
+ // Signals
2299
+
2300
+ connect<K extends keyof Layer.SignalSignatures>(
2301
+ signal: K,
2302
+ callback: GObject.SignalCallback<this, Layer.SignalSignatures[K]>,
2303
+ ): number;
2304
+ connect(signal: string, callback: (...args: any[]) => any): number;
2305
+ connect_after<K extends keyof Layer.SignalSignatures>(
2306
+ signal: K,
2307
+ callback: GObject.SignalCallback<this, Layer.SignalSignatures[K]>,
2308
+ ): number;
2309
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2310
+ emit<K extends keyof Layer.SignalSignatures>(
2311
+ signal: K,
2312
+ ...args: GObject.GjsParameters<Layer.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2313
+ ): void;
2314
+ emit(signal: string, ...args: any[]): void;
2315
+
1857
2316
  // Methods
1858
2317
 
1859
2318
  get_rb_group(): number;
@@ -1861,6 +2320,12 @@ export namespace EvinceDocument {
1861
2320
  }
1862
2321
 
1863
2322
  namespace Link {
2323
+ // Signal signatures
2324
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2325
+ 'notify::action': (pspec: GObject.ParamSpec) => void;
2326
+ 'notify::title': (pspec: GObject.ParamSpec) => void;
2327
+ }
2328
+
1864
2329
  // Constructor properties interface
1865
2330
 
1866
2331
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1877,6 +2342,15 @@ export namespace EvinceDocument {
1877
2342
  get action(): LinkAction;
1878
2343
  get title(): string;
1879
2344
 
2345
+ /**
2346
+ * Compile-time signal type information.
2347
+ *
2348
+ * This instance property is generated only for TypeScript type checking.
2349
+ * It is not defined at runtime and should not be accessed in JS code.
2350
+ * @internal
2351
+ */
2352
+ $signals: Link.SignalSignatures;
2353
+
1880
2354
  // Constructors
1881
2355
 
1882
2356
  constructor(properties?: Partial<Link.ConstructorProps>, ...args: any[]);
@@ -1885,6 +2359,24 @@ export namespace EvinceDocument {
1885
2359
 
1886
2360
  static ['new'](title: string, action: LinkAction): Link;
1887
2361
 
2362
+ // Signals
2363
+
2364
+ connect<K extends keyof Link.SignalSignatures>(
2365
+ signal: K,
2366
+ callback: GObject.SignalCallback<this, Link.SignalSignatures[K]>,
2367
+ ): number;
2368
+ connect(signal: string, callback: (...args: any[]) => any): number;
2369
+ connect_after<K extends keyof Link.SignalSignatures>(
2370
+ signal: K,
2371
+ callback: GObject.SignalCallback<this, Link.SignalSignatures[K]>,
2372
+ ): number;
2373
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2374
+ emit<K extends keyof Link.SignalSignatures>(
2375
+ signal: K,
2376
+ ...args: GObject.GjsParameters<Link.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2377
+ ): void;
2378
+ emit(signal: string, ...args: any[]): void;
2379
+
1888
2380
  // Methods
1889
2381
 
1890
2382
  get_action(): LinkAction;
@@ -1892,6 +2384,21 @@ export namespace EvinceDocument {
1892
2384
  }
1893
2385
 
1894
2386
  namespace LinkAction {
2387
+ // Signal signatures
2388
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2389
+ 'notify::dest': (pspec: GObject.ParamSpec) => void;
2390
+ 'notify::exclude-reset-fields': (pspec: GObject.ParamSpec) => void;
2391
+ 'notify::filename': (pspec: GObject.ParamSpec) => void;
2392
+ 'notify::hide-list': (pspec: GObject.ParamSpec) => void;
2393
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
2394
+ 'notify::params': (pspec: GObject.ParamSpec) => void;
2395
+ 'notify::reset-fields': (pspec: GObject.ParamSpec) => void;
2396
+ 'notify::show-list': (pspec: GObject.ParamSpec) => void;
2397
+ 'notify::toggle-list': (pspec: GObject.ParamSpec) => void;
2398
+ 'notify::type': (pspec: GObject.ParamSpec) => void;
2399
+ 'notify::uri': (pspec: GObject.ParamSpec) => void;
2400
+ }
2401
+
1895
2402
  // Constructor properties interface
1896
2403
 
1897
2404
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1936,6 +2443,15 @@ export namespace EvinceDocument {
1936
2443
  get type(): LinkActionType;
1937
2444
  get uri(): string;
1938
2445
 
2446
+ /**
2447
+ * Compile-time signal type information.
2448
+ *
2449
+ * This instance property is generated only for TypeScript type checking.
2450
+ * It is not defined at runtime and should not be accessed in JS code.
2451
+ * @internal
2452
+ */
2453
+ $signals: LinkAction.SignalSignatures;
2454
+
1939
2455
  // Constructors
1940
2456
 
1941
2457
  constructor(properties?: Partial<LinkAction.ConstructorProps>, ...args: any[]);
@@ -1956,6 +2472,24 @@ export namespace EvinceDocument {
1956
2472
 
1957
2473
  static new_reset_form(fields: string[], exclude_fields: boolean): LinkAction;
1958
2474
 
2475
+ // Signals
2476
+
2477
+ connect<K extends keyof LinkAction.SignalSignatures>(
2478
+ signal: K,
2479
+ callback: GObject.SignalCallback<this, LinkAction.SignalSignatures[K]>,
2480
+ ): number;
2481
+ connect(signal: string, callback: (...args: any[]) => any): number;
2482
+ connect_after<K extends keyof LinkAction.SignalSignatures>(
2483
+ signal: K,
2484
+ callback: GObject.SignalCallback<this, LinkAction.SignalSignatures[K]>,
2485
+ ): number;
2486
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2487
+ emit<K extends keyof LinkAction.SignalSignatures>(
2488
+ signal: K,
2489
+ ...args: GObject.GjsParameters<LinkAction.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2490
+ ): void;
2491
+ emit(signal: string, ...args: any[]): void;
2492
+
1959
2493
  // Methods
1960
2494
 
1961
2495
  /**
@@ -1978,6 +2512,20 @@ export namespace EvinceDocument {
1978
2512
  }
1979
2513
 
1980
2514
  namespace LinkDest {
2515
+ // Signal signatures
2516
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2517
+ 'notify::bottom': (pspec: GObject.ParamSpec) => void;
2518
+ 'notify::change': (pspec: GObject.ParamSpec) => void;
2519
+ 'notify::left': (pspec: GObject.ParamSpec) => void;
2520
+ 'notify::named': (pspec: GObject.ParamSpec) => void;
2521
+ 'notify::page': (pspec: GObject.ParamSpec) => void;
2522
+ 'notify::page-label': (pspec: GObject.ParamSpec) => void;
2523
+ 'notify::right': (pspec: GObject.ParamSpec) => void;
2524
+ 'notify::top': (pspec: GObject.ParamSpec) => void;
2525
+ 'notify::type': (pspec: GObject.ParamSpec) => void;
2526
+ 'notify::zoom': (pspec: GObject.ParamSpec) => void;
2527
+ }
2528
+
1981
2529
  // Constructor properties interface
1982
2530
 
1983
2531
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2012,6 +2560,15 @@ export namespace EvinceDocument {
2012
2560
  get type(): LinkDestType;
2013
2561
  get zoom(): number;
2014
2562
 
2563
+ /**
2564
+ * Compile-time signal type information.
2565
+ *
2566
+ * This instance property is generated only for TypeScript type checking.
2567
+ * It is not defined at runtime and should not be accessed in JS code.
2568
+ * @internal
2569
+ */
2570
+ $signals: LinkDest.SignalSignatures;
2571
+
2015
2572
  // Constructors
2016
2573
 
2017
2574
  constructor(properties?: Partial<LinkDest.ConstructorProps>, ...args: any[]);
@@ -2042,6 +2599,24 @@ export namespace EvinceDocument {
2042
2599
  change_zoom: boolean,
2043
2600
  ): LinkDest;
2044
2601
 
2602
+ // Signals
2603
+
2604
+ connect<K extends keyof LinkDest.SignalSignatures>(
2605
+ signal: K,
2606
+ callback: GObject.SignalCallback<this, LinkDest.SignalSignatures[K]>,
2607
+ ): number;
2608
+ connect(signal: string, callback: (...args: any[]) => any): number;
2609
+ connect_after<K extends keyof LinkDest.SignalSignatures>(
2610
+ signal: K,
2611
+ callback: GObject.SignalCallback<this, LinkDest.SignalSignatures[K]>,
2612
+ ): number;
2613
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2614
+ emit<K extends keyof LinkDest.SignalSignatures>(
2615
+ signal: K,
2616
+ ...args: GObject.GjsParameters<LinkDest.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2617
+ ): void;
2618
+ emit(signal: string, ...args: any[]): void;
2619
+
2045
2620
  // Methods
2046
2621
 
2047
2622
  /**
@@ -2062,6 +2637,9 @@ export namespace EvinceDocument {
2062
2637
  }
2063
2638
 
2064
2639
  namespace Media {
2640
+ // Signal signatures
2641
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2642
+
2065
2643
  // Constructor properties interface
2066
2644
 
2067
2645
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -2070,6 +2648,15 @@ export namespace EvinceDocument {
2070
2648
  class Media extends GObject.Object {
2071
2649
  static $gtype: GObject.GType<Media>;
2072
2650
 
2651
+ /**
2652
+ * Compile-time signal type information.
2653
+ *
2654
+ * This instance property is generated only for TypeScript type checking.
2655
+ * It is not defined at runtime and should not be accessed in JS code.
2656
+ * @internal
2657
+ */
2658
+ $signals: Media.SignalSignatures;
2659
+
2073
2660
  // Fields
2074
2661
 
2075
2662
  base_instance: GObject.Object;
@@ -2082,6 +2669,24 @@ export namespace EvinceDocument {
2082
2669
 
2083
2670
  static new_for_uri(page: Page, uri: string): Media;
2084
2671
 
2672
+ // Signals
2673
+
2674
+ connect<K extends keyof Media.SignalSignatures>(
2675
+ signal: K,
2676
+ callback: GObject.SignalCallback<this, Media.SignalSignatures[K]>,
2677
+ ): number;
2678
+ connect(signal: string, callback: (...args: any[]) => any): number;
2679
+ connect_after<K extends keyof Media.SignalSignatures>(
2680
+ signal: K,
2681
+ callback: GObject.SignalCallback<this, Media.SignalSignatures[K]>,
2682
+ ): number;
2683
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2684
+ emit<K extends keyof Media.SignalSignatures>(
2685
+ signal: K,
2686
+ ...args: GObject.GjsParameters<Media.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2687
+ ): void;
2688
+ emit(signal: string, ...args: any[]): void;
2689
+
2085
2690
  // Methods
2086
2691
 
2087
2692
  get_page_index(): number;
@@ -2091,6 +2696,9 @@ export namespace EvinceDocument {
2091
2696
  }
2092
2697
 
2093
2698
  namespace Page {
2699
+ // Signal signatures
2700
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2701
+
2094
2702
  // Constructor properties interface
2095
2703
 
2096
2704
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -2099,6 +2707,15 @@ export namespace EvinceDocument {
2099
2707
  class Page extends GObject.Object {
2100
2708
  static $gtype: GObject.GType<Page>;
2101
2709
 
2710
+ /**
2711
+ * Compile-time signal type information.
2712
+ *
2713
+ * This instance property is generated only for TypeScript type checking.
2714
+ * It is not defined at runtime and should not be accessed in JS code.
2715
+ * @internal
2716
+ */
2717
+ $signals: Page.SignalSignatures;
2718
+
2102
2719
  // Fields
2103
2720
 
2104
2721
  base_instance: GObject.Object;
@@ -2113,9 +2730,30 @@ export namespace EvinceDocument {
2113
2730
  _init(...args: any[]): void;
2114
2731
 
2115
2732
  static ['new'](index: number): Page;
2733
+
2734
+ // Signals
2735
+
2736
+ connect<K extends keyof Page.SignalSignatures>(
2737
+ signal: K,
2738
+ callback: GObject.SignalCallback<this, Page.SignalSignatures[K]>,
2739
+ ): number;
2740
+ connect(signal: string, callback: (...args: any[]) => any): number;
2741
+ connect_after<K extends keyof Page.SignalSignatures>(
2742
+ signal: K,
2743
+ callback: GObject.SignalCallback<this, Page.SignalSignatures[K]>,
2744
+ ): number;
2745
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2746
+ emit<K extends keyof Page.SignalSignatures>(
2747
+ signal: K,
2748
+ ...args: GObject.GjsParameters<Page.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2749
+ ): void;
2750
+ emit(signal: string, ...args: any[]): void;
2116
2751
  }
2117
2752
 
2118
2753
  namespace RenderContext {
2754
+ // Signal signatures
2755
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2756
+
2119
2757
  // Constructor properties interface
2120
2758
 
2121
2759
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -2124,6 +2762,15 @@ export namespace EvinceDocument {
2124
2762
  class RenderContext extends GObject.Object {
2125
2763
  static $gtype: GObject.GType<RenderContext>;
2126
2764
 
2765
+ /**
2766
+ * Compile-time signal type information.
2767
+ *
2768
+ * This instance property is generated only for TypeScript type checking.
2769
+ * It is not defined at runtime and should not be accessed in JS code.
2770
+ * @internal
2771
+ */
2772
+ $signals: RenderContext.SignalSignatures;
2773
+
2127
2774
  // Fields
2128
2775
 
2129
2776
  page: Page;
@@ -2140,6 +2787,24 @@ export namespace EvinceDocument {
2140
2787
 
2141
2788
  static ['new'](page: Page, rotation: number, scale: number): RenderContext;
2142
2789
 
2790
+ // Signals
2791
+
2792
+ connect<K extends keyof RenderContext.SignalSignatures>(
2793
+ signal: K,
2794
+ callback: GObject.SignalCallback<this, RenderContext.SignalSignatures[K]>,
2795
+ ): number;
2796
+ connect(signal: string, callback: (...args: any[]) => any): number;
2797
+ connect_after<K extends keyof RenderContext.SignalSignatures>(
2798
+ signal: K,
2799
+ callback: GObject.SignalCallback<this, RenderContext.SignalSignatures[K]>,
2800
+ ): number;
2801
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2802
+ emit<K extends keyof RenderContext.SignalSignatures>(
2803
+ signal: K,
2804
+ ...args: GObject.GjsParameters<RenderContext.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2805
+ ): void;
2806
+ emit(signal: string, ...args: any[]): void;
2807
+
2143
2808
  // Methods
2144
2809
 
2145
2810
  compute_scaled_size(
@@ -2162,6 +2827,18 @@ export namespace EvinceDocument {
2162
2827
  }
2163
2828
 
2164
2829
  namespace TransitionEffect {
2830
+ // Signal signatures
2831
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2832
+ 'notify::alignment': (pspec: GObject.ParamSpec) => void;
2833
+ 'notify::angle': (pspec: GObject.ParamSpec) => void;
2834
+ 'notify::direction': (pspec: GObject.ParamSpec) => void;
2835
+ 'notify::duration': (pspec: GObject.ParamSpec) => void;
2836
+ 'notify::duration-real': (pspec: GObject.ParamSpec) => void;
2837
+ 'notify::rectangular': (pspec: GObject.ParamSpec) => void;
2838
+ 'notify::scale': (pspec: GObject.ParamSpec) => void;
2839
+ 'notify::type': (pspec: GObject.ParamSpec) => void;
2840
+ }
2841
+
2165
2842
  // Constructor properties interface
2166
2843
 
2167
2844
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -2201,11 +2878,38 @@ export namespace EvinceDocument {
2201
2878
  get type(): TransitionEffectType;
2202
2879
  set type(val: TransitionEffectType);
2203
2880
 
2881
+ /**
2882
+ * Compile-time signal type information.
2883
+ *
2884
+ * This instance property is generated only for TypeScript type checking.
2885
+ * It is not defined at runtime and should not be accessed in JS code.
2886
+ * @internal
2887
+ */
2888
+ $signals: TransitionEffect.SignalSignatures;
2889
+
2204
2890
  // Constructors
2205
2891
 
2206
2892
  constructor(properties?: Partial<TransitionEffect.ConstructorProps>, ...args: any[]);
2207
2893
 
2208
2894
  _init(...args: any[]): void;
2895
+
2896
+ // Signals
2897
+
2898
+ connect<K extends keyof TransitionEffect.SignalSignatures>(
2899
+ signal: K,
2900
+ callback: GObject.SignalCallback<this, TransitionEffect.SignalSignatures[K]>,
2901
+ ): number;
2902
+ connect(signal: string, callback: (...args: any[]) => any): number;
2903
+ connect_after<K extends keyof TransitionEffect.SignalSignatures>(
2904
+ signal: K,
2905
+ callback: GObject.SignalCallback<this, TransitionEffect.SignalSignatures[K]>,
2906
+ ): number;
2907
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2908
+ emit<K extends keyof TransitionEffect.SignalSignatures>(
2909
+ signal: K,
2910
+ ...args: GObject.GjsParameters<TransitionEffect.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2911
+ ): void;
2912
+ emit(signal: string, ...args: any[]): void;
2209
2913
  }
2210
2914
 
2211
2915
  type AnnotationAttachmentClass = typeof AnnotationAttachment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/evincedocument-3.0",
3
- "version": "46.3.0-4.0.0-beta.21",
3
+ "version": "46.3.0-4.0.0-beta.24",
4
4
  "description": "GJS TypeScript type definitions for EvinceDocument-3.0, generated from library version 46.3.0",
5
5
  "type": "module",
6
6
  "module": "evincedocument-3.0.js",
@@ -31,20 +31,20 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/atk-1.0": "^2.55.2-4.0.0-beta.21",
35
- "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.21",
36
- "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.21",
37
- "@girs/gdk-3.0": "^3.24.48-4.0.0-beta.21",
38
- "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.21",
39
- "@girs/gio-2.0": "^2.83.3-4.0.0-beta.21",
40
- "@girs/gjs": "^4.0.0-beta.21",
41
- "@girs/glib-2.0": "^2.83.3-4.0.0-beta.21",
42
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.21",
43
- "@girs/gobject-2.0": "^2.83.3-4.0.0-beta.21",
44
- "@girs/gtk-3.0": "^3.24.48-4.0.0-beta.21",
45
- "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.21",
46
- "@girs/pango-1.0": "^1.56.0-4.0.0-beta.21",
47
- "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.21"
34
+ "@girs/atk-1.0": "^2.56.2-4.0.0-beta.24",
35
+ "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.24",
36
+ "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.24",
37
+ "@girs/gdk-3.0": "^3.24.50-4.0.0-beta.24",
38
+ "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.24",
39
+ "@girs/gio-2.0": "^2.84.2-4.0.0-beta.24",
40
+ "@girs/gjs": "^4.0.0-beta.24",
41
+ "@girs/glib-2.0": "^2.84.2-4.0.0-beta.24",
42
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.24",
43
+ "@girs/gobject-2.0": "^2.84.2-4.0.0-beta.24",
44
+ "@girs/gtk-3.0": "^3.24.50-4.0.0-beta.24",
45
+ "@girs/harfbuzz-0.0": "^10.4.0-4.0.0-beta.24",
46
+ "@girs/pango-1.0": "^1.56.4-4.0.0-beta.24",
47
+ "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.24"
48
48
  },
49
49
  "devDependencies": {
50
50
  "typescript": "*"