@girs/atspi-2.0 2.0.0-3.2.7 → 2.0.0-3.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/atspi-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Atspi-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for Atspi-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
  AT-SPI2 is a D-Bus based accessibility framework. It defines a D-Bus protocol for providing and accessing application accessibility information. The project includes a library for bridging the D-Bus protocol to the ATK API, allowing Gtk based applications to be made accessible.
11
11
 
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/atspi-2.0.d.cts CHANGED
@@ -288,26 +288,6 @@ export enum KeySynthType {
288
288
  */
289
289
  UNLOCKMODIFIERS,
290
290
  }
291
- /**
292
- * Enumeration used to indicate a type of live region and how assertive it
293
- * should be in terms of speaking notifications. Currently, this is only used
294
- * for "announcement" events, but it may be used for additional purposes
295
- * in the future.
296
- */
297
- export enum Live {
298
- /**
299
- * No live region.
300
- */
301
- NONE,
302
- /**
303
- * This live region should be considered polite.
304
- */
305
- POLITE,
306
- /**
307
- * This live region should be considered assertive.
308
- */
309
- ASSERTIVE,
310
- }
311
291
  /**
312
292
  * Used by interfaces #AtspiText and #AtspiDocument, this
313
293
  * enumeration corresponds to the POSIX 'setlocale' enum values.
@@ -623,7 +603,7 @@ export enum Role {
623
603
  */
624
604
  DATE_EDITOR,
625
605
  /**
626
- * An inconifed internal frame within a DESKTOP_FRAME.
606
+ * An inconifed internal frame within a DESKTOP_PANE.
627
607
  */
628
608
  DESKTOP_ICON,
629
609
  /**
@@ -645,16 +625,16 @@ export enum Role {
645
625
  * and select the contents of a directory.
646
626
  */
647
627
  DIRECTORY_PANE,
648
- /**
649
- * An object used for drawing custom user interface
650
- * elements.
651
- */
652
- DRAWING_AREA,
653
628
  /**
654
629
  * A specialized dialog that displays the files in
655
630
  * the directory and lets the user select a file, browse a different
656
631
  * directory, or specify a filename.
657
632
  */
633
+ DRAWING_AREA,
634
+ /**
635
+ * An object used for drawing custom user interface
636
+ * elements.
637
+ */
658
638
  FILE_CHOOSER,
659
639
  /**
660
640
  * A object that fills up space in a user interface.
@@ -813,13 +793,14 @@ export enum Role {
813
793
  SEPARATOR,
814
794
  /**
815
795
  * An object that allows the user to select from a bounded
816
- * range. Unlike `ATSPI_ROLE_SCROLL_BAR,` `ATSPI_ROLE_SLIDER` objects need not control
817
- * 'viewport'-like objects.
796
+ * range.
818
797
  */
819
798
  SLIDER,
820
799
  /**
821
800
  * An object which allows one of a set of choices to
822
- * be selected, and which displays the current choice.
801
+ * be selected, and which displays the current choice. Unlike
802
+ * `ATSPI_ROLE_SCROLL_BAR,` `ATSPI_ROLE_SLIDER` objects need not control
803
+ * 'viewport'-like objects.
823
804
  */
824
805
  SPIN_BUTTON,
825
806
  /**
@@ -942,7 +923,7 @@ export enum Role {
942
923
  /**
943
924
  * An object corresponding to the toplevel accessible
944
925
  * of an application, which may contain `ATSPI_ROLE_FRAME` objects or other
945
- * accessible objects. Children of objects with the #ATSPI_ROLE_DESKTOP_FRAME role are generally
926
+ * accessible objects. Children of #AccessibleDesktop objects are generally
946
927
  * `ATSPI_ROLE_APPLICATION` objects.
947
928
  */
948
929
  APPLICATION,
@@ -1278,18 +1259,14 @@ export enum Role {
1278
1259
  /**
1279
1260
  * A container for content that is called out as a proposed
1280
1261
  * change from the current version of the document, such as by a reviewer of the
1281
- * content. An object with this role should include children with %ATSPI_ROLE_CONTENT_DELETION and/or
1282
- * %ATSPI_ROLE_CONTENT_INSERTION, in any order, to indicate what the
1262
+ * content. This role should include either %ATSPI_ROLE_CONTENT_DELETION and/or
1263
+ * %ATSPI_ROLE_CONTENT_INSERTION children, in any order, to indicate what the
1283
1264
  * actual change is. `Since:` 2.36
1284
1265
  */
1285
1266
  SUGGESTION,
1286
- /**
1287
- * A specialized push button to open a menu. `Since` 2.46
1288
- */
1289
- PUSH_BUTTON_MENU,
1290
1267
  /**
1291
1268
  * Not a valid role, used for finding end of
1292
- * enumeration.
1269
+ * enumeration.
1293
1270
  */
1294
1271
  LAST_DEFINED,
1295
1272
  }
