@girs/atspi-2.0 2.0.0-3.2.0 → 2.0.0-3.2.2

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.0.
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.2.
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
 
package/atspi-2.0.d.cts CHANGED
@@ -603,7 +603,7 @@ export enum Role {
603
603
  */
604
604
  DATE_EDITOR,
605
605
  /**
606
- * An inconifed internal frame within a DESKTOP_FRAME.
606
+ * An inconifed internal frame within a DESKTOP_PANE.
607
607
  */
608
608
  DESKTOP_ICON,
609
609
  /**
@@ -625,16 +625,16 @@ export enum Role {
625
625
  * and select the contents of a directory.
626
626
  */
627
627
  DIRECTORY_PANE,
628
- /**
629
- * An object used for drawing custom user interface
630
- * elements.
631
- */
632
- DRAWING_AREA,
633
628
  /**
634
629
  * A specialized dialog that displays the files in
635
630
  * the directory and lets the user select a file, browse a different
636
631
  * directory, or specify a filename.
637
632
  */
633
+ DRAWING_AREA,
634
+ /**
635
+ * An object used for drawing custom user interface
636
+ * elements.
637
+ */
638
638
  FILE_CHOOSER,
639
639
  /**
640
640
  * A object that fills up space in a user interface.
@@ -793,13 +793,14 @@ export enum Role {
793
793
  SEPARATOR,
794
794
  /**
795
795
  * An object that allows the user to select from a bounded
796
- * range. Unlike `ATSPI_ROLE_SCROLL_BAR,` `ATSPI_ROLE_SLIDER` objects need not control
797
- * 'viewport'-like objects.
796
+ * range.
798
797
  */
799
798
  SLIDER,
800
799
  /**
801
800
  * An object which allows one of a set of choices to
802
- * 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.
803
804
  */
804
805
  SPIN_BUTTON,
805
806
  /**
@@ -922,7 +923,7 @@ export enum Role {
922
923
  /**
923
924
  * An object corresponding to the toplevel accessible
924
925
  * of an application, which may contain `ATSPI_ROLE_FRAME` objects or other
925
- * accessible objects. Children of objects with the #ATSPI_ROLE_DESKTOP_FRAME role are generally
926
+ * accessible objects. Children of #AccessibleDesktop objects are generally
926
927
  * `ATSPI_ROLE_APPLICATION` objects.
927
928
  */
928
929
  APPLICATION,
@@ -1258,18 +1259,14 @@ export enum Role {
1258
1259
  /**
1259
1260
  * A container for content that is called out as a proposed
1260
1261
  * change from the current version of the document, such as by a reviewer of the
1261
- * content. An object with this role should include children with %ATSPI_ROLE_CONTENT_DELETION and/or
1262
- * %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
1263
1264
  * actual change is. `Since:` 2.36
1264
1265
  */
1265
1266
  SUGGESTION,
1266
- /**
1267
- * A specialized push button to open a menu. `Since` 2.46
1268
- */
1269
- PUSH_BUTTON_MENU,
1270
1267
  /**
1271
1268
  * Not a valid role, used for finding end of
1272
- * enumeration.
1269
+ * enumeration.
1273
1270
  */
1274
1271
  LAST_DEFINED,
1275
1272
  }
@@ -1772,7 +1769,7 @@ export enum KeyListenerSyncType {
1772
1769
  NOSYNC,
1773
1770
  /**
1774
1771
  * Events are delivered synchronously, before the
1775
- * currently focused application sees them.
1772
+ * currently focussed application sees them.
1776
1773
  */
1777
1774
  SYNCHRONOUS,
1778
1775
  /**
@@ -1980,11 +1977,11 @@ export function init(): number
1980
1977
  */
1981
1978
  export function is_initialized(): boolean
1982
1979
  /**
1983
- * This function does nothing and should not be called.
1984
- * @param listener
1985
- * @param event_types
1986
- * @param filter
1987
- * @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.
1988
1985
  */
1989
1986
  export function register_device_event_listener(listener: DeviceListener, event_types: DeviceEventMask, filter: any | null): boolean
1990
1987
  /**
@@ -2030,7 +2027,7 @@ export function set_main_context(cnx: GLib.MainContext): void
2030
2027
  export function set_reference_window(accessible: Accessible): void
2031
2028
  /**
2032
2029
  * Set the timeout used for method calls. If this is not set explicitly,
2033
- * a default of 800 ms is used.
2030
+ * a default of 0.8 ms is used.
2034
2031
  * Note that at-spi2-registryd currently uses a timeout of 3 seconds when
2035
2032
  * sending a keyboard event notification. This means that, if an AT makes
2036
2033
  * a call in response to the keyboard notification and the application
@@ -2249,15 +2246,6 @@ export interface Collection {
2249
2246
  disconnect(id: number): void
2250
2247
  }
2251
2248
 
2252
- /**
2253
- * An interface designed to allow accessibles which satisfy a set of
2254
- * criteria to be returned.
2255
- *
2256
- * An interface designed to allow accessibles which satisfy a set of
2257
- * criteria to be returned. This interface can be used to avoid iteration
2258
- * or client-side search of the object tree.
2259
- * @interface
2260
- */
2261
2249
  export class Collection extends GObject.Object {
2262
2250
 
2263
2251
  // Own properties of Atspi-2.0.Atspi.Collection
@@ -2364,8 +2352,8 @@ export interface Component {
2364
2352
  scroll_to_point(coords: CoordType, x: number, y: number): boolean
2365
2353
  /**
2366
2354
  * Moves and resizes the specified component.
2367
- * @param x the new horizontal position to which the component should be moved.
2368
- * @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.
2369
2357
  * @param width the width to which the component should be resized.
2370
2358
  * @param height the height to which the component should be resized.
2371
2359
  * @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
@@ -2374,14 +2362,14 @@ export interface Component {
2374
2362
  set_extents(x: number, y: number, width: number, height: number, ctype: CoordType): boolean
2375
2363
  /**
2376
2364
  * Moves the component to the specified position.
2377
- * @param x the new horizontal position to which the component should be moved.
2378
- * @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.
2379
2367
  * @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
2380
2368
  * @returns #TRUE if successful; #FALSE otherwise.
2381
2369
  */
2382
2370
  set_position(x: number, y: number, ctype: CoordType): boolean
2383
2371
  /**
2384
- * Resizes the specified component to the given pixel dimensions.
2372
+ * Resizes the specified component to the given coordinates.
2385
2373
  * @param width the width to which the component should be resized.
2386
2374
  * @param height the height to which the component should be resized.
2387
2375
  * @returns #TRUE if successful; #FALSE otherwise.
@@ -2396,20 +2384,6 @@ export interface Component {
2396
2384
  disconnect(id: number): void
2397
2385
  }
2398
2386
 
2399
- /**
2400
- * An interface implemented by objects which have onscreen visual
2401
- * representations.
2402
- *
2403
- * The Component interface is implemented by objects which occupy on-screen
2404
- * space, e.g. objects which have onscreen visual representations. The methods
2405
- * in Component allow clients to identify where the objects lie in the onscreen
2406
- * coordinate system, their relative size, stacking order, and position. It
2407
- * also provides a mechanism whereby keyboard focus may be transferred to
2408
- * specific user interface elements programmatically. This is a 2D API.
2409
- * Coordinates of 3D objects are projected into the 2-dimensional screen view
2410
- * for purposes of this interface.
2411
- * @interface
2412
- */
2413
2387
  export class Component extends GObject.Object {
2414
2388
 
2415
2389
  // Own properties of Atspi-2.0.Atspi.Component
@@ -2617,17 +2591,6 @@ export interface Hypertext {
2617
2591
  disconnect(id: number): void
2618
2592
  }
2619
2593
 
2620
- /**
2621
- * An interface used for objects which implement linking between
2622
- * multiple resource locations.
2623
- *
2624
- * An interface used for objects which implement linking between
2625
- * multiple resource or content locations, or multiple 'markers'
2626
- * within a single document. A hypertext instance is associated
2627
- * with one or more hyperlinks which are associated with particular
2628
- * offsets within the hypertext's content.
2629
- * @interface
2630
- */
2631
2594
  export class Hypertext extends GObject.Object {
2632
2595
 
2633
2596
  // Own properties of Atspi-2.0.Atspi.Hypertext
@@ -2801,17 +2764,6 @@ export interface Selection {
2801
2764
  disconnect(id: number): void
2802
2765
  }
2803
2766
 
2804
- /**
2805
- * An interface which indicates that an object exposes a 'selection' model,
2806
- * allowing the selection of one or more of its children.
2807
- *
2808
- * An interface which indicates that an object exposes a 'selection'
2809
- * model, allowing the selection of one or more of its children.
2810
- * Read-only Selection instances are possible, in which case the
2811
- * interface is used to programmatically determine the selected-ness
2812
- * of its children.
2813
- * @interface
2814
- */
2815
2767
  export class Selection extends GObject.Object {
2816
2768
 
2817
2769
  // Own properties of Atspi-2.0.Atspi.Selection
@@ -3059,20 +3011,6 @@ export interface Table {
3059
3011
  disconnect(id: number): void
3060
3012
  }
3061
3013
 
3062
- /**
3063
- * An interface used by containers whose data is arranged in a tabular form.
3064
- *
3065
- * An interface used by containers whose contained data is arranged
3066
- * in a tabular (i.e. row-column) form. Tables may resemble
3067
- * a two-dimensional grid, as in a spreadsheet, or may feature objects
3068
- * which span multiple rows and/or columns, but whose bounds are
3069
- * aligned on a row/column matrix. Objects within tables are children
3070
- * of the table object, and they may be referenced either via a child
3071
- * index or via a row/column pair. Table 'cells' may implement other
3072
- * interfaces, such as Text, Action, Image, and Component, and should do
3073
- * so as appropriate to their onscreen presentation and/or behavior.
3074
- * @interface
3075
- */
3076
3014
  export class Table extends GObject.Object {
3077
3015
 
3078
3016
  // Own properties of Atspi-2.0.Atspi.Table
@@ -3402,18 +3340,6 @@ export interface Text {
3402
3340
  disconnect(id: number): void
3403
3341
  }
3404
3342
 
3405
- /**
3406
- * An interface implemented by objects which place textual
3407
- * information onscreen.
3408
- *
3409
- * The text interface should be implemented by objects which place textual
3410
- * information onscreen as character strings or glyphs. The text interface
3411
- * allows access to textual content including display attributes and
3412
- * semantic hints associated with runs of text, and to bounding
3413
- * information for glyphs and substrings. It also allows portions of text to
3414
- * be selected, if the objects StateSet includes STATE_SELECTABLE_TEXT.
3415
- * @interface
3416
- */
3417
3343
  export class Text extends GObject.Object {
3418
3344
 
3419
3345
  // Own properties of Atspi-2.0.Atspi.Text
@@ -3481,16 +3407,6 @@ export interface Value {
3481
3407
  disconnect(id: number): void
3482
3408
  }
3483
3409
 
3484
- /**
3485
- * An interface supporting a one-dimensional scalar
3486
- * to be modified, or which reflects its value.
3487
- *
3488
- * An interface supporting a one-dimensional scalar
3489
- * to be modified, or which reflects its value. If
3490
- * STATE_EDITABLE is not present, the value is
3491
- * treated as "read only".
3492
- * @interface
3493
- */
3494
3410
  export class Value extends GObject.Object {
3495
3411
 
3496
3412
  // Own properties of Atspi-2.0.Atspi.Value
@@ -3813,14 +3729,6 @@ export interface Accessible extends Action, Collection, Component, Document, Edi
3813
3729
  disconnect(id: number): void
3814
3730
  }
3815
3731
 
3816
- /**
3817
- * The base interface which is implemented by all accessible objects.
3818
- *
3819
- * All objects support interfaces for querying their contained 'children'
3820
- * and position in the accessible-object hierarchy, whether or not they
3821
- * actually have children.
3822
- * @class
3823
- */
3824
3732
  export class Accessible extends Object {
3825
3733
 
3826
3734
  // Own properties of Atspi-2.0.Atspi.Accessible
@@ -3866,14 +3774,6 @@ export interface Application {
3866
3774
  disconnect(id: number): void
3867
3775
  }
3868
3776
 
3869
- /**
3870
- * An interface identifying the root object associated
3871
- * with a running application.
3872
- *
3873
- * An interface identifying an object which is the root of the
3874
- * hierarchy associated with a running application.
3875
- * @class
3876
- */
3877
3777
  export class Application extends GObject.Object {
3878
3778
 
3879
3779
  // Own properties of Atspi-2.0.Atspi.Application
@@ -3918,7 +3818,7 @@ export interface Device {
3918
3818
  */
3919
3819
  get_locked_modifiers(): number
3920
3820
  /**
3921
- * 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
3922
3822
  * mapping. This function should be used when the intention is to query a
3923
3823
  * locking modifier such as num lock via atspi_device_get_locked_modifiers,
3924
3824
  * rather than to add key grabs.
@@ -3973,7 +3873,7 @@ export interface Device {
3973
3873
  */
3974
3874
  vfunc_get_locked_modifiers(): number
3975
3875
  /**
3976
- * 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
3977
3877
  * mapping. This function should be used when the intention is to query a
3978
3878
  * locking modifier such as num lock via atspi_device_get_locked_modifiers,
3979
3879
  * rather than to add key grabs.
@@ -4303,7 +4203,6 @@ export interface EventListener {
4303
4203
  * object:column-deleted
4304
4204
  * object:model-changed
4305
4205
  * object:active-descendant-changed
4306
- * object:announcement
4307
4206
  *
4308
4207
  * (screen reader events)
4309
4208
  * screen-reader:region-changed
@@ -4378,16 +4277,6 @@ export interface EventListener {
4378
4277
  disconnect(id: number): void
4379
4278
  }
4380
4279
 
4381
- /**
4382
- * A generic interface implemented by objects for the receipt of event
4383
- * notifications.
4384
- *
4385
- * A generic interface implemented by objects for the receipt of event
4386
- * notifications. atspi-event-listener is the interface via which clients of
4387
- * the atspi-registry receive notification of changes to an application's user
4388
- * interface and content.
4389
- * @class
4390
- */
4391
4280
  export class EventListener extends GObject.Object {
4392
4281
 
4393
4282
  // Own properties of Atspi-2.0.Atspi.EventListener
@@ -4502,19 +4391,6 @@ export interface Hyperlink {
4502
4391
  disconnect(id: number): void
4503
4392
  }
4504
4393
 
4505
- /**
4506
- * Instances of atspi-hyperlink are the means by which end users
4507
- * and clients interact with linked content.
4508
- *
4509
- * Instances of atspi-hyperlink are returned by
4510
- * atspi-hypertext objects, and are the means by
4511
- * which end users and clients interact with linked,
4512
- * and in some cases embedded, content. These instances
4513
- * may have multiple "anchors", where an anchor corresponds to a
4514
- * reference to a particular resource with a corresponding resource
4515
- * identified (URI).
4516
- * @class
4517
- */
4518
4394
  export class Hyperlink extends Object {
4519
4395
 
4520
4396
  // Own properties of Atspi-2.0.Atspi.Hyperlink
@@ -4560,11 +4436,6 @@ export interface MatchRule {
4560
4436
  disconnect(id: number): void
4561
4437
  }
4562
4438
 
4563
- /**
4564
- * An interface that allows the definition of match rules
4565
- * for accessible objects.
4566
- * @class
4567
- */
4568
4439
  export class MatchRule extends GObject.Object {
4569
4440
 
4570
4441
  // Own properties of Atspi-2.0.Atspi.MatchRule
@@ -4694,15 +4565,6 @@ export interface Relation {
4694
4565
  disconnect(id: number): void
4695
4566
  }
4696
4567
 
4697
- /**
4698
- * An interface via which non-hierarchical relationships
4699
- * are indicated.
4700
- *
4701
- * An interface via which non-hierarchical relationships
4702
- * are indicated. An instance of this interface represents
4703
- * a "one-to-many" correspondence.
4704
- * @class
4705
- */
4706
4568
  export class Relation extends GObject.Object {
4707
4569
 
4708
4570
  // Own properties of Atspi-2.0.Atspi.Relation
@@ -4793,11 +4655,6 @@ export interface StateSet {
4793
4655
  disconnect(id: number): void
4794
4656
  }
4795
4657
 
4796
- /**
4797
- * The atspi-stateset objects implement wrappers around a
4798
- * bitmap of accessible states.
4799
- * @class
4800
- */
4801
4658
  export class StateSet extends GObject.Object {
4802
4659
 
4803
4660
  // Own properties of Atspi-2.0.Atspi.StateSet
package/atspi-2.0.d.ts CHANGED
@@ -605,7 +605,7 @@ enum Role {
605
605
  */
606
606
  DATE_EDITOR,
607
607
  /**
608
- * An inconifed internal frame within a DESKTOP_FRAME.
608
+ * An inconifed internal frame within a DESKTOP_PANE.
609
609
  */
610
610
  DESKTOP_ICON,
611
611
  /**
@@ -627,16 +627,16 @@ enum Role {
627
627
  * and select the contents of a directory.
628
628
  */
629
629
  DIRECTORY_PANE,
630
- /**
631
- * An object used for drawing custom user interface
632
- * elements.
633
- */
634
- DRAWING_AREA,
635
630
  /**
636
631
  * A specialized dialog that displays the files in
637
632
  * the directory and lets the user select a file, browse a different
638
633
  * directory, or specify a filename.
639
634
  */
635
+ DRAWING_AREA,
636
+ /**
637
+ * An object used for drawing custom user interface
638
+ * elements.
639
+ */
640
640
  FILE_CHOOSER,
641
641
  /**
642
642
  * A object that fills up space in a user interface.
@@ -795,13 +795,14 @@ enum Role {
795
795
  SEPARATOR,
796
796
  /**
797
797
  * An object that allows the user to select from a bounded
798
- * range. Unlike `ATSPI_ROLE_SCROLL_BAR,` `ATSPI_ROLE_SLIDER` objects need not control
799
- * 'viewport'-like objects.
798
+ * range.
800
799
  */
801
800
  SLIDER,
802
801
  /**
803
802
  * An object which allows one of a set of choices to
804
- * 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.
805
806
  */
806
807
  SPIN_BUTTON,
807
808
  /**
@@ -924,7 +925,7 @@ enum Role {
924
925
  /**
925
926
  * An object corresponding to the toplevel accessible
926
927
  * of an application, which may contain `ATSPI_ROLE_FRAME` objects or other
927
- * accessible objects. Children of objects with the #ATSPI_ROLE_DESKTOP_FRAME role are generally
928
+ * accessible objects. Children of #AccessibleDesktop objects are generally
928
929
  * `ATSPI_ROLE_APPLICATION` objects.
929
930
  */
930
931
  APPLICATION,
@@ -1260,18 +1261,14 @@ enum Role {
1260
1261
  /**
1261
1262
  * A container for content that is called out as a proposed
1262
1263
  * change from the current version of the document, such as by a reviewer of the
1263
- * content. An object with this role should include children with %ATSPI_ROLE_CONTENT_DELETION and/or
1264
- * %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
1265
1266
  * actual change is. `Since:` 2.36
1266
1267
  */
1267
1268
  SUGGESTION,
1268
- /**
1269
- * A specialized push button to open a menu. `Since` 2.46
1270
- */
1271
- PUSH_BUTTON_MENU,
1272
1269
  /**
1273
1270
  * Not a valid role, used for finding end of
1274
- * enumeration.
1271
+ * enumeration.
1275
1272
  */
1276
1273
  LAST_DEFINED,
1277
1274
  }
@@ -1774,7 +1771,7 @@ enum KeyListenerSyncType {
1774
1771
  NOSYNC,
1775
1772
  /**
1776
1773
  * Events are delivered synchronously, before the
1777
- * currently focused application sees them.
1774
+ * currently focussed application sees them.
1778
1775
  */
1779
1776
  SYNCHRONOUS,
1780
1777
  /**
@@ -1982,11 +1979,11 @@ function init(): number
1982
1979
  */
1983
1980
  function is_initialized(): boolean
1984
1981
  /**
1985
- * This function does nothing and should not be called.
1986
- * @param listener
1987
- * @param event_types
1988
- * @param filter
1989
- * @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.
1990
1987
  */
1991
1988
  function register_device_event_listener(listener: DeviceListener, event_types: DeviceEventMask, filter: any | null): boolean
1992
1989
  /**
@@ -2032,7 +2029,7 @@ function set_main_context(cnx: GLib.MainContext): void
2032
2029
  function set_reference_window(accessible: Accessible): void
2033
2030
  /**
2034
2031
  * Set the timeout used for method calls. If this is not set explicitly,
2035
- * a default of 800 ms is used.
2032
+ * a default of 0.8 ms is used.
2036
2033
  * Note that at-spi2-registryd currently uses a timeout of 3 seconds when
2037
2034
  * sending a keyboard event notification. This means that, if an AT makes
2038
2035
  * a call in response to the keyboard notification and the application
@@ -2251,15 +2248,6 @@ interface Collection {
2251
2248
  disconnect(id: number): void
2252
2249
  }
2253
2250
 
2254
- /**
2255
- * An interface designed to allow accessibles which satisfy a set of
2256
- * criteria to be returned.
2257
- *
2258
- * An interface designed to allow accessibles which satisfy a set of
2259
- * criteria to be returned. This interface can be used to avoid iteration
2260
- * or client-side search of the object tree.
2261
- * @interface
2262
- */
2263
2251
  class Collection extends GObject.Object {
2264
2252
 
2265
2253
  // Own properties of Atspi-2.0.Atspi.Collection
@@ -2366,8 +2354,8 @@ interface Component {
2366
2354
  scroll_to_point(coords: CoordType, x: number, y: number): boolean
2367
2355
  /**
2368
2356
  * Moves and resizes the specified component.
2369
- * @param x the new horizontal position to which the component should be moved.
2370
- * @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.
2371
2359
  * @param width the width to which the component should be resized.
2372
2360
  * @param height the height to which the component should be resized.
2373
2361
  * @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
@@ -2376,14 +2364,14 @@ interface Component {
2376
2364
  set_extents(x: number, y: number, width: number, height: number, ctype: CoordType): boolean
2377
2365
  /**
2378
2366
  * Moves the component to the specified position.
2379
- * @param x the new horizontal position to which the component should be moved.
2380
- * @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.
2381
2369
  * @param ctype the coordinate system in which the position is specified. (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).
2382
2370
  * @returns #TRUE if successful; #FALSE otherwise.
2383
2371
  */
2384
2372
  set_position(x: number, y: number, ctype: CoordType): boolean
2385
2373
  /**
2386
- * Resizes the specified component to the given pixel dimensions.
2374
+ * Resizes the specified component to the given coordinates.
2387
2375
  * @param width the width to which the component should be resized.
2388
2376
  * @param height the height to which the component should be resized.
2389
2377
  * @returns #TRUE if successful; #FALSE otherwise.
@@ -2398,20 +2386,6 @@ interface Component {
2398
2386
  disconnect(id: number): void
2399
2387
  }
2400
2388
 
2401
- /**
2402
- * An interface implemented by objects which have onscreen visual
2403
- * representations.
2404
- *
2405
- * The Component interface is implemented by objects which occupy on-screen
2406
- * space, e.g. objects which have onscreen visual representations. The methods
2407
- * in Component allow clients to identify where the objects lie in the onscreen
2408
- * coordinate system, their relative size, stacking order, and position. It
2409
- * also provides a mechanism whereby keyboard focus may be transferred to
2410
- * specific user interface elements programmatically. This is a 2D API.
2411
- * Coordinates of 3D objects are projected into the 2-dimensional screen view
2412
- * for purposes of this interface.
2413
- * @interface
2414
- */
2415
2389
  class Component extends GObject.Object {
2416
2390
 
2417
2391
  // Own properties of Atspi-2.0.Atspi.Component
@@ -2619,17 +2593,6 @@ interface Hypertext {
2619
2593
  disconnect(id: number): void
2620
2594
  }
2621
2595
 
2622
- /**
2623
- * An interface used for objects which implement linking between
2624
- * multiple resource locations.
2625
- *
2626
- * An interface used for objects which implement linking between
2627
- * multiple resource or content locations, or multiple 'markers'
2628
- * within a single document. A hypertext instance is associated
2629
- * with one or more hyperlinks which are associated with particular
2630
- * offsets within the hypertext's content.
2631
- * @interface
2632
- */
2633
2596
  class Hypertext extends GObject.Object {
2634
2597
 
2635
2598
  // Own properties of Atspi-2.0.Atspi.Hypertext
@@ -2803,17 +2766,6 @@ interface Selection {
2803
2766
  disconnect(id: number): void
2804
2767
  }
2805
2768
 
2806
- /**
2807
- * An interface which indicates that an object exposes a 'selection' model,
2808
- * allowing the selection of one or more of its children.
2809
- *
2810
- * An interface which indicates that an object exposes a 'selection'
2811
- * model, allowing the selection of one or more of its children.
2812
- * Read-only Selection instances are possible, in which case the
2813
- * interface is used to programmatically determine the selected-ness
2814
- * of its children.
2815
- * @interface
2816
- */
2817
2769
  class Selection extends GObject.Object {
2818
2770
 
2819
2771
  // Own properties of Atspi-2.0.Atspi.Selection
@@ -3061,20 +3013,6 @@ interface Table {
3061
3013
  disconnect(id: number): void
3062
3014
  }
3063
3015
 
3064
- /**
3065
- * An interface used by containers whose data is arranged in a tabular form.
3066
- *
3067
- * An interface used by containers whose contained data is arranged
3068
- * in a tabular (i.e. row-column) form. Tables may resemble
3069
- * a two-dimensional grid, as in a spreadsheet, or may feature objects
3070
- * which span multiple rows and/or columns, but whose bounds are
3071
- * aligned on a row/column matrix. Objects within tables are children
3072
- * of the table object, and they may be referenced either via a child
3073
- * index or via a row/column pair. Table 'cells' may implement other
3074
- * interfaces, such as Text, Action, Image, and Component, and should do
3075
- * so as appropriate to their onscreen presentation and/or behavior.
3076
- * @interface
3077
- */
3078
3016
  class Table extends GObject.Object {
3079
3017
 
3080
3018
  // Own properties of Atspi-2.0.Atspi.Table
@@ -3404,18 +3342,6 @@ interface Text {
3404
3342
  disconnect(id: number): void
3405
3343
  }
3406
3344
 
3407
- /**
3408
- * An interface implemented by objects which place textual
3409
- * information onscreen.
3410
- *
3411
- * The text interface should be implemented by objects which place textual
3412
- * information onscreen as character strings or glyphs. The text interface
3413
- * allows access to textual content including display attributes and
3414
- * semantic hints associated with runs of text, and to bounding
3415
- * information for glyphs and substrings. It also allows portions of text to
3416
- * be selected, if the objects StateSet includes STATE_SELECTABLE_TEXT.
3417
- * @interface
3418
- */
3419
3345
  class Text extends GObject.Object {
3420
3346
 
3421
3347
  // Own properties of Atspi-2.0.Atspi.Text
@@ -3483,16 +3409,6 @@ interface Value {
3483
3409
  disconnect(id: number): void
3484
3410
  }
3485
3411
 
3486
- /**
3487
- * An interface supporting a one-dimensional scalar
3488
- * to be modified, or which reflects its value.
3489
- *
3490
- * An interface supporting a one-dimensional scalar
3491
- * to be modified, or which reflects its value. If
3492
- * STATE_EDITABLE is not present, the value is
3493
- * treated as "read only".
3494
- * @interface
3495
- */
3496
3412
  class Value extends GObject.Object {
3497
3413
 
3498
3414
  // Own properties of Atspi-2.0.Atspi.Value
@@ -3815,14 +3731,6 @@ interface Accessible extends Action, Collection, Component, Document, EditableTe
3815
3731
  disconnect(id: number): void
3816
3732
  }
3817
3733
 
3818
- /**
3819
- * The base interface which is implemented by all accessible objects.
3820
- *
3821
- * All objects support interfaces for querying their contained 'children'
3822
- * and position in the accessible-object hierarchy, whether or not they
3823
- * actually have children.
3824
- * @class
3825
- */
3826
3734
  class Accessible extends Object {
3827
3735
 
3828
3736
  // Own properties of Atspi-2.0.Atspi.Accessible
@@ -3868,14 +3776,6 @@ interface Application {
3868
3776
  disconnect(id: number): void
3869
3777
  }
3870
3778
 
3871
- /**
3872
- * An interface identifying the root object associated
3873
- * with a running application.
3874
- *
3875
- * An interface identifying an object which is the root of the
3876
- * hierarchy associated with a running application.
3877
- * @class
3878
- */
3879
3779
  class Application extends GObject.Object {
3880
3780
 
3881
3781
  // Own properties of Atspi-2.0.Atspi.Application
@@ -3920,7 +3820,7 @@ interface Device {
3920
3820
  */
3921
3821
  get_locked_modifiers(): number
3922
3822
  /**
3923
- * 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
3924
3824
  * mapping. This function should be used when the intention is to query a
3925
3825
  * locking modifier such as num lock via atspi_device_get_locked_modifiers,
3926
3826
  * rather than to add key grabs.
@@ -3975,7 +3875,7 @@ interface Device {
3975
3875
  */
3976
3876
  vfunc_get_locked_modifiers(): number
3977
3877
  /**
3978
- * 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
3979
3879
  * mapping. This function should be used when the intention is to query a
3980
3880
  * locking modifier such as num lock via atspi_device_get_locked_modifiers,
3981
3881
  * rather than to add key grabs.
@@ -4305,7 +4205,6 @@ interface EventListener {
4305
4205
  * object:column-deleted
4306
4206
  * object:model-changed
4307
4207
  * object:active-descendant-changed
4308
- * object:announcement
4309
4208
  *
4310
4209
  * (screen reader events)
4311
4210
  * screen-reader:region-changed
@@ -4380,16 +4279,6 @@ interface EventListener {
4380
4279
  disconnect(id: number): void
4381
4280
  }
4382
4281
 
4383
- /**
4384
- * A generic interface implemented by objects for the receipt of event
4385
- * notifications.
4386
- *
4387
- * A generic interface implemented by objects for the receipt of event
4388
- * notifications. atspi-event-listener is the interface via which clients of
4389
- * the atspi-registry receive notification of changes to an application's user
4390
- * interface and content.
4391
- * @class
4392
- */
4393
4282
  class EventListener extends GObject.Object {
4394
4283
 
4395
4284
  // Own properties of Atspi-2.0.Atspi.EventListener
@@ -4504,19 +4393,6 @@ interface Hyperlink {
4504
4393
  disconnect(id: number): void
4505
4394
  }
4506
4395
 
4507
- /**
4508
- * Instances of atspi-hyperlink are the means by which end users
4509
- * and clients interact with linked content.
4510
- *
4511
- * Instances of atspi-hyperlink are returned by
4512
- * atspi-hypertext objects, and are the means by
4513
- * which end users and clients interact with linked,
4514
- * and in some cases embedded, content. These instances
4515
- * may have multiple "anchors", where an anchor corresponds to a
4516
- * reference to a particular resource with a corresponding resource
4517
- * identified (URI).
4518
- * @class
4519
- */
4520
4396
  class Hyperlink extends Object {
4521
4397
 
4522
4398
  // Own properties of Atspi-2.0.Atspi.Hyperlink
@@ -4562,11 +4438,6 @@ interface MatchRule {
4562
4438
  disconnect(id: number): void
4563
4439
  }
4564
4440
 
4565
- /**
4566
- * An interface that allows the definition of match rules
4567
- * for accessible objects.
4568
- * @class
4569
- */
4570
4441
  class MatchRule extends GObject.Object {
4571
4442
 
4572
4443
  // Own properties of Atspi-2.0.Atspi.MatchRule
@@ -4696,15 +4567,6 @@ interface Relation {
4696
4567
  disconnect(id: number): void
4697
4568
  }
4698
4569
 
4699
- /**
4700
- * An interface via which non-hierarchical relationships
4701
- * are indicated.
4702
- *
4703
- * An interface via which non-hierarchical relationships
4704
- * are indicated. An instance of this interface represents
4705
- * a "one-to-many" correspondence.
4706
- * @class
4707
- */
4708
4570
  class Relation extends GObject.Object {
4709
4571
 
4710
4572
  // Own properties of Atspi-2.0.Atspi.Relation
@@ -4795,11 +4657,6 @@ interface StateSet {
4795
4657
  disconnect(id: number): void
4796
4658
  }
4797
4659
 
4798
- /**
4799
- * The atspi-stateset objects implement wrappers around a
4800
- * bitmap of accessible states.
4801
- * @class
4802
- */
4803
4660
  class StateSet extends GObject.Object {
4804
4661
 
4805
4662
  // Own properties of Atspi-2.0.Atspi.StateSet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/atspi-2.0",
3
- "version": "2.0.0-3.2.0",
3
+ "version": "2.0.0-3.2.2",
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",
@@ -25,10 +25,10 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit atspi-2.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/dbus-1.0": "^1.0.0-3.2.0",
29
- "@girs/gjs": "^3.2.0",
30
- "@girs/glib-2.0": "^2.76.1-3.2.0",
31
- "@girs/gobject-2.0": "^2.76.1-3.2.0"
28
+ "@girs/dbus-1.0": "^1.0.0-3.2.2",
29
+ "@girs/gjs": "^3.2.2",
30
+ "@girs/glib-2.0": "^2.77.0-3.2.2",
31
+ "@girs/gobject-2.0": "^2.77.0-3.2.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "typescript": "*"
package/typedoc.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "entryPoints": ["./atspi-2.0.d.ts","./atspi-2.0-ambient.d.ts","./atspi-2.0-import.d.ts"],
2
+ "entryPoints": ["./atspi-2.0.d.ts"],
3
3
  "readme": "./README.md",
4
4
  "name": "Atspi-2.0",
5
5
  "tsconfig": "./tsconfig.json"