@girs/foundryadw-1 4.3.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/foundryadw-1)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for FoundryAdw-1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.3.0.
8
+ GJS TypeScript type definitions for FoundryAdw-1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.4.0.
9
9
 
10
10
  ## Install
11
11
 
@@ -219,6 +219,23 @@ export interface Widgets {
219
219
  /** Every GType this namespace can create. A consumer derives its own tag map. */
220
220
  export type WidgetGType = keyof Widgets;
221
221
 
222
+ // ---------------------------------------------------------------------------
223
+ // Child holders — the same shape, for objects that CARRY a widget without being one.
224
+ //
225
+ // `GtkListItem`, `GtkListHeader`, `GtkColumnViewCell` and `AdwToggle` descend from
226
+ // `GObject.Object` and hold a widget through `set_child`/`get_child`. A renderer places
227
+ // them exactly like a container, so they belong in the vocabulary; a check asking "is
228
+ // this a widget" must still be able to say no. Hence a sibling table rather than four
229
+ // more rows in `Widgets`: concatenate them when you mean both.
230
+ // ---------------------------------------------------------------------------
231
+
232
+ export interface ChildHolders {
233
+
234
+ }
235
+
236
+ /** Every GType this namespace holds a child in without it being a widget. */
237
+ export type ChildHolderGType = keyof ChildHolders;
238
+
222
239
  /** The writable, optional, GObject-keyed property surface of one GType. */
223
240
  export type PropsOf<G extends WidgetGType> = Widgets[G]['props'];
224
241
 
@@ -254,6 +271,9 @@ export const OWN_SIGNALS: Readonly<Record<string, readonly string[]>>;
254
271
  /** Widget GType -> every declaration its members come from, self first. */
255
272
  export const DECLS: Readonly<Record<string, readonly string[]>>;
256
273
 
274
+ /** The GTypes in `DECLS` that hold a widget without being one — see `ChildHolders`. */
275
+ export const CHILD_HOLDERS: readonly string[];
276
+
257
277
  /** Enum GType -> the nicks this surface offers. */
258
278
  export const ENUM_NICKS: Readonly<Record<string, readonly string[]>>;
259
279
 
@@ -33,6 +33,12 @@ export const DECLS = {
33
33
  FoundryWorkspace: ['FoundryWorkspace', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
34
34
  };
35
35
 
36
+ // The GTypes above that are NOT widgets: they hold one through `set_child`/`get_child`
37
+ // and descend from `GObject.Object`. A renderer places them like a container; a check
38
+ // asking "is this a widget" must not count them. Derived from the accessor pair, never
39
+ // from a list — the count is in the provenance line above.
40
+ export const CHILD_HOLDERS = [];
41
+
36
42
  export const ENUM_NICKS = {
37
43
  GFileType: ['unknown', 'regular', 'directory', 'symbolic-link', 'special', 'shortcut', 'mountable'],
38
44
  };
package/foundryadw-1.d.ts CHANGED
@@ -103,6 +103,7 @@ export namespace FoundryAdw {
103
103
  /**
104
104
  * Gets the documentation for this navigator.
105
105
  * @returns a {@link Foundry.Documentation}
106
+ * @since 1.1
106
107
  */
107
108
  dup_documentation(): Foundry.Documentation;
108
109
  }
@@ -168,6 +169,7 @@ export namespace FoundryAdw {
168
169
  /**
169
170
  * Gets the file for this navigator.
170
171
  * @returns a {@link Gio.File}
172
+ * @since 1.1
171
173
  */
172
174
  dup_file(): Gio.File;
173
175
  }
@@ -308,6 +310,7 @@ export namespace FoundryAdw {
308
310
 
309
311
  /**
310
312
  * @returns the type of file that should be selected
313
+ * @since 1.1
311
314
  */
312
315
  get_file_type(): Gio.FileType;
313
316
 
@@ -323,6 +326,7 @@ export namespace FoundryAdw {
323
326
  * Changing this property while the user is selecting a file is
324
327
  * undefined behavior.
325
328
  * @param file_type the type of file to select
329
+ * @since 1.1
326
330
  */
327
331
  set_file_type(file_type: Gio.FileType): void;
328
332
 
@@ -500,6 +504,7 @@ export namespace FoundryAdw {
500
504
  * change your tree to allow this function to work.
501
505
  * @param state what kind of accessible state to retrieve
502
506
  * @returns the accessible platform state of the delegate
507
+ * @since 4.10
503
508
  */
504
509
  delegate_get_accessible_platform_state(state: Gtk.AccessiblePlatformState): boolean;
505
510
 
@@ -557,6 +562,7 @@ export namespace FoundryAdw {
557
562
  * Retrieves the contents of `editable`, including *pseudo-content*
558
563
  * such as the preedit buffer.
559
564
  * @returns the complete contents of the editable
565
+ * @since 4.24
560
566
  */
561
567
  get_complete_text(): string;
562
568
 
@@ -585,6 +591,7 @@ export namespace FoundryAdw {
585
591
  * Retrieves the widget that was previously set up as input interceptor
586
592
  * for `editable`. See {@link Gtk.Editable.set_input_interceptor}.
587
593
  * @returns The editable widget
594
+ * @since 4.24
588
595
  */
589
596
  get_input_interceptor(): Gtk.Widget | null;
590
597
 
@@ -706,6 +713,7 @@ export namespace FoundryAdw {
706
713
  * Only those events that would be handled by an input method will be handled,
707
714
  * this excludes combinations of Ctrl/Alt/Mod, and other shortcuts.
708
715
  * @param interceptor the input interceptor widget
716
+ * @since 4.24
709
717
  */
710
718
  set_input_interceptor(interceptor: Gtk.Widget | null): void;
711
719
 
@@ -798,6 +806,7 @@ export namespace FoundryAdw {
798
806
  /**
799
807
  * Retrieves the contents of `editable`, including *pseudo-content*
800
808
  * such as the preedit buffer.
809
+ * @since 4.24
801
810
  * @virtual
802
811
  */
803
812
  vfunc_get_complete_text(): string;
@@ -1111,6 +1120,7 @@ export namespace FoundryAdw {
1111
1120
  /**
1112
1121
  * Gets whether the page needs attention from the user.
1113
1122
  * @returns `true` if the page needs attention, `false` otherwise
1123
+ * @since 1.1
1114
1124
  */
1115
1125
  get_needs_attention(): boolean;
1116
1126
 
@@ -1120,6 +1130,7 @@ export namespace FoundryAdw {
1120
1130
  * Requests that the page be closed as if the user clicked the close button
1121
1131
  * on an AdwTabBar. This will trigger the close-page signal handler which
1122
1132
  * performs the actual cleanup.
1133
+ * @since 1.1
1123
1134
  */
1124
1135
  request_close(): void;
1125
1136
 
@@ -1153,6 +1164,7 @@ export namespace FoundryAdw {
1153
1164
  * something that requires user attention. The property is automatically
1154
1165
  * cleared when focus enters the page.
1155
1166
  * @param needs_attention whether the page needs attention
1167
+ * @since 1.1
1156
1168
  */
1157
1169
  set_needs_attention(needs_attention: boolean): void;
1158
1170
 
@@ -1188,6 +1200,7 @@ export namespace FoundryAdw {
1188
1200
  * does not interrupts the user's current screen reader output.
1189
1201
  * @param message the string to announce
1190
1202
  * @param priority the priority of the announcement
1203
+ * @since 4.14
1191
1204
  */
1192
1205
  announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
1193
1206
 
@@ -1200,6 +1213,7 @@ export namespace FoundryAdw {
1200
1213
  * It is left to the accessible implementation to define the scope
1201
1214
  * and uniqueness of the identifier.
1202
1215
  * @returns the accessible identifier
1216
+ * @since 4.22
1203
1217
  */
1204
1218
  get_accessible_id(): string | null;
1205
1219
 
@@ -1208,6 +1222,7 @@ export namespace FoundryAdw {
1208
1222
  *
1209
1223
  * This function returns `NULL` for top level widgets.
1210
1224
  * @returns the accessible parent
1225
+ * @since 4.10
1211
1226
  */
1212
1227
  get_accessible_parent(): Gtk.Accessible | null;
1213
1228
 
@@ -1220,6 +1235,7 @@ export namespace FoundryAdw {
1220
1235
  /**
1221
1236
  * Retrieves the implementation for the given accessible object.
1222
1237
  * @returns the accessible implementation object
1238
+ * @since 4.10
1223
1239
  */
1224
1240
  get_at_context(): Gtk.ATContext;
1225
1241
 
@@ -1230,18 +1246,21 @@ export namespace FoundryAdw {
1230
1246
  * implementations, e.g. to get the bounds from an ignored
1231
1247
  * child widget.
1232
1248
  * @returns true if the bounds are valid, and false otherwise
1249
+ * @since 4.10
1233
1250
  */
1234
1251
  get_bounds(): [boolean, number, number, number, number];
1235
1252
 
1236
1253
  /**
1237
1254
  * Retrieves the first accessible child of an accessible object.
1238
1255
  * @returns the first accessible child
1256
+ * @since 4.10
1239
1257
  */
1240
1258
  get_first_accessible_child(): Gtk.Accessible | null;
1241
1259
 
1242
1260
  /**
1243
1261
  * Retrieves the next accessible sibling of an accessible object
1244
1262
  * @returns the next accessible sibling
1263
+ * @since 4.10
1245
1264
  */
1246
1265
  get_next_accessible_sibling(): Gtk.Accessible | null;
1247
1266
 
@@ -1253,6 +1272,7 @@ export namespace FoundryAdw {
1253
1272
  * child widget, as is the case for {@link Gtk.Text} wrappers.
1254
1273
  * @param state platform state to query
1255
1274
  * @returns the value of state for the accessible
1275
+ * @since 4.10
1256
1276
  */
1257
1277
  get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
1258
1278
 
@@ -1286,6 +1306,7 @@ export namespace FoundryAdw {
1286
1306
  * object is the container widget.
1287
1307
  * @param parent the parent accessible object
1288
1308
  * @param next_sibling the sibling accessible object
1309
+ * @since 4.10
1289
1310
  */
1290
1311
  set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
1291
1312
 
@@ -1295,6 +1316,7 @@ export namespace FoundryAdw {
1295
1316
  * That might be useful when a new child of a custom accessible
1296
1317
  * is created, and it needs to be linked to a previous child.
1297
1318
  * @param new_sibling the new next accessible sibling to set
1319
+ * @since 4.10
1298
1320
  */
1299
1321
  update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
1300
1322
 
@@ -1305,6 +1327,7 @@ export namespace FoundryAdw {
1305
1327
  * have a platform state but are not widgets. Widgets handle platform
1306
1328
  * states automatically.
1307
1329
  * @param state the platform state to update
1330
+ * @since 4.18
1308
1331
  */
1309
1332
  update_platform_state(state: Gtk.AccessiblePlatformState): void;
1310
1333
 
@@ -1352,6 +1375,7 @@ export namespace FoundryAdw {
1352
1375
  *
1353
1376
  * It is left to the accessible implementation to define the scope
1354
1377
  * and uniqueness of the identifier.
1378
+ * @since 4.22
1355
1379
  * @virtual
1356
1380
  */
1357
1381
  vfunc_get_accessible_id(): string | null;
@@ -1360,12 +1384,14 @@ export namespace FoundryAdw {
1360
1384
  * Retrieves the accessible parent for an accessible object.
1361
1385
  *
1362
1386
  * This function returns `NULL` for top level widgets.
1387
+ * @since 4.10
1363
1388
  * @virtual
1364
1389
  */
1365
1390
  vfunc_get_accessible_parent(): Gtk.Accessible | null;
1366
1391
 
1367
1392
  /**
1368
1393
  * Retrieves the implementation for the given accessible object.
1394
+ * @since 4.10
1369
1395
  * @virtual
1370
1396
  */
1371
1397
  vfunc_get_at_context(): Gtk.ATContext | null;
@@ -1376,18 +1402,21 @@ export namespace FoundryAdw {
1376
1402
  * This functionality can be overridden by {@link Gtk.Accessible}
1377
1403
  * implementations, e.g. to get the bounds from an ignored
1378
1404
  * child widget.
1405
+ * @since 4.10
1379
1406
  * @virtual
1380
1407
  */
1381
1408
  vfunc_get_bounds(): [boolean, number, number, number, number];
1382
1409
 
1383
1410
  /**
1384
1411
  * Retrieves the first accessible child of an accessible object.
1412
+ * @since 4.10
1385
1413
  * @virtual
1386
1414
  */
1387
1415
  vfunc_get_first_accessible_child(): Gtk.Accessible | null;
1388
1416
 
1389
1417
  /**
1390
1418
  * Retrieves the next accessible sibling of an accessible object
1419
+ * @since 4.10
1391
1420
  * @virtual
1392
1421
  */
1393
1422
  vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
@@ -1399,6 +1428,7 @@ export namespace FoundryAdw {
1399
1428
  * implementations, e.g. to get platform state from an ignored
1400
1429
  * child widget, as is the case for {@link Gtk.Text} wrappers.
1401
1430
  * @param state platform state to query
1431
+ * @since 4.10
1402
1432
  * @virtual
1403
1433
  */
1404
1434
  vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
@@ -1667,6 +1697,7 @@ export namespace FoundryAdw {
1667
1697
  /**
1668
1698
  * Gets whether the panel needs attention from the user.
1669
1699
  * @returns `true` if the panel needs attention, `false` otherwise
1700
+ * @since 1.1
1670
1701
  */
1671
1702
  get_needs_attention(): boolean;
1672
1703
 
@@ -1702,6 +1733,7 @@ export namespace FoundryAdw {
1702
1733
  * something that requires user attention. The property is automatically
1703
1734
  * cleared when focus enters the panel.
1704
1735
  * @param needs_attention whether the panel needs attention
1736
+ * @since 1.1
1705
1737
  */
1706
1738
  set_needs_attention(needs_attention: boolean): void;
1707
1739
 
@@ -1742,6 +1774,7 @@ export namespace FoundryAdw {
1742
1774
  * does not interrupts the user's current screen reader output.
1743
1775
  * @param message the string to announce
1744
1776
  * @param priority the priority of the announcement
1777
+ * @since 4.14
1745
1778
  */
1746
1779
  announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
1747
1780
 
@@ -1754,6 +1787,7 @@ export namespace FoundryAdw {
1754
1787
  * It is left to the accessible implementation to define the scope
1755
1788
  * and uniqueness of the identifier.
1756
1789
  * @returns the accessible identifier
1790
+ * @since 4.22
1757
1791
  */
1758
1792
  get_accessible_id(): string | null;
1759
1793
 
@@ -1762,6 +1796,7 @@ export namespace FoundryAdw {
1762
1796
  *
1763
1797
  * This function returns `NULL` for top level widgets.
1764
1798
  * @returns the accessible parent
1799
+ * @since 4.10
1765
1800
  */
1766
1801
  get_accessible_parent(): Gtk.Accessible | null;
1767
1802
 
@@ -1774,6 +1809,7 @@ export namespace FoundryAdw {
1774
1809
  /**
1775
1810
  * Retrieves the implementation for the given accessible object.
1776
1811
  * @returns the accessible implementation object
1812
+ * @since 4.10
1777
1813
  */
1778
1814
  get_at_context(): Gtk.ATContext;
1779
1815
 
@@ -1784,18 +1820,21 @@ export namespace FoundryAdw {
1784
1820
  * implementations, e.g. to get the bounds from an ignored
1785
1821
  * child widget.
1786
1822
  * @returns true if the bounds are valid, and false otherwise
1823
+ * @since 4.10
1787
1824
  */
1788
1825
  get_bounds(): [boolean, number, number, number, number];
1789
1826
 
1790
1827
  /**
1791
1828
  * Retrieves the first accessible child of an accessible object.
1792
1829
  * @returns the first accessible child
1830
+ * @since 4.10
1793
1831
  */
1794
1832
  get_first_accessible_child(): Gtk.Accessible | null;
1795
1833
 
1796
1834
  /**
1797
1835
  * Retrieves the next accessible sibling of an accessible object
1798
1836
  * @returns the next accessible sibling
1837
+ * @since 4.10
1799
1838
  */
1800
1839
  get_next_accessible_sibling(): Gtk.Accessible | null;
1801
1840
 
@@ -1807,6 +1846,7 @@ export namespace FoundryAdw {
1807
1846
  * child widget, as is the case for {@link Gtk.Text} wrappers.
1808
1847
  * @param state platform state to query
1809
1848
  * @returns the value of state for the accessible
1849
+ * @since 4.10
1810
1850
  */
1811
1851
  get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
1812
1852
 
@@ -1840,6 +1880,7 @@ export namespace FoundryAdw {
1840
1880
  * object is the container widget.
1841
1881
  * @param parent the parent accessible object
1842
1882
  * @param next_sibling the sibling accessible object
1883
+ * @since 4.10
1843
1884
  */
1844
1885
  set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
1845
1886
 
@@ -1849,6 +1890,7 @@ export namespace FoundryAdw {
1849
1890
  * That might be useful when a new child of a custom accessible
1850
1891
  * is created, and it needs to be linked to a previous child.
1851
1892
  * @param new_sibling the new next accessible sibling to set
1893
+ * @since 4.10
1852
1894
  */
1853
1895
  update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
1854
1896
 
@@ -1859,6 +1901,7 @@ export namespace FoundryAdw {
1859
1901
  * have a platform state but are not widgets. Widgets handle platform
1860
1902
  * states automatically.
1861
1903
  * @param state the platform state to update
1904
+ * @since 4.18
1862
1905
  */
1863
1906
  update_platform_state(state: Gtk.AccessiblePlatformState): void;
1864
1907
 
@@ -1906,6 +1949,7 @@ export namespace FoundryAdw {
1906
1949
  *
1907
1950
  * It is left to the accessible implementation to define the scope
1908
1951
  * and uniqueness of the identifier.
1952
+ * @since 4.22
1909
1953
  * @virtual
1910
1954
  */
1911
1955
  vfunc_get_accessible_id(): string | null;
@@ -1914,12 +1958,14 @@ export namespace FoundryAdw {
1914
1958
  * Retrieves the accessible parent for an accessible object.
1915
1959
  *
1916
1960
  * This function returns `NULL` for top level widgets.
1961
+ * @since 4.10
1917
1962
  * @virtual
1918
1963
  */
1919
1964
  vfunc_get_accessible_parent(): Gtk.Accessible | null;
1920
1965
 
1921
1966
  /**
1922
1967
  * Retrieves the implementation for the given accessible object.
1968
+ * @since 4.10
1923
1969
  * @virtual
1924
1970
  */
1925
1971
  vfunc_get_at_context(): Gtk.ATContext | null;
@@ -1930,18 +1976,21 @@ export namespace FoundryAdw {
1930
1976
  * This functionality can be overridden by {@link Gtk.Accessible}
1931
1977
  * implementations, e.g. to get the bounds from an ignored
1932
1978
  * child widget.
1979
+ * @since 4.10
1933
1980
  * @virtual
1934
1981
  */
1935
1982
  vfunc_get_bounds(): [boolean, number, number, number, number];
1936
1983
 
1937
1984
  /**
1938
1985
  * Retrieves the first accessible child of an accessible object.
1986
+ * @since 4.10
1939
1987
  * @virtual
1940
1988
  */
1941
1989
  vfunc_get_first_accessible_child(): Gtk.Accessible | null;
1942
1990
 
1943
1991
  /**
1944
1992
  * Retrieves the next accessible sibling of an accessible object
1993
+ * @since 4.10
1945
1994
  * @virtual
1946
1995
  */
1947
1996
  vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
@@ -1953,6 +2002,7 @@ export namespace FoundryAdw {
1953
2002
  * implementations, e.g. to get platform state from an ignored
1954
2003
  * child widget, as is the case for {@link Gtk.Text} wrappers.
1955
2004
  * @param state platform state to query
2005
+ * @since 4.10
1956
2006
  * @virtual
1957
2007
  */
1958
2008
  vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
@@ -2228,6 +2278,7 @@ export namespace FoundryAdw {
2228
2278
  * does not interrupts the user's current screen reader output.
2229
2279
  * @param message the string to announce
2230
2280
  * @param priority the priority of the announcement
2281
+ * @since 4.14
2231
2282
  */
2232
2283
  announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
2233
2284
 
@@ -2240,6 +2291,7 @@ export namespace FoundryAdw {
2240
2291
  * It is left to the accessible implementation to define the scope
2241
2292
  * and uniqueness of the identifier.
2242
2293
  * @returns the accessible identifier
2294
+ * @since 4.22
2243
2295
  */
2244
2296
  get_accessible_id(): string | null;
2245
2297
 
@@ -2248,6 +2300,7 @@ export namespace FoundryAdw {
2248
2300
  *
2249
2301
  * This function returns `NULL` for top level widgets.
2250
2302
  * @returns the accessible parent
2303
+ * @since 4.10
2251
2304
  */
2252
2305
  get_accessible_parent(): Gtk.Accessible | null;
2253
2306
 
@@ -2260,6 +2313,7 @@ export namespace FoundryAdw {
2260
2313
  /**
2261
2314
  * Retrieves the implementation for the given accessible object.
2262
2315
  * @returns the accessible implementation object
2316
+ * @since 4.10
2263
2317
  */
2264
2318
  get_at_context(): Gtk.ATContext;
2265
2319
 
@@ -2270,18 +2324,21 @@ export namespace FoundryAdw {
2270
2324
  * implementations, e.g. to get the bounds from an ignored
2271
2325
  * child widget.
2272
2326
  * @returns true if the bounds are valid, and false otherwise
2327
+ * @since 4.10
2273
2328
  */
2274
2329
  get_bounds(): [boolean, number, number, number, number];
2275
2330
 
2276
2331
  /**
2277
2332
  * Retrieves the first accessible child of an accessible object.
2278
2333
  * @returns the first accessible child
2334
+ * @since 4.10
2279
2335
  */
2280
2336
  get_first_accessible_child(): Gtk.Accessible | null;
2281
2337
 
2282
2338
  /**
2283
2339
  * Retrieves the next accessible sibling of an accessible object
2284
2340
  * @returns the next accessible sibling
2341
+ * @since 4.10
2285
2342
  */
2286
2343
  get_next_accessible_sibling(): Gtk.Accessible | null;
2287
2344
 
@@ -2293,6 +2350,7 @@ export namespace FoundryAdw {
2293
2350
  * child widget, as is the case for {@link Gtk.Text} wrappers.
2294
2351
  * @param state platform state to query
2295
2352
  * @returns the value of state for the accessible
2353
+ * @since 4.10
2296
2354
  */
2297
2355
  get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
2298
2356
 
@@ -2326,6 +2384,7 @@ export namespace FoundryAdw {
2326
2384
  * object is the container widget.
2327
2385
  * @param parent the parent accessible object
2328
2386
  * @param next_sibling the sibling accessible object
2387
+ * @since 4.10
2329
2388
  */
2330
2389
  set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
2331
2390
 
@@ -2335,6 +2394,7 @@ export namespace FoundryAdw {
2335
2394
  * That might be useful when a new child of a custom accessible
2336
2395
  * is created, and it needs to be linked to a previous child.
2337
2396
  * @param new_sibling the new next accessible sibling to set
2397
+ * @since 4.10
2338
2398
  */
2339
2399
  update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
2340
2400
 
@@ -2345,6 +2405,7 @@ export namespace FoundryAdw {
2345
2405
  * have a platform state but are not widgets. Widgets handle platform
2346
2406
  * states automatically.
2347
2407
  * @param state the platform state to update
2408
+ * @since 4.18
2348
2409
  */
2349
2410
  update_platform_state(state: Gtk.AccessiblePlatformState): void;
2350
2411
 
@@ -2392,6 +2453,7 @@ export namespace FoundryAdw {
2392
2453
  *
2393
2454
  * It is left to the accessible implementation to define the scope
2394
2455
  * and uniqueness of the identifier.
2456
+ * @since 4.22
2395
2457
  * @virtual
2396
2458
  */
2397
2459
  vfunc_get_accessible_id(): string | null;
@@ -2400,12 +2462,14 @@ export namespace FoundryAdw {
2400
2462
  * Retrieves the accessible parent for an accessible object.
2401
2463
  *
2402
2464
  * This function returns `NULL` for top level widgets.
2465
+ * @since 4.10
2403
2466
  * @virtual
2404
2467
  */
2405
2468
  vfunc_get_accessible_parent(): Gtk.Accessible | null;
2406
2469
 
2407
2470
  /**
2408
2471
  * Retrieves the implementation for the given accessible object.
2472
+ * @since 4.10
2409
2473
  * @virtual
2410
2474
  */
2411
2475
  vfunc_get_at_context(): Gtk.ATContext | null;
@@ -2416,18 +2480,21 @@ export namespace FoundryAdw {
2416
2480
  * This functionality can be overridden by {@link Gtk.Accessible}
2417
2481
  * implementations, e.g. to get the bounds from an ignored
2418
2482
  * child widget.
2483
+ * @since 4.10
2419
2484
  * @virtual
2420
2485
  */
2421
2486
  vfunc_get_bounds(): [boolean, number, number, number, number];
2422
2487
 
2423
2488
  /**
2424
2489
  * Retrieves the first accessible child of an accessible object.
2490
+ * @since 4.10
2425
2491
  * @virtual
2426
2492
  */
2427
2493
  vfunc_get_first_accessible_child(): Gtk.Accessible | null;
2428
2494
 
2429
2495
  /**
2430
2496
  * Retrieves the next accessible sibling of an accessible object
2497
+ * @since 4.10
2431
2498
  * @virtual
2432
2499
  */
2433
2500
  vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
@@ -2439,6 +2506,7 @@ export namespace FoundryAdw {
2439
2506
  * implementations, e.g. to get platform state from an ignored
2440
2507
  * child widget, as is the case for {@link Gtk.Text} wrappers.
2441
2508
  * @param state platform state to query
2509
+ * @since 4.10
2442
2510
  * @virtual
2443
2511
  */
2444
2512
  vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
@@ -2641,8 +2709,14 @@ export namespace FoundryAdw {
2641
2709
  emit(signal: string, ...args: any[]): void;
2642
2710
 
2643
2711
  // Methods
2712
+ /**
2713
+ * @since 1.1
2714
+ */
2644
2715
  dup_root(): PathNavigator | null;
2645
2716
 
2717
+ /**
2718
+ * @since 1.1
2719
+ */
2646
2720
  get_selected_item(): PathNavigator | null;
2647
2721
 
2648
2722
  /**
@@ -2650,6 +2724,7 @@ export namespace FoundryAdw {
2650
2724
  * selected-item in the pathbar. This is useful for synthesized roots
2651
2725
  * that you always want to show.
2652
2726
  * @param root a root navigator
2727
+ * @since 1.1
2653
2728
  */
2654
2729
  set_root(root: PathNavigator | null): void;
2655
2730
 
@@ -2690,6 +2765,7 @@ export namespace FoundryAdw {
2690
2765
  * does not interrupts the user's current screen reader output.
2691
2766
  * @param message the string to announce
2692
2767
  * @param priority the priority of the announcement
2768
+ * @since 4.14
2693
2769
  */
2694
2770
  announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
2695
2771
 
@@ -2702,6 +2778,7 @@ export namespace FoundryAdw {
2702
2778
  * It is left to the accessible implementation to define the scope
2703
2779
  * and uniqueness of the identifier.
2704
2780
  * @returns the accessible identifier
2781
+ * @since 4.22
2705
2782
  */
2706
2783
  get_accessible_id(): string | null;
2707
2784
 
@@ -2710,6 +2787,7 @@ export namespace FoundryAdw {
2710
2787
  *
2711
2788
  * This function returns `NULL` for top level widgets.
2712
2789
  * @returns the accessible parent
2790
+ * @since 4.10
2713
2791
  */
2714
2792
  get_accessible_parent(): Gtk.Accessible | null;
2715
2793
 
@@ -2722,6 +2800,7 @@ export namespace FoundryAdw {
2722
2800
  /**
2723
2801
  * Retrieves the implementation for the given accessible object.
2724
2802
  * @returns the accessible implementation object
2803
+ * @since 4.10
2725
2804
  */
2726
2805
  get_at_context(): Gtk.ATContext;
2727
2806
 
@@ -2732,18 +2811,21 @@ export namespace FoundryAdw {
2732
2811
  * implementations, e.g. to get the bounds from an ignored
2733
2812
  * child widget.
2734
2813
  * @returns true if the bounds are valid, and false otherwise
2814
+ * @since 4.10
2735
2815
  */
2736
2816
  get_bounds(): [boolean, number, number, number, number];
2737
2817
 
2738
2818
  /**
2739
2819
  * Retrieves the first accessible child of an accessible object.
2740
2820
  * @returns the first accessible child
2821
+ * @since 4.10
2741
2822
  */
2742
2823
  get_first_accessible_child(): Gtk.Accessible | null;
2743
2824
 
2744
2825
  /**
2745
2826
  * Retrieves the next accessible sibling of an accessible object
2746
2827
  * @returns the next accessible sibling
2828
+ * @since 4.10
2747
2829
  */
2748
2830
  get_next_accessible_sibling(): Gtk.Accessible | null;
2749
2831
 
@@ -2755,6 +2837,7 @@ export namespace FoundryAdw {
2755
2837
  * child widget, as is the case for {@link Gtk.Text} wrappers.
2756
2838
  * @param state platform state to query
2757
2839
  * @returns the value of state for the accessible
2840
+ * @since 4.10
2758
2841
  */
2759
2842
  get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
2760
2843
 
@@ -2788,6 +2871,7 @@ export namespace FoundryAdw {
2788
2871
  * object is the container widget.
2789
2872
  * @param parent the parent accessible object
2790
2873
  * @param next_sibling the sibling accessible object
2874
+ * @since 4.10
2791
2875
  */
2792
2876
  set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
2793
2877
 
@@ -2797,6 +2881,7 @@ export namespace FoundryAdw {
2797
2881
  * That might be useful when a new child of a custom accessible
2798
2882
  * is created, and it needs to be linked to a previous child.
2799
2883
  * @param new_sibling the new next accessible sibling to set
2884
+ * @since 4.10
2800
2885
  */
2801
2886
  update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
2802
2887
 
@@ -2807,6 +2892,7 @@ export namespace FoundryAdw {
2807
2892
  * have a platform state but are not widgets. Widgets handle platform
2808
2893
  * states automatically.
2809
2894
  * @param state the platform state to update
2895
+ * @since 4.18
2810
2896
  */
2811
2897
  update_platform_state(state: Gtk.AccessiblePlatformState): void;
2812
2898
 
@@ -2854,6 +2940,7 @@ export namespace FoundryAdw {
2854
2940
  *
2855
2941
  * It is left to the accessible implementation to define the scope
2856
2942
  * and uniqueness of the identifier.
2943
+ * @since 4.22
2857
2944
  * @virtual
2858
2945
  */
2859
2946
  vfunc_get_accessible_id(): string | null;
@@ -2862,12 +2949,14 @@ export namespace FoundryAdw {
2862
2949
  * Retrieves the accessible parent for an accessible object.
2863
2950
  *
2864
2951
  * This function returns `NULL` for top level widgets.
2952
+ * @since 4.10
2865
2953
  * @virtual
2866
2954
  */
2867
2955
  vfunc_get_accessible_parent(): Gtk.Accessible | null;
2868
2956
 
2869
2957
  /**
2870
2958
  * Retrieves the implementation for the given accessible object.
2959
+ * @since 4.10
2871
2960
  * @virtual
2872
2961
  */
2873
2962
  vfunc_get_at_context(): Gtk.ATContext | null;
@@ -2878,18 +2967,21 @@ export namespace FoundryAdw {
2878
2967
  * This functionality can be overridden by {@link Gtk.Accessible}
2879
2968
  * implementations, e.g. to get the bounds from an ignored
2880
2969
  * child widget.
2970
+ * @since 4.10
2881
2971
  * @virtual
2882
2972
  */
2883
2973
  vfunc_get_bounds(): [boolean, number, number, number, number];
2884
2974
 
2885
2975
  /**
2886
2976
  * Retrieves the first accessible child of an accessible object.
2977
+ * @since 4.10
2887
2978
  * @virtual
2888
2979
  */
2889
2980
  vfunc_get_first_accessible_child(): Gtk.Accessible | null;
2890
2981
 
2891
2982
  /**
2892
2983
  * Retrieves the next accessible sibling of an accessible object
2984
+ * @since 4.10
2893
2985
  * @virtual
2894
2986
  */
2895
2987
  vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
@@ -2901,6 +2993,7 @@ export namespace FoundryAdw {
2901
2993
  * implementations, e.g. to get platform state from an ignored
2902
2994
  * child widget, as is the case for {@link Gtk.Text} wrappers.
2903
2995
  * @param state platform state to query
2996
+ * @since 4.10
2904
2997
  * @virtual
2905
2998
  */
2906
2999
  vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
@@ -3073,59 +3166,75 @@ export namespace FoundryAdw {
3073
3166
 
3074
3167
  // Virtual methods
3075
3168
  /**
3169
+ * @since 1.1
3076
3170
  * @virtual
3077
3171
  */
3078
3172
  vfunc_dup_icon(): Gio.Icon | null;
3079
3173
 
3080
3174
  /**
3081
3175
  * Gets an intent that can be used to navigate to this path navigator.
3176
+ * @since 1.1
3082
3177
  * @virtual
3083
3178
  */
3084
3179
  vfunc_dup_intent(): Foundry.Intent | null;
3085
3180
 
3086
3181
  /**
3182
+ * @since 1.1
3087
3183
  * @virtual
3088
3184
  */
3089
3185
  vfunc_dup_title(): string | null;
3090
3186
 
3091
3187
  /**
3188
+ * @since 1.1
3092
3189
  * @virtual
3093
3190
  */
3094
3191
  vfunc_find_parent(): Dex.Future;
3095
3192
 
3096
3193
  /**
3194
+ * @since 1.1
3097
3195
  * @virtual
3098
3196
  */
3099
3197
  vfunc_list_children(): Dex.Future;
3100
3198
 
3101
3199
  /**
3200
+ * @since 1.1
3102
3201
  * @virtual
3103
3202
  */
3104
3203
  vfunc_list_siblings(): Dex.Future;
3105
3204
 
3106
3205
  // Methods
3206
+ /**
3207
+ * @since 1.1
3208
+ */
3107
3209
  dup_icon(): Gio.Icon | null;
3108
3210
 
3109
3211
  /**
3110
3212
  * Gets an intent that can be used to navigate to this path navigator.
3111
3213
  * @returns a {@link Foundry.Intent} or `null`
3214
+ * @since 1.1
3112
3215
  */
3113
3216
  dup_intent(): Foundry.Intent | null;
3114
3217
 
3218
+ /**
3219
+ * @since 1.1
3220
+ */
3115
3221
  dup_title(): string | null;
3116
3222
 
3117
3223
  /**
3118
3224
  * @returns a {@link Dex.Future} that resolves to a {@link FoundryAdw.PathNavigator} or rejects with error.
3225
+ * @since 1.1
3119
3226
  */
3120
3227
  find_parent(): Dex.Future;
3121
3228
 
3122
3229
  /**
3123
3230
  * @returns a {@link Dex.Future} that resolves to a {@link FoundryAdw.PathNavigator} or rejects with error.
3231
+ * @since 1.1
3124
3232
  */
3125
3233
  list_children(): Dex.Future;
3126
3234
 
3127
3235
  /**
3128
3236
  * @returns a {@link Dex.Future} that resolves to a {@link FoundryAdw.PathNavigator} or rejects with error.
3237
+ * @since 1.1
3129
3238
  */
3130
3239
  list_siblings(): Dex.Future;
3131
3240
 
@@ -3137,6 +3246,7 @@ export namespace FoundryAdw {
3137
3246
  * The root navigator is placed at position 0 and `self` is placed in the last
3138
3247
  * position.
3139
3248
  * @returns a {@link Dex.Future} that resolves to a {@link Gio.ListModel} of {@link FoundryAdw.PathNavigator}.
3249
+ * @since 1.1
3140
3250
  */
3141
3251
  list_to_root(): Dex.Future;
3142
3252
  }
@@ -3338,6 +3448,7 @@ export namespace FoundryAdw {
3338
3448
  /**
3339
3449
  * Gets the symbol for this navigator.
3340
3450
  * @returns a {@link Foundry.Symbol}
3451
+ * @since 1.1
3341
3452
  */
3342
3453
  dup_symbol(): Foundry.Symbol;
3343
3454
  }
@@ -3599,6 +3710,7 @@ export namespace FoundryAdw {
3599
3710
  * Gets whether clicking on the expander activates the row instead of
3600
3711
  * expanding or collapsing it.
3601
3712
  * @returns `true` if clicks activate the row, `false` otherwise
3713
+ * @since 1.1
3602
3714
  */
3603
3715
  get_activate_on_click(): boolean;
3604
3716
 
@@ -3611,6 +3723,7 @@ export namespace FoundryAdw {
3611
3723
  /**
3612
3724
  * Gets the paintable for the row when expanded.
3613
3725
  * @returns a {@link Gdk.Paintable} or `null`
3726
+ * @since 1.1
3614
3727
  */
3615
3728
  get_expanded_paintable(): Gdk.Paintable | null;
3616
3729
 
@@ -3643,6 +3756,7 @@ export namespace FoundryAdw {
3643
3756
  /**
3644
3757
  * Gets the paintable for the row.
3645
3758
  * @returns a {@link Gdk.Paintable} or `null`
3759
+ * @since 1.1
3646
3760
  */
3647
3761
  get_paintable(): Gdk.Paintable | null;
3648
3762
 
@@ -3664,6 +3778,7 @@ export namespace FoundryAdw {
3664
3778
  * where rows are automatically expanded and collapsed as needed, and
3665
3779
  * clicks should instead activate the row.
3666
3780
  * @param activate_on_click whether clicks should activate the row
3781
+ * @since 1.1
3667
3782
  */
3668
3783
  set_activate_on_click(activate_on_click: boolean): void;
3669
3784
 
@@ -3683,6 +3798,7 @@ export namespace FoundryAdw {
3683
3798
  * If set, this paintable will be preferred over the expanded-icon/expanded-icon-name
3684
3799
  * properties.
3685
3800
  * @param expanded_paintable a {@link Gdk.Paintable} or `null`
3801
+ * @since 1.1
3686
3802
  */
3687
3803
  set_expanded_paintable(expanded_paintable: Gdk.Paintable | null): void;
3688
3804
 
@@ -3717,6 +3833,7 @@ export namespace FoundryAdw {
3717
3833
  * If set, this paintable will be preferred over the icon/icon-name
3718
3834
  * properties.
3719
3835
  * @param paintable a {@link Gdk.Paintable} or `null`
3836
+ * @since 1.1
3720
3837
  */
3721
3838
  set_paintable(paintable: Gdk.Paintable | null): void;
3722
3839
 
@@ -3772,6 +3889,7 @@ export namespace FoundryAdw {
3772
3889
  * does not interrupts the user's current screen reader output.
3773
3890
  * @param message the string to announce
3774
3891
  * @param priority the priority of the announcement
3892
+ * @since 4.14
3775
3893
  */
3776
3894
  announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
3777
3895
 
@@ -3784,6 +3902,7 @@ export namespace FoundryAdw {
3784
3902
  * It is left to the accessible implementation to define the scope
3785
3903
  * and uniqueness of the identifier.
3786
3904
  * @returns the accessible identifier
3905
+ * @since 4.22
3787
3906
  */
3788
3907
  get_accessible_id(): string | null;
3789
3908
 
@@ -3792,6 +3911,7 @@ export namespace FoundryAdw {
3792
3911
  *
3793
3912
  * This function returns `NULL` for top level widgets.
3794
3913
  * @returns the accessible parent
3914
+ * @since 4.10
3795
3915
  */
3796
3916
  get_accessible_parent(): Gtk.Accessible | null;
3797
3917
 
@@ -3804,6 +3924,7 @@ export namespace FoundryAdw {
3804
3924
  /**
3805
3925
  * Retrieves the implementation for the given accessible object.
3806
3926
  * @returns the accessible implementation object
3927
+ * @since 4.10
3807
3928
  */
3808
3929
  get_at_context(): Gtk.ATContext;
3809
3930
 
@@ -3814,18 +3935,21 @@ export namespace FoundryAdw {
3814
3935
  * implementations, e.g. to get the bounds from an ignored
3815
3936
  * child widget.
3816
3937
  * @returns true if the bounds are valid, and false otherwise
3938
+ * @since 4.10
3817
3939
  */
3818
3940
  get_bounds(): [boolean, number, number, number, number];
3819
3941
 
3820
3942
  /**
3821
3943
  * Retrieves the first accessible child of an accessible object.
3822
3944
  * @returns the first accessible child
3945
+ * @since 4.10
3823
3946
  */
3824
3947
  get_first_accessible_child(): Gtk.Accessible | null;
3825
3948
 
3826
3949
  /**
3827
3950
  * Retrieves the next accessible sibling of an accessible object
3828
3951
  * @returns the next accessible sibling
3952
+ * @since 4.10
3829
3953
  */
3830
3954
  get_next_accessible_sibling(): Gtk.Accessible | null;
3831
3955
 
@@ -3837,6 +3961,7 @@ export namespace FoundryAdw {
3837
3961
  * child widget, as is the case for {@link Gtk.Text} wrappers.
3838
3962
  * @param state platform state to query
3839
3963
  * @returns the value of state for the accessible
3964
+ * @since 4.10
3840
3965
  */
3841
3966
  get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
3842
3967
 
@@ -3870,6 +3995,7 @@ export namespace FoundryAdw {
3870
3995
  * object is the container widget.
3871
3996
  * @param parent the parent accessible object
3872
3997
  * @param next_sibling the sibling accessible object
3998
+ * @since 4.10
3873
3999
  */
3874
4000
  set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
3875
4001
 
@@ -3879,6 +4005,7 @@ export namespace FoundryAdw {
3879
4005
  * That might be useful when a new child of a custom accessible
3880
4006
  * is created, and it needs to be linked to a previous child.
3881
4007
  * @param new_sibling the new next accessible sibling to set
4008
+ * @since 4.10
3882
4009
  */
3883
4010
  update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
3884
4011
 
@@ -3889,6 +4016,7 @@ export namespace FoundryAdw {
3889
4016
  * have a platform state but are not widgets. Widgets handle platform
3890
4017
  * states automatically.
3891
4018
  * @param state the platform state to update
4019
+ * @since 4.18
3892
4020
  */
3893
4021
  update_platform_state(state: Gtk.AccessiblePlatformState): void;
3894
4022
 
@@ -3936,6 +4064,7 @@ export namespace FoundryAdw {
3936
4064
  *
3937
4065
  * It is left to the accessible implementation to define the scope
3938
4066
  * and uniqueness of the identifier.
4067
+ * @since 4.22
3939
4068
  * @virtual
3940
4069
  */
3941
4070
  vfunc_get_accessible_id(): string | null;
@@ -3944,12 +4073,14 @@ export namespace FoundryAdw {
3944
4073
  * Retrieves the accessible parent for an accessible object.
3945
4074
  *
3946
4075
  * This function returns `NULL` for top level widgets.
4076
+ * @since 4.10
3947
4077
  * @virtual
3948
4078
  */
3949
4079
  vfunc_get_accessible_parent(): Gtk.Accessible | null;
3950
4080
 
3951
4081
  /**
3952
4082
  * Retrieves the implementation for the given accessible object.
4083
+ * @since 4.10
3953
4084
  * @virtual
3954
4085
  */
3955
4086
  vfunc_get_at_context(): Gtk.ATContext | null;
@@ -3960,18 +4091,21 @@ export namespace FoundryAdw {
3960
4091
  * This functionality can be overridden by {@link Gtk.Accessible}
3961
4092
  * implementations, e.g. to get the bounds from an ignored
3962
4093
  * child widget.
4094
+ * @since 4.10
3963
4095
  * @virtual
3964
4096
  */
3965
4097
  vfunc_get_bounds(): [boolean, number, number, number, number];
3966
4098
 
3967
4099
  /**
3968
4100
  * Retrieves the first accessible child of an accessible object.
4101
+ * @since 4.10
3969
4102
  * @virtual
3970
4103
  */
3971
4104
  vfunc_get_first_accessible_child(): Gtk.Accessible | null;
3972
4105
 
3973
4106
  /**
3974
4107
  * Retrieves the next accessible sibling of an accessible object
4108
+ * @since 4.10
3975
4109
  * @virtual
3976
4110
  */
3977
4111
  vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
@@ -3983,6 +4117,7 @@ export namespace FoundryAdw {
3983
4117
  * implementations, e.g. to get platform state from an ignored
3984
4118
  * child widget, as is the case for {@link Gtk.Text} wrappers.
3985
4119
  * @param state platform state to query
4120
+ * @since 4.10
3986
4121
  * @virtual
3987
4122
  */
3988
4123
  vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
@@ -4325,6 +4460,7 @@ export namespace FoundryAdw {
4325
4460
  * Find the first page matching `page_type`.
4326
4461
  * @param page_type
4327
4462
  * @returns the first page that matches, or `null`
4463
+ * @since 1.1
4328
4464
  */
4329
4465
  find_page_typed(page_type: GObject.GType): Page | null;
4330
4466
 
@@ -4332,6 +4468,7 @@ export namespace FoundryAdw {
4332
4468
  * Find the first panel matching `id`.
4333
4469
  * @param id the panel ID to search for
4334
4470
  * @returns the first panel that matches, or `null`
4471
+ * @since 1.1
4335
4472
  */
4336
4473
  find_panel_by_id(id: string): Panel | null;
4337
4474
 
@@ -4352,6 +4489,7 @@ export namespace FoundryAdw {
4352
4489
  /**
4353
4490
  * Gets the auxiliary placeholder widget.
4354
4491
  * @returns the auxiliary placeholder widget
4492
+ * @since 1.1
4355
4493
  */
4356
4494
  get_auxiliary_placeholder(): Gtk.Widget | null;
4357
4495
 
@@ -4370,6 +4508,7 @@ export namespace FoundryAdw {
4370
4508
  /**
4371
4509
  * Gets if the active page has an auxiliary widget.
4372
4510
  * @returns `true` if there is an auxiliary page to display.
4511
+ * @since 1.1
4373
4512
  */
4374
4513
  get_has_auxiliary(): boolean;
4375
4514
 
@@ -4409,6 +4548,7 @@ export namespace FoundryAdw {
4409
4548
  /**
4410
4549
  * Sets the auxiliary placeholder widget.
4411
4550
  * @param placeholder the auxiliary placeholder widget
4551
+ * @since 1.1
4412
4552
  */
4413
4553
  set_auxiliary_placeholder(placeholder: Gtk.Widget | null): void;
4414
4554
 
@@ -4492,6 +4632,7 @@ export namespace FoundryAdw {
4492
4632
  * does not interrupts the user's current screen reader output.
4493
4633
  * @param message the string to announce
4494
4634
  * @param priority the priority of the announcement
4635
+ * @since 4.14
4495
4636
  */
4496
4637
  announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
4497
4638
 
@@ -4504,6 +4645,7 @@ export namespace FoundryAdw {
4504
4645
  * It is left to the accessible implementation to define the scope
4505
4646
  * and uniqueness of the identifier.
4506
4647
  * @returns the accessible identifier
4648
+ * @since 4.22
4507
4649
  */
4508
4650
  get_accessible_id(): string | null;
4509
4651
 
@@ -4512,6 +4654,7 @@ export namespace FoundryAdw {
4512
4654
  *
4513
4655
  * This function returns `NULL` for top level widgets.
4514
4656
  * @returns the accessible parent
4657
+ * @since 4.10
4515
4658
  */
4516
4659
  get_accessible_parent(): Gtk.Accessible | null;
4517
4660
 
@@ -4524,6 +4667,7 @@ export namespace FoundryAdw {
4524
4667
  /**
4525
4668
  * Retrieves the implementation for the given accessible object.
4526
4669
  * @returns the accessible implementation object
4670
+ * @since 4.10
4527
4671
  */
4528
4672
  get_at_context(): Gtk.ATContext;
4529
4673
 
@@ -4534,18 +4678,21 @@ export namespace FoundryAdw {
4534
4678
  * implementations, e.g. to get the bounds from an ignored
4535
4679
  * child widget.
4536
4680
  * @returns true if the bounds are valid, and false otherwise
4681
+ * @since 4.10
4537
4682
  */
4538
4683
  get_bounds(): [boolean, number, number, number, number];
4539
4684
 
4540
4685
  /**
4541
4686
  * Retrieves the first accessible child of an accessible object.
4542
4687
  * @returns the first accessible child
4688
+ * @since 4.10
4543
4689
  */
4544
4690
  get_first_accessible_child(): Gtk.Accessible | null;
4545
4691
 
4546
4692
  /**
4547
4693
  * Retrieves the next accessible sibling of an accessible object
4548
4694
  * @returns the next accessible sibling
4695
+ * @since 4.10
4549
4696
  */
4550
4697
  get_next_accessible_sibling(): Gtk.Accessible | null;
4551
4698
 
@@ -4557,6 +4704,7 @@ export namespace FoundryAdw {
4557
4704
  * child widget, as is the case for {@link Gtk.Text} wrappers.
4558
4705
  * @param state platform state to query
4559
4706
  * @returns the value of state for the accessible
4707
+ * @since 4.10
4560
4708
  */
4561
4709
  get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
4562
4710
 
@@ -4590,6 +4738,7 @@ export namespace FoundryAdw {
4590
4738
  * object is the container widget.
4591
4739
  * @param parent the parent accessible object
4592
4740
  * @param next_sibling the sibling accessible object
4741
+ * @since 4.10
4593
4742
  */
4594
4743
  set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
4595
4744
 
@@ -4599,6 +4748,7 @@ export namespace FoundryAdw {
4599
4748
  * That might be useful when a new child of a custom accessible
4600
4749
  * is created, and it needs to be linked to a previous child.
4601
4750
  * @param new_sibling the new next accessible sibling to set
4751
+ * @since 4.10
4602
4752
  */
4603
4753
  update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
4604
4754
 
@@ -4609,6 +4759,7 @@ export namespace FoundryAdw {
4609
4759
  * have a platform state but are not widgets. Widgets handle platform
4610
4760
  * states automatically.
4611
4761
  * @param state the platform state to update
4762
+ * @since 4.18
4612
4763
  */
4613
4764
  update_platform_state(state: Gtk.AccessiblePlatformState): void;
4614
4765
 
@@ -4656,6 +4807,7 @@ export namespace FoundryAdw {
4656
4807
  *
4657
4808
  * It is left to the accessible implementation to define the scope
4658
4809
  * and uniqueness of the identifier.
4810
+ * @since 4.22
4659
4811
  * @virtual
4660
4812
  */
4661
4813
  vfunc_get_accessible_id(): string | null;
@@ -4664,12 +4816,14 @@ export namespace FoundryAdw {
4664
4816
  * Retrieves the accessible parent for an accessible object.
4665
4817
  *
4666
4818
  * This function returns `NULL` for top level widgets.
4819
+ * @since 4.10
4667
4820
  * @virtual
4668
4821
  */
4669
4822
  vfunc_get_accessible_parent(): Gtk.Accessible | null;
4670
4823
 
4671
4824
  /**
4672
4825
  * Retrieves the implementation for the given accessible object.
4826
+ * @since 4.10
4673
4827
  * @virtual
4674
4828
  */
4675
4829
  vfunc_get_at_context(): Gtk.ATContext | null;
@@ -4680,18 +4834,21 @@ export namespace FoundryAdw {
4680
4834
  * This functionality can be overridden by {@link Gtk.Accessible}
4681
4835
  * implementations, e.g. to get the bounds from an ignored
4682
4836
  * child widget.
4837
+ * @since 4.10
4683
4838
  * @virtual
4684
4839
  */
4685
4840
  vfunc_get_bounds(): [boolean, number, number, number, number];
4686
4841
 
4687
4842
  /**
4688
4843
  * Retrieves the first accessible child of an accessible object.
4844
+ * @since 4.10
4689
4845
  * @virtual
4690
4846
  */
4691
4847
  vfunc_get_first_accessible_child(): Gtk.Accessible | null;
4692
4848
 
4693
4849
  /**
4694
4850
  * Retrieves the next accessible sibling of an accessible object
4851
+ * @since 4.10
4695
4852
  * @virtual
4696
4853
  */
4697
4854
  vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
@@ -4703,6 +4860,7 @@ export namespace FoundryAdw {
4703
4860
  * implementations, e.g. to get platform state from an ignored
4704
4861
  * child widget, as is the case for {@link Gtk.Text} wrappers.
4705
4862
  * @param state platform state to query
4863
+ * @since 4.10
4706
4864
  * @virtual
4707
4865
  */
4708
4866
  vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/foundryadw-1",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "GJS TypeScript type definitions for FoundryAdw-1",
5
5
  "type": "module",
6
6
  "module": "foundryadw-1.js",
@@ -36,29 +36,29 @@
36
36
  "test": "tsc --project tsconfig.json"
37
37
  },
38
38
  "dependencies": {
39
- "@girs/gjs": "^4.3.0",
40
- "@girs/peas-2": "^4.3.0",
41
- "@girs/gio-2.0": "^4.3.0",
42
- "@girs/gobject-2.0": "^4.3.0",
43
- "@girs/glib-2.0": "^4.3.0",
44
- "@girs/gmodule-2.0": "^4.3.0",
45
- "@girs/gtk-4.0": "^4.3.0",
46
- "@girs/gsk-4.0": "^4.3.0",
47
- "@girs/graphene-1.0": "^4.3.0",
48
- "@girs/gdk-4.0": "^4.3.0",
49
- "@girs/cairo-1.0": "^4.3.0",
50
- "@girs/pangocairo-1.0": "^4.3.0",
51
- "@girs/pango-1.0": "^4.3.0",
52
- "@girs/harfbuzz-0.0": "^4.3.0",
53
- "@girs/freetype2-2.0": "^4.3.0",
54
- "@girs/gdkpixbuf-2.0": "^4.3.0",
55
- "@girs/foundrygtk-1": "^4.3.0",
56
- "@girs/json-1.0": "^4.3.0",
57
- "@girs/gtksource-5": "^4.3.0",
58
- "@girs/foundry-1": "^4.3.0",
59
- "@girs/dex-1": "^4.3.0",
60
- "@girs/giounix-2.0": "^4.3.0",
61
- "@girs/adw-1": "^4.3.0" },
39
+ "@girs/gjs": "^4.4.0",
40
+ "@girs/peas-2": "^4.4.0",
41
+ "@girs/gio-2.0": "^4.4.0",
42
+ "@girs/gobject-2.0": "^4.4.0",
43
+ "@girs/glib-2.0": "^4.4.0",
44
+ "@girs/gmodule-2.0": "^4.4.0",
45
+ "@girs/gtk-4.0": "^4.4.0",
46
+ "@girs/gsk-4.0": "^4.4.0",
47
+ "@girs/graphene-1.0": "^4.4.0",
48
+ "@girs/gdk-4.0": "^4.4.0",
49
+ "@girs/cairo-1.0": "^4.4.0",
50
+ "@girs/pangocairo-1.0": "^4.4.0",
51
+ "@girs/pango-1.0": "^4.4.0",
52
+ "@girs/harfbuzz-0.0": "^4.4.0",
53
+ "@girs/freetype2-2.0": "^4.4.0",
54
+ "@girs/gdkpixbuf-2.0": "^4.4.0",
55
+ "@girs/foundrygtk-1": "^4.4.0",
56
+ "@girs/json-1.0": "^4.4.0",
57
+ "@girs/gtksource-5": "^4.4.0",
58
+ "@girs/foundry-1": "^4.4.0",
59
+ "@girs/dex-1": "^4.4.0",
60
+ "@girs/giounix-2.0": "^4.4.0",
61
+ "@girs/adw-1": "^4.4.0" },
62
62
  "devDependencies": {
63
63
  "typescript": "*"
64
64
  },