@@ -1792,7 +1769,7 @@ export enum KeyListenerSyncType {
1792
1769
  NOSYNC,
1793
1770
  /**
1794
1771
  * Events are delivered synchronously, before the
1795
- * currently focused application sees them.
1772
+ * currently focussed application sees them.
1796
1773
  */
1797
1774
  SYNCHRONOUS,
1798
1775
  /**
@@ -1961,14 +1938,6 @@ export function generate_keyboard_event(keyval: number, keystring: string | null
1961
1938
  * @returns %TRUE if successful, otherwise %FALSE.
1962
1939
  */
1963
1940
  export function generate_mouse_event(x: number, y: number, name: string): boolean
1964
- /**
1965
- * Like atspi_generate_mouse_event, but asynchronous.
1966
- * @param x a #glong indicating the screen x coordinate of the mouse event.
1967
- * @param y a #glong indicating the screen y coordinate of the mouse event.
1968
- * @param name a string indicating which mouse event to be synthesized (e.g. "b1p", "b1c", "b2r", "rel", "abs").
1969
- * @param callback a callback to be called when a reply is received. May be NULL.
1970
- */
1971
- export function generate_mouse_event_async(x: number, y: number, name: string, callback: GenerateMouseEventCB | null): void
1972
1941
  /**
1973
1942
  * Gets the virtual desktop indicated by index `i`.
1974
1943
  * NOTE: currently multiple virtual desktops are not implemented;
@@ -1997,10 +1966,6 @@ export function get_desktop_count(): number
1997
1966
  * @returns a #GArray of desktops.
1998
1967
  */
1999
1968
  export function get_desktop_list(): Accessible[]
2000
- /**
2001
- * Returns the version of the AT-SPI library being used at runtime.
2002
- */
2003
- export function get_version(): [ /* major */ number, /* minor */ number, /* micro */ number ]
2004
1969
  /**
2005
1970
  * Connects to the accessibility registry and initializes the SPI.
2006
1971
  * @returns 0 on success, 1 if already initialized, or an integer error code.
@@ -2012,11 +1977,11 @@ export function init(): number
2012
1977
  */
2013
1978
  export function is_initialized(): boolean
2014
1979
  /**
2015
- * This function does nothing and should not be called.
2016
- * @param listener
2017
- * @param event_types
2018
- * @param filter
2019
- * @returns Always returns %FALSE.
1980
+ * Registers a listener for device events, for instance button events.
1981
+ * @param listener a pointer to the #AtspiDeviceListener which requests the events.
1982
+ * @param event_types an #AtspiDeviceEventMask mask indicating which types of key events are requested (%ATSPI_KEY_PRESSED, etc.).
1983
+ * @param filter Unused parameter.
1984
+ * @returns %TRUE if successful, otherwise %FALSE.
2020
1985
  */
2021
1986
  export function register_device_event_listener(listener: DeviceListener, event_types: DeviceEventMask, filter: any | null): boolean
2022
1987
  /**
@@ -2035,14 +2000,9 @@ export function register_device_event_listener(listener: DeviceListener, event_t
2035
2000
  * @returns %TRUE if successful, otherwise %FALSE.
2036
2001
  */
2037
2002
  export function register_keystroke_listener(listener: DeviceListener, key_set: KeyDefinition[] | null, modmask: KeyMaskType, event_types: KeyEventMask, sync_type: KeyListenerSyncType): boolean
2038
- /**
2039
- * Gets the localized description string describing the #AtspiRole `role`.
2040
- * @param role an #AtspiRole object to query.
2041
- * @returns the localized string describing the AtspiRole
2042
- */
2043
- export function role_get_localized_name(role: Role): string | null
2044
2003
  /**
2045
2004
  * Gets a localizable string that indicates the name of an #AtspiRole.
2005
+ * <em>DEPRECATED.</em>
2046
2006
  * @param role an #AtspiRole object to query.
2047
2007
  * @returns a localizable string name for an #AtspiRole enumerated type.
2048
2008
  */
@@ -2056,13 +2016,18 @@ export function role_get_name(role: Role): string | null
2056
2016
  */
2057
2017
  export function set_main_context(cnx: GLib.MainContext): void
2058
2018
  /**
2059
- * Deprecated. This function no longer does anything and should not be used.
2019
+ * Sets the reference window that will be used when atspi_generate_mouse_event
2020
+ * is called. Coordinates will be assumed to be relative to this window. This
2021
+ * is needed because, due to Wayland's security model, it is not currently
2022
+ * possible to retrieve global coordinates.
2023
+ * If NULL is passed, then AT-SPI will use the window that has focus at the
2024
+ * time that atspi_generate_mouse_event is called.
2060
2025
  * @param accessible the #AtspiAccessible corresponding to the window to select. should be a top-level window with a role of ATSPI_ROLE_APPLICATION.
2061
2026
  */
2062
2027
  export function set_reference_window(accessible: Accessible): void
2063
2028
  /**
2064
2029
  * Set the timeout used for method calls. If this is not set explicitly,
2065
- * a default of 800 ms is used.
2030
+ * a default of 0.8 ms is used.
2066
2031
  * Note that at-spi2-registryd currently uses a timeout of 3 seconds when
2067
2032
  * sending a keyboard event notification. This means that, if an AT makes
2068
2033
  * a call in response to the keyboard notification and the application
@@ -2112,9 +2077,6 @@ export interface EventListenerCB {
2112
2077
  export interface EventListenerSimpleCB {
2113
2078
  (event: Event): void
2114
2079
  }
2115
- export interface GenerateMouseEventCB {
2116
- (): void
2117
- }
2118
2080
  /**
2119
2081
  * A callback that will be invoked when a key is pressed.
2120
2082
  * @callback
@@ -2284,15 +2246,6 @@ export interface Collection {
2284
2246
  disconnect(id: number): void
2285
2247
  }
2286
2248
 
2287
- /**
2288
- * An interface designed to allow accessibles which satisfy a set of
2289
- * criteria to be returned.
2290
- *
2291
- * An interface designed to allow accessibles which satisfy a set of
2292
- * criteria to be returned. This interface can be used to avoid iteration
2293
- * or client-side search of the object tree.
2294
- * @interface
2295
- */
2296
2249
  export class Collection extends GObject.Object {
2297
2250
 
2298
2251
  // Own properties of Atspi-2.0.Atspi.Collection
@@ -2399,8 +2352,8 @@ export interface Component {
2399
2352
  scroll_to_point(coords: CoordType, x: number, y: number): boolean
2400
2353
  /**
2401
2354
  * Moves and resizes the specified component.
2402
- * @param x the new horizontal position to which the component should be moved.
2403
- * @param y the new vertical position to which the component should be moved.
2355
+ * @param x the new vertical position to which the component should be moved.
2356
+ * @param y the new horizontal position to which the component should be moved.
2404
2357
  * @param width the width to which the component should be resized.
2405
2358
  * @param height the height to which the component should be resized.
2406
2359
  * @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
@@ -2409,14 +2362,14 @@ export interface Component {
2409
2362
  set_extents(x: number, y: number, width: number, height: number, ctype: CoordType): boolean
2410
2363
  /**
2411
2364
  * Moves the component to the specified position.
2412
- * @param x the new horizontal position to which the component should be moved.
2413
- * @param y the new vertical position to which the component should be moved.
2365
+ * @param x the new vertical position to which the component should be moved.
2366
+ * @param y the new horizontal position to which the component should be moved.
2414
2367
  * @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
2415
2368
  * @returns #TRUE if successful; #FALSE otherwise.
2416
2369
  */
2417
2370
  set_position(x: number, y: number, ctype: CoordType): boolean
2418
2371
  /**
2419
- * Resizes the specified component to the given pixel dimensions.
2372
+ * Resizes the specified component to the given coordinates.
2420
2373
  * @param width the width to which the component should be resized.
2421
2374
  * @param height the height to which the component should be resized.
2422
2375
  * @returns #TRUE if successful; #FALSE otherwise.
@@ -2431,20 +2384,6 @@ export interface Component {
2431
2384
  disconnect(id: number): void
2432
2385
  }
2433
2386
 
2434
- /**
2435
- * An interface implemented by objects which have onscreen visual
2436
- * representations.
2437
- *
2438
- * The Component interface is implemented by objects which occupy on-screen
2439
- * space, e.g. objects which have onscreen visual representations. The methods
2440
- * in Component allow clients to identify where the objects lie in the onscreen
2441
- * coordinate system, their relative size, stacking order, and position. It
2442
- * also provides a mechanism whereby keyboard focus may be transferred to
2443
- * specific user interface elements programmatically. This is a 2D API.
2444
- * Coordinates of 3D objects are projected into the 2-dimensional screen view
2445
- * for purposes of this interface.
2446
- * @interface
2447
- */
2448
2387
  export class Component extends GObject.Object {
2449
2388
 
2450
2389
  // Own properties of Atspi-2.0.Atspi.Component
@@ -2476,7 +2415,7 @@ export interface Document {
2476
2415
  * @param attribute a string indicating the name of a specific attribute.
2477
2416
  * @returns a string corresponding to the value of the specified attribute, or an empty string if the attribute is unspecified for the object.
2478
2417
  */
2479
- get_document_attribute_value(attribute: string): string | null
2418
+ get_document_attribute_value(attribute: string | null): string | null
2480
2419
  /**
2481
2420
  * Gets all constant attributes for the document as a whole. For attributes
2482
2421
  * that change within the document content, see `atspi_text_get_attribute_run` instead.
@@ -2652,17 +2591,6 @@ export interface Hypertext {
2652
2591
  disconnect(id: number): void
2653
2592
  }
2654
2593
 
2655
- /**
2656
- * An interface used for objects which implement linking between
2657
- * multiple resource locations.
2658
- *
2659
- * An interface used for objects which implement linking between
2660
- * multiple resource or content locations, or multiple 'markers'
2661
- * within a single document. A hypertext instance is associated
2662
- * with one or more hyperlinks which are associated with particular
2663
- * offsets within the hypertext's content.
2664
- * @interface
2665
- */
2666
2594
  export class Hypertext extends GObject.Object {
2667
2595
 
2668
2596
  // Own properties of Atspi-2.0.Atspi.Hypertext
@@ -2836,17 +2764,6 @@ export interface Selection {
2836
2764
  disconnect(id: number): void
2837
2765
  }
2838
2766
 
2839
- /**
2840
- * An interface which indicates that an object exposes a 'selection' model,
2841
- * allowing the selection of one or more of its children.
2842
- *
2843
- * An interface which indicates that an object exposes a 'selection'
2844
- * model, allowing the selection of one or more of its children.
2845
- * Read-only Selection instances are possible, in which case the
2846
- * interface is used to programmatically determine the selected-ness
2847
- * of its children.
2848
- * @interface
2849
- */
2850
2767
  export class Selection extends GObject.Object {
2851
2768
 
2852
2769
  // Own properties of Atspi-2.0.Atspi.Selection
@@ -3094,20 +3011,6 @@ export interface Table {
3094
3011
  disconnect(id: number): void
3095
3012
  }
3096
3013
 
3097
- /**
3098
- * An interface used by containers whose data is arranged in a tabular form.
3099
- *
3100
- * An interface used by containers whose contained data is arranged
3101
- * in a tabular (i.e. row-column) form. Tables may resemble
3102
- * a two-dimensional grid, as in a spreadsheet, or may feature objects
3103
- * which span multiple rows and/or columns, but whose bounds are
3104
- * aligned on a row/column matrix. Objects within tables are children
3105
- * of the table object, and they may be referenced either via a child
3106
- * index or via a row/column pair. Table 'cells' may implement other
3107
- * interfaces, such as Text, Action, Image, and Component, and should do
3108
- * so as appropriate to their onscreen presentation and/or behavior.
3109
- * @interface
3110
- */
3111
3014
  export class Table extends GObject.Object {
3112
3015
 
3113
3016
  // Own properties of Atspi-2.0.Atspi.Table
@@ -3231,11 +3134,12 @@ export interface Text {
3231
3134
  * @param attribute_name The attribute to query.
3232
3135
  * @returns the value of a given attribute at the given offset, or %NULL if not present.
3233
3136
  */
3234
- get_text_attribute_value(offset: number, attribute_name: string): string | null
3137
+ get_text_attribute_value(offset: number, attribute_name: string | null): string | null
3235
3138
  /**
3236
3139
  * Gets the attributes applied to a range of text from an #AtspiText
3237
3140
  * object. The text attributes correspond to CSS attributes
3238
3141
  * where possible.
3142
+ * <em>DEPRECATED</em>
3239
3143
  * @param offset a #gint indicating the offset from which the attribute search is based.
3240
3144
  * @returns a #GHashTable describing the attributes at the given character offset.
3241
3145
  */
@@ -3436,18 +3340,6 @@ export interface Text {
3436
3340
  disconnect(id: number): void
3437
3341
  }
3438
3342
 
3439
- /**
3440
- * An interface implemented by objects which place textual
3441
- * information onscreen.
3442
- *
3443
- * The text interface should be implemented by objects which place textual
3444
- * information onscreen as character strings or glyphs. The text interface
3445
- * allows access to textual content including display attributes and
3446
- * semantic hints associated with runs of text, and to bounding
3447
- * information for glyphs and substrings. It also allows portions of text to
3448
- * be selected, if the objects StateSet includes STATE_SELECTABLE_TEXT.
3449
- * @interface
3450
- */
3451
3343
  export class Text extends GObject.Object {
3452
3344
 
3453
3345
  // Own properties of Atspi-2.0.Atspi.Text
@@ -3515,16 +3407,6 @@ export interface Value {
3515
3407
  disconnect(id: number): void
3516
3408
  }
3517
3409
 
3518
- /**
3519
- * An interface supporting a one-dimensional scalar
3520
- * to be modified, or which reflects its value.
3521
- *
3522
- * An interface supporting a one-dimensional scalar
3523
- * to be modified, or which reflects its value. If
3524
- * STATE_EDITABLE is not present, the value is
3525
- * treated as "read only".
3526
- * @interface
3527
- */
3528
3410
  export class Value extends GObject.Object {
3529
3411
 
3530
3412
  // Own properties of Atspi-2.0.Atspi.Value
@@ -3587,10 +3469,6 @@ export interface Accessible extends Action, Collection, Component, Document, Edi
3587
3469
  * descendants.
3588
3470
  */
3589
3471
  clear_cache(): void
3590
- /**
3591
- * Clears the cached information only for the given accessible.
3592
- */
3593
- clear_cache_single(): void
3594
3472
  /**
3595
3473
  * Gets the accessible id of the accessible. This is not meant to be presented
3596
3474
  * to the user, but to be an id which is stable over application development.
@@ -3851,14 +3729,6 @@ export interface Accessible extends Action, Collection, Component, Document, Edi
3851
3729
  disconnect(id: number): void
3852
3730
  }
3853
3731
 
3854
- /**
3855
- * The base interface which is implemented by all accessible objects.
3856
- *
3857
- * All objects support interfaces for querying their contained 'children'
3858
- * and position in the accessible-object hierarchy, whether or not they
3859
- * actually have children.
3860
- * @class
3861
- */
3862
3732
  export class Accessible extends Object {
3863
3733
 
3864
3734
  // Own properties of Atspi-2.0.Atspi.Accessible
@@ -3904,14 +3774,6 @@ export interface Application {
3904
3774
  disconnect(id: number): void
3905
3775
  }
3906
3776
 
3907
- /**
3908
- * An interface identifying the root object associated
3909
- * with a running application.
3910
- *
3911
- * An interface identifying an object which is the root of the
3912
- * hierarchy associated with a running application.
3913
- * @class
3914
- */
3915
3777
  export class Application extends GObject.Object {
3916
3778
 
3917
3779
  // Own properties of Atspi-2.0.Atspi.Application
@@ -3956,7 +3818,7 @@ export interface Device {
3956
3818
  */
3957
3819
  get_locked_modifiers(): number
3958
3820
  /**
3959
- * Gets the modifier for a given keycode, if one exists. Does not create a new
3821
+ * Gets the modifier for a given keycode, if one exists. Does not creatt a new
3960
3822
  * mapping. This function should be used when the intention is to query a
3961
3823
  * locking modifier such as num lock via atspi_device_get_locked_modifiers,
3962
3824
  * rather than to add key grabs.
@@ -4011,7 +3873,7 @@ export interface Device {
4011
3873
  */
4012
3874
  vfunc_get_locked_modifiers(): number
4013
3875
  /**
4014
- * Gets the modifier for a given keycode, if one exists. Does not create a new
3876
+ * Gets the modifier for a given keycode, if one exists. Does not creatt a new
4015
3877
  * mapping. This function should be used when the intention is to query a
4016
3878
  * locking modifier such as num lock via atspi_device_get_locked_modifiers,
4017
3879
  * rather than to add key grabs.
@@ -4341,7 +4203,6 @@ export interface EventListener {
4341
4203
  * object:column-deleted
4342
4204
  * object:model-changed
4343
4205
  * object:active-descendant-changed
4344
- * object:announcement
4345
4206
  *
4346
4207
  * (screen reader events)
4347
4208
  * screen-reader:region-changed
@@ -4416,16 +4277,6 @@ export interface EventListener {
4416
4277
  disconnect(id: number): void
4417
4278
  }
4418
4279
 
4419
- /**
4420
- * A generic interface implemented by objects for the receipt of event
4421
- * notifications.
4422
- *
4423
- * A generic interface implemented by objects for the receipt of event
4424
- * notifications. atspi-event-listener is the interface via which clients of
4425
- * the atspi-registry receive notification of changes to an application's user
4426
- * interface and content.
4427
- * @class
4428
- */
4429
4280
  export class EventListener extends GObject.Object {
4430
4281
 
4431
4282
  // Own properties of Atspi-2.0.Atspi.EventListener
@@ -4540,19 +4391,6 @@ export interface Hyperlink {
4540
4391
  disconnect(id: number): void
4541
4392
  }
4542
4393
 
4543
- /**
4544
- * Instances of atspi-hyperlink are the means by which end users
4545
- * and clients interact with linked content.
4546
- *
4547
- * Instances of atspi-hyperlink are returned by
4548
- * atspi-hypertext objects, and are the means by
4549
- * which end users and clients interact with linked,
4550
- * and in some cases embedded, content. These instances
4551
- * may have multiple "anchors", where an anchor corresponds to a
4552
- * reference to a particular resource with a corresponding resource
4553
- * identified (URI).
4554
- * @class
4555
- */
4556
4394
  export class Hyperlink extends Object {
4557
4395
 
4558
4396
  // Own properties of Atspi-2.0.Atspi.Hyperlink
@@ -4598,11 +4436,6 @@ export interface MatchRule {
4598
4436
  disconnect(id: number): void
4599
4437
  }
4600
4438
 
4601
- /**
4602
- * An interface that allows the definition of match rules
4603
- * for accessible objects.
4604
- * @class
4605
- */
4606
4439
  export class MatchRule extends GObject.Object {
4607
4440
 
4608
4441
  // Own properties of Atspi-2.0.Atspi.MatchRule
@@ -4623,7 +4456,7 @@ export class MatchRule extends GObject.Object {
4623
4456
  * @param attributematchtype An #AtspiCollectionMatchType specifying how to interpret `attributes`.
4624
4457
  * @param roles A #GArray of roles to match, or NULL if not applicable.
4625
4458
  * @param rolematchtype An #AtspiCollectionMatchType specifying how to interpret `roles`.
4626
- * @param interfaces An array of interfaces to match, or NULL if not applicable. Interface names should be specified by the final component of their DBus names (Accessible, Component, etc).
4459
+ * @param interfaces An array of interfaces to match, or NULL if not applicable. Interface names should be specified by their DBus names (org.a11y.Atspi.Accessible, org.a11y.Atspi.Component, etc).
4627
4460
  * @param interfacematchtype An #AtspiCollectionMatchType specifying how to interpret `interfaces`.
4628
4461
  * @param invert if #TRUE, the match rule should be denied (inverted); if #FALSE, it should not. For example, if the match rule defines that a match is an object of ROLE_HEADING which has STATE_FOCUSABLE and a click action, inverting it would match all objects that are not of ROLE_HEADING, focusable and clickable at the same time.
4629
4462
  * @returns A new #AtspiMatchRule.
@@ -4639,7 +4472,7 @@ export class MatchRule extends GObject.Object {
4639
4472
  * @param attributematchtype An #AtspiCollectionMatchType specifying how to interpret `attributes`.
4640
4473
  * @param roles A #GArray of roles to match, or NULL if not applicable.
4641
4474
  * @param rolematchtype An #AtspiCollectionMatchType specifying how to interpret `roles`.
4642
- * @param interfaces An array of interfaces to match, or NULL if not applicable. Interface names should be specified by the final component of their DBus names (Accessible, Component, etc).
4475
+ * @param interfaces An array of interfaces to match, or NULL if not applicable. Interface names should be specified by their DBus names (org.a11y.Atspi.Accessible, org.a11y.Atspi.Component, etc).
4643
4476
  * @param interfacematchtype An #AtspiCollectionMatchType specifying how to interpret `interfaces`.
4644
4477
  * @param invert if #TRUE, the match rule should be denied (inverted); if #FALSE, it should not. For example, if the match rule defines that a match is an object of ROLE_HEADING which has STATE_FOCUSABLE and a click action, inverting it would match all objects that are not of ROLE_HEADING, focusable and clickable at the same time.
4645
4478
  * @returns A new #AtspiMatchRule.
@@ -4732,15 +4565,6 @@ export interface Relation {
4732
4565
  disconnect(id: number): void
4733
4566
  }
4734
4567
 
4735
- /**
4736
- * An interface via which non-hierarchical relationships
4737
- * are indicated.
4738
- *
4739
- * An interface via which non-hierarchical relationships
4740
- * are indicated. An instance of this interface represents
4741
- * a "one-to-many" correspondence.
4742
- * @class
4743
- */
4744
4568
  export class Relation extends GObject.Object {
4745
4569
 
4746
4570
  // Own properties of Atspi-2.0.Atspi.Relation
@@ -4831,11 +4655,6 @@ export interface StateSet {
4831
4655
  disconnect(id: number): void
4832
4656
  }
4833
4657
 
4834
- /**
4835
- * The atspi-stateset objects implement wrappers around a
4836
- * bitmap of accessible states.
4837
- * @class
4838
- */
4839
4658
  export class StateSet extends GObject.Object {
4840
4659
 
4841
4660
  // Own properties of Atspi-2.0.Atspi.StateSet
package/atspi-2.0.d.ts CHANGED
@@ -290,26 +290,6 @@ enum KeySynthType {
290
290
  */
291
291
  UNLOCKMODIFIERS,
292
292
  }
293
- /**
294
- * Enumeration used to indicate a type of live region and how assertive it
295
- * should be in terms of speaking notifications. Currently, this is only used
296
- * for "announcement" events, but it may be used for additional purposes
297
- * in the future.
298
- */
299
- enum Live {
300
- /**
301
- * No live region.
302
- */
303
- NONE,
304
- /**
305
- * This live region should be considered polite.
306
- */
307
- POLITE,
308
- /**
309
- * This live region should be considered assertive.
310
- */
311
- ASSERTIVE,
312
- }
313
293
  /**
314
294
  * Used by interfaces #AtspiText and #AtspiDocument, this
315
295
  * enumeration corresponds to the POSIX 'setlocale' enum values.
@@ -625,7 +605,7 @@ enum Role {
625
605
  */
626
606
  DATE_EDITOR,
627
607
  /**
628
- * An inconifed internal frame within a DESKTOP_FRAME.
608
+ * An inconifed internal frame within a DESKTOP_PANE.
629
609
  */
630
610
  DESKTOP_ICON,
631
611
  /**
@@ -647,16 +627,16 @@ enum Role {
647
627
  * and select the contents of a directory.
648
628
  */
649
629
  DIRECTORY_PANE,
650
- /**
651
- * An object used for drawing custom user interface
652
- * elements.
653
- */
654
- DRAWING_AREA,
655
630
  /**
656
631
  * A specialized dialog that displays the files in
657
632
  * the directory and lets the user select a file, browse a different
658
633
  * directory, or specify a filename.
659
634
  */
635
+ DRAWING_AREA,
636
+ /**
637
+ * An object used for drawing custom user interface
638
+ * elements.
639
+ */
660
640
  FILE_CHOOSER,
661
641
  /**
662
642
  * A object that fills up space in a user interface.
@@ -815,13 +795,14 @@ enum Role {
815
795
  SEPARATOR,
816
796
  /**
817
797
  * An object that allows the user to select from a bounded
818
- * range. Unlike `ATSPI_ROLE_SCROLL_BAR,` `ATSPI_ROLE_SLIDER` objects need not control
819
- * 'viewport'-like objects.
798
+ * range.
820
799
  */
821
800
  SLIDER,
822
801
  /**
823
802
  * An object which allows one of a set of choices to
824
- * be selected, and which displays the current choice.
803
+ * be selected, and which displays the current choice. Unlike
804
+ * `ATSPI_ROLE_SCROLL_BAR,` `ATSPI_ROLE_SLIDER` objects need not control
805
+ * 'viewport'-like objects.
825
806
  */
826
807
  SPIN_BUTTON,
827
808
  /**
@@ -944,7 +925,7 @@ enum Role {
944
925
  /**
945
926
  * An object corresponding to the toplevel accessible
946
927
  * of an application, which may contain `ATSPI_ROLE_FRAME` objects or other
947
- * accessible objects. Children of objects with the #ATSPI_ROLE_DESKTOP_FRAME role are generally
928
+ * accessible objects. Children of #AccessibleDesktop objects are generally
948
929
  * `ATSPI_ROLE_APPLICATION` objects.
949
930
  */
950
931
  APPLICATION,
@@ -1280,18 +1261,14 @@ enum Role {
1280
1261
  /**
1281
1262
  * A container for content that is called out as a proposed
1282
1263
  * change from the current version of the document, such as by a reviewer of the
1283
- * content. An object with this role should include children with %ATSPI_ROLE_CONTENT_DELETION and/or
1284
- * %ATSPI_ROLE_CONTENT_INSERTION, in any order, to indicate what the
1264
+ * content. This role should include either %ATSPI_ROLE_CONTENT_DELETION and/or
1265
+ * %ATSPI_ROLE_CONTENT_INSERTION children, in any order, to indicate what the
1285
1266
  * actual change is. `Since:` 2.36
1286
1267
  */
1287
1268
  SUGGESTION,
1288
- /**
1289
- * A specialized push button to open a menu. `Since` 2.46
1290
- */
1291
- PUSH_BUTTON_MENU,
1292
1269
  /**
1293
1270
  * Not a valid role, used for finding end of
1294
- * enumeration.
1271
+ * enumeration.
1295
1272
  */
1296
1273
  LAST_DEFINED,
1297
1274
  }
@@ -1794,7 +1771,7 @@ enum KeyListenerSyncType {
1794
1771
  NOSYNC,
1795
1772
  /**
1796
1773
  * Events are delivered synchronously, before the
1797
- * currently focused application sees them.
1774
+ * currently focussed application sees them.
1798
1775
  */
1799
1776
  SYNCHRONOUS,
1800
1777
  /**
@@ -1963,14 +1940,6 @@ function generate_keyboard_event(keyval: number, keystring: string | null, synth
1963
1940
  * @returns %TRUE if successful, otherwise %FALSE.
1964
1941
  */
1965
1942
  function generate_mouse_event(x: number, y: number, name: string): boolean
1966
- /**
1967
- * Like atspi_generate_mouse_event, but asynchronous.
1968
- * @param x a #glong indicating the screen x coordinate of the mouse event.
1969
- * @param y a #glong indicating the screen y coordinate of the mouse event.
1970
- * @param name a string indicating which mouse event to be synthesized (e.g. "b1p", "b1c", "b2r", "rel", "abs").
1971
- * @param callback a callback to be called when a reply is received. May be NULL.
1972
- */
1973
- function generate_mouse_event_async(x: number, y: number, name: string, callback: GenerateMouseEventCB | null): void
1974
1943
  /**
1975
1944
  * Gets the virtual desktop indicated by index `i`.
1976
1945
  * NOTE: currently multiple virtual desktops are not implemented;
@@ -1999,10 +1968,6 @@ function get_desktop_count(): number
1999
1968
  * @returns a #GArray of desktops.
2000
1969
  */
2001
1970
  function get_desktop_list(): Accessible[]
2002
- /**
2003
- * Returns the version of the AT-SPI library being used at runtime.
2004
- */
2005
- function get_version(): [ /* major */ number, /* minor */ number, /* micro */ number ]
2006
1971
  /**
2007
1972
  * Connects to the accessibility registry and initializes the SPI.
2008
1973
  * @returns 0 on success, 1 if already initialized, or an integer error code.
@@ -2014,11 +1979,11 @@ function init(): number
2014
1979
  */
2015
1980
  function is_initialized(): boolean
2016
1981
  /**
2017
- * This function does nothing and should not be called.
2018
- * @param listener
2019
- * @param event_types
2020
- * @param filter
2021
- * @returns Always returns %FALSE.
1982
+ * Registers a listener for device events, for instance button events.
1983
+ * @param listener a pointer to the #AtspiDeviceListener which requests the events.
1984
+ * @param event_types an #AtspiDeviceEventMask mask indicating which types of key events are requested (%ATSPI_KEY_PRESSED, etc.).
1985
+ * @param filter Unused parameter.
1986
+ * @returns %TRUE if successful, otherwise %FALSE.
2022
1987
  */
2023
1988
  function register_device_event_listener(listener: DeviceListener, event_types: DeviceEventMask, filter: any | null): boolean
2024
1989
  /**
@@ -2037,14 +2002,9 @@ function register_device_event_listener(listener: DeviceListener, event_types: D
2037
2002
  * @returns %TRUE if successful, otherwise %FALSE.
2038
2003
  */
2039
2004
  function register_keystroke_listener(listener: DeviceListener, key_set: KeyDefinition[] | null, modmask: KeyMaskType, event_types: KeyEventMask, sync_type: KeyListenerSyncType): boolean
2040
- /**
2041
- * Gets the localized description string describing the #AtspiRole `role`.
2042
- * @param role an #AtspiRole object to query.
2043
- * @returns the localized string describing the AtspiRole
2044
- */
2045
- function role_get_localized_name(role: Role): string | null
2046
2005
  /**
2047
2006
  * Gets a localizable string that indicates the name of an #AtspiRole.
2007
+ * <em>DEPRECATED.</em>
2048
2008
  * @param role an #AtspiRole object to query.
2049
2009
  * @returns a localizable string name for an #AtspiRole enumerated type.
2050
2010
  */
@@ -2058,13 +2018,18 @@ function role_get_name(role: Role): string | null
2058
2018
  */
2059
2019
  function set_main_context(cnx: GLib.MainContext): void
2060
2020
  /**
2061
- * Deprecated. This function no longer does anything and should not be used.
2021
+ * Sets the reference window that will be used when atspi_generate_mouse_event
2022
+ * is called. Coordinates will be assumed to be relative to this window. This
2023
+ * is needed because, due to Wayland's security model, it is not currently
2024
+ * possible to retrieve global coordinates.
2025
+ * If NULL is passed, then AT-SPI will use the window that has focus at the
2026
+ * time that atspi_generate_mouse_event is called.
2062
2027
  * @param accessible the #AtspiAccessible corresponding to the window to select. should be a top-level window with a role of ATSPI_ROLE_APPLICATION.
2063
2028
  */
2064
2029
  function set_reference_window(accessible: Accessible): void
2065
2030
  /**
2066
2031
  * Set the timeout used for method calls. If this is not set explicitly,
2067
- * a default of 800 ms is used.
2032
+ * a default of 0.8 ms is used.
2068
2033
  * Note that at-spi2-registryd currently uses a timeout of 3 seconds when
2069
2034
  * sending a keyboard event notification. This means that, if an AT makes
2070
2035
  * a call in response to the keyboard notification and the application
@@ -2114,9 +2079,6 @@ interface EventListenerCB {
2114
2079
  interface EventListenerSimpleCB {
2115
2080
  (event: Event): void
2116
2081
  }
2117
- interface GenerateMouseEventCB {
2118
- (): void
2119
- }
2120
2082
  /**
2121
2083
  * A callback that will be invoked when a key is pressed.
2122
2084
  * @callback
@@ -2286,15 +2248,6 @@ interface Collection {
2286
2248
  disconnect(id: number): void
2287
2249
  }
2288
2250
 
2289
- /**
2290
- * An interface designed to allow accessibles which satisfy a set of
2291
- * criteria to be returned.
2292
- *
2293
- * An interface designed to allow accessibles which satisfy a set of
2294
- * criteria to be returned. This interface can be used to avoid iteration
2295
- * or client-side search of the object tree.
2296
- * @interface
2297
- */
2298
2251
  class Collection extends GObject.Object {
2299
2252
 
2300
2253
  // Own properties of Atspi-2.0.Atspi.Collection
@@ -2401,8 +2354,8 @@ interface Component {
2401
2354
  scroll_to_point(coords: CoordType, x: number, y: number): boolean
2402
2355
  /**
2403
2356
  * Moves and resizes the specified component.
2404
- * @param x the new horizontal position to which the component should be moved.
2405
- * @param y the new vertical position to which the component should be moved.
2357
+ * @param x the new vertical position to which the component should be moved.
2358
+ * @param y the new horizontal position to which the component should be moved.
2406
2359
  * @param width the width to which the component should be resized.
2407
2360
  * @param height the height to which the component should be resized.
2408
2361
  * @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
@@ -2411,14 +2364,14 @@ interface Component {
2411
2364
  set_extents(x: number, y: number, width: number, height: number, ctype: CoordType): boolean
2412
2365
  /**
2413
2366
  * Moves the component to the specified position.
2414
- * @param x the new horizontal position to which the component should be moved.
2415
- * @param y the new vertical position to which the component should be moved.
2367
+ * @param x the new vertical position to which the component should be moved.
2368
+ * @param y the new horizontal position to which the component should be moved.
2416
2369
  * @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
2417
2370
  * @returns #TRUE if successful; #FALSE otherwise.
2418
2371
  */
2419
2372
  set_position(x: number, y: number, ctype: CoordType): boolean
2420
2373
  /**
2421
- * Resizes the specified component to the given pixel dimensions.
2374
+ * Resizes the specified component to the given coordinates.
2422
2375
  * @param width the width to which the component should be resized.
2423
2376
  * @param height the height to which the component should be resized.
2424
2377
  * @returns #TRUE if successful; #FALSE otherwise.
@@ -2433,20 +2386,6 @@ interface Component {
2433
2386
  disconnect(id: number): void
2434
2387
  }
2435
2388
 
2436
- /**
2437
- * An interface implemented by objects which have onscreen visual
2438
- * representations.
2439
- *
2440
- * The Component interface is implemented by objects which occupy on-screen
2441
- * space, e.g. objects which have onscreen visual representations. The methods
2442
- * in Component allow clients to identify where the objects lie in the onscreen
2443
- * coordinate system, their relative size, stacking order, and position. It
2444
- * also provides a mechanism whereby keyboard focus may be transferred to
2445
- * specific user interface elements programmatically. This is a 2D API.
2446
- * Coordinates of 3D objects are projected into the 2-dimensional screen view
2447
- * for purposes of this interface.
2448
- * @interface
2449
- */
2450
2389
  class Component extends GObject.Object {
2451
2390
 
2452
2391
  // Own properties of Atspi-2.0.Atspi.Component
@@ -2478,7 +2417,7 @@ interface Document {
2478
2417
  * @param attribute a string indicating the name of a specific attribute.
2479
2418
  * @returns a string corresponding to the value of the specified attribute, or an empty string if the attribute is unspecified for the object.
2480
2419
  */
2481
- get_document_attribute_value(attribute: string): string | null
2420
+ get_document_attribute_value(attribute: string | null): string | null
2482
2421
  /**
2483
2422
  * Gets all constant attributes for the document as a whole. For attributes
2484
2423
  * that change within the document content, see `atspi_text_get_attribute_run` instead.
@@ -2654,17 +2593,6 @@ interface Hypertext {
2654
2593
  disconnect(id: number): void
2655
2594
  }
2656
2595
 
2657
- /**
2658
- * An interface used for objects which implement linking between
2659
- * multiple resource locations.
2660
- *
2661
- * An interface used for objects which implement linking between
2662
- * multiple resource or content locations, or multiple 'markers'
2663
- * within a single document. A hypertext instance is associated
2664
- * with one or more hyperlinks which are associated with particular
2665
- * offsets within the hypertext's content.
2666
- * @interface
2667
- */
2668
2596
  class Hypertext extends GObject.Object {
2669
2597
 
2670
2598
  // Own properties of Atspi-2.0.Atspi.Hypertext
@@ -2838,17 +2766,6 @@ interface Selection {
2838
2766
  disconnect(id: number): void
2839
2767
  }
2840
2768
 
2841
- /**
2842
- * An interface which indicates that an object exposes a 'selection' model,
2843
- * allowing the selection of one or more of its children.
2844
- *
2845
- * An interface which indicates that an object exposes a 'selection'
2846
- * model, allowing the selection of one or more of its children.
2847
- * Read-only Selection instances are possible, in which case the
2848
- * interface is used to programmatically determine the selected-ness
2849
- * of its children.
2850
- * @interface
2851
- */
2852
2769
  class Selection extends GObject.Object {
2853
2770
 
2854
2771
  // Own properties of Atspi-2.0.Atspi.Selection
@@ -3096,20 +3013,6 @@ interface Table {
3096
3013
  disconnect(id: number): void
3097
3014
  }
3098
3015
 
3099
- /**
3100
- * An interface used by containers whose data is arranged in a tabular form.
3101
- *
3102
- * An interface used by containers whose contained data is arranged
3103
- * in a tabular (i.e. row-column) form. Tables may resemble
3104
- * a two-dimensional grid, as in a spreadsheet, or may feature objects
3105
- * which span multiple rows and/or columns, but whose bounds are
3106
- * aligned on a row/column matrix. Objects within tables are children
3107
- * of the table object, and they may be referenced either via a child
3108
- * index or via a row/column pair. Table 'cells' may implement other
3109
- * interfaces, such as Text, Action, Image, and Component, and should do
3110
- * so as appropriate to their onscreen presentation and/or behavior.
3111
- * @interface
3112
- */
3113
3016
  class Table extends GObject.Object {
3114
3017
 
3115
3018
  // Own properties of Atspi-2.0.Atspi.Table
@@ -3233,11 +3136,12 @@ interface Text {
3233
3136
  * @param attribute_name The attribute to query.
3234
3137
  * @returns the value of a given attribute at the given offset, or %NULL if not present.
3235
3138
  */
3236
- get_text_attribute_value(offset: number, attribute_name: string): string | null
3139
+ get_text_attribute_value(offset: number, attribute_name: string | null): string | null
3237
3140
  /**
3238
3141
  * Gets the attributes applied to a range of text from an #AtspiText
3239
3142
  * object. The text attributes correspond to CSS attributes
3240
3143
  * where possible.
3144
+ * <em>DEPRECATED</em>
3241
3145
  * @param offset a #gint indicating the offset from which the attribute search is based.
3242
3146
  * @returns a #GHashTable describing the attributes at the given character offset.
3243
3147
  */
@@ -3438,18 +3342,6 @@ interface Text {
3438
3342
  disconnect(id: number): void
3439
3343
  }
3440
3344
 
3441
- /**
3442
- * An interface implemented by objects which place textual
3443
- * information onscreen.
3444
- *
3445
- * The text interface should be implemented by objects which place textual
3446
- * information onscreen as character strings or glyphs. The text interface
3447
- * allows access to textual content including display attributes and
3448
- * semantic hints associated with runs of text, and to bounding
3449
- * information for glyphs and substrings. It also allows portions of text to
3450
- * be selected, if the objects StateSet includes STATE_SELECTABLE_TEXT.
3451
- * @interface
3452
- */
3453
3345
  class Text extends GObject.Object {
3454
3346
 
3455
3347
  // Own properties of Atspi-2.0.Atspi.Text
@@ -3517,16 +3409,6 @@ interface Value {
3517
3409
  disconnect(id: number): void
3518
3410
  }
3519
3411
 
3520
- /**
3521
- * An interface supporting a one-dimensional scalar
3522
- * to be modified, or which reflects its value.
3523
- *
3524
- * An interface supporting a one-dimensional scalar
3525
- * to be modified, or which reflects its value. If
3526
- * STATE_EDITABLE is not present, the value is
3527
- * treated as "read only".
3528
- * @interface
3529
- */
3530
3412
  class Value extends GObject.Object {
3531
3413
 
3532
3414
  // Own properties of Atspi-2.0.Atspi.Value
@@ -3589,10 +3471,6 @@ interface Accessible extends Action, Collection, Component, Document, EditableTe
3589
3471
  * descendants.
3590
3472
  */
3591
3473
  clear_cache(): void
3592
- /**
3593
- * Clears the cached information only for the given accessible.
3594
- */
3595
- clear_cache_single(): void
3596
3474
  /**
3597
3475
  * Gets the accessible id of the accessible. This is not meant to be presented
3598
3476
  * to the user, but to be an id which is stable over application development.
@@ -3853,14 +3731,6 @@ interface Accessible extends Action, Collection, Component, Document, EditableTe
3853
3731
  disconnect(id: number): void
3854
3732
  }
3855
3733
 
3856
- /**
3857
- * The base interface which is implemented by all accessible objects.
3858
- *
3859
- * All objects support interfaces for querying their contained 'children'
3860
- * and position in the accessible-object hierarchy, whether or not they
3861
- * actually have children.
3862
- * @class
3863
- */
3864
3734
  class Accessible extends Object {
3865
3735
 
3866
3736
  // Own properties of Atspi-2.0.Atspi.Accessible
@@ -3906,14 +3776,6 @@ interface Application {
3906
3776
  disconnect(id: number): void
3907
3777
  }
3908
3778
 
3909
- /**
3910
- * An interface identifying the root object associated
3911
- * with a running application.
3912
- *
3913
- * An interface identifying an object which is the root of the
3914
- * hierarchy associated with a running application.
3915
- * @class
3916
- */
3917
3779
  class Application extends GObject.Object {
3918
3780
 
3919
3781
  // Own properties of Atspi-2.0.Atspi.Application
@@ -3958,7 +3820,7 @@ interface Device {
3958
3820
  */
3959
3821
  get_locked_modifiers(): number
3960
3822
  /**
3961
- * Gets the modifier for a given keycode, if one exists. Does not create a new
3823
+ * Gets the modifier for a given keycode, if one exists. Does not creatt a new
3962
3824
  * mapping. This function should be used when the intention is to query a
3963
3825
  * locking modifier such as num lock via atspi_device_get_locked_modifiers,
3964
3826
  * rather than to add key grabs.
@@ -4013,7 +3875,7 @@ interface Device {
4013
3875
  */
4014
3876
  vfunc_get_locked_modifiers(): number
4015
3877
  /**
4016
- * Gets the modifier for a given keycode, if one exists. Does not create a new
3878
+ * Gets the modifier for a given keycode, if one exists. Does not creatt a new
4017
3879
  * mapping. This function should be used when the intention is to query a
4018
3880
  * locking modifier such as num lock via atspi_device_get_locked_modifiers,
4019
3881
  * rather than to add key grabs.
@@ -4343,7 +4205,6 @@ interface EventListener {
4343
4205
  * object:column-deleted
4344
4206
  * object:model-changed
4345
4207
  * object:active-descendant-changed
4346
- * object:announcement
4347
4208
  *
4348
4209
  * (screen reader events)
4349
4210
  * screen-reader:region-changed
@@ -4418,16 +4279,6 @@ interface EventListener {
4418
4279
  disconnect(id: number): void
4419
4280
  }
4420
4281
 
4421
- /**
4422
- * A generic interface implemented by objects for the receipt of event
4423
- * notifications.
4424
- *
4425
- * A generic interface implemented by objects for the receipt of event
4426
- * notifications. atspi-event-listener is the interface via which clients of
4427
- * the atspi-registry receive notification of changes to an application's user
4428
- * interface and content.
4429
- * @class
4430
- */
4431
4282
  class EventListener extends GObject.Object {
4432
4283
 
4433
4284
  // Own properties of Atspi-2.0.Atspi.EventListener
@@ -4542,19 +4393,6 @@ interface Hyperlink {
4542
4393
  disconnect(id: number): void
4543
4394
  }
4544
4395
 
4545
- /**
4546
- * Instances of atspi-hyperlink are the means by which end users
4547
- * and clients interact with linked content.
4548
- *
4549
- * Instances of atspi-hyperlink are returned by
4550
- * atspi-hypertext objects, and are the means by
4551
- * which end users and clients interact with linked,
4552
- * and in some cases embedded, content. These instances
4553
- * may have multiple "anchors", where an anchor corresponds to a
4554
- * reference to a particular resource with a corresponding resource
4555
- * identified (URI).
4556
- * @class
4557
- */
4558
4396
  class Hyperlink extends Object {
4559
4397
 
4560
4398
  // Own properties of Atspi-2.0.Atspi.Hyperlink
@@ -4600,11 +4438,6 @@ interface MatchRule {
4600
4438
  disconnect(id: number): void
4601
4439
  }
4602
4440
 
4603
- /**
4604
- * An interface that allows the definition of match rules
4605
- * for accessible objects.
4606
- * @class
4607
- */
4608
4441
  class MatchRule extends GObject.Object {
4609
4442
 
4610
4443
  // Own properties of Atspi-2.0.Atspi.MatchRule
@@ -4625,7 +4458,7 @@ class MatchRule extends GObject.Object {
4625
4458
  * @param attributematchtype An #AtspiCollectionMatchType specifying how to interpret `attributes`.
4626
4459
  * @param roles A #GArray of roles to match, or NULL if not applicable.
4627
4460
  * @param rolematchtype An #AtspiCollectionMatchType specifying how to interpret `roles`.
4628
- * @param interfaces An array of interfaces to match, or NULL if not applicable. Interface names should be specified by the final component of their DBus names (Accessible, Component, etc).
4461
+ * @param interfaces An array of interfaces to match, or NULL if not applicable. Interface names should be specified by their DBus names (org.a11y.Atspi.Accessible, org.a11y.Atspi.Component, etc).
4629
4462
  * @param interfacematchtype An #AtspiCollectionMatchType specifying how to interpret `interfaces`.
4630
4463
  * @param invert if #TRUE, the match rule should be denied (inverted); if #FALSE, it should not. For example, if the match rule defines that a match is an object of ROLE_HEADING which has STATE_FOCUSABLE and a click action, inverting it would match all objects that are not of ROLE_HEADING, focusable and clickable at the same time.
4631
4464
  * @returns A new #AtspiMatchRule.
@@ -4641,7 +4474,7 @@ class MatchRule extends GObject.Object {
4641
4474
  * @param attributematchtype An #AtspiCollectionMatchType specifying how to interpret `attributes`.
4642
4475
  * @param roles A #GArray of roles to match, or NULL if not applicable.
4643
4476
  * @param rolematchtype An #AtspiCollectionMatchType specifying how to interpret `roles`.
4644
- * @param interfaces An array of interfaces to match, or NULL if not applicable. Interface names should be specified by the final component of their DBus names (Accessible, Component, etc).
4477
+ * @param interfaces An array of interfaces to match, or NULL if not applicable. Interface names should be specified by their DBus names (org.a11y.Atspi.Accessible, org.a11y.Atspi.Component, etc).
4645
4478
  * @param interfacematchtype An #AtspiCollectionMatchType specifying how to interpret `interfaces`.
4646
4479
  * @param invert if #TRUE, the match rule should be denied (inverted); if #FALSE, it should not. For example, if the match rule defines that a match is an object of ROLE_HEADING which has STATE_FOCUSABLE and a click action, inverting it would match all objects that are not of ROLE_HEADING, focusable and clickable at the same time.
4647
4480
  * @returns A new #AtspiMatchRule.
@@ -4734,15 +4567,6 @@ interface Relation {
4734
4567
  disconnect(id: number): void
4735
4568
  }
4736
4569
 
4737
- /**
4738
- * An interface via which non-hierarchical relationships
4739
- * are indicated.
4740
- *
4741
- * An interface via which non-hierarchical relationships
4742
- * are indicated. An instance of this interface represents
4743
- * a "one-to-many" correspondence.
4744
- * @class
4745
- */
4746
4570
  class Relation extends GObject.Object {
4747
4571
 
4748
4572
  // Own properties of Atspi-2.0.Atspi.Relation
@@ -4833,11 +4657,6 @@ interface StateSet {
4833
4657
  disconnect(id: number): void
4834
4658
  }
4835
4659
 
4836
- /**
4837
- * The atspi-stateset objects implement wrappers around a
4838
- * bitmap of accessible states.
4839
- * @class
4840
- */
4841
4660
  class StateSet extends GObject.Object {
4842
4661
 
4843
4662
  // Own properties of Atspi-2.0.Atspi.StateSet
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/atspi-2.0",
3
- "version": "2.0.0-3.2.7",
3
+ "version": "2.0.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for Atspi-2.0, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "atspi-2.0.js",
7
7
  "main": "atspi-2.0.js",
8
8
  "exports": {
9
- "./ambient": "./atspi-2.0-ambient.d.ts",
10
- "./import": "./atspi-2.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./atspi-2.0-ambient.d.ts",
11
+ "default": "./atspi-2.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./atspi-2.0-import.d.ts",
15
+ "default": "./atspi-2.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./atspi-2.0.d.ts",
@@ -25,10 +31,10 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit atspi-2.0.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/dbus-1.0": "^1.0.0-3.2.7",
29
- "@girs/gjs": "^3.2.7",
30
- "@girs/glib-2.0": "^2.78.0-3.2.7",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.7"
34
+ "@girs/dbus-1.0": "^1.0.0-3.2.8",
35
+ "@girs/gjs": "^3.2.8",
36
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
37
+ "@girs/gobject-2.0": "^2.77.0-3.2.8"
32
38
  },
33
39
  "devDependencies": {
34
40
  "typescript": "*"
@@ -45,7 +51,7 @@
45
51
  "license": "MIT",
46
52
  "repository": {
47
53
  "type": "git",
48
- "url": "git+https://github.com/gjsify/types.git"
54
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
49
55
  },
50
56
  "bugs": {
51
57
  "url": "https://github.com/gjsify/ts-for-gir/issues"