@girs/atspi-2.0 4.2.0 → 4.4.0
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 +8 -8
- package/atspi-2.0.d.ts +1091 -234
- package/package.json +5 -5
package/atspi-2.0.d.ts
CHANGED
|
@@ -88,11 +88,11 @@ export namespace Atspi {
|
|
|
88
88
|
*/
|
|
89
89
|
CANONICAL,
|
|
90
90
|
/**
|
|
91
|
-
* Flow sort order
|
|
91
|
+
* Flow sort order. reserved for future use.
|
|
92
92
|
*/
|
|
93
93
|
FLOW,
|
|
94
94
|
/**
|
|
95
|
-
* Tab sort order
|
|
95
|
+
* Tab sort order. Reserved for future use.
|
|
96
96
|
*/
|
|
97
97
|
TAB,
|
|
98
98
|
/**
|
|
@@ -100,16 +100,18 @@ export namespace Atspi {
|
|
|
100
100
|
*/
|
|
101
101
|
REVERSE_CANONICAL,
|
|
102
102
|
/**
|
|
103
|
-
* Reverse flow sort order
|
|
103
|
+
* Reverse flow sort order. Reserved
|
|
104
|
+
* for future use.
|
|
104
105
|
*/
|
|
105
106
|
REVERSE_FLOW,
|
|
106
107
|
/**
|
|
107
|
-
* Reverse tab sort order
|
|
108
|
+
* Reverse tab sort order. Reserved
|
|
109
|
+
* for future use.
|
|
108
110
|
*/
|
|
109
111
|
REVERSE_TAB,
|
|
110
112
|
/**
|
|
111
|
-
* Used only to determine the end of
|
|
112
|
-
* enumeration.
|
|
113
|
+
* Used only to determine the end of
|
|
114
|
+
* the enumeration.
|
|
113
115
|
*/
|
|
114
116
|
LAST_DEFINED,
|
|
115
117
|
}
|
|
@@ -251,6 +253,7 @@ export namespace Atspi {
|
|
|
251
253
|
* immediate parent.
|
|
252
254
|
*/
|
|
253
255
|
PARENT,
|
|
256
|
+
LAST_DEFINED,
|
|
254
257
|
}
|
|
255
258
|
|
|
256
259
|
|
|
@@ -288,6 +291,7 @@ export namespace Atspi {
|
|
|
288
291
|
* human interface device (HID) was released.
|
|
289
292
|
*/
|
|
290
293
|
BUTTON_RELEASED_EVENT,
|
|
294
|
+
EVENT_LAST_DEFINED,
|
|
291
295
|
}
|
|
292
296
|
|
|
293
297
|
|
|
@@ -311,6 +315,7 @@ export namespace Atspi {
|
|
|
311
315
|
* Key release event
|
|
312
316
|
*/
|
|
313
317
|
RELEASED,
|
|
318
|
+
EVENT_LAST_DEFINED,
|
|
314
319
|
}
|
|
315
320
|
|
|
316
321
|
|
|
@@ -371,6 +376,37 @@ export namespace Atspi {
|
|
|
371
376
|
* Emulates unlocking a set of modifiers.
|
|
372
377
|
*/
|
|
373
378
|
UNLOCKMODIFIERS,
|
|
379
|
+
SYNTH_LAST_DEFINED,
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* @gir-type Enum
|
|
385
|
+
*/
|
|
386
|
+
export namespace Live {
|
|
387
|
+
export const $gtype: GObject.GType<Live>;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Enumeration used to indicate a type of live region and how assertive it
|
|
392
|
+
* should be in terms of speaking notifications. Currently, this is only used
|
|
393
|
+
* for "announcement" events, but it may be used for additional purposes
|
|
394
|
+
* in the future.
|
|
395
|
+
* @gir-type Enum
|
|
396
|
+
*/
|
|
397
|
+
enum Live {
|
|
398
|
+
/**
|
|
399
|
+
* No live region.
|
|
400
|
+
*/
|
|
401
|
+
NONE,
|
|
402
|
+
/**
|
|
403
|
+
* This live region should be considered polite.
|
|
404
|
+
*/
|
|
405
|
+
POLITE,
|
|
406
|
+
/**
|
|
407
|
+
* This live region should be considered assertive.
|
|
408
|
+
*/
|
|
409
|
+
ASSERTIVE,
|
|
374
410
|
}
|
|
375
411
|
|
|
376
412
|
|
|
@@ -415,6 +451,7 @@ export namespace Atspi {
|
|
|
415
451
|
* For time and date formatting.
|
|
416
452
|
*/
|
|
417
453
|
TIME,
|
|
454
|
+
LAST_DEFINED,
|
|
418
455
|
}
|
|
419
456
|
|
|
420
457
|
|
|
@@ -462,6 +499,10 @@ export namespace Atspi {
|
|
|
462
499
|
* See `ATSPI_MODIFIER_META`.
|
|
463
500
|
*/
|
|
464
501
|
META3,
|
|
502
|
+
/**
|
|
503
|
+
* Alias for META3.
|
|
504
|
+
*/
|
|
505
|
+
SUPER,
|
|
465
506
|
/**
|
|
466
507
|
* A symbolic meta key name that is mapped by AT-SPI
|
|
467
508
|
* to the appropriate META value, for the convenience of the client.
|
|
@@ -481,12 +522,12 @@ export namespace Atspi {
|
|
|
481
522
|
* {@link Atspi.RelationType} specifies a relationship between objects
|
|
482
523
|
* (possibly one-to-many
|
|
483
524
|
* or many-to-one) outside of the normal parent/child hierarchical
|
|
484
|
-
* relationship. It allows better semantic
|
|
525
|
+
* relationship. It allows better semantic identification of how objects
|
|
485
526
|
* are associated with one another. For instance the
|
|
486
527
|
* `ATSPI_RELATION_LABELLED_BY`
|
|
487
|
-
* relationship may be used to identify labelling information
|
|
528
|
+
* relationship may be used to identify labelling information that should
|
|
488
529
|
* accompany the accessible name property when presenting an object's content or
|
|
489
|
-
* identity
|
|
530
|
+
* identity to the end user. Similarly,
|
|
490
531
|
* `ATSPI_RELATION_CONTROLLER_FOR` can be used
|
|
491
532
|
* to further specify the context in which a valuator is useful, and/or the
|
|
492
533
|
* other UI components which are directly effected by user interactions with
|
|
@@ -616,35 +657,33 @@ export namespace Atspi {
|
|
|
616
657
|
*/
|
|
617
658
|
DESCRIBED_BY,
|
|
618
659
|
/**
|
|
619
|
-
* Reciprocal of {@link Atspi.RelationType.DETAILS_FOR}. Indicates
|
|
620
|
-
*
|
|
621
|
-
*
|
|
622
|
-
*
|
|
623
|
-
*
|
|
624
|
-
*
|
|
625
|
-
*
|
|
626
|
-
*
|
|
660
|
+
* Reciprocal of {@link Atspi.RelationType.DETAILS_FOR}. Indicates that this object has a
|
|
661
|
+
* detailed or extended description, the contents of which can be found in the
|
|
662
|
+
* target object(s). This relation type is most appropriate for information
|
|
663
|
+
* that is sufficiently lengthy as to make navigation to the container of that
|
|
664
|
+
* information desirable. For less verbose information suitable for
|
|
665
|
+
* announcement only, see {@link Atspi.RelationType.DESCRIBED_BY}. If the detailed
|
|
666
|
+
* information describes an error condition, {@link Atspi.RelationType.ERROR_FOR} should
|
|
667
|
+
* be used instead.
|
|
627
668
|
*/
|
|
628
669
|
DETAILS,
|
|
629
670
|
/**
|
|
630
|
-
* Reciprocal of {@link Atspi.RelationType.DETAILS}. Indicates
|
|
631
|
-
*
|
|
632
|
-
*
|
|
633
|
-
* {@link Atspi.RelationType.ERROR_FOR}. `Since`: 2.26.
|
|
671
|
+
* Reciprocal of {@link Atspi.RelationType.DETAILS}. Indicates that this object provides a
|
|
672
|
+
* detailed or extended description about the target object(s). See also
|
|
673
|
+
* {@link Atspi.RelationType.DESCRIPTION_FOR} and {@link Atspi.RelationType.ERROR_FOR}.
|
|
634
674
|
*/
|
|
635
675
|
DETAILS_FOR,
|
|
636
676
|
/**
|
|
637
|
-
* Reciprocal of {@link Atspi.RelationType.ERROR_FOR}.
|
|
638
|
-
*
|
|
639
|
-
*
|
|
640
|
-
*
|
|
641
|
-
* {@link Atspi.StateSet}. `Since`: 2.26.
|
|
677
|
+
* Reciprocal of {@link Atspi.RelationType.ERROR_FOR}. Indicates that this object has one
|
|
678
|
+
* or more errors, the nature of which is described in the contents of the
|
|
679
|
+
* target object(s). Objects that have this relation type should also contain
|
|
680
|
+
* {@link Atspi.StateType.INVALID_ENTRY} in their {@link Atspi.StateSet}.
|
|
642
681
|
*/
|
|
643
682
|
ERROR_MESSAGE,
|
|
644
683
|
/**
|
|
645
|
-
* Reciprocal of {@link Atspi.RelationType.ERROR_MESSAGE}.
|
|
646
|
-
*
|
|
647
|
-
*
|
|
684
|
+
* Reciprocal of {@link Atspi.RelationType.ERROR_MESSAGE}. Indicates that this object
|
|
685
|
+
* contains an error message describing an invalid condition in the target
|
|
686
|
+
* object(s).
|
|
648
687
|
*/
|
|
649
688
|
ERROR_FOR,
|
|
650
689
|
/**
|
|
@@ -703,7 +742,7 @@ export namespace Atspi {
|
|
|
703
742
|
CANVAS,
|
|
704
743
|
/**
|
|
705
744
|
* A choice that can be checked or unchecked and
|
|
706
|
-
* provides a separate
|
|
745
|
+
* provides a separate indicator for the current state.
|
|
707
746
|
*/
|
|
708
747
|
CHECK_BOX,
|
|
709
748
|
/**
|
|
@@ -729,7 +768,7 @@ export namespace Atspi {
|
|
|
729
768
|
*/
|
|
730
769
|
DATE_EDITOR,
|
|
731
770
|
/**
|
|
732
|
-
* An inconifed internal frame within a
|
|
771
|
+
* An inconifed internal frame within a DESKTOP_FRAME.
|
|
733
772
|
*/
|
|
734
773
|
DESKTOP_ICON,
|
|
735
774
|
/**
|
|
@@ -752,14 +791,14 @@ export namespace Atspi {
|
|
|
752
791
|
*/
|
|
753
792
|
DIRECTORY_PANE,
|
|
754
793
|
/**
|
|
755
|
-
*
|
|
756
|
-
*
|
|
757
|
-
* directory, or specify a filename.
|
|
794
|
+
* An object used for drawing custom user interface
|
|
795
|
+
* elements.
|
|
758
796
|
*/
|
|
759
797
|
DRAWING_AREA,
|
|
760
798
|
/**
|
|
761
|
-
*
|
|
762
|
-
*
|
|
799
|
+
* A specialized dialog that displays the files in
|
|
800
|
+
* the directory and lets the user select a file, browse a different
|
|
801
|
+
* directory, or specify a filename.
|
|
763
802
|
*/
|
|
764
803
|
FILE_CHOOSER,
|
|
765
804
|
/**
|
|
@@ -804,8 +843,9 @@ export namespace Atspi {
|
|
|
804
843
|
*/
|
|
805
844
|
INTERNAL_FRAME,
|
|
806
845
|
/**
|
|
807
|
-
*
|
|
808
|
-
*
|
|
846
|
+
* For text views, see `ATSPI_ROLE_TEXT`. For generic containers, see
|
|
847
|
+
* `ATSPI_ROLE_PANEL`. For objects whose role is not known by the implementor,
|
|
848
|
+
* see `ATSPI_ROLE_UNKNOWN`.
|
|
809
849
|
*/
|
|
810
850
|
LABEL,
|
|
811
851
|
/**
|
|
@@ -877,7 +917,7 @@ export namespace Atspi {
|
|
|
877
917
|
* An object the user can manipulate to tell the
|
|
878
918
|
* application to do something.
|
|
879
919
|
*/
|
|
880
|
-
|
|
920
|
+
BUTTON,
|
|
881
921
|
/**
|
|
882
922
|
* A specialized check box that will cause other
|
|
883
923
|
* radio buttons in the same group to become unchecked when this one is
|
|
@@ -909,7 +949,7 @@ export namespace Atspi {
|
|
|
909
949
|
* a large amount of information. `ATSPI_ROLE_SCROLL_PANE` objects are usually
|
|
910
950
|
* accompanied by `ATSPI_ROLE_SCROLL_BAR` controllers, on which the
|
|
911
951
|
* `ATSPI_RELATION_CONTROLLER_FOR` and `ATSPI_RELATION_CONTROLLED_BY`
|
|
912
|
-
* reciprocal relations are set. See
|
|
952
|
+
* reciprocal relations are set. See `atspi_get_relation_set`.
|
|
913
953
|
*/
|
|
914
954
|
SCROLL_PANE,
|
|
915
955
|
/**
|
|
@@ -919,14 +959,13 @@ export namespace Atspi {
|
|
|
919
959
|
SEPARATOR,
|
|
920
960
|
/**
|
|
921
961
|
* An object that allows the user to select from a bounded
|
|
922
|
-
* range.
|
|
962
|
+
* range. Unlike `ATSPI_ROLE_SCROLL_BAR`, `ATSPI_ROLE_SLIDER` objects need not control
|
|
963
|
+
* 'viewport'-like objects.
|
|
923
964
|
*/
|
|
924
965
|
SLIDER,
|
|
925
966
|
/**
|
|
926
967
|
* An object which allows one of a set of choices to
|
|
927
|
-
* be selected, and which displays the current choice.
|
|
928
|
-
* `ATSPI_ROLE_SCROLL_BAR`, `ATSPI_ROLE_SLIDER` objects need not control
|
|
929
|
-
* 'viewport'-like objects.
|
|
968
|
+
* be selected, and which displays the current choice.
|
|
930
969
|
*/
|
|
931
970
|
SPIN_BUTTON,
|
|
932
971
|
/**
|
|
@@ -1049,7 +1088,7 @@ export namespace Atspi {
|
|
|
1049
1088
|
/**
|
|
1050
1089
|
* An object corresponding to the toplevel accessible
|
|
1051
1090
|
* of an application, which may contain `ATSPI_ROLE_FRAME` objects or other
|
|
1052
|
-
* accessible objects. Children of
|
|
1091
|
+
* accessible objects. Children of objects with the #ATSPI_ROLE_DESKTOP_FRAME role are generally
|
|
1053
1092
|
* `ATSPI_ROLE_APPLICATION` objects.
|
|
1054
1093
|
*/
|
|
1055
1094
|
APPLICATION,
|
|
@@ -1082,7 +1121,7 @@ export namespace Atspi {
|
|
|
1082
1121
|
/**
|
|
1083
1122
|
* The object is a graphical depiction of quantitative data.
|
|
1084
1123
|
* It may contain multiple subelements whose attributes and/or description
|
|
1085
|
-
* may be queried to obtain both the
|
|
1124
|
+
* may be queried to obtain both the quantitative data and information about
|
|
1086
1125
|
* how the data is being presented. The `ATSPI_LABELLED_BY` relation is
|
|
1087
1126
|
* particularly important in interpreting objects of this type, as is the
|
|
1088
1127
|
* accessible description property. See `ATSPI_ROLE_CAPTION`.
|
|
@@ -1097,7 +1136,7 @@ export namespace Atspi {
|
|
|
1097
1136
|
/**
|
|
1098
1137
|
* The object is a visual frame or container which
|
|
1099
1138
|
* contains a view of document content. {@link Atspi.Document} frames may occur within
|
|
1100
|
-
* another {@link Atspi.Document} instance, in which case the second
|
|
1139
|
+
* another {@link Atspi.Document} instance, in which case the second document may be
|
|
1101
1140
|
* said to be embedded in the containing instance. HTML frames are often
|
|
1102
1141
|
* ATSPI_ROLE_DOCUMENT_FRAME: Either this object, or a singleton descendant,
|
|
1103
1142
|
* should implement the {@link Atspi.Document} interface.
|
|
@@ -1106,7 +1145,7 @@ export namespace Atspi {
|
|
|
1106
1145
|
/**
|
|
1107
1146
|
* The object serves as a heading for content which
|
|
1108
1147
|
* follows it in a document. The 'heading level' of the heading, if
|
|
1109
|
-
*
|
|
1148
|
+
* available, may be obtained by querying the object's attributes.
|
|
1110
1149
|
*/
|
|
1111
1150
|
HEADING,
|
|
1112
1151
|
/**
|
|
@@ -1226,81 +1265,70 @@ export namespace Atspi {
|
|
|
1226
1265
|
*/
|
|
1227
1266
|
INFO_BAR,
|
|
1228
1267
|
/**
|
|
1229
|
-
* A bar that serves as a level indicator to, for
|
|
1230
|
-
*
|
|
1268
|
+
* A bar that serves as a level indicator to, for instance, show the strength
|
|
1269
|
+
* of a password or the state of a battery.
|
|
1231
1270
|
*/
|
|
1232
1271
|
LEVEL_BAR,
|
|
1233
1272
|
/**
|
|
1234
|
-
* A bar that serves as the title of a window or a
|
|
1235
|
-
* dialog. `Since`: 2.12
|
|
1273
|
+
* A bar that serves as the title of a window or a dialog.
|
|
1236
1274
|
*/
|
|
1237
1275
|
TITLE_BAR,
|
|
1238
1276
|
/**
|
|
1239
|
-
* An object which contains a text section
|
|
1240
|
-
* that is quoted from another source. `Since`: 2.12
|
|
1277
|
+
* An object which contains a text section that is quoted from another source.
|
|
1241
1278
|
*/
|
|
1242
1279
|
BLOCK_QUOTE,
|
|
1243
1280
|
/**
|
|
1244
|
-
* An object which represents an audio
|
|
1245
|
-
* element. `Since`: 2.12
|
|
1281
|
+
* An object which represents an audio element.
|
|
1246
1282
|
*/
|
|
1247
1283
|
AUDIO,
|
|
1248
1284
|
/**
|
|
1249
|
-
* An object which represents a video
|
|
1250
|
-
* element. `Since`: 2.12
|
|
1285
|
+
* An object which represents a video element.
|
|
1251
1286
|
*/
|
|
1252
1287
|
VIDEO,
|
|
1253
1288
|
/**
|
|
1254
|
-
* A definition of a term or concept.
|
|
1289
|
+
* A definition of a term or concept.
|
|
1255
1290
|
*/
|
|
1256
1291
|
DEFINITION,
|
|
1257
1292
|
/**
|
|
1258
|
-
* A section of a page that consists of a
|
|
1259
|
-
*
|
|
1260
|
-
*
|
|
1261
|
-
* 2.12
|
|
1293
|
+
* A section of a page that consists of a composition that forms an
|
|
1294
|
+
* independent part of a document, page, or site. Examples: A blog entry, a
|
|
1295
|
+
* news story, a forum post.
|
|
1262
1296
|
*/
|
|
1263
1297
|
ARTICLE,
|
|
1264
1298
|
/**
|
|
1265
|
-
* A region of a web page intended as a
|
|
1266
|
-
*
|
|
1267
|
-
*
|
|
1268
|
-
* document. `Since`: 2.12
|
|
1299
|
+
* A region of a web page intended as a navigational landmark. This is
|
|
1300
|
+
* designed to allow Assistive Technologies to provide quick navigation among
|
|
1301
|
+
* key regions within a document.
|
|
1269
1302
|
*/
|
|
1270
1303
|
LANDMARK,
|
|
1271
1304
|
/**
|
|
1272
|
-
* A text widget or container holding log content, such
|
|
1273
|
-
*
|
|
1274
|
-
*
|
|
1275
|
-
*
|
|
1276
|
-
*
|
|
1277
|
-
* points. `Since`: 2.12
|
|
1305
|
+
* A text widget or container holding log content, such as chat history and
|
|
1306
|
+
* error logs. In this role there is a relationship between the arrival of new
|
|
1307
|
+
* items in the log and the reading order. The log contains a meaningful
|
|
1308
|
+
* sequence and new information is added only to the end of the log, not at
|
|
1309
|
+
* arbitrary points.
|
|
1278
1310
|
*/
|
|
1279
1311
|
LOG,
|
|
1280
1312
|
/**
|
|
1281
|
-
* A container where non-essential information
|
|
1282
|
-
*
|
|
1283
|
-
*
|
|
1284
|
-
*
|
|
1285
|
-
* important content changes. `Since`: 2.12
|
|
1313
|
+
* A container where non-essential information changes frequently. Common
|
|
1314
|
+
* usages of marquee include stock tickers and ad banners. The primary
|
|
1315
|
+
* difference between a marquee and a log is that logs usually have a
|
|
1316
|
+
* meaningful order or sequence of important content changes.
|
|
1286
1317
|
*/
|
|
1287
1318
|
MARQUEE,
|
|
1288
1319
|
/**
|
|
1289
|
-
* A text widget or container that holds a mathematical
|
|
1290
|
-
* expression. `Since`: 2.12
|
|
1320
|
+
* A text widget or container that holds a mathematical expression.
|
|
1291
1321
|
*/
|
|
1292
1322
|
MATH,
|
|
1293
1323
|
/**
|
|
1294
|
-
* A widget whose purpose is to display a rating,
|
|
1295
|
-
*
|
|
1296
|
-
*
|
|
1297
|
-
* AtspiValue. `Since`: 2.12
|
|
1324
|
+
* A widget whose purpose is to display a rating, such as the number of stars
|
|
1325
|
+
* associated with a song in a media player. Objects of this role should also
|
|
1326
|
+
* implement AtspiValue.
|
|
1298
1327
|
*/
|
|
1299
1328
|
RATING,
|
|
1300
1329
|
/**
|
|
1301
|
-
* An object containing a numerical counter which
|
|
1302
|
-
*
|
|
1303
|
-
* remaining until an end point. `Since`: 2.12
|
|
1330
|
+
* An object containing a numerical counter which indicates an amount of
|
|
1331
|
+
* elapsed time from a start point, or the time remaining until an end point.
|
|
1304
1332
|
*/
|
|
1305
1333
|
TIMER,
|
|
1306
1334
|
/**
|
|
@@ -1314,87 +1342,87 @@ export namespace Atspi {
|
|
|
1314
1342
|
* object which has an accessible relation pointing to another object. The
|
|
1315
1343
|
* displayed information, as a general rule, should be exposed through the
|
|
1316
1344
|
* accessible name of the object. For labels which describe another widget, see
|
|
1317
|
-
* `ATSPI_ROLE_LABEL`. For text views, see `ATSPI_ROLE_TEXT`. For generic
|
|
1318
|
-
* containers, see `ATSPI_ROLE_PANEL`. For objects whose role is not known by the
|
|
1319
|
-
* implementor, see `ATSPI_ROLE_UNKNOWN`. `Since`: 2.16.
|
|
1320
1345
|
*/
|
|
1321
1346
|
STATIC,
|
|
1322
1347
|
/**
|
|
1323
|
-
* An object that represents a mathematical fraction.
|
|
1348
|
+
* An object that represents a mathematical fraction.
|
|
1324
1349
|
*/
|
|
1325
1350
|
MATH_FRACTION,
|
|
1326
1351
|
/**
|
|
1327
|
-
* An object that represents a mathematical expression
|
|
1328
|
-
*
|
|
1352
|
+
* An object that represents a mathematical expression displayed with a
|
|
1353
|
+
* radical.
|
|
1329
1354
|
*/
|
|
1330
1355
|
MATH_ROOT,
|
|
1331
1356
|
/**
|
|
1332
|
-
* An object that contains text that is displayed as a
|
|
1333
|
-
* subscript. `Since`: 2.16.
|
|
1357
|
+
* An object that contains text that is displayed as a subscript.
|
|
1334
1358
|
*/
|
|
1335
1359
|
SUBSCRIPT,
|
|
1336
1360
|
/**
|
|
1337
|
-
* An object that contains text that is displayed as a
|
|
1338
|
-
* superscript. `Since`: 2.16.
|
|
1361
|
+
* An object that contains text that is displayed as a superscript.
|
|
1339
1362
|
*/
|
|
1340
1363
|
SUPERSCRIPT,
|
|
1341
1364
|
/**
|
|
1342
|
-
* An object that represents a list of term-value
|
|
1343
|
-
*
|
|
1344
|
-
*
|
|
1345
|
-
*
|
|
1346
|
-
*
|
|
1365
|
+
* An object that represents a list of term-value groups. A term-value group
|
|
1366
|
+
* represents an individual description and consist of one or more names
|
|
1367
|
+
* (`ATSPI_ROLE_DESCRIPTION_TERM`) followed by one or more values
|
|
1368
|
+
* (`ATSPI_ROLE_DESCRIPTION_VALUE`). For each list, there should not be more
|
|
1369
|
+
* than one group with the same term name.
|
|
1347
1370
|
*/
|
|
1348
1371
|
DESCRIPTION_LIST,
|
|
1349
1372
|
/**
|
|
1350
|
-
* An object that represents a term or phrase
|
|
1351
|
-
* with a corresponding definition. `Since`: 2.26.
|
|
1373
|
+
* An object that represents a term or phrase with a corresponding definition.
|
|
1352
1374
|
*/
|
|
1353
1375
|
DESCRIPTION_TERM,
|
|
1354
1376
|
/**
|
|
1355
|
-
* An object that represents the description,
|
|
1356
|
-
* definition, or value of a term. `Since`: 2.26.
|
|
1377
|
+
* An object that represents the description, definition, or value of a term.
|
|
1357
1378
|
*/
|
|
1358
1379
|
DESCRIPTION_VALUE,
|
|
1359
1380
|
/**
|
|
1360
|
-
* An object that contains the text of a footnote.
|
|
1381
|
+
* An object that contains the text of a footnote.
|
|
1361
1382
|
*/
|
|
1362
1383
|
FOOTNOTE,
|
|
1363
1384
|
/**
|
|
1364
|
-
* Content previously deleted or proposed to be
|
|
1365
|
-
*
|
|
1366
|
-
* from reviewers. `Since`: 2.34.
|
|
1385
|
+
* Content previously deleted or proposed to be deleted, e.g. in revision
|
|
1386
|
+
* history or a content view providing suggestions from reviewers.
|
|
1367
1387
|
*/
|
|
1368
1388
|
CONTENT_DELETION,
|
|
1369
1389
|
/**
|
|
1370
|
-
* Content previously inserted or proposed to be
|
|
1371
|
-
*
|
|
1372
|
-
* from reviewers. `Since`: 2.34.
|
|
1390
|
+
* Content previously inserted or proposed to be inserted, e.g. in revision
|
|
1391
|
+
* history or a content view providing suggestions from reviewers.
|
|
1373
1392
|
*/
|
|
1374
1393
|
CONTENT_INSERTION,
|
|
1375
1394
|
/**
|
|
1376
|
-
* A run of content that is marked or highlighted, such as for
|
|
1377
|
-
*
|
|
1378
|
-
*
|
|
1379
|
-
*
|
|
1380
|
-
*
|
|
1395
|
+
* A run of content that is marked or highlighted, such as for reference
|
|
1396
|
+
* purposes, or to call it out as having a special purpose. If the marked
|
|
1397
|
+
* content has an associated section in the document elaborating on the reason
|
|
1398
|
+
* for the mark, then {@link Atspi.RelationType.DETAILS} should be used on the mark to
|
|
1399
|
+
* point to that associated section. In addition, the reciprocal relation
|
|
1381
1400
|
* {@link Atspi.RelationType.DETAILS_FOR} should be used on the associated content section
|
|
1382
|
-
* to point back to the mark.
|
|
1401
|
+
* to point back to the mark.
|
|
1383
1402
|
*/
|
|
1384
1403
|
MARK,
|
|
1385
1404
|
/**
|
|
1386
|
-
* A container for content that is called out as a proposed
|
|
1387
|
-
*
|
|
1388
|
-
*
|
|
1389
|
-
* {@link Atspi.Role.CONTENT_INSERTION}
|
|
1390
|
-
* actual change is.
|
|
1405
|
+
* A container for content that is called out as a proposed change from the
|
|
1406
|
+
* current version of the document, such as by a reviewer of the content. An
|
|
1407
|
+
* object with this role should include children with
|
|
1408
|
+
* {@link Atspi.Role.CONTENT_DELETION} and/or {@link Atspi.Role.CONTENT_INSERTION}, in any
|
|
1409
|
+
* order, to indicate what the actual change is.
|
|
1391
1410
|
*/
|
|
1392
1411
|
SUGGESTION,
|
|
1412
|
+
/**
|
|
1413
|
+
* A specialized push button to open a menu.
|
|
1414
|
+
*/
|
|
1415
|
+
PUSH_BUTTON_MENU,
|
|
1416
|
+
/**
|
|
1417
|
+
* A switch that can be toggled on/off.
|
|
1418
|
+
*/
|
|
1419
|
+
SWITCH,
|
|
1393
1420
|
/**
|
|
1394
1421
|
* Not a valid role, used for finding end of
|
|
1395
|
-
*
|
|
1422
|
+
* enumeration.
|
|
1396
1423
|
*/
|
|
1397
1424
|
LAST_DEFINED,
|
|
1425
|
+
PUSH_BUTTON,
|
|
1398
1426
|
}
|
|
1399
1427
|
|
|
1400
1428
|
|
|
@@ -1445,6 +1473,7 @@ export namespace Atspi {
|
|
|
1445
1473
|
* on the window.
|
|
1446
1474
|
*/
|
|
1447
1475
|
ANYWHERE,
|
|
1476
|
+
LAST_DEFINED,
|
|
1448
1477
|
}
|
|
1449
1478
|
|
|
1450
1479
|
|
|
@@ -1457,7 +1486,7 @@ export namespace Atspi {
|
|
|
1457
1486
|
|
|
1458
1487
|
/**
|
|
1459
1488
|
* Enumeration used by various interfaces indicating every possible state
|
|
1460
|
-
* an
|
|
1489
|
+
* an {@link Atspi.Accessible} object can assume.
|
|
1461
1490
|
* @gir-type Enum
|
|
1462
1491
|
*/
|
|
1463
1492
|
enum StateType {
|
|
@@ -1483,7 +1512,7 @@ export namespace Atspi {
|
|
|
1483
1512
|
ARMED,
|
|
1484
1513
|
/**
|
|
1485
1514
|
* Indicates the current object is busy, i.e. onscreen
|
|
1486
|
-
* representation is in the process of changing, or
|
|
1515
|
+
* representation is in the process of changing, or the object is
|
|
1487
1516
|
* temporarily unavailable for interaction due to activity already in progress.
|
|
1488
1517
|
*/
|
|
1489
1518
|
BUSY,
|
|
@@ -1497,7 +1526,7 @@ export namespace Atspi {
|
|
|
1497
1526
|
COLLAPSED,
|
|
1498
1527
|
/**
|
|
1499
1528
|
* Indicates that this object no longer has a valid
|
|
1500
|
-
* backing widget
|
|
1529
|
+
* backing widget (for instance, if its peer object has been destroyed).
|
|
1501
1530
|
*/
|
|
1502
1531
|
DEFUNCT,
|
|
1503
1532
|
/**
|
|
@@ -1582,7 +1611,7 @@ export namespace Atspi {
|
|
|
1582
1611
|
/**
|
|
1583
1612
|
* Indicates this object is the child of an object
|
|
1584
1613
|
* that allows its children to be selected and that this child is one of
|
|
1585
|
-
* those children
|
|
1614
|
+
* those children that can be selected.
|
|
1586
1615
|
*/
|
|
1587
1616
|
SELECTABLE,
|
|
1588
1617
|
/**
|
|
@@ -1735,23 +1764,20 @@ export namespace Atspi {
|
|
|
1735
1764
|
*/
|
|
1736
1765
|
VISITED,
|
|
1737
1766
|
/**
|
|
1738
|
-
* Indicates this object has the potential to
|
|
1739
|
-
*
|
|
1740
|
-
* 2.12
|
|
1767
|
+
* Indicates this object has the potential to be checked, such as a checkbox
|
|
1768
|
+
* or toggle-able table cell.
|
|
1741
1769
|
*/
|
|
1742
1770
|
CHECKABLE,
|
|
1743
1771
|
/**
|
|
1744
|
-
* Indicates that the object has a popup
|
|
1745
|
-
*
|
|
1746
|
-
*
|
|
1747
|
-
*
|
|
1748
|
-
* context. `Since`: 2.12
|
|
1772
|
+
* Indicates that the object has a popup context menu or sub-level menu
|
|
1773
|
+
* which may or may not be showing. This means that activation renders
|
|
1774
|
+
* conditional content. Note that ordinary tooltips are not considered
|
|
1775
|
+
* popups in this context.
|
|
1749
1776
|
*/
|
|
1750
1777
|
HAS_POPUP,
|
|
1751
1778
|
/**
|
|
1752
|
-
* Indicates that an object which is ENABLED and
|
|
1753
|
-
*
|
|
1754
|
-
* user. `Since`: 2.16
|
|
1779
|
+
* Indicates that an object which is ENABLED and SENSITIVE has a value
|
|
1780
|
+
* which can be read, but not modified, by the user.
|
|
1755
1781
|
*/
|
|
1756
1782
|
READ_ONLY,
|
|
1757
1783
|
/**
|
|
@@ -1831,6 +1857,7 @@ export namespace Atspi {
|
|
|
1831
1857
|
* range.
|
|
1832
1858
|
*/
|
|
1833
1859
|
LINE_END,
|
|
1860
|
+
LAST_DEFINED,
|
|
1834
1861
|
}
|
|
1835
1862
|
|
|
1836
1863
|
|
|
@@ -1866,6 +1893,7 @@ export namespace Atspi {
|
|
|
1866
1893
|
* bounded by min and max are retained.
|
|
1867
1894
|
*/
|
|
1868
1895
|
BOTH,
|
|
1896
|
+
LAST_DEFINED,
|
|
1869
1897
|
}
|
|
1870
1898
|
|
|
1871
1899
|
|
|
@@ -1914,11 +1942,47 @@ export namespace Atspi {
|
|
|
1914
1942
|
}
|
|
1915
1943
|
|
|
1916
1944
|
|
|
1945
|
+
/**
|
|
1946
|
+
* The version of the Application D-Bus interface.
|
|
1947
|
+
* @since 2.59
|
|
1948
|
+
*/
|
|
1949
|
+
const ACCESSIBLE_VERSION: number;
|
|
1950
|
+
|
|
1951
|
+
/**
|
|
1952
|
+
* The version of the Action D-Bus interface.
|
|
1953
|
+
* @since 2.59
|
|
1954
|
+
*/
|
|
1955
|
+
const ACTION_VERSION: number;
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* The version of the Application D-Bus interface.
|
|
1959
|
+
* @since 2.59
|
|
1960
|
+
*/
|
|
1961
|
+
const APPLICATION_VERSION: number;
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* The version of the Cache D-Bus interface.
|
|
1965
|
+
* @since 2.59
|
|
1966
|
+
*/
|
|
1967
|
+
const CACHE_VERSION: number;
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
* The version of the Collection D-Bus interface.
|
|
1971
|
+
* @since 2.59
|
|
1972
|
+
*/
|
|
1973
|
+
const COLLECTION_VERSION: number;
|
|
1974
|
+
|
|
1917
1975
|
/**
|
|
1918
1976
|
* One higher than the highest valid value of {@link Atspi.ComponentLayer}.
|
|
1919
1977
|
*/
|
|
1920
1978
|
const COMPONENTLAYER_COUNT: number;
|
|
1921
1979
|
|
|
1980
|
+
/**
|
|
1981
|
+
* The version of the Component D-Bus interface.
|
|
1982
|
+
* @since 2.59
|
|
1983
|
+
*/
|
|
1984
|
+
const COMPONENT_VERSION: number;
|
|
1985
|
+
|
|
1922
1986
|
/**
|
|
1923
1987
|
* One higher than the highest valid value of {@link Atspi.CoordType}.
|
|
1924
1988
|
*/
|
|
@@ -1958,6 +2022,10 @@ export namespace Atspi {
|
|
|
1958
2022
|
|
|
1959
2023
|
const DBUS_INTERFACE_IMAGE: string;
|
|
1960
2024
|
|
|
2025
|
+
const DBUS_INTERFACE_KEYBOARD_MONITOR: string;
|
|
2026
|
+
|
|
2027
|
+
const DBUS_INTERFACE_POINTER_LOCATOR: string;
|
|
2028
|
+
|
|
1961
2029
|
const DBUS_INTERFACE_REGISTRY: string;
|
|
1962
2030
|
|
|
1963
2031
|
const DBUS_INTERFACE_SELECTION: string;
|
|
@@ -1972,8 +2040,12 @@ export namespace Atspi {
|
|
|
1972
2040
|
|
|
1973
2041
|
const DBUS_INTERFACE_VALUE: string;
|
|
1974
2042
|
|
|
2043
|
+
const DBUS_NAME_A11Y_MANAGER: string;
|
|
2044
|
+
|
|
1975
2045
|
const DBUS_NAME_REGISTRY: string;
|
|
1976
2046
|
|
|
2047
|
+
const DBUS_PATH_A11Y_MANAGER: string;
|
|
2048
|
+
|
|
1977
2049
|
const DBUS_PATH_DEC: string;
|
|
1978
2050
|
|
|
1979
2051
|
const DBUS_PATH_NULL: string;
|
|
@@ -1984,11 +2056,63 @@ export namespace Atspi {
|
|
|
1984
2056
|
|
|
1985
2057
|
const DBUS_PATH_SCREEN_READER: string;
|
|
1986
2058
|
|
|
2059
|
+
const DEVICE_A11Y_MANAGER_VIRTUAL_MOD_END: number;
|
|
2060
|
+
|
|
2061
|
+
const DEVICE_A11Y_MANAGER_VIRTUAL_MOD_START: number;
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
* The version of the DeviceEventController D-Bus interface.
|
|
2065
|
+
* @since 2.59
|
|
2066
|
+
*/
|
|
2067
|
+
const DEVICE_EVENT_CONTROLLER_VERSION: number;
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* The version of the DeviceEventListener D-Bus interface.
|
|
2071
|
+
* @since 2.59
|
|
2072
|
+
*/
|
|
2073
|
+
const DEVICE_EVENT_LISTENER_VERSION: number;
|
|
2074
|
+
|
|
2075
|
+
/**
|
|
2076
|
+
* The version of the Document D-Bus interface.
|
|
2077
|
+
* @since 2.59
|
|
2078
|
+
*/
|
|
2079
|
+
const DOCUMENT_VERSION: number;
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* The version of the EditableText D-Bus interface.
|
|
2083
|
+
* @since 2.59
|
|
2084
|
+
*/
|
|
2085
|
+
const EDITABLE_TEXT_VERSION: number;
|
|
2086
|
+
|
|
1987
2087
|
/**
|
|
1988
2088
|
* One higher than the highest valid value of {@link Atspi.EventType}.
|
|
1989
2089
|
*/
|
|
1990
2090
|
const EVENTTYPE_COUNT: number;
|
|
1991
2091
|
|
|
2092
|
+
/**
|
|
2093
|
+
* The version of the Event D-Bus interface.
|
|
2094
|
+
* @since 2.59
|
|
2095
|
+
*/
|
|
2096
|
+
const EVENT_VERSION: number;
|
|
2097
|
+
|
|
2098
|
+
/**
|
|
2099
|
+
* The version of the Hyperlink D-Bus interface.
|
|
2100
|
+
* @since 2.59
|
|
2101
|
+
*/
|
|
2102
|
+
const HYPERLINK_VERSION: number;
|
|
2103
|
+
|
|
2104
|
+
/**
|
|
2105
|
+
* The version of the Hypertext D-Bus interface.
|
|
2106
|
+
* @since 2.59
|
|
2107
|
+
*/
|
|
2108
|
+
const HYPERTEXT_VERSION: number;
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* The version of the Image D-Bus interface.
|
|
2112
|
+
* @since 2.59
|
|
2113
|
+
*/
|
|
2114
|
+
const IMAGE_VERSION: number;
|
|
2115
|
+
|
|
1992
2116
|
/**
|
|
1993
2117
|
* One higher than the highest valid value of {@link Atspi.KeyEventType}.
|
|
1994
2118
|
*/
|
|
@@ -2006,11 +2130,19 @@ export namespace Atspi {
|
|
|
2006
2130
|
|
|
2007
2131
|
const MATCHTYPES_COUNT: number;
|
|
2008
2132
|
|
|
2133
|
+
const MAX_CHILDREN: number;
|
|
2134
|
+
|
|
2009
2135
|
/**
|
|
2010
2136
|
* One higher than the highest valid value of {@link Atspi.ModifierType}.
|
|
2011
2137
|
*/
|
|
2012
2138
|
const MODIFIERTYPE_COUNT: number;
|
|
2013
2139
|
|
|
2140
|
+
/**
|
|
2141
|
+
* The version of the Registry D-Bus interface.
|
|
2142
|
+
* @since 2.59
|
|
2143
|
+
*/
|
|
2144
|
+
const REGISTRY_VERSION: number;
|
|
2145
|
+
|
|
2014
2146
|
/**
|
|
2015
2147
|
* One higher than the highest valid value of {@link Atspi.RelationType}.
|
|
2016
2148
|
*/
|
|
@@ -2026,6 +2158,18 @@ export namespace Atspi {
|
|
|
2026
2158
|
*/
|
|
2027
2159
|
const SCROLLTYPE_COUNT: number;
|
|
2028
2160
|
|
|
2161
|
+
/**
|
|
2162
|
+
* The version of the Selection D-Bus interface.
|
|
2163
|
+
* @since 2.59
|
|
2164
|
+
*/
|
|
2165
|
+
const SELECTION_VERSION: number;
|
|
2166
|
+
|
|
2167
|
+
/**
|
|
2168
|
+
* The version of the Socket D-Bus interface.
|
|
2169
|
+
* @since 2.59
|
|
2170
|
+
*/
|
|
2171
|
+
const SOCKET_VERSION: number;
|
|
2172
|
+
|
|
2029
2173
|
/**
|
|
2030
2174
|
* One higher than the highest valid value of {@link Atspi.CollectionSortOrder}.
|
|
2031
2175
|
*/
|
|
@@ -2036,6 +2180,18 @@ export namespace Atspi {
|
|
|
2036
2180
|
*/
|
|
2037
2181
|
const STATETYPE_COUNT: number;
|
|
2038
2182
|
|
|
2183
|
+
/**
|
|
2184
|
+
* The version of the TableCell D-Bus interface.
|
|
2185
|
+
* @since 2.59
|
|
2186
|
+
*/
|
|
2187
|
+
const TABLE_CELL_VERSION: number;
|
|
2188
|
+
|
|
2189
|
+
/**
|
|
2190
|
+
* The version of the Table D-Bus interface.
|
|
2191
|
+
* @since 2.59
|
|
2192
|
+
*/
|
|
2193
|
+
const TABLE_VERSION: number;
|
|
2194
|
+
|
|
2039
2195
|
/**
|
|
2040
2196
|
* One higher than the highest valid value of {@link Atspi.TextBoundaryType}.
|
|
2041
2197
|
*/
|
|
@@ -2046,12 +2202,24 @@ export namespace Atspi {
|
|
|
2046
2202
|
*/
|
|
2047
2203
|
const TEXT_CLIP_TYPE_COUNT: number;
|
|
2048
2204
|
|
|
2205
|
+
/**
|
|
2206
|
+
* The version of the Text D-Bus interface.
|
|
2207
|
+
* @since 2.59
|
|
2208
|
+
*/
|
|
2209
|
+
const TEXT_VERSION: number;
|
|
2210
|
+
|
|
2049
2211
|
/**
|
|
2050
2212
|
* One higher than the highest valid value of
|
|
2051
2213
|
* #AtspiCollection_TreeTraversalType.
|
|
2052
2214
|
*/
|
|
2053
2215
|
const TREETRAVERSALTYPE_COUNT: number;
|
|
2054
2216
|
|
|
2217
|
+
/**
|
|
2218
|
+
* The version of the Value D-Bus interface.
|
|
2219
|
+
* @since 2.59
|
|
2220
|
+
*/
|
|
2221
|
+
const VALUE_VERSION: number;
|
|
2222
|
+
|
|
2055
2223
|
/**
|
|
2056
2224
|
* Removes a device event listener from the registry's listener queue,
|
|
2057
2225
|
* ceasing notification of events of the specified type.
|
|
@@ -2117,6 +2285,15 @@ export namespace Atspi {
|
|
|
2117
2285
|
*/
|
|
2118
2286
|
function generate_mouse_event(x: bigint | number, y: bigint | number, name: string): boolean;
|
|
2119
2287
|
|
|
2288
|
+
/**
|
|
2289
|
+
* Like atspi_generate_mouse_event, but asynchronous.
|
|
2290
|
+
* @param x a `glong` indicating the screen x coordinate of the mouse event.
|
|
2291
|
+
* @param y a `glong` indicating the screen y coordinate of the mouse event.
|
|
2292
|
+
* @param name a string indicating which mouse event to be synthesized (e.g. "b1p", "b1c", "b2r", "rel", "abs").
|
|
2293
|
+
* @param callback a callback to be called when a reply is received. May be NULL.
|
|
2294
|
+
*/
|
|
2295
|
+
function generate_mouse_event_async(x: bigint | number, y: bigint | number, name: string, callback: GenerateMouseEventCB): void;
|
|
2296
|
+
|
|
2120
2297
|
/**
|
|
2121
2298
|
* Gets the virtual desktop indicated by index `i`.
|
|
2122
2299
|
* NOTE: currently multiple virtual desktops are not implemented;
|
|
@@ -2148,6 +2325,12 @@ export namespace Atspi {
|
|
|
2148
2325
|
*/
|
|
2149
2326
|
function get_desktop_list(): Accessible[];
|
|
2150
2327
|
|
|
2328
|
+
/**
|
|
2329
|
+
* Returns the version of the AT-SPI library being used at runtime.
|
|
2330
|
+
* @since 2.50
|
|
2331
|
+
*/
|
|
2332
|
+
function get_version(): [number, number, number];
|
|
2333
|
+
|
|
2151
2334
|
/**
|
|
2152
2335
|
* Connects to the accessibility registry and initializes the SPI.
|
|
2153
2336
|
* @returns 0 on success, 1 if already initialized, or an integer error code.
|
|
@@ -2161,11 +2344,11 @@ export namespace Atspi {
|
|
|
2161
2344
|
function is_initialized(): boolean;
|
|
2162
2345
|
|
|
2163
2346
|
/**
|
|
2164
|
-
*
|
|
2165
|
-
* @param listener
|
|
2166
|
-
* @param event_types
|
|
2167
|
-
* @param filter
|
|
2168
|
-
* @returns
|
|
2347
|
+
* This function does nothing and should not be called.
|
|
2348
|
+
* @param listener
|
|
2349
|
+
* @param event_types
|
|
2350
|
+
* @param filter
|
|
2351
|
+
* @returns Always returns `false`.
|
|
2169
2352
|
*/
|
|
2170
2353
|
function register_device_event_listener(listener: DeviceListener, event_types: DeviceEventMask, filter: null): boolean;
|
|
2171
2354
|
|
|
@@ -2186,14 +2369,32 @@ export namespace Atspi {
|
|
|
2186
2369
|
*/
|
|
2187
2370
|
function register_keystroke_listener(listener: DeviceListener, key_set: KeyDefinition[] | null, modmask: KeyMaskType, event_types: KeyEventMask, sync_type: KeyListenerSyncType): boolean;
|
|
2188
2371
|
|
|
2372
|
+
/**
|
|
2373
|
+
* Gets the localized description string describing the {@link Atspi.Role} `role`.
|
|
2374
|
+
* @param role an {@link Atspi.Role} object to query.
|
|
2375
|
+
* @returns the localized string describing the AtspiRole
|
|
2376
|
+
*/
|
|
2377
|
+
function role_get_localized_name(role: Role): string;
|
|
2378
|
+
|
|
2189
2379
|
/**
|
|
2190
2380
|
* Gets a localizable string that indicates the name of an {@link Atspi.Role}.
|
|
2191
|
-
* <em>DEPRECATED.</em>
|
|
2192
2381
|
* @param role an {@link Atspi.Role} object to query.
|
|
2193
2382
|
* @returns a localizable string name for an {@link Atspi.Role} enumerated type.
|
|
2194
2383
|
*/
|
|
2195
2384
|
function role_get_name(role: Role): string;
|
|
2196
2385
|
|
|
2386
|
+
/**
|
|
2387
|
+
* This function is used to configure whether a GMainLoop is used when
|
|
2388
|
+
* making DBus calls. Enabling this might be needed if the caller needs to
|
|
2389
|
+
* be able to handle communication from another process as part of handling
|
|
2390
|
+
* an AT-SPI method call, or if it has a UI that uses a gdbus-based AT-SPI
|
|
2391
|
+
* implementation (as with GTK 4, for instance). This introduces reentrancy,
|
|
2392
|
+
* which could potentially have undesired side-effects, so it is disabled
|
|
2393
|
+
* by default, which matches the pre-2.62 behavior.
|
|
2394
|
+
* @param enabled A gboolean indicating whether a GMainLoop should be used when making DBus calls.
|
|
2395
|
+
*/
|
|
2396
|
+
function set_g_main_loop_reentrancy(enabled: boolean): void;
|
|
2397
|
+
|
|
2197
2398
|
/**
|
|
2198
2399
|
* Sets the main loop context that AT-SPI should assume is in use when
|
|
2199
2400
|
* setting an idle callback.
|
|
@@ -2204,19 +2405,14 @@ export namespace Atspi {
|
|
|
2204
2405
|
function set_main_context(cnx: GLib.MainContext): void;
|
|
2205
2406
|
|
|
2206
2407
|
/**
|
|
2207
|
-
*
|
|
2208
|
-
* is called. Coordinates will be assumed to be relative to this window. This
|
|
2209
|
-
* is needed because, due to Wayland's security model, it is not currently
|
|
2210
|
-
* possible to retrieve global coordinates.
|
|
2211
|
-
* If NULL is passed, then AT-SPI will use the window that has focus at the
|
|
2212
|
-
* time that atspi_generate_mouse_event is called.
|
|
2408
|
+
* Deprecated. This function no longer does anything and should not be used.
|
|
2213
2409
|
* @param accessible the {@link Atspi.Accessible} corresponding to the window to select. should be a top-level window with a role of ATSPI_ROLE_APPLICATION.
|
|
2214
2410
|
*/
|
|
2215
2411
|
function set_reference_window(accessible: Accessible): void;
|
|
2216
2412
|
|
|
2217
2413
|
/**
|
|
2218
2414
|
* Set the timeout used for method calls. If this is not set explicitly,
|
|
2219
|
-
* a default of
|
|
2415
|
+
* a default of 800 ms is used.
|
|
2220
2416
|
* Note that at-spi2-registryd currently uses a timeout of 3 seconds when
|
|
2221
2417
|
* sending a keyboard event notification. This means that, if an AT makes
|
|
2222
2418
|
* a call in response to the keyboard notification and the application
|
|
@@ -2261,6 +2457,13 @@ export namespace Atspi {
|
|
|
2261
2457
|
(event: Event): void;
|
|
2262
2458
|
}
|
|
2263
2459
|
|
|
2460
|
+
/**
|
|
2461
|
+
* @gir-type Callback
|
|
2462
|
+
*/
|
|
2463
|
+
interface GenerateMouseEventCB {
|
|
2464
|
+
(user_data: null): void;
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2264
2467
|
/**
|
|
2265
2468
|
* @gir-type Callback
|
|
2266
2469
|
*/
|
|
@@ -2294,6 +2497,50 @@ export namespace Atspi {
|
|
|
2294
2497
|
}
|
|
2295
2498
|
|
|
2296
2499
|
|
|
2500
|
+
/**
|
|
2501
|
+
* @gir-type Flags
|
|
2502
|
+
*/
|
|
2503
|
+
export namespace DeviceCapability {
|
|
2504
|
+
export const $gtype: GObject.GType<DeviceCapability>;
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
/**
|
|
2508
|
+
* Enumeration used to query and enable device capabilities.
|
|
2509
|
+
* @gir-type Flags
|
|
2510
|
+
* @since 2.60
|
|
2511
|
+
*/
|
|
2512
|
+
enum DeviceCapability {
|
|
2513
|
+
/**
|
|
2514
|
+
* The capability to monitor keystrokes.
|
|
2515
|
+
*/
|
|
2516
|
+
KEYBOARD_MONITOR,
|
|
2517
|
+
/**
|
|
2518
|
+
* The capability to synthesize keystrokes.
|
|
2519
|
+
*/
|
|
2520
|
+
KEYBOARD_SYNTH,
|
|
2521
|
+
/**
|
|
2522
|
+
* The capability to set key grabs.
|
|
2523
|
+
*/
|
|
2524
|
+
KEYBOARD_GRAB,
|
|
2525
|
+
/**
|
|
2526
|
+
* The capability to monitor the location of the pointer.
|
|
2527
|
+
*/
|
|
2528
|
+
POINTER_MONITOR,
|
|
2529
|
+
/**
|
|
2530
|
+
* The capability to synthesize pointer motion.
|
|
2531
|
+
*/
|
|
2532
|
+
POINTER_SYNTH,
|
|
2533
|
+
/**
|
|
2534
|
+
* The capability to monitor touch presses.
|
|
2535
|
+
*/
|
|
2536
|
+
TOUCH_MONITOR,
|
|
2537
|
+
/**
|
|
2538
|
+
* The capability to synthesize touch events.
|
|
2539
|
+
*/
|
|
2540
|
+
TOUCH_SYNTH,
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
|
|
2297
2544
|
/**
|
|
2298
2545
|
* @gir-type Flags
|
|
2299
2546
|
*/
|
|
@@ -2320,7 +2567,7 @@ export namespace Atspi {
|
|
|
2320
2567
|
NOSYNC,
|
|
2321
2568
|
/**
|
|
2322
2569
|
* Events are delivered synchronously, before the
|
|
2323
|
-
* currently
|
|
2570
|
+
* currently focused application sees them.
|
|
2324
2571
|
*/
|
|
2325
2572
|
SYNCHRONOUS,
|
|
2326
2573
|
/**
|
|
@@ -2374,6 +2621,11 @@ export namespace Atspi {
|
|
|
2374
2621
|
}
|
|
2375
2622
|
|
|
2376
2623
|
/**
|
|
2624
|
+
* The base interface which is implemented by all accessible objects.
|
|
2625
|
+
*
|
|
2626
|
+
* All objects support interfaces for querying their contained 'children'
|
|
2627
|
+
* and position in the accessible-object hierarchy, whether or not they
|
|
2628
|
+
* actually have children.
|
|
2377
2629
|
* @gir-type Class
|
|
2378
2630
|
*/
|
|
2379
2631
|
class Accessible extends Object implements Action, Collection, Component, Document, EditableText, Hypertext, Image, Selection, Table, TableCell, Text, Value {
|
|
@@ -2444,14 +2696,27 @@ export namespace Atspi {
|
|
|
2444
2696
|
*/
|
|
2445
2697
|
clear_cache(): void;
|
|
2446
2698
|
|
|
2699
|
+
/**
|
|
2700
|
+
* Clears the cached information only for the given accessible.
|
|
2701
|
+
*/
|
|
2702
|
+
clear_cache_single(): void;
|
|
2703
|
+
|
|
2447
2704
|
/**
|
|
2448
2705
|
* Gets the accessible id of the accessible. This is not meant to be presented
|
|
2449
2706
|
* to the user, but to be an id which is stable over application development.
|
|
2450
2707
|
* Typically, this is the gtkbuilder id.
|
|
2451
2708
|
* @returns a character string representing the accessible id of the {@link Atspi.Accessible} object or NULL on exception.
|
|
2709
|
+
* @since 2.34
|
|
2452
2710
|
*/
|
|
2453
2711
|
get_accessible_id(): string;
|
|
2454
2712
|
|
|
2713
|
+
/**
|
|
2714
|
+
* Gets the {@link Atspi.Action} interface for an {@link Atspi.Accessible}.
|
|
2715
|
+
* @returns a pointer to an {@link Atspi.Action} interface instance, or NULL if `obj` does not implement {@link Atspi.Action}.
|
|
2716
|
+
* @deprecated since 2.10: Use atspi_accessible_get_action_iface instead.
|
|
2717
|
+
*/
|
|
2718
|
+
get_action(): Action;
|
|
2719
|
+
|
|
2455
2720
|
/**
|
|
2456
2721
|
* Gets the {@link Atspi.Action} interface for an {@link Atspi.Accessible}.
|
|
2457
2722
|
* @returns a pointer to an {@link Atspi.Action} interface instance, or NULL if `obj` does not implement {@link Atspi.Action}.
|
|
@@ -2503,12 +2768,26 @@ export namespace Atspi {
|
|
|
2503
2768
|
*/
|
|
2504
2769
|
get_child_count(): number;
|
|
2505
2770
|
|
|
2771
|
+
/**
|
|
2772
|
+
* Gets the {@link Atspi.Collection} interface for an {@link Atspi.Accessible}.
|
|
2773
|
+
* @returns a pointer to an {@link Atspi.Collection} interface instance, or NULL if `obj` does not implement {@link Atspi.Collection}.
|
|
2774
|
+
* @deprecated since 2.10: Use atspi_accessible_get_collection_iface instead.
|
|
2775
|
+
*/
|
|
2776
|
+
get_collection(): Collection;
|
|
2777
|
+
|
|
2506
2778
|
/**
|
|
2507
2779
|
* Gets the {@link Atspi.Collection} interface for an {@link Atspi.Accessible}.
|
|
2508
2780
|
* @returns a pointer to an {@link Atspi.Collection} interface instance, or NULL if `obj` does not implement {@link Atspi.Collection}.
|
|
2509
2781
|
*/
|
|
2510
2782
|
get_collection_iface(): Collection;
|
|
2511
2783
|
|
|
2784
|
+
/**
|
|
2785
|
+
* Gets the {@link Atspi.Component} interface for an {@link Atspi.Accessible}.
|
|
2786
|
+
* @returns a pointer to an {@link Atspi.Component} interface instance, or NULL if `obj` does not implement {@link Atspi.Component}.
|
|
2787
|
+
* @deprecated since 2.10: Use atspi_accessible_get_component_iface instead.
|
|
2788
|
+
*/
|
|
2789
|
+
get_component(): Component;
|
|
2790
|
+
|
|
2512
2791
|
/**
|
|
2513
2792
|
* Gets the {@link Atspi.Component} interface for an {@link Atspi.Accessible}.
|
|
2514
2793
|
* @returns a pointer to an {@link Atspi.Component} interface instance, or NULL if `obj` does not implement {@link Atspi.Component}.
|
|
@@ -2521,24 +2800,54 @@ export namespace Atspi {
|
|
|
2521
2800
|
*/
|
|
2522
2801
|
get_description(): string;
|
|
2523
2802
|
|
|
2803
|
+
/**
|
|
2804
|
+
* Gets the {@link Atspi.Document} interface for an {@link Atspi.Accessible}.
|
|
2805
|
+
* @returns a pointer to an {@link Atspi.Document} interface instance, or NULL if `obj` does not implement {@link Atspi.Document}.
|
|
2806
|
+
* @deprecated since 2.10: Use atspi_accessible_get_document_iface instead.
|
|
2807
|
+
*/
|
|
2808
|
+
get_document(): Document;
|
|
2809
|
+
|
|
2524
2810
|
/**
|
|
2525
2811
|
* Gets the {@link Atspi.Document} interface for an {@link Atspi.Accessible}.
|
|
2526
2812
|
* @returns a pointer to an {@link Atspi.Document} interface instance, or NULL if `obj` does not implement {@link Atspi.Document}.
|
|
2527
2813
|
*/
|
|
2528
2814
|
get_document_iface(): Document;
|
|
2529
2815
|
|
|
2816
|
+
/**
|
|
2817
|
+
* Gets the {@link Atspi.EditableText} interface for an {@link Atspi.Accessible}.
|
|
2818
|
+
* @returns a pointer to an {@link Atspi.EditableText} interface instance, or NULL if `obj` does not implement {@link Atspi.EditableText}.
|
|
2819
|
+
* @deprecated since 2.10: Use atspi_accessible_get_editable_text_iface instead.
|
|
2820
|
+
*/
|
|
2821
|
+
get_editable_text(): EditableText;
|
|
2822
|
+
|
|
2530
2823
|
/**
|
|
2531
2824
|
* Gets the {@link Atspi.EditableText} interface for an {@link Atspi.Accessible}.
|
|
2532
2825
|
* @returns a pointer to an {@link Atspi.EditableText} interface instance, or NULL if `obj` does not implement {@link Atspi.EditableText}.
|
|
2533
2826
|
*/
|
|
2534
2827
|
get_editable_text_iface(): EditableText;
|
|
2535
2828
|
|
|
2829
|
+
/**
|
|
2830
|
+
* Gets the help text associated with the accessible, if set. When this is
|
|
2831
|
+
* present, it provides information that a screen reader can relay to the user
|
|
2832
|
+
* to explain how to interact with the object.
|
|
2833
|
+
* @returns a character string representing the help text for the {@link Atspi.Accessible} object or NULL on exception.
|
|
2834
|
+
* @since 2.52
|
|
2835
|
+
*/
|
|
2836
|
+
get_help_text(): string;
|
|
2837
|
+
|
|
2536
2838
|
/**
|
|
2537
2839
|
* Gets the {@link Atspi.Hyperlink} interface for an {@link Atspi.Accessible}.
|
|
2538
2840
|
* @returns the {@link Atspi.Hyperlink} object associated with the given {@link Atspi.Accessible}, or NULL if not supported.
|
|
2539
2841
|
*/
|
|
2540
2842
|
get_hyperlink(): Hyperlink;
|
|
2541
2843
|
|
|
2844
|
+
/**
|
|
2845
|
+
* Gets the {@link Atspi.Hypertext} interface for an {@link Atspi.Accessible}.
|
|
2846
|
+
* @returns a pointer to an {@link Atspi.Hypertext} interface instance, or NULL if `obj` does not implement {@link Atspi.Hypertext}.
|
|
2847
|
+
* @deprecated since 2.10: Use atspi_accessible_get_hypertext_iface instead.
|
|
2848
|
+
*/
|
|
2849
|
+
get_hypertext(): Hypertext;
|
|
2850
|
+
|
|
2542
2851
|
/**
|
|
2543
2852
|
* Gets the {@link Atspi.Hypertext} interface for an {@link Atspi.Accessible}.
|
|
2544
2853
|
* @returns a pointer to an {@link Atspi.Hypertext} interface instance, or NULL if `obj` does not implement {@link Atspi.Hypertext}.
|
|
@@ -2552,6 +2861,13 @@ export namespace Atspi {
|
|
|
2552
2861
|
*/
|
|
2553
2862
|
get_id(): number;
|
|
2554
2863
|
|
|
2864
|
+
/**
|
|
2865
|
+
* Gets the {@link Atspi.Image} interface for an {@link Atspi.Accessible}.
|
|
2866
|
+
* @returns a pointer to an {@link Atspi.Image} interface instance, or NULL if `obj` does not implement {@link Atspi.Image}.
|
|
2867
|
+
* @deprecated since 2.10: Use atspi_accessible_get_image_iface instead.
|
|
2868
|
+
*/
|
|
2869
|
+
get_image(): Image;
|
|
2870
|
+
|
|
2555
2871
|
/**
|
|
2556
2872
|
* Gets the {@link Atspi.Image} interface for an {@link Atspi.Accessible}.
|
|
2557
2873
|
* @returns a pointer to an {@link Atspi.Image} interface instance, or NULL if `obj` does not implement {@link Atspi.Image}.
|
|
@@ -2624,6 +2940,19 @@ export namespace Atspi {
|
|
|
2624
2940
|
*/
|
|
2625
2941
|
get_role_name(): string;
|
|
2626
2942
|
|
|
2943
|
+
/**
|
|
2944
|
+
* Gets the {@link Atspi.Selection} interface for an {@link Atspi.Accessible}.
|
|
2945
|
+
* @returns a pointer to an {@link Atspi.Selection} interface instance, or NULL if `obj` does not implement {@link Atspi.Selection}.
|
|
2946
|
+
* @deprecated since 2.10: Use atspi_accessible_get_selection_iface instead.
|
|
2947
|
+
*/
|
|
2948
|
+
get_selection(): Selection;
|
|
2949
|
+
|
|
2950
|
+
/**
|
|
2951
|
+
* @param args
|
|
2952
|
+
*/
|
|
2953
|
+
// Conflicted with Atspi.Text.get_selection
|
|
2954
|
+
get_selection(...args: never[]): any;
|
|
2955
|
+
|
|
2627
2956
|
/**
|
|
2628
2957
|
* Gets the {@link Atspi.Selection} interface for an {@link Atspi.Accessible}.
|
|
2629
2958
|
* @returns a pointer to an {@link Atspi.Selection} interface instance, or NULL if `obj` does not implement {@link Atspi.Selection}.
|
|
@@ -2639,8 +2968,15 @@ export namespace Atspi {
|
|
|
2639
2968
|
/**
|
|
2640
2969
|
* Gets the {@link Atspi.Table} interface for an {@link Atspi.Accessible}.
|
|
2641
2970
|
* @returns a pointer to an {@link Atspi.Table} interface instance, or NULL if `obj` does not implement {@link Atspi.Table}.
|
|
2971
|
+
* @deprecated since 2.10: Use atspi_accessible_get_table_iface instead.
|
|
2642
2972
|
*/
|
|
2643
|
-
|
|
2973
|
+
get_table(): Table;
|
|
2974
|
+
|
|
2975
|
+
/**
|
|
2976
|
+
* @param args
|
|
2977
|
+
*/
|
|
2978
|
+
// Conflicted with Atspi.TableCell.get_table
|
|
2979
|
+
get_table(...args: never[]): any;
|
|
2644
2980
|
|
|
2645
2981
|
/**
|
|
2646
2982
|
* Gets the {@link Atspi.TableCell} interface for an {@link Atspi.Accessible}.
|
|
@@ -2648,6 +2984,25 @@ export namespace Atspi {
|
|
|
2648
2984
|
*/
|
|
2649
2985
|
get_table_cell(): TableCell;
|
|
2650
2986
|
|
|
2987
|
+
/**
|
|
2988
|
+
* Gets the {@link Atspi.Table} interface for an {@link Atspi.Accessible}.
|
|
2989
|
+
* @returns a pointer to an {@link Atspi.Table} interface instance, or NULL if `obj` does not implement {@link Atspi.Table}.
|
|
2990
|
+
*/
|
|
2991
|
+
get_table_iface(): Table;
|
|
2992
|
+
|
|
2993
|
+
/**
|
|
2994
|
+
* Gets the {@link Atspi.Table} interface for an {@link Atspi.Accessible}.
|
|
2995
|
+
* @returns a pointer to an {@link Atspi.Text} interface instance, or NULL if `obj` does not implement {@link Atspi.Text}.
|
|
2996
|
+
* @deprecated since 2.10: Use atspi_accessible_get_text_iface instead.
|
|
2997
|
+
*/
|
|
2998
|
+
get_text(): Text;
|
|
2999
|
+
|
|
3000
|
+
/**
|
|
3001
|
+
* @param args
|
|
3002
|
+
*/
|
|
3003
|
+
// Conflicted with Atspi.Text.get_text
|
|
3004
|
+
get_text(...args: never[]): any;
|
|
3005
|
+
|
|
2651
3006
|
/**
|
|
2652
3007
|
* Gets the {@link Atspi.Table} interface for an {@link Atspi.Accessible}.
|
|
2653
3008
|
* @returns a pointer to an {@link Atspi.Text} interface instance, or NULL if `obj` does not implement {@link Atspi.Text}.
|
|
@@ -2668,12 +3023,116 @@ export namespace Atspi {
|
|
|
2668
3023
|
*/
|
|
2669
3024
|
get_toolkit_version(): string;
|
|
2670
3025
|
|
|
3026
|
+
/**
|
|
3027
|
+
* Gets the {@link Atspi.Table} interface for an {@link Atspi.Accessible}.
|
|
3028
|
+
* @returns a pointer to an {@link Atspi.Value} interface instance, or NULL if `obj` does not implement {@link Atspi.Value}.
|
|
3029
|
+
* @deprecated since 2.10: Use atspi_accessible_get_value_iface instead.
|
|
3030
|
+
*/
|
|
3031
|
+
get_value(): Value;
|
|
3032
|
+
|
|
2671
3033
|
/**
|
|
2672
3034
|
* Gets the {@link Atspi.Table} interface for an {@link Atspi.Accessible}.
|
|
2673
3035
|
* @returns a pointer to an {@link Atspi.Value} interface instance, or NULL if `obj` does not implement {@link Atspi.Value}.
|
|
2674
3036
|
*/
|
|
2675
3037
|
get_value_iface(): Value;
|
|
2676
3038
|
|
|
3039
|
+
/**
|
|
3040
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3041
|
+
* {@link Atspi.Action} interface.
|
|
3042
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Action} interface, `FALSE` otherwise.
|
|
3043
|
+
*/
|
|
3044
|
+
is_action(): boolean;
|
|
3045
|
+
|
|
3046
|
+
/**
|
|
3047
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3048
|
+
* {@link Atspi.Application} interface.
|
|
3049
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Application} interface, `FALSE` otherwise.
|
|
3050
|
+
*/
|
|
3051
|
+
is_application(): boolean;
|
|
3052
|
+
|
|
3053
|
+
/**
|
|
3054
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3055
|
+
* {@link Atspi.Collection} interface.
|
|
3056
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Collection} interface, `FALSE` otherwise.
|
|
3057
|
+
*/
|
|
3058
|
+
is_collection(): boolean;
|
|
3059
|
+
|
|
3060
|
+
/**
|
|
3061
|
+
* Query whether the specified {@link Atspi.Accessible} implements {@link Atspi.Component}.
|
|
3062
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Component} interface, `FALSE` otherwise.
|
|
3063
|
+
*/
|
|
3064
|
+
is_component(): boolean;
|
|
3065
|
+
|
|
3066
|
+
/**
|
|
3067
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3068
|
+
* {@link Atspi.Document} interface.
|
|
3069
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Document} interface, `FALSE` otherwise.
|
|
3070
|
+
*/
|
|
3071
|
+
is_document(): boolean;
|
|
3072
|
+
|
|
3073
|
+
/**
|
|
3074
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3075
|
+
* {@link Atspi.EditableText} interface.
|
|
3076
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.EditableText} interface, `FALSE` otherwise.
|
|
3077
|
+
*/
|
|
3078
|
+
is_editable_text(): boolean;
|
|
3079
|
+
|
|
3080
|
+
/**
|
|
3081
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3082
|
+
* {@link Atspi.Hyperlink} interface.
|
|
3083
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Hypertext} interface, `FALSE` otherwise.
|
|
3084
|
+
*/
|
|
3085
|
+
is_hyperlink(): boolean;
|
|
3086
|
+
|
|
3087
|
+
/**
|
|
3088
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3089
|
+
* {@link Atspi.Hypertext} interface.
|
|
3090
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Hypertext} interface, `FALSE` otherwise.
|
|
3091
|
+
*/
|
|
3092
|
+
is_hypertext(): boolean;
|
|
3093
|
+
|
|
3094
|
+
/**
|
|
3095
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3096
|
+
* {@link Atspi.Image} interface.
|
|
3097
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Image} interface, `FALSE` otherwise.
|
|
3098
|
+
*/
|
|
3099
|
+
is_image(): boolean;
|
|
3100
|
+
|
|
3101
|
+
/**
|
|
3102
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3103
|
+
* {@link Atspi.Selection} interface.
|
|
3104
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Selection} interface, `FALSE` otherwise.
|
|
3105
|
+
*/
|
|
3106
|
+
is_selection(): boolean;
|
|
3107
|
+
|
|
3108
|
+
/**
|
|
3109
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3110
|
+
* {@link Atspi.Table} interface.
|
|
3111
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Table} interface, `FALSE` otherwise.
|
|
3112
|
+
*/
|
|
3113
|
+
is_table(): boolean;
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3117
|
+
* {@link Atspi.TableCell} interface.
|
|
3118
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Table} interface, `FALSE` otherwise.
|
|
3119
|
+
*/
|
|
3120
|
+
is_table_cell(): boolean;
|
|
3121
|
+
|
|
3122
|
+
/**
|
|
3123
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3124
|
+
* {@link Atspi.Text} interface.
|
|
3125
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Text} interface, `FALSE` otherwise.
|
|
3126
|
+
*/
|
|
3127
|
+
is_text(): boolean;
|
|
3128
|
+
|
|
3129
|
+
/**
|
|
3130
|
+
* Query whether the specified {@link Atspi.Accessible} implements the
|
|
3131
|
+
* {@link Atspi.Value} interface.
|
|
3132
|
+
* @returns `TRUE` if `obj` implements the {@link Atspi.Value} interface, `FALSE` otherwise.
|
|
3133
|
+
*/
|
|
3134
|
+
is_value(): boolean;
|
|
3135
|
+
|
|
2677
3136
|
/**
|
|
2678
3137
|
* Sets the type of data to cache for accessibles.
|
|
2679
3138
|
* If this is not set for an application or is reset to ATSPI_CACHE_UNDEFINED,
|
|
@@ -2698,6 +3157,7 @@ export namespace Atspi {
|
|
|
2698
3157
|
* object implementing {@link Atspi.Action}.
|
|
2699
3158
|
* @param i an integer indicating which action to query.
|
|
2700
3159
|
* @returns a UTF-8 string describing the '`i`-th' invocable action.
|
|
3160
|
+
* @deprecated since 2.10: Use atspi_action_get_action_description instead.
|
|
2701
3161
|
*/
|
|
2702
3162
|
get_action_description(i: number): string;
|
|
2703
3163
|
|
|
@@ -2747,6 +3207,7 @@ export namespace Atspi {
|
|
|
2747
3207
|
* object implementing {@link Atspi.Action}.
|
|
2748
3208
|
* @param i an integer indicating which action to query.
|
|
2749
3209
|
* @returns the non-localized name of the action, as a UTF-8 string.
|
|
3210
|
+
* @deprecated since 2.10: Use atspi_action_get_action_name instead.
|
|
2750
3211
|
*/
|
|
2751
3212
|
get_action_name(i: number): string;
|
|
2752
3213
|
|
|
@@ -2761,7 +3222,7 @@ export namespace Atspi {
|
|
|
2761
3222
|
* @param rule An {@link Atspi.MatchRule} describing the match criteria.
|
|
2762
3223
|
* @param sortby An {@link Atspi.CollectionSortOrder} specifying the way the results are to be sorted.
|
|
2763
3224
|
* @param count The maximum number of results to return, or 0 for no limit.
|
|
2764
|
-
* @param traverse
|
|
3225
|
+
* @param traverse Whether to traverse the accessible subtree (in case of `TRUE`) or only the direct children (on case of `FALSE`).
|
|
2765
3226
|
* @returns All {@link Atspi.Accessible} objects matching the given match rule.
|
|
2766
3227
|
*/
|
|
2767
3228
|
get_matches(rule: MatchRule, sortby: CollectionSortOrder, count: number, traverse: boolean): Accessible[];
|
|
@@ -2774,7 +3235,7 @@ export namespace Atspi {
|
|
|
2774
3235
|
* @param sortby An {@link Atspi.CollectionSortOrder} specifying the way the results are to be sorted.
|
|
2775
3236
|
* @param tree An {@link Atspi.CollectionTreeTraversalType} specifying restrictions on the objects to be traversed.
|
|
2776
3237
|
* @param count The maximum number of results to return, or 0 for no limit.
|
|
2777
|
-
* @param traverse
|
|
3238
|
+
* @param traverse Whether to traverse the accessible subtree (in case of `TRUE`) or only the direct children (on case of `FALSE`).
|
|
2778
3239
|
* @returns All {@link Atspi.Accessible} objects matching the given match rule that preceed `current_object`.
|
|
2779
3240
|
*/
|
|
2780
3241
|
get_matches_from(current_object: Accessible, rule: MatchRule, sortby: CollectionSortOrder, tree: CollectionTreeTraversalType, count: number, traverse: boolean): Accessible[];
|
|
@@ -2788,7 +3249,7 @@ export namespace Atspi {
|
|
|
2788
3249
|
* @param tree An {@link Atspi.CollectionTreeTraversalType} specifying restrictions on the objects to be traversed.
|
|
2789
3250
|
* @param limit_scope If `TRUE`, only descendants of `current_object`'s parent will be returned. Otherwise (if `FALSE`), any accessible may be returned if it would preceed `current_object` in a flattened hierarchy.
|
|
2790
3251
|
* @param count The maximum number of results to return, or 0 for no limit.
|
|
2791
|
-
* @param traverse
|
|
3252
|
+
* @param traverse Whether to traverse the accessible subtree (in case of `TRUE`) or only the direct children (on case of `FALSE`).
|
|
2792
3253
|
* @returns All {@link Atspi.Accessible} objects matching the given match rule after `current_object`.
|
|
2793
3254
|
*/
|
|
2794
3255
|
get_matches_to(current_object: Accessible, rule: MatchRule, sortby: CollectionSortOrder, tree: CollectionTreeTraversalType, limit_scope: boolean, count: number, traverse: boolean): Accessible[];
|
|
@@ -2896,8 +3357,8 @@ export namespace Atspi {
|
|
|
2896
3357
|
|
|
2897
3358
|
/**
|
|
2898
3359
|
* Moves and resizes the specified component.
|
|
2899
|
-
* @param x the new
|
|
2900
|
-
* @param y the new
|
|
3360
|
+
* @param x the new horizontal position to which the component should be moved.
|
|
3361
|
+
* @param y the new vertical position to which the component should be moved.
|
|
2901
3362
|
* @param width the width to which the component should be resized.
|
|
2902
3363
|
* @param height the height to which the component should be resized.
|
|
2903
3364
|
* @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
|
|
@@ -2907,15 +3368,15 @@ export namespace Atspi {
|
|
|
2907
3368
|
|
|
2908
3369
|
/**
|
|
2909
3370
|
* Moves the component to the specified position.
|
|
2910
|
-
* @param x the new
|
|
2911
|
-
* @param y the new
|
|
3371
|
+
* @param x the new horizontal position to which the component should be moved.
|
|
3372
|
+
* @param y the new vertical position to which the component should be moved.
|
|
2912
3373
|
* @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
|
|
2913
3374
|
* @returns `TRUE` if successful; `FALSE` otherwise.
|
|
2914
3375
|
*/
|
|
2915
3376
|
set_position(x: number, y: number, ctype: CoordType): boolean;
|
|
2916
3377
|
|
|
2917
3378
|
/**
|
|
2918
|
-
* Resizes the specified component to the given
|
|
3379
|
+
* Resizes the specified component to the given pixel dimensions.
|
|
2919
3380
|
* @param width the width to which the component should be resized.
|
|
2920
3381
|
* @param height the height to which the component should be resized.
|
|
2921
3382
|
* @returns `TRUE` if successful; `FALSE` otherwise.
|
|
@@ -2926,6 +3387,7 @@ export namespace Atspi {
|
|
|
2926
3387
|
* Gets the value of a single attribute, if specified for the document as a whole.
|
|
2927
3388
|
* @param attribute a string indicating the name of a specific attribute.
|
|
2928
3389
|
* @returns a string corresponding to the value of the specified attribute, or an empty string if the attribute is unspecified for the object.
|
|
3390
|
+
* @deprecated since 2.10: Use atspi_document_get_document_attribute_value instead.
|
|
2929
3391
|
*/
|
|
2930
3392
|
get_document_attribute_value(attribute: string): string;
|
|
2931
3393
|
|
|
@@ -2933,6 +3395,7 @@ export namespace Atspi {
|
|
|
2933
3395
|
* Gets all constant attributes for the document as a whole. For attributes
|
|
2934
3396
|
* that change within the document content, see `atspi_text_get_attribute_run` instead.
|
|
2935
3397
|
* @returns a {@link GLib.HashTable} containing the constant attributes of the document, as name-value pairs.
|
|
3398
|
+
* @deprecated since 2.10: Use atspi_document_get_document_attributes instead.
|
|
2936
3399
|
*/
|
|
2937
3400
|
get_document_attributes(): { [key: string]: string };
|
|
2938
3401
|
|
|
@@ -2955,6 +3418,25 @@ export namespace Atspi {
|
|
|
2955
3418
|
*/
|
|
2956
3419
|
get_page_count(): number;
|
|
2957
3420
|
|
|
3421
|
+
/**
|
|
3422
|
+
* Returns an array of AtspiTextSelections within this document.
|
|
3423
|
+
* @returns a GArray of AtspiTextSelection structures representing the selection.
|
|
3424
|
+
* @since 2.52
|
|
3425
|
+
*/
|
|
3426
|
+
get_text_selections(): TextSelection[];
|
|
3427
|
+
|
|
3428
|
+
/**
|
|
3429
|
+
* Makes 1 or more selections within this document denoted by the given
|
|
3430
|
+
* array of AtspiTextSelections. Any existing physical selection (inside or
|
|
3431
|
+
* outside this document) is replaced by the new selections. All objects within
|
|
3432
|
+
* the given selection ranges must be descendants of this document. Otherwise
|
|
3433
|
+
* FALSE will be returned.
|
|
3434
|
+
* @param selections a GArray of AtspiTextSelections to be selected.
|
|
3435
|
+
* @returns TRUE if the selection was made successfully; FALSE otherwise.
|
|
3436
|
+
* @since 2.52
|
|
3437
|
+
*/
|
|
3438
|
+
set_text_selections(selections: TextSelection[]): boolean;
|
|
3439
|
+
|
|
2958
3440
|
/**
|
|
2959
3441
|
* Copies text from an {@link Atspi.EditableText} object into the system clipboard.
|
|
2960
3442
|
*
|
|
@@ -3098,11 +3580,11 @@ export namespace Atspi {
|
|
|
3098
3580
|
|
|
3099
3581
|
/**
|
|
3100
3582
|
* Removes a child from the selected children list of an {@link Atspi.Selection}.
|
|
3101
|
-
* Note that `
|
|
3102
|
-
* not the index in the parent container.
|
|
3103
|
-
* method
|
|
3104
|
-
* are asymmetric.
|
|
3105
|
-
* @param selected_child_index a `gint` indicating which of the selected children of the {@link Atspi.Accessible} is to be
|
|
3583
|
+
* Note that `selected_child_index` is the index in the
|
|
3584
|
+
* selected-children list, not the index in the parent container.
|
|
3585
|
+
* `selected_child_index` in this method and `child_index` in
|
|
3586
|
+
* `atspi_selection_select_child` are asymmetric.
|
|
3587
|
+
* @param selected_child_index a `gint` indicating which of the selected children of the {@link Atspi.Accessible} is to be deselected.
|
|
3106
3588
|
* @returns `TRUE` if the child was successfully deselected, `FALSE` otherwise.
|
|
3107
3589
|
*/
|
|
3108
3590
|
deselect_selected_child(selected_child_index: number): boolean;
|
|
@@ -3429,12 +3911,6 @@ export namespace Atspi {
|
|
|
3429
3911
|
*/
|
|
3430
3912
|
get_row_span(): number;
|
|
3431
3913
|
|
|
3432
|
-
/**
|
|
3433
|
-
* Returns a reference to the accessible of the containing table.
|
|
3434
|
-
* @returns the AtspiAccessible for the containing table.
|
|
3435
|
-
*/
|
|
3436
|
-
get_table(): Accessible;
|
|
3437
|
-
|
|
3438
3914
|
/**
|
|
3439
3915
|
* Selects some text (adds a text selection) in an {@link Atspi.Text} object.
|
|
3440
3916
|
* @param start_offset the starting offset of the desired new selection.
|
|
@@ -3457,6 +3933,7 @@ export namespace Atspi {
|
|
|
3457
3933
|
* @param offset The character offset at which to query the attribute.
|
|
3458
3934
|
* @param attribute_name The attribute to query.
|
|
3459
3935
|
* @returns the value of a given attribute at the given offset, or `null` if not present.
|
|
3936
|
+
* @deprecated since 2.10: Use atspi_text_get_text_attribute_value instead.
|
|
3460
3937
|
*/
|
|
3461
3938
|
get_text_attribute_value(offset: number, attribute_name: string): string | null;
|
|
3462
3939
|
|
|
@@ -3464,9 +3941,9 @@ export namespace Atspi {
|
|
|
3464
3941
|
* Gets the attributes applied to a range of text from an {@link Atspi.Text}
|
|
3465
3942
|
* object. The text attributes correspond to CSS attributes
|
|
3466
3943
|
* where possible.
|
|
3467
|
-
* <em>DEPRECATED</em>
|
|
3468
3944
|
* @param offset a `gint` indicating the offset from which the attribute search is based.
|
|
3469
3945
|
* @returns a {@link GLib.HashTable} describing the attributes at the given character offset.
|
|
3946
|
+
* @deprecated since 2.10: Use atspi_text_get_text_attributes instead.
|
|
3470
3947
|
*/
|
|
3471
3948
|
get_text_attributes(offset: number): [{ [key: string]: string }, number, number];
|
|
3472
3949
|
|
|
@@ -3551,13 +4028,6 @@ export namespace Atspi {
|
|
|
3551
4028
|
*/
|
|
3552
4029
|
get_range_extents(start_offset: number, end_offset: number, type: CoordType): Rect;
|
|
3553
4030
|
|
|
3554
|
-
/**
|
|
3555
|
-
* Gets the bounds of the `selection_num`-th active text selection for an
|
|
3556
|
-
* {@link Atspi.Text} object.
|
|
3557
|
-
* @param selection_num a `gint` indicating which selection to query.
|
|
3558
|
-
*/
|
|
3559
|
-
get_selection(selection_num: number): Range;
|
|
3560
|
-
|
|
3561
4031
|
/**
|
|
3562
4032
|
* Gets a portion of the text exposed through an {@link Atspi.Text} according to a given `offset`
|
|
3563
4033
|
* and a specific `granularity`, along with the start and end offsets defining the
|
|
@@ -3592,25 +4062,10 @@ export namespace Atspi {
|
|
|
3592
4062
|
* @param offset position
|
|
3593
4063
|
* @param granularity An {@link Atspi.TextGranularity}
|
|
3594
4064
|
* @returns a newly allocated string containing the text at the `offset` bounded by the specified `granularity`. Use `g_free()` to free the returned string. Returns `null` if the offset is invalid or no implementation is available.
|
|
4065
|
+
* @since 2.9.90
|
|
3595
4066
|
*/
|
|
3596
4067
|
get_string_at_offset(offset: number, granularity: TextGranularity): TextRange;
|
|
3597
4068
|
|
|
3598
|
-
/**
|
|
3599
|
-
* Gets a range of text from an {@link Atspi.Text} object. The number of bytes
|
|
3600
|
-
* in the returned string may exceed either end_offset or start_offset, since
|
|
3601
|
-
* UTF-8 is a variable-width encoding.
|
|
3602
|
-
* @param start_offset a `gint` indicating the start of the desired text range.
|
|
3603
|
-
* @param end_offset a `gint` indicating the first character past the desired range.
|
|
3604
|
-
* @returns a text string containing characters from `start_offset` to `end_offset`-1, inclusive, encoded as UTF-8.
|
|
3605
|
-
*/
|
|
3606
|
-
get_text(start_offset: number, end_offset: number): string;
|
|
3607
|
-
|
|
3608
|
-
/**
|
|
3609
|
-
* @param args
|
|
3610
|
-
*/
|
|
3611
|
-
// Conflicted with Atspi.Value.get_text
|
|
3612
|
-
get_text(...args: never[]): any;
|
|
3613
|
-
|
|
3614
4069
|
/**
|
|
3615
4070
|
* Gets delimited text from an {@link Atspi.Text} object which follows a given
|
|
3616
4071
|
* text offset.
|
|
@@ -3626,6 +4081,7 @@ export namespace Atspi {
|
|
|
3626
4081
|
* @param offset a `gint` indicating the offset from which the delimiter search is based.
|
|
3627
4082
|
* @param type an {@link Atspi.TextBoundaryType} indicating whether the desired text string is a word, sentence, line, or attribute run.
|
|
3628
4083
|
* @returns an {@link Atspi.TextRange} containing a UTF-8 string representing the delimited text, whose delimiting boundaries bracket the current offset, or an empty string if no such text exists.
|
|
4084
|
+
* @deprecated since 2.10: Use atspi_text_get_string_at_offset.
|
|
3629
4085
|
*/
|
|
3630
4086
|
get_text_at_offset(offset: number, type: TextBoundaryType): TextRange;
|
|
3631
4087
|
|
|
@@ -3725,6 +4181,11 @@ export namespace Atspi {
|
|
|
3725
4181
|
}
|
|
3726
4182
|
|
|
3727
4183
|
/**
|
|
4184
|
+
* An interface identifying the root object associated
|
|
4185
|
+
* with a running application.
|
|
4186
|
+
*
|
|
4187
|
+
* An interface identifying an object which is the root of the
|
|
4188
|
+
* hierarchy associated with a running application.
|
|
3728
4189
|
* @gir-type Class
|
|
3729
4190
|
*/
|
|
3730
4191
|
class Application extends GObject.Object {
|
|
@@ -3754,6 +4215,8 @@ export namespace Atspi {
|
|
|
3754
4215
|
|
|
3755
4216
|
time_added: null;
|
|
3756
4217
|
|
|
4218
|
+
pid: never;
|
|
4219
|
+
|
|
3757
4220
|
// Constructors
|
|
3758
4221
|
constructor(properties?: Partial<Application.ConstructorProps>, ...args: any[]);
|
|
3759
4222
|
|
|
@@ -3776,10 +4239,31 @@ export namespace Atspi {
|
|
|
3776
4239
|
|
|
3777
4240
|
namespace Device {
|
|
3778
4241
|
// Signal signatures
|
|
3779
|
-
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
4242
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
4243
|
+
/**
|
|
4244
|
+
* @signal
|
|
4245
|
+
* @run-last
|
|
4246
|
+
*/
|
|
4247
|
+
"key-pressed": (arg0: number, arg1: number, arg2: ModifierType, arg3: string) => void;
|
|
4248
|
+
/**
|
|
4249
|
+
* @signal
|
|
4250
|
+
* @run-last
|
|
4251
|
+
*/
|
|
4252
|
+
"key-released": (arg0: number, arg1: number, arg2: ModifierType, arg3: string) => void;
|
|
4253
|
+
/**
|
|
4254
|
+
* Signals that the pointer has moved.
|
|
4255
|
+
* @signal
|
|
4256
|
+
* @run-last
|
|
4257
|
+
*/
|
|
4258
|
+
"pointer-moved": (arg0: Accessible, arg1: number, arg2: number) => void;
|
|
4259
|
+
"notify::app-id": (pspec: GObject.ParamSpec) => void;
|
|
4260
|
+
}
|
|
3780
4261
|
|
|
3781
4262
|
// Constructor properties interface
|
|
3782
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
4263
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
4264
|
+
app_id: string;
|
|
4265
|
+
appId: string;
|
|
4266
|
+
}
|
|
3783
4267
|
}
|
|
3784
4268
|
|
|
3785
4269
|
/**
|
|
@@ -3788,6 +4272,19 @@ export namespace Atspi {
|
|
|
3788
4272
|
class Device extends GObject.Object {
|
|
3789
4273
|
static $gtype: GObject.GType<Device>;
|
|
3790
4274
|
|
|
4275
|
+
// Properties
|
|
4276
|
+
/**
|
|
4277
|
+
* @construct-only
|
|
4278
|
+
* @default null
|
|
4279
|
+
*/
|
|
4280
|
+
get app_id(): string;
|
|
4281
|
+
|
|
4282
|
+
/**
|
|
4283
|
+
* @construct-only
|
|
4284
|
+
* @default null
|
|
4285
|
+
*/
|
|
4286
|
+
get appId(): string;
|
|
4287
|
+
|
|
3791
4288
|
/**
|
|
3792
4289
|
* Compile-time signal type information.
|
|
3793
4290
|
*
|
|
@@ -3804,6 +4301,8 @@ export namespace Atspi {
|
|
|
3804
4301
|
|
|
3805
4302
|
static ["new"](): Device;
|
|
3806
4303
|
|
|
4304
|
+
static new_full(app_id: string | null): Device;
|
|
4305
|
+
|
|
3807
4306
|
// Signals
|
|
3808
4307
|
/** @signal */
|
|
3809
4308
|
connect<K extends keyof Device.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Device.SignalSignatures[K]>): number;
|
|
@@ -3822,7 +4321,41 @@ export namespace Atspi {
|
|
|
3822
4321
|
* @param kd
|
|
3823
4322
|
* @virtual
|
|
3824
4323
|
*/
|
|
3825
|
-
vfunc_add_key_grab(kd: KeyDefinition):
|
|
4324
|
+
vfunc_add_key_grab(kd: KeyDefinition): boolean;
|
|
4325
|
+
|
|
4326
|
+
/**
|
|
4327
|
+
* Synthesizes a mouse event at a specific screen coordinate.
|
|
4328
|
+
* Most AT clients should use the `AccessibleAction` interface when
|
|
4329
|
+
* tempted to generate mouse events, rather than this method.
|
|
4330
|
+
* Event names: b1p = button 1 press; b2r = button 2 release;
|
|
4331
|
+
* b3c = button 3 click; b2d = button 2 double-click;
|
|
4332
|
+
* abs = absolute motion; rel = relative motion.
|
|
4333
|
+
* @param obj The {@link Atspi.Accessible} that should receive the click.
|
|
4334
|
+
* @param x a `gint` indicating the x coordinate of the mouse event, relative to `obj`..
|
|
4335
|
+
* @param y a `gint` indicating the y coordinate of the mouse event, relative to `obj`..
|
|
4336
|
+
* @param name a string indicating which mouse event to be synthesized (e.g. "b1p", "b1c", "b2r", "rel", "abs").
|
|
4337
|
+
* @since 2.52
|
|
4338
|
+
* @virtual
|
|
4339
|
+
*/
|
|
4340
|
+
vfunc_generate_mouse_event(obj: Accessible, x: number, y: number, name: string): void;
|
|
4341
|
+
|
|
4342
|
+
/**
|
|
4343
|
+
* Returns the capabilities currently enabled for this device.
|
|
4344
|
+
* @since 2.60
|
|
4345
|
+
* @virtual
|
|
4346
|
+
*/
|
|
4347
|
+
vfunc_get_capabilities(): DeviceCapability;
|
|
4348
|
+
|
|
4349
|
+
/**
|
|
4350
|
+
* Gets the modifier for a given keysym, if one exists. Does not create a new
|
|
4351
|
+
* mapping. This function should be used when the intention is to query a
|
|
4352
|
+
* locking modifier such as num lock via atspi_device_get_locked_modifiers,
|
|
4353
|
+
* rather than to add key grabs.
|
|
4354
|
+
* @param keysym the XKB keysym to map.
|
|
4355
|
+
* @since 2.55
|
|
4356
|
+
* @virtual
|
|
4357
|
+
*/
|
|
4358
|
+
vfunc_get_keysym_modifier(keysym: number): number;
|
|
3826
4359
|
|
|
3827
4360
|
/**
|
|
3828
4361
|
* Returns the locked modifiers (ie, num lock, caps lock) associated with this
|
|
@@ -3832,7 +4365,7 @@ export namespace Atspi {
|
|
|
3832
4365
|
vfunc_get_locked_modifiers(): number;
|
|
3833
4366
|
|
|
3834
4367
|
/**
|
|
3835
|
-
* Gets the modifier for a given keycode, if one exists. Does not
|
|
4368
|
+
* Gets the modifier for a given keycode, if one exists. Does not create a new
|
|
3836
4369
|
* mapping. This function should be used when the intention is to query a
|
|
3837
4370
|
* locking modifier such as num lock via atspi_device_get_locked_modifiers,
|
|
3838
4371
|
* rather than to add key grabs.
|
|
@@ -3849,6 +4382,21 @@ export namespace Atspi {
|
|
|
3849
4382
|
*/
|
|
3850
4383
|
vfunc_grab_keyboard(): boolean;
|
|
3851
4384
|
|
|
4385
|
+
/**
|
|
4386
|
+
* Maps the specified keysym to a modifier so that it can be used in
|
|
4387
|
+
* conjunction with other keys to create a key grab. If the given keysym is
|
|
4388
|
+
* already mapped, then this function will return the modifier that is
|
|
4389
|
+
* currently mapped to the keysym, without doing anything else. Otherwise,
|
|
4390
|
+
* it will use the last modifier that AT-SPI used to map a keysym. If no keys
|
|
4391
|
+
* have yet been mapped using this device, then it will look for a modifier
|
|
4392
|
+
* that is not currently being used. If no unused modifier can be found,
|
|
4393
|
+
* then it will use the first modifier by default.
|
|
4394
|
+
* @param keysym the XKB keysym to map.
|
|
4395
|
+
* @since 2.55
|
|
4396
|
+
* @virtual
|
|
4397
|
+
*/
|
|
4398
|
+
vfunc_map_keysym_modifier(keysym: number): number;
|
|
4399
|
+
|
|
3852
4400
|
/**
|
|
3853
4401
|
* Maps the specified key code to a modifier so that it can be used in
|
|
3854
4402
|
* conjunction with other keys to create a key grab. If the given keycode is
|
|
@@ -3870,12 +4418,27 @@ export namespace Atspi {
|
|
|
3870
4418
|
*/
|
|
3871
4419
|
vfunc_remove_key_grab(id: number): void;
|
|
3872
4420
|
|
|
4421
|
+
/**
|
|
4422
|
+
* @param capabilities A bitmask specifying the capabilities that should be enabled. This replaces the existing set of enabled capabilities, so, if it excludes some capabilities that are currently enabled, then those capabilities may be disabled.
|
|
4423
|
+
* @since 2.60
|
|
4424
|
+
* @virtual
|
|
4425
|
+
*/
|
|
4426
|
+
vfunc_set_capabilities(capabilities: DeviceCapability): DeviceCapability;
|
|
4427
|
+
|
|
3873
4428
|
/**
|
|
3874
4429
|
* Removes a keyboard grab added via a call to atspi_device_add_keyboard.
|
|
3875
4430
|
* @virtual
|
|
3876
4431
|
*/
|
|
3877
4432
|
vfunc_ungrab_keyboard(): void;
|
|
3878
4433
|
|
|
4434
|
+
/**
|
|
4435
|
+
* Removes a mapped modifier from the given keysym.
|
|
4436
|
+
* @param keysym the XKB keysym to unmap.
|
|
4437
|
+
* @since 2.55
|
|
4438
|
+
* @virtual
|
|
4439
|
+
*/
|
|
4440
|
+
vfunc_unmap_keysym_modifier(keysym: number): void;
|
|
4441
|
+
|
|
3879
4442
|
/**
|
|
3880
4443
|
* Removes a mapped modifier from the given keycode.
|
|
3881
4444
|
* @param keycode the keycode to unmap.
|
|
@@ -3887,22 +4450,63 @@ export namespace Atspi {
|
|
|
3887
4450
|
/**
|
|
3888
4451
|
* @param kd a {@link Atspi.KeyDefinition} specifying the key code to grab.
|
|
3889
4452
|
* @param callback the function to call when the given key is pressed.
|
|
3890
|
-
* @returns an identifier that can be later used to remove the grab. Add a key grab for the given key/modifier combination.
|
|
4453
|
+
* @returns an identifier that can be later used to remove the grab, or 0 if the key/modifier combination could not be grabbed. Add a key grab for the given key/modifier combination.
|
|
3891
4454
|
*/
|
|
3892
4455
|
add_key_grab(kd: KeyDefinition, callback: KeyCallback | null): number;
|
|
3893
4456
|
|
|
3894
4457
|
/**
|
|
3895
4458
|
* Add a callback that will receive a notification whenever a key is
|
|
3896
4459
|
* pressed or released.
|
|
3897
|
-
* @param callback the
|
|
4460
|
+
* @param callback the function to call when the given key is pressed.
|
|
4461
|
+
* @deprecated since 2.60: Connect to the key-pressed and key-released signals instead of using this function.
|
|
3898
4462
|
*/
|
|
3899
|
-
add_key_watcher(callback: KeyCallback
|
|
4463
|
+
add_key_watcher(callback: KeyCallback): void;
|
|
4464
|
+
|
|
4465
|
+
clear_key_grabs(): void;
|
|
4466
|
+
|
|
4467
|
+
/**
|
|
4468
|
+
* Synthesizes a mouse event at a specific screen coordinate.
|
|
4469
|
+
* Most AT clients should use the `AccessibleAction` interface when
|
|
4470
|
+
* tempted to generate mouse events, rather than this method.
|
|
4471
|
+
* Event names: b1p = button 1 press; b2r = button 2 release;
|
|
4472
|
+
* b3c = button 3 click; b2d = button 2 double-click;
|
|
4473
|
+
* abs = absolute motion; rel = relative motion.
|
|
4474
|
+
* @param obj The {@link Atspi.Accessible} that should receive the click.
|
|
4475
|
+
* @param x a `gint` indicating the x coordinate of the mouse event, relative to `obj`..
|
|
4476
|
+
* @param y a `gint` indicating the y coordinate of the mouse event, relative to `obj`..
|
|
4477
|
+
* @param name a string indicating which mouse event to be synthesized (e.g. "b1p", "b1c", "b2r", "rel", "abs").
|
|
4478
|
+
* @since 2.52
|
|
4479
|
+
*/
|
|
4480
|
+
generate_mouse_event(obj: Accessible, x: number, y: number, name: string): void;
|
|
4481
|
+
|
|
4482
|
+
/**
|
|
4483
|
+
* Returns the application ID of the device.
|
|
4484
|
+
* @since 2.55
|
|
4485
|
+
*/
|
|
4486
|
+
get_app_id(): string;
|
|
4487
|
+
|
|
4488
|
+
/**
|
|
4489
|
+
* Returns the capabilities currently enabled for this device.
|
|
4490
|
+
* @since 2.60
|
|
4491
|
+
*/
|
|
4492
|
+
get_capabilities(): DeviceCapability;
|
|
3900
4493
|
|
|
3901
4494
|
/**
|
|
3902
4495
|
* @param id
|
|
3903
4496
|
*/
|
|
3904
4497
|
get_grab_by_id(id: number): KeyDefinition;
|
|
3905
4498
|
|
|
4499
|
+
/**
|
|
4500
|
+
* Gets the modifier for a given keysym, if one exists. Does not create a new
|
|
4501
|
+
* mapping. This function should be used when the intention is to query a
|
|
4502
|
+
* locking modifier such as num lock via atspi_device_get_locked_modifiers,
|
|
4503
|
+
* rather than to add key grabs.
|
|
4504
|
+
* @param keysym the XKB keysym to map.
|
|
4505
|
+
* @returns the modifier that is mapped to this keysym.
|
|
4506
|
+
* @since 2.55
|
|
4507
|
+
*/
|
|
4508
|
+
get_keysym_modifier(keysym: number): number;
|
|
4509
|
+
|
|
3906
4510
|
/**
|
|
3907
4511
|
* Returns the locked modifiers (ie, num lock, caps lock) associated with this
|
|
3908
4512
|
* keyboard.
|
|
@@ -3911,7 +4515,7 @@ export namespace Atspi {
|
|
|
3911
4515
|
get_locked_modifiers(): number;
|
|
3912
4516
|
|
|
3913
4517
|
/**
|
|
3914
|
-
* Gets the modifier for a given keycode, if one exists. Does not
|
|
4518
|
+
* Gets the modifier for a given keycode, if one exists. Does not create a new
|
|
3915
4519
|
* mapping. This function should be used when the intention is to query a
|
|
3916
4520
|
* locking modifier such as num lock via atspi_device_get_locked_modifiers,
|
|
3917
4521
|
* rather than to add key grabs.
|
|
@@ -3928,6 +4532,21 @@ export namespace Atspi {
|
|
|
3928
4532
|
*/
|
|
3929
4533
|
grab_keyboard(): boolean;
|
|
3930
4534
|
|
|
4535
|
+
/**
|
|
4536
|
+
* Maps the specified keysym to a modifier so that it can be used in
|
|
4537
|
+
* conjunction with other keys to create a key grab. If the given keysym is
|
|
4538
|
+
* already mapped, then this function will return the modifier that is
|
|
4539
|
+
* currently mapped to the keysym, without doing anything else. Otherwise,
|
|
4540
|
+
* it will use the last modifier that AT-SPI used to map a keysym. If no keys
|
|
4541
|
+
* have yet been mapped using this device, then it will look for a modifier
|
|
4542
|
+
* that is not currently being used. If no unused modifier can be found,
|
|
4543
|
+
* then it will use the first modifier by default.
|
|
4544
|
+
* @param keysym the XKB keysym to map.
|
|
4545
|
+
* @returns the modifier that is now mapped to this keysym. This return value can be passed to atspi_device_add_key_grab.
|
|
4546
|
+
* @since 2.55
|
|
4547
|
+
*/
|
|
4548
|
+
map_keysym_modifier(keysym: number): number;
|
|
4549
|
+
|
|
3931
4550
|
/**
|
|
3932
4551
|
* Maps the specified key code to a modifier so that it can be used in
|
|
3933
4552
|
* conjunction with other keys to create a key grab. If the given keycode is
|
|
@@ -3957,11 +4576,32 @@ export namespace Atspi {
|
|
|
3957
4576
|
*/
|
|
3958
4577
|
remove_key_grab(id: number): void;
|
|
3959
4578
|
|
|
4579
|
+
/**
|
|
4580
|
+
* Sets the application ID of the device.
|
|
4581
|
+
* @param app_id the application ID.
|
|
4582
|
+
* @since 2.55
|
|
4583
|
+
*/
|
|
4584
|
+
set_app_id(app_id: string): void;
|
|
4585
|
+
|
|
4586
|
+
/**
|
|
4587
|
+
* @param capabilities A bitmask specifying the capabilities that should be enabled. This replaces the existing set of enabled capabilities, so, if it excludes some capabilities that are currently enabled, then those capabilities may be disabled.
|
|
4588
|
+
* @returns The new set of capabilities that are enabled. This may differ from the value passed in if the device does not support all of the requested capabilities.
|
|
4589
|
+
* @since 2.60
|
|
4590
|
+
*/
|
|
4591
|
+
set_capabilities(capabilities: DeviceCapability): DeviceCapability;
|
|
4592
|
+
|
|
3960
4593
|
/**
|
|
3961
4594
|
* Removes a keyboard grab added via a call to atspi_device_add_keyboard.
|
|
3962
4595
|
*/
|
|
3963
4596
|
ungrab_keyboard(): void;
|
|
3964
4597
|
|
|
4598
|
+
/**
|
|
4599
|
+
* Removes a mapped modifier from the given keysym.
|
|
4600
|
+
* @param keysym the XKB keysym to unmap.
|
|
4601
|
+
* @since 2.55
|
|
4602
|
+
*/
|
|
4603
|
+
unmap_keysym_modifier(keysym: number): void;
|
|
4604
|
+
|
|
3965
4605
|
/**
|
|
3966
4606
|
* Removes a mapped modifier from the given keycode.
|
|
3967
4607
|
* @param keycode the keycode to unmap.
|
|
@@ -3970,9 +4610,60 @@ export namespace Atspi {
|
|
|
3970
4610
|
}
|
|
3971
4611
|
|
|
3972
4612
|
|
|
4613
|
+
namespace DeviceA11yManager {
|
|
4614
|
+
// Signal signatures
|
|
4615
|
+
interface SignalSignatures extends Device.SignalSignatures {
|
|
4616
|
+
"notify::app-id": (pspec: GObject.ParamSpec) => void;
|
|
4617
|
+
}
|
|
4618
|
+
|
|
4619
|
+
// Constructor properties interface
|
|
4620
|
+
interface ConstructorProps extends Device.ConstructorProps {}
|
|
4621
|
+
}
|
|
4622
|
+
|
|
4623
|
+
/**
|
|
4624
|
+
* @gir-type Class
|
|
4625
|
+
*/
|
|
4626
|
+
class DeviceA11yManager extends Device {
|
|
4627
|
+
static $gtype: GObject.GType<DeviceA11yManager>;
|
|
4628
|
+
|
|
4629
|
+
/**
|
|
4630
|
+
* Compile-time signal type information.
|
|
4631
|
+
*
|
|
4632
|
+
* This instance property is generated only for TypeScript type checking.
|
|
4633
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
4634
|
+
* @internal
|
|
4635
|
+
*/
|
|
4636
|
+
$signals: DeviceA11yManager.SignalSignatures;
|
|
4637
|
+
|
|
4638
|
+
// Constructors
|
|
4639
|
+
constructor(properties?: Partial<DeviceA11yManager.ConstructorProps>, ...args: any[]);
|
|
4640
|
+
|
|
4641
|
+
_init(...args: any[]): void;
|
|
4642
|
+
|
|
4643
|
+
static try_new(): DeviceA11yManager;
|
|
4644
|
+
|
|
4645
|
+
static try_new_full(app_id: string | null): DeviceA11yManager;
|
|
4646
|
+
|
|
4647
|
+
// Signals
|
|
4648
|
+
/** @signal */
|
|
4649
|
+
connect<K extends keyof DeviceA11yManager.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DeviceA11yManager.SignalSignatures[K]>): number;
|
|
4650
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
4651
|
+
|
|
4652
|
+
/** @signal */
|
|
4653
|
+
connect_after<K extends keyof DeviceA11yManager.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DeviceA11yManager.SignalSignatures[K]>): number;
|
|
4654
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
4655
|
+
|
|
4656
|
+
/** @signal */
|
|
4657
|
+
emit<K extends keyof DeviceA11yManager.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DeviceA11yManager.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never): void;
|
|
4658
|
+
emit(signal: string, ...args: any[]): void;
|
|
4659
|
+
}
|
|
4660
|
+
|
|
4661
|
+
|
|
3973
4662
|
namespace DeviceLegacy {
|
|
3974
4663
|
// Signal signatures
|
|
3975
|
-
interface SignalSignatures extends Device.SignalSignatures {
|
|
4664
|
+
interface SignalSignatures extends Device.SignalSignatures {
|
|
4665
|
+
"notify::app-id": (pspec: GObject.ParamSpec) => void;
|
|
4666
|
+
}
|
|
3976
4667
|
|
|
3977
4668
|
// Constructor properties interface
|
|
3978
4669
|
interface ConstructorProps extends Device.ConstructorProps {}
|
|
@@ -4000,6 +4691,8 @@ export namespace Atspi {
|
|
|
4000
4691
|
|
|
4001
4692
|
static ["new"](): DeviceLegacy;
|
|
4002
4693
|
|
|
4694
|
+
static new_full(app_id: string | null): DeviceLegacy;
|
|
4695
|
+
|
|
4003
4696
|
// Signals
|
|
4004
4697
|
/** @signal */
|
|
4005
4698
|
connect<K extends keyof DeviceLegacy.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DeviceLegacy.SignalSignatures[K]>): number;
|
|
@@ -4048,7 +4741,7 @@ export namespace Atspi {
|
|
|
4048
4741
|
|
|
4049
4742
|
_init(...args: any[]): void;
|
|
4050
4743
|
|
|
4051
|
-
static ["new"](callback: DeviceListenerCB): DeviceListener;
|
|
4744
|
+
static ["new"](callback: DeviceListenerCB | null): DeviceListener;
|
|
4052
4745
|
|
|
4053
4746
|
// Signals
|
|
4054
4747
|
/** @signal */
|
|
@@ -4073,7 +4766,7 @@ export namespace Atspi {
|
|
|
4073
4766
|
// Methods
|
|
4074
4767
|
/**
|
|
4075
4768
|
* Adds an in-process callback function to an existing {@link Atspi.DeviceListener}.
|
|
4076
|
-
* @param callback an
|
|
4769
|
+
* @param callback an {@link Atspi.DeviceListenerCB} function pointer.
|
|
4077
4770
|
*/
|
|
4078
4771
|
add_callback(callback: DeviceListenerCB): void;
|
|
4079
4772
|
|
|
@@ -4088,7 +4781,9 @@ export namespace Atspi {
|
|
|
4088
4781
|
|
|
4089
4782
|
namespace DeviceX11 {
|
|
4090
4783
|
// Signal signatures
|
|
4091
|
-
interface SignalSignatures extends Device.SignalSignatures {
|
|
4784
|
+
interface SignalSignatures extends Device.SignalSignatures {
|
|
4785
|
+
"notify::app-id": (pspec: GObject.ParamSpec) => void;
|
|
4786
|
+
}
|
|
4092
4787
|
|
|
4093
4788
|
// Constructor properties interface
|
|
4094
4789
|
interface ConstructorProps extends Device.ConstructorProps {}
|
|
@@ -4116,6 +4811,8 @@ export namespace Atspi {
|
|
|
4116
4811
|
|
|
4117
4812
|
static ["new"](): DeviceX11;
|
|
4118
4813
|
|
|
4814
|
+
static new_full(app_id: string | null): DeviceX11;
|
|
4815
|
+
|
|
4119
4816
|
// Signals
|
|
4120
4817
|
/** @signal */
|
|
4121
4818
|
connect<K extends keyof DeviceX11.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DeviceX11.SignalSignatures[K]>): number;
|
|
@@ -4140,6 +4837,13 @@ export namespace Atspi {
|
|
|
4140
4837
|
}
|
|
4141
4838
|
|
|
4142
4839
|
/**
|
|
4840
|
+
* A generic interface implemented by objects for the receipt of event
|
|
4841
|
+
* notifications.
|
|
4842
|
+
*
|
|
4843
|
+
* A generic interface implemented by objects for the receipt of event
|
|
4844
|
+
* notifications. atspi-event-listener is the interface via which clients of
|
|
4845
|
+
* the atspi-registry receive notification of changes to an application's user
|
|
4846
|
+
* interface and content.
|
|
4143
4847
|
* @gir-type Class
|
|
4144
4848
|
*/
|
|
4145
4849
|
class EventListener extends GObject.Object {
|
|
@@ -4184,33 +4888,33 @@ export namespace Atspi {
|
|
|
4184
4888
|
// Static methods
|
|
4185
4889
|
/**
|
|
4186
4890
|
* Deregisters an {@link Atspi.EventListenerCB} from the registry, for a specific
|
|
4187
|
-
*
|
|
4188
|
-
* @param callback the {@link Atspi.EventListenerCB}
|
|
4189
|
-
* @param event_type a string specifying the event type for which this
|
|
4891
|
+
* event type.
|
|
4892
|
+
* @param callback the {@link Atspi.EventListenerCB} registered against an event type.
|
|
4893
|
+
* @param event_type a string specifying the event type for which this listener is to be deregistered.
|
|
4190
4894
|
*/
|
|
4191
4895
|
static deregister_from_callback(callback: EventListenerCB, event_type: string): boolean;
|
|
4192
4896
|
|
|
4193
4897
|
/**
|
|
4194
4898
|
* Registers an {@link Atspi.EventListenerCB} against an `event_type`.
|
|
4195
|
-
* @param callback the
|
|
4196
|
-
* @param event_type a character string indicating the type of events for which
|
|
4899
|
+
* @param callback the {@link Atspi.EventListenerCB} to be registered against an event type.
|
|
4900
|
+
* @param event_type a character string indicating the type of events for which notification is requested. See `atspi_event_listener_register()` for a description of the format.
|
|
4197
4901
|
*/
|
|
4198
4902
|
static register_from_callback(callback: EventListenerCB, event_type: string): boolean;
|
|
4199
4903
|
|
|
4200
4904
|
/**
|
|
4201
|
-
* @param callback an
|
|
4905
|
+
* @param callback an {@link Atspi.EventListenerCB} function pointer.
|
|
4202
4906
|
* @param event_type
|
|
4203
4907
|
* @param properties
|
|
4204
4908
|
*/
|
|
4205
|
-
static register_from_callback_full(callback: EventListenerCB
|
|
4909
|
+
static register_from_callback_full(callback: EventListenerCB, event_type: string, properties: string[]): boolean;
|
|
4206
4910
|
|
|
4207
4911
|
/**
|
|
4208
|
-
* @param callback an
|
|
4912
|
+
* @param callback an {@link Atspi.EventListenerCB} function pointer.
|
|
4209
4913
|
* @param event_type
|
|
4210
4914
|
* @param properties
|
|
4211
4915
|
* @param app
|
|
4212
4916
|
*/
|
|
4213
|
-
static register_from_callback_with_app(callback: EventListenerCB
|
|
4917
|
+
static register_from_callback_with_app(callback: EventListenerCB, event_type: string, properties: string[], app: Accessible | null): boolean;
|
|
4214
4918
|
|
|
4215
4919
|
// Methods
|
|
4216
4920
|
/**
|
|
@@ -4231,6 +4935,7 @@ export namespace Atspi {
|
|
|
4231
4935
|
* object:property-change
|
|
4232
4936
|
* object:property-change:accessible-name
|
|
4233
4937
|
* object:property-change:accessible-description
|
|
4938
|
+
* object:property-change:accessible-help-text
|
|
4234
4939
|
* object:property-change:accessible-parent
|
|
4235
4940
|
* object:property-change:accessible-value
|
|
4236
4941
|
* object:property-change:accessible-role
|
|
@@ -4258,6 +4963,7 @@ export namespace Atspi {
|
|
|
4258
4963
|
* object:column-deleted
|
|
4259
4964
|
* object:model-changed
|
|
4260
4965
|
* object:active-descendant-changed
|
|
4966
|
+
* object:announcement
|
|
4261
4967
|
*
|
|
4262
4968
|
* (screen reader events)
|
|
4263
4969
|
* screen-reader:region-changed
|
|
@@ -4337,6 +5043,16 @@ export namespace Atspi {
|
|
|
4337
5043
|
}
|
|
4338
5044
|
|
|
4339
5045
|
/**
|
|
5046
|
+
* Instances of atspi-hyperlink are the means by which end users
|
|
5047
|
+
* and clients interact with linked content.
|
|
5048
|
+
*
|
|
5049
|
+
* Instances of atspi-hyperlink are returned by
|
|
5050
|
+
* atspi-hypertext objects, and are the means by
|
|
5051
|
+
* which end users and clients interact with linked,
|
|
5052
|
+
* and in some cases embedded, content. These instances
|
|
5053
|
+
* may have multiple "anchors", where an anchor corresponds to a
|
|
5054
|
+
* reference to a particular resource with a corresponding resource
|
|
5055
|
+
* identified (URI).
|
|
4340
5056
|
* @gir-type Class
|
|
4341
5057
|
*/
|
|
4342
5058
|
class Hyperlink extends Object {
|
|
@@ -4432,6 +5148,8 @@ export namespace Atspi {
|
|
|
4432
5148
|
}
|
|
4433
5149
|
|
|
4434
5150
|
/**
|
|
5151
|
+
* An interface that allows the definition of match rules
|
|
5152
|
+
* for accessible objects.
|
|
4435
5153
|
* @gir-type Class
|
|
4436
5154
|
*/
|
|
4437
5155
|
class MatchRule extends GObject.Object {
|
|
@@ -4468,7 +5186,7 @@ export namespace Atspi {
|
|
|
4468
5186
|
|
|
4469
5187
|
_init(...args: any[]): void;
|
|
4470
5188
|
|
|
4471
|
-
static ["new"](states: StateSet, statematchtype: CollectionMatchType, attributes: { [key: string]: string }, attributematchtype: CollectionMatchType, roles: Role[], rolematchtype: CollectionMatchType, interfaces: string[], interfacematchtype: CollectionMatchType, invert: boolean): MatchRule;
|
|
5189
|
+
static ["new"](states: StateSet | null, statematchtype: CollectionMatchType, attributes: { [key: string]: string } | null, attributematchtype: CollectionMatchType, roles: Role[] | null, rolematchtype: CollectionMatchType, interfaces: string[] | null, interfacematchtype: CollectionMatchType, invert: boolean): MatchRule;
|
|
4472
5190
|
|
|
4473
5191
|
// Signals
|
|
4474
5192
|
/** @signal */
|
|
@@ -4542,6 +5260,12 @@ export namespace Atspi {
|
|
|
4542
5260
|
}
|
|
4543
5261
|
|
|
4544
5262
|
/**
|
|
5263
|
+
* An interface via which non-hierarchical relationships
|
|
5264
|
+
* are indicated.
|
|
5265
|
+
*
|
|
5266
|
+
* An interface via which non-hierarchical relationships
|
|
5267
|
+
* are indicated. An instance of this interface represents
|
|
5268
|
+
* a "one-to-many" correspondence.
|
|
4545
5269
|
* @gir-type Class
|
|
4546
5270
|
*/
|
|
4547
5271
|
class Relation extends GObject.Object {
|
|
@@ -4612,6 +5336,8 @@ export namespace Atspi {
|
|
|
4612
5336
|
}
|
|
4613
5337
|
|
|
4614
5338
|
/**
|
|
5339
|
+
* The atspi-stateset objects implement wrappers around a
|
|
5340
|
+
* bitmap of accessible states.
|
|
4615
5341
|
* @gir-type Class
|
|
4616
5342
|
*/
|
|
4617
5343
|
class StateSet extends GObject.Object {
|
|
@@ -4732,6 +5458,11 @@ export namespace Atspi {
|
|
|
4732
5458
|
*/
|
|
4733
5459
|
type ApplicationClass = typeof Application;
|
|
4734
5460
|
|
|
5461
|
+
/**
|
|
5462
|
+
* @gir-type Alias
|
|
5463
|
+
*/
|
|
5464
|
+
type DeviceA11yManagerClass = typeof DeviceA11yManager;
|
|
5465
|
+
|
|
4735
5466
|
/**
|
|
4736
5467
|
* @gir-type Alias
|
|
4737
5468
|
*/
|
|
@@ -5018,6 +5749,45 @@ export namespace Atspi {
|
|
|
5018
5749
|
}
|
|
5019
5750
|
|
|
5020
5751
|
|
|
5752
|
+
/**
|
|
5753
|
+
* This structure represents a single text selection within a document. This
|
|
5754
|
+
* selection is defined by two points in the content, where each one is defined
|
|
5755
|
+
* by an AtkObject supporting the AtkText interface and a character offset
|
|
5756
|
+
* relative to it.
|
|
5757
|
+
*
|
|
5758
|
+
* The end object must appear after the start object in the accessibility tree,
|
|
5759
|
+
* i.e. the end object must be reachable from the start object by navigating
|
|
5760
|
+
* forward (next, first child etc).
|
|
5761
|
+
*
|
|
5762
|
+
* This struct also contains a `start_is_active` boolean, to communicate if the
|
|
5763
|
+
* start of the selection is the active point or not.
|
|
5764
|
+
*
|
|
5765
|
+
* The active point corresponds to the user's focus or point of interest. The
|
|
5766
|
+
* user moves the active point to expand or collapse the range. The anchor
|
|
5767
|
+
* point is the other point of the range and typically remains constant. In
|
|
5768
|
+
* most cases, anchor is the start of the range and active is the end. However,
|
|
5769
|
+
* when selecting backwards (e.g. pressing shift+left arrow in a text field),
|
|
5770
|
+
* the start of the range is the active point, as the user moves this to
|
|
5771
|
+
* manipulate the selection.
|
|
5772
|
+
* @gir-type Struct
|
|
5773
|
+
* @since 2.52
|
|
5774
|
+
*/
|
|
5775
|
+
class TextSelection {
|
|
5776
|
+
static $gtype: GObject.GType<TextSelection>;
|
|
5777
|
+
|
|
5778
|
+
// Fields
|
|
5779
|
+
start_object: Accessible;
|
|
5780
|
+
|
|
5781
|
+
start_offset: number;
|
|
5782
|
+
|
|
5783
|
+
end_object: Accessible;
|
|
5784
|
+
|
|
5785
|
+
end_offset: number;
|
|
5786
|
+
|
|
5787
|
+
start_is_active: boolean;
|
|
5788
|
+
}
|
|
5789
|
+
|
|
5790
|
+
|
|
5021
5791
|
namespace Action {
|
|
5022
5792
|
|
|
5023
5793
|
// Constructor properties interface
|
|
@@ -5046,6 +5816,7 @@ export namespace Atspi {
|
|
|
5046
5816
|
* object implementing {@link Atspi.Action}.
|
|
5047
5817
|
* @param i an integer indicating which action to query.
|
|
5048
5818
|
* @returns a UTF-8 string describing the '`i`-th' invocable action.
|
|
5819
|
+
* @deprecated since 2.10: Use atspi_action_get_action_description instead.
|
|
5049
5820
|
*/
|
|
5050
5821
|
get_action_description(i: number): string;
|
|
5051
5822
|
|
|
@@ -5095,6 +5866,7 @@ export namespace Atspi {
|
|
|
5095
5866
|
* object implementing {@link Atspi.Action}.
|
|
5096
5867
|
* @param i an integer indicating which action to query.
|
|
5097
5868
|
* @returns the non-localized name of the action, as a UTF-8 string.
|
|
5869
|
+
* @deprecated since 2.10: Use atspi_action_get_action_name instead.
|
|
5098
5870
|
*/
|
|
5099
5871
|
get_action_name(i: number): string;
|
|
5100
5872
|
}
|
|
@@ -5115,6 +5887,12 @@ export namespace Atspi {
|
|
|
5115
5887
|
prototype: Collection;
|
|
5116
5888
|
}
|
|
5117
5889
|
/**
|
|
5890
|
+
* An interface designed to allow accessibles which satisfy a set of
|
|
5891
|
+
* criteria to be returned.
|
|
5892
|
+
*
|
|
5893
|
+
* An interface designed to allow accessibles which satisfy a set of
|
|
5894
|
+
* criteria to be returned. This interface can be used to avoid iteration
|
|
5895
|
+
* or client-side search of the object tree.
|
|
5118
5896
|
* @gir-type Interface
|
|
5119
5897
|
*/
|
|
5120
5898
|
interface Collection extends GObject.Object {
|
|
@@ -5131,7 +5909,7 @@ export namespace Atspi {
|
|
|
5131
5909
|
* @param rule An {@link Atspi.MatchRule} describing the match criteria.
|
|
5132
5910
|
* @param sortby An {@link Atspi.CollectionSortOrder} specifying the way the results are to be sorted.
|
|
5133
5911
|
* @param count The maximum number of results to return, or 0 for no limit.
|
|
5134
|
-
* @param traverse
|
|
5912
|
+
* @param traverse Whether to traverse the accessible subtree (in case of `TRUE`) or only the direct children (on case of `FALSE`).
|
|
5135
5913
|
* @returns All {@link Atspi.Accessible} objects matching the given match rule.
|
|
5136
5914
|
*/
|
|
5137
5915
|
get_matches(rule: MatchRule, sortby: CollectionSortOrder, count: number, traverse: boolean): Accessible[];
|
|
@@ -5144,7 +5922,7 @@ export namespace Atspi {
|
|
|
5144
5922
|
* @param sortby An {@link Atspi.CollectionSortOrder} specifying the way the results are to be sorted.
|
|
5145
5923
|
* @param tree An {@link Atspi.CollectionTreeTraversalType} specifying restrictions on the objects to be traversed.
|
|
5146
5924
|
* @param count The maximum number of results to return, or 0 for no limit.
|
|
5147
|
-
* @param traverse
|
|
5925
|
+
* @param traverse Whether to traverse the accessible subtree (in case of `TRUE`) or only the direct children (on case of `FALSE`).
|
|
5148
5926
|
* @returns All {@link Atspi.Accessible} objects matching the given match rule that preceed `current_object`.
|
|
5149
5927
|
*/
|
|
5150
5928
|
get_matches_from(current_object: Accessible, rule: MatchRule, sortby: CollectionSortOrder, tree: CollectionTreeTraversalType, count: number, traverse: boolean): Accessible[];
|
|
@@ -5158,7 +5936,7 @@ export namespace Atspi {
|
|
|
5158
5936
|
* @param tree An {@link Atspi.CollectionTreeTraversalType} specifying restrictions on the objects to be traversed.
|
|
5159
5937
|
* @param limit_scope If `TRUE`, only descendants of `current_object`'s parent will be returned. Otherwise (if `FALSE`), any accessible may be returned if it would preceed `current_object` in a flattened hierarchy.
|
|
5160
5938
|
* @param count The maximum number of results to return, or 0 for no limit.
|
|
5161
|
-
* @param traverse
|
|
5939
|
+
* @param traverse Whether to traverse the accessible subtree (in case of `TRUE`) or only the direct children (on case of `FALSE`).
|
|
5162
5940
|
* @returns All {@link Atspi.Accessible} objects matching the given match rule after `current_object`.
|
|
5163
5941
|
*/
|
|
5164
5942
|
get_matches_to(current_object: Accessible, rule: MatchRule, sortby: CollectionSortOrder, tree: CollectionTreeTraversalType, limit_scope: boolean, count: number, traverse: boolean): Accessible[];
|
|
@@ -5186,6 +5964,17 @@ export namespace Atspi {
|
|
|
5186
5964
|
prototype: Component;
|
|
5187
5965
|
}
|
|
5188
5966
|
/**
|
|
5967
|
+
* An interface implemented by objects which have onscreen visual
|
|
5968
|
+
* representations.
|
|
5969
|
+
*
|
|
5970
|
+
* The Component interface is implemented by objects which occupy on-screen
|
|
5971
|
+
* space, e.g. objects which have onscreen visual representations. The methods
|
|
5972
|
+
* in Component allow clients to identify where the objects lie in the onscreen
|
|
5973
|
+
* coordinate system, their relative size, stacking order, and position. It
|
|
5974
|
+
* also provides a mechanism whereby keyboard focus may be transferred to
|
|
5975
|
+
* specific user interface elements programmatically. This is a 2D API.
|
|
5976
|
+
* Coordinates of 3D objects are projected into the 2-dimensional screen view
|
|
5977
|
+
* for purposes of this interface.
|
|
5189
5978
|
* @gir-type Interface
|
|
5190
5979
|
*/
|
|
5191
5980
|
interface Component extends GObject.Object {
|
|
@@ -5282,8 +6071,8 @@ export namespace Atspi {
|
|
|
5282
6071
|
|
|
5283
6072
|
/**
|
|
5284
6073
|
* Moves and resizes the specified component.
|
|
5285
|
-
* @param x the new
|
|
5286
|
-
* @param y the new
|
|
6074
|
+
* @param x the new horizontal position to which the component should be moved.
|
|
6075
|
+
* @param y the new vertical position to which the component should be moved.
|
|
5287
6076
|
* @param width the width to which the component should be resized.
|
|
5288
6077
|
* @param height the height to which the component should be resized.
|
|
5289
6078
|
* @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
|
|
@@ -5293,15 +6082,15 @@ export namespace Atspi {
|
|
|
5293
6082
|
|
|
5294
6083
|
/**
|
|
5295
6084
|
* Moves the component to the specified position.
|
|
5296
|
-
* @param x the new
|
|
5297
|
-
* @param y the new
|
|
6085
|
+
* @param x the new horizontal position to which the component should be moved.
|
|
6086
|
+
* @param y the new vertical position to which the component should be moved.
|
|
5298
6087
|
* @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
|
|
5299
6088
|
* @returns `TRUE` if successful; `FALSE` otherwise.
|
|
5300
6089
|
*/
|
|
5301
6090
|
set_position(x: number, y: number, ctype: CoordType): boolean;
|
|
5302
6091
|
|
|
5303
6092
|
/**
|
|
5304
|
-
* Resizes the specified component to the given
|
|
6093
|
+
* Resizes the specified component to the given pixel dimensions.
|
|
5305
6094
|
* @param width the width to which the component should be resized.
|
|
5306
6095
|
* @param height the height to which the component should be resized.
|
|
5307
6096
|
* @returns `TRUE` if successful; `FALSE` otherwise.
|
|
@@ -5334,6 +6123,7 @@ export namespace Atspi {
|
|
|
5334
6123
|
* Gets the value of a single attribute, if specified for the document as a whole.
|
|
5335
6124
|
* @param attribute a string indicating the name of a specific attribute.
|
|
5336
6125
|
* @returns a string corresponding to the value of the specified attribute, or an empty string if the attribute is unspecified for the object.
|
|
6126
|
+
* @deprecated since 2.10: Use atspi_document_get_document_attribute_value instead.
|
|
5337
6127
|
*/
|
|
5338
6128
|
get_document_attribute_value(attribute: string): string;
|
|
5339
6129
|
|
|
@@ -5341,6 +6131,7 @@ export namespace Atspi {
|
|
|
5341
6131
|
* Gets all constant attributes for the document as a whole. For attributes
|
|
5342
6132
|
* that change within the document content, see `atspi_text_get_attribute_run` instead.
|
|
5343
6133
|
* @returns a {@link GLib.HashTable} containing the constant attributes of the document, as name-value pairs.
|
|
6134
|
+
* @deprecated since 2.10: Use atspi_document_get_document_attributes instead.
|
|
5344
6135
|
*/
|
|
5345
6136
|
get_document_attributes(): { [key: string]: string };
|
|
5346
6137
|
|
|
@@ -5362,6 +6153,25 @@ export namespace Atspi {
|
|
|
5362
6153
|
* @returns a `gint` indicating the page count of an `AccessibleDocument` object.
|
|
5363
6154
|
*/
|
|
5364
6155
|
get_page_count(): number;
|
|
6156
|
+
|
|
6157
|
+
/**
|
|
6158
|
+
* Returns an array of AtspiTextSelections within this document.
|
|
6159
|
+
* @returns a GArray of AtspiTextSelection structures representing the selection.
|
|
6160
|
+
* @since 2.52
|
|
6161
|
+
*/
|
|
6162
|
+
get_text_selections(): TextSelection[];
|
|
6163
|
+
|
|
6164
|
+
/**
|
|
6165
|
+
* Makes 1 or more selections within this document denoted by the given
|
|
6166
|
+
* array of AtspiTextSelections. Any existing physical selection (inside or
|
|
6167
|
+
* outside this document) is replaced by the new selections. All objects within
|
|
6168
|
+
* the given selection ranges must be descendants of this document. Otherwise
|
|
6169
|
+
* FALSE will be returned.
|
|
6170
|
+
* @param selections a GArray of AtspiTextSelections to be selected.
|
|
6171
|
+
* @returns TRUE if the selection was made successfully; FALSE otherwise.
|
|
6172
|
+
* @since 2.52
|
|
6173
|
+
*/
|
|
6174
|
+
set_text_selections(selections: TextSelection[]): boolean;
|
|
5365
6175
|
}
|
|
5366
6176
|
|
|
5367
6177
|
|
|
@@ -5463,6 +6273,14 @@ export namespace Atspi {
|
|
|
5463
6273
|
prototype: Hypertext;
|
|
5464
6274
|
}
|
|
5465
6275
|
/**
|
|
6276
|
+
* An interface used for objects which implement linking between
|
|
6277
|
+
* multiple resource locations.
|
|
6278
|
+
*
|
|
6279
|
+
* An interface used for objects which implement linking between
|
|
6280
|
+
* multiple resource or content locations, or multiple 'markers'
|
|
6281
|
+
* within a single document. A hypertext instance is associated
|
|
6282
|
+
* with one or more hyperlinks which are associated with particular
|
|
6283
|
+
* offsets within the hypertext's content.
|
|
5466
6284
|
* @gir-type Interface
|
|
5467
6285
|
*/
|
|
5468
6286
|
interface Hypertext extends GObject.Object {
|
|
@@ -5569,6 +6387,14 @@ export namespace Atspi {
|
|
|
5569
6387
|
prototype: Selection;
|
|
5570
6388
|
}
|
|
5571
6389
|
/**
|
|
6390
|
+
* An interface which indicates that an object exposes a 'selection' model,
|
|
6391
|
+
* allowing the selection of one or more of its children.
|
|
6392
|
+
*
|
|
6393
|
+
* An interface which indicates that an object exposes a 'selection'
|
|
6394
|
+
* model, allowing the selection of one or more of its children.
|
|
6395
|
+
* Read-only Selection instances are possible, in which case the
|
|
6396
|
+
* interface is used to programmatically determine the selected-ness
|
|
6397
|
+
* of its children.
|
|
5572
6398
|
* @gir-type Interface
|
|
5573
6399
|
*/
|
|
5574
6400
|
interface Selection extends GObject.Object {
|
|
@@ -5594,11 +6420,11 @@ export namespace Atspi {
|
|
|
5594
6420
|
|
|
5595
6421
|
/**
|
|
5596
6422
|
* Removes a child from the selected children list of an {@link Atspi.Selection}.
|
|
5597
|
-
* Note that `
|
|
5598
|
-
* not the index in the parent container.
|
|
5599
|
-
* method
|
|
5600
|
-
* are asymmetric.
|
|
5601
|
-
* @param selected_child_index a `gint` indicating which of the selected children of the {@link Atspi.Accessible} is to be
|
|
6423
|
+
* Note that `selected_child_index` is the index in the
|
|
6424
|
+
* selected-children list, not the index in the parent container.
|
|
6425
|
+
* `selected_child_index` in this method and `child_index` in
|
|
6426
|
+
* `atspi_selection_select_child` are asymmetric.
|
|
6427
|
+
* @param selected_child_index a `gint` indicating which of the selected children of the {@link Atspi.Accessible} is to be deselected.
|
|
5602
6428
|
* @returns `TRUE` if the child was successfully deselected, `FALSE` otherwise.
|
|
5603
6429
|
*/
|
|
5604
6430
|
deselect_selected_child(selected_child_index: number): boolean;
|
|
@@ -5667,6 +6493,17 @@ export namespace Atspi {
|
|
|
5667
6493
|
prototype: Table;
|
|
5668
6494
|
}
|
|
5669
6495
|
/**
|
|
6496
|
+
* An interface used by containers whose data is arranged in a tabular form.
|
|
6497
|
+
*
|
|
6498
|
+
* An interface used by containers whose contained data is arranged
|
|
6499
|
+
* in a tabular (i.e. row-column) form. Tables may resemble
|
|
6500
|
+
* a two-dimensional grid, as in a spreadsheet, or may feature objects
|
|
6501
|
+
* which span multiple rows and/or columns, but whose bounds are
|
|
6502
|
+
* aligned on a row/column matrix. Objects within tables are children
|
|
6503
|
+
* of the table object, and they may be referenced either via a child
|
|
6504
|
+
* index or via a row/column pair. Table 'cells' may implement other
|
|
6505
|
+
* interfaces, such as Text, Action, Image, and Component, and should do
|
|
6506
|
+
* so as appropriate to their onscreen presentation and/or behavior.
|
|
5670
6507
|
* @gir-type Interface
|
|
5671
6508
|
*/
|
|
5672
6509
|
interface Table extends GObject.Object {
|
|
@@ -5998,6 +6835,15 @@ export namespace Atspi {
|
|
|
5998
6835
|
prototype: Text;
|
|
5999
6836
|
}
|
|
6000
6837
|
/**
|
|
6838
|
+
* An interface implemented by objects which place textual
|
|
6839
|
+
* information onscreen.
|
|
6840
|
+
*
|
|
6841
|
+
* The text interface should be implemented by objects which place textual
|
|
6842
|
+
* information onscreen as character strings or glyphs. The text interface
|
|
6843
|
+
* allows access to textual content including display attributes and
|
|
6844
|
+
* semantic hints associated with runs of text, and to bounding
|
|
6845
|
+
* information for glyphs and substrings. It also allows portions of text to
|
|
6846
|
+
* be selected, if the objects StateSet includes STATE_SELECTABLE_TEXT.
|
|
6001
6847
|
* @gir-type Interface
|
|
6002
6848
|
*/
|
|
6003
6849
|
interface Text extends GObject.Object {
|
|
@@ -6025,6 +6871,7 @@ export namespace Atspi {
|
|
|
6025
6871
|
* @param offset The character offset at which to query the attribute.
|
|
6026
6872
|
* @param attribute_name The attribute to query.
|
|
6027
6873
|
* @returns the value of a given attribute at the given offset, or `null` if not present.
|
|
6874
|
+
* @deprecated since 2.10: Use atspi_text_get_text_attribute_value instead.
|
|
6028
6875
|
*/
|
|
6029
6876
|
get_text_attribute_value(offset: number, attribute_name: string): string | null;
|
|
6030
6877
|
|
|
@@ -6032,9 +6879,9 @@ export namespace Atspi {
|
|
|
6032
6879
|
* Gets the attributes applied to a range of text from an {@link Atspi.Text}
|
|
6033
6880
|
* object. The text attributes correspond to CSS attributes
|
|
6034
6881
|
* where possible.
|
|
6035
|
-
* <em>DEPRECATED</em>
|
|
6036
6882
|
* @param offset a `gint` indicating the offset from which the attribute search is based.
|
|
6037
6883
|
* @returns a {@link GLib.HashTable} describing the attributes at the given character offset.
|
|
6884
|
+
* @deprecated since 2.10: Use atspi_text_get_text_attributes instead.
|
|
6038
6885
|
*/
|
|
6039
6886
|
get_text_attributes(offset: number): [{ [key: string]: string }, number, number];
|
|
6040
6887
|
|
|
@@ -6160,6 +7007,7 @@ export namespace Atspi {
|
|
|
6160
7007
|
* @param offset position
|
|
6161
7008
|
* @param granularity An {@link Atspi.TextGranularity}
|
|
6162
7009
|
* @returns a newly allocated string containing the text at the `offset` bounded by the specified `granularity`. Use `g_free()` to free the returned string. Returns `null` if the offset is invalid or no implementation is available.
|
|
7010
|
+
* @since 2.9.90
|
|
6163
7011
|
*/
|
|
6164
7012
|
get_string_at_offset(offset: number, granularity: TextGranularity): TextRange;
|
|
6165
7013
|
|
|
@@ -6188,6 +7036,7 @@ export namespace Atspi {
|
|
|
6188
7036
|
* @param offset a `gint` indicating the offset from which the delimiter search is based.
|
|
6189
7037
|
* @param type an {@link Atspi.TextBoundaryType} indicating whether the desired text string is a word, sentence, line, or attribute run.
|
|
6190
7038
|
* @returns an {@link Atspi.TextRange} containing a UTF-8 string representing the delimited text, whose delimiting boundaries bracket the current offset, or an empty string if no such text exists.
|
|
7039
|
+
* @deprecated since 2.10: Use atspi_text_get_string_at_offset.
|
|
6191
7040
|
*/
|
|
6192
7041
|
get_text_at_offset(offset: number, type: TextBoundaryType): TextRange;
|
|
6193
7042
|
|
|
@@ -6262,6 +7111,13 @@ export namespace Atspi {
|
|
|
6262
7111
|
prototype: Value;
|
|
6263
7112
|
}
|
|
6264
7113
|
/**
|
|
7114
|
+
* An interface supporting a one-dimensional scalar
|
|
7115
|
+
* to be modified, or which reflects its value.
|
|
7116
|
+
*
|
|
7117
|
+
* An interface supporting a one-dimensional scalar
|
|
7118
|
+
* to be modified, or which reflects its value. If
|
|
7119
|
+
* STATE_EDITABLE is not present, the value is
|
|
7120
|
+
* treated as "read only".
|
|
6265
7121
|
* @gir-type Interface
|
|
6266
7122
|
*/
|
|
6267
7123
|
interface Value extends GObject.Object {
|
|
@@ -6295,6 +7151,7 @@ export namespace Atspi {
|
|
|
6295
7151
|
* Gets the human readable text alternative associated with the value.
|
|
6296
7152
|
* `text` is a newly created string, that must be freed by the
|
|
6297
7153
|
* caller. Can be NULL if no descriptor is available.
|
|
7154
|
+
* @since 2.46
|
|
6298
7155
|
*/
|
|
6299
7156
|
get_text(): string;
|
|
6300
7157
|
|