@girs/builder-1.0 1.0.0-3.2.6 → 1.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/builder-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Builder-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for Builder-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
 
11
11
  ## Install
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/builder-1.0.d.cts CHANGED
@@ -136,7 +136,6 @@ export interface Document {
136
136
  // Own properties of Builder-1.0.Builder.Document
137
137
 
138
138
  readonly modified: boolean
139
- readonly read_only: boolean
140
139
  readonly readOnly: boolean
141
140
  readonly title: string | null
142
141
 
@@ -146,7 +145,7 @@ export interface Document {
146
145
  get_modified(): boolean
147
146
  get_mtime(mtime: GLib.TimeVal): boolean
148
147
  get_read_only(): boolean
149
- get_title(): string | null
148
+ get_title(): string
150
149
  is_untitled(): boolean
151
150
  save_as_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
152
151
 
@@ -183,7 +182,7 @@ export interface Document {
183
182
  vfunc_get_modified(): boolean
184
183
  vfunc_get_mtime(mtime: GLib.TimeVal): boolean
185
184
  vfunc_get_read_only(): boolean
186
- vfunc_get_title(): string | null
185
+ vfunc_get_title(): string
187
186
  vfunc_is_untitled(): boolean
188
187
  vfunc_save_as_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
189
188
  vfunc_save_as_finish(result: Gio.AsyncResult): boolean
@@ -239,7 +238,7 @@ export interface EditorViewAddin {
239
238
 
240
239
  // Own virtual methods of Builder-1.0.Builder.EditorViewAddin
241
240
 
242
- vfunc_language_changed(language_id: string | null): void
241
+ vfunc_language_changed(language_id: string): void
243
242
  vfunc_load(view: EditorView): void
244
243
  vfunc_unload(view: EditorView): void
245
244
 
@@ -277,8 +276,8 @@ export interface Application extends Gio.ActionGroup, Gio.ActionMap {
277
276
 
278
277
  // Owm methods of Builder-1.0.Builder.Application
279
278
 
280
- get_argv0(): string | null
281
- get_keybindings_mode(): string | null
279
+ get_argv0(): string
280
+ get_keybindings_mode(): string
282
281
  get_started_at(): GLib.DateTime
283
282
  /**
284
283
  * Asynchronously requests a #GDBusProxy to a service provided in a worker
@@ -294,7 +293,7 @@ export interface Application extends Gio.ActionGroup, Gio.ActionMap {
294
293
  * @param cancellable A #GCancellable or %NULL.
295
294
  * @param callback A #GAsyncReadyCallback or %NULL.
296
295
  */
297
- get_worker_async(plugin_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
296
+ get_worker_async(plugin_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
298
297
 
299
298
  // Overloads of get_worker_async
300
299
 
@@ -314,7 +313,7 @@ export interface Application extends Gio.ActionGroup, Gio.ActionMap {
314
313
  * @param cancellable A #GCancellable or %NULL.
315
314
  * @returns A Promise of: A #GDBusProxy or %NULL.
316
315
  */
317
- get_worker_async(plugin_name: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.DBusProxy>
316
+ get_worker_async(plugin_name: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.DBusProxy>
318
317
  /**
319
318
  * Completes an asynchronous request to get a proxy to a worker process.
320
319
  * @param result A #GAsyncResult
@@ -440,7 +439,7 @@ export interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
440
439
  * @param child the child widget
441
440
  * @param child_property the name of a child property installed on the class of `container`
442
441
  */
443
- child_notify(child: Gtk.Widget, child_property: string | null): void
442
+ child_notify(child: Gtk.Widget, child_property: string): void
444
443
 
445
444
  // Overloads of child_notify
446
445
 
@@ -454,7 +453,7 @@ export interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
454
453
  * Also see gtk_container_child_notify().
455
454
  * @param child_property the name of a child property installed on the class of `widget’`s parent
456
455
  */
457
- child_notify(child_property: string | null): void
456
+ child_notify(child_property: string): void
458
457
  /**
459
458
  * Emits a #GtkWidget::child-notify signal for the
460
459
  * [child property][child-properties] `child_property`
@@ -465,7 +464,7 @@ export interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
465
464
  * Also see gtk_container_child_notify().
466
465
  * @param child_property the name of a child property installed on the class of `widget’`s parent
467
466
  */
468
- child_notify(child_property: string | null): void
467
+ child_notify(child_property: string): void
469
468
 
470
469
  // Own signals of Builder-1.0.Builder.EditorView
471
470
 
@@ -695,7 +694,7 @@ export class MenuExtension extends GObject.Object {
695
694
  constructor(config?: MenuExtension.ConstructorProperties)
696
695
  constructor(menu: Gio.Menu)
697
696
  static new(menu: Gio.Menu): MenuExtension
698
- static new_for_section(menu: Gio.Menu, section: string | null): MenuExtension
697
+ static new_for_section(menu: Gio.Menu, section: string): MenuExtension
699
698
  _init(config?: MenuExtension.ConstructorProperties): void
700
699
  }
701
700
 
@@ -726,7 +725,6 @@ export module Tree {
726
725
 
727
726
  root?: TreeNode | null
728
727
  selection?: TreeNode | null
729
- show_icons?: boolean | null
730
728
  showIcons?: boolean | null
731
729
  }
732
730
 
@@ -738,7 +736,6 @@ export interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
738
736
 
739
737
  root: TreeNode
740
738
  selection: TreeNode
741
- show_icons: boolean
742
739
  showIcons: boolean
743
740
 
744
741
  // Own fields of Builder-1.0.Builder.Tree
@@ -824,7 +821,7 @@ export interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
824
821
  * @param child the child widget
825
822
  * @param child_property the name of a child property installed on the class of `container`
826
823
  */
827
- child_notify(child: Gtk.Widget, child_property: string | null): void
824
+ child_notify(child: Gtk.Widget, child_property: string): void
828
825
 
829
826
  // Overloads of child_notify
830
827
 
@@ -838,7 +835,7 @@ export interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
838
835
  * Also see gtk_container_child_notify().
839
836
  * @param child_property the name of a child property installed on the class of `widget’`s parent
840
837
  */
841
- child_notify(child_property: string | null): void
838
+ child_notify(child_property: string): void
842
839
  /**
843
840
  * Emits a #GtkWidget::child-notify signal for the
844
841
  * [child property][child-properties] `child_property`
@@ -849,11 +846,11 @@ export interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
849
846
  * Also see gtk_container_child_notify().
850
847
  * @param child_property the name of a child property installed on the class of `widget’`s parent
851
848
  */
852
- child_notify(child_property: string | null): void
849
+ child_notify(child_property: string): void
853
850
 
854
851
  // Own virtual methods of Builder-1.0.Builder.Tree
855
852
 
856
- vfunc_action(action_group: string | null, action_name: string | null, param: string | null): void
853
+ vfunc_action(action_group: string, action_name: string, param: string): void
857
854
  vfunc_populate_popup(widget: Gtk.Widget): void
858
855
 
859
856
  // Own signals of Builder-1.0.Builder.Tree
@@ -1243,11 +1240,11 @@ export module TreeNode {
1243
1240
  * and simply hide the arrow if there were in fact no children (upon
1244
1241
  * expansion).
1245
1242
  */
1246
- children_possible?: boolean | null
1243
+ childrenPossible?: boolean | null
1247
1244
  /**
1248
1245
  * An icon-name to display on the row.
1249
1246
  */
1250
- icon_name?: string | null
1247
+ iconName?: string | null
1251
1248
  /**
1252
1249
  * An optional #GObject to associate with the node.
1253
1250
  */
@@ -1260,27 +1257,6 @@ export module TreeNode {
1260
1257
  * The tree the node belongs to.
1261
1258
  */
1262
1259
  tree?: Tree | null
1263
- use_dim_label?: boolean | null
1264
- /**
1265
- * If the "text" property includes #GMarkup.
1266
- */
1267
- use_markup?: boolean | null
1268
- /**
1269
- * This property allows for more lazy loading of nodes.
1270
- *
1271
- * When a node becomes visible, we normally build it's children nodes
1272
- * so that we know if we need an expansion arrow. However, that can
1273
- * be expensive when rendering directories with lots of subdirectories.
1274
- *
1275
- * Using this, you can always show an arrow without building the children
1276
- * and simply hide the arrow if there were in fact no children (upon
1277
- * expansion).
1278
- */
1279
- childrenPossible?: boolean | null
1280
- /**
1281
- * An icon-name to display on the row.
1282
- */
1283
- iconName?: string | null
1284
1260
  useDimLabel?: boolean | null
1285
1261
  /**
1286
1262
  * If the "text" property includes #GMarkup.
@@ -1294,18 +1270,6 @@ export interface TreeNode {
1294
1270
 
1295
1271
  // Own properties of Builder-1.0.Builder.TreeNode
1296
1272
 
1297
- /**
1298
- * This property allows for more lazy loading of nodes.
1299
- *
1300
- * When a node becomes visible, we normally build it's children nodes
1301
- * so that we know if we need an expansion arrow. However, that can
1302
- * be expensive when rendering directories with lots of subdirectories.
1303
- *
1304
- * Using this, you can always show an arrow without building the children
1305
- * and simply hide the arrow if there were in fact no children (upon
1306
- * expansion).
1307
- */
1308
- children_possible: boolean
1309
1273
  /**
1310
1274
  * This property allows for more lazy loading of nodes.
1311
1275
  *
@@ -1318,10 +1282,6 @@ export interface TreeNode {
1318
1282
  * expansion).
1319
1283
  */
1320
1284
  childrenPossible: boolean
1321
- /**
1322
- * An icon-name to display on the row.
1323
- */
1324
- icon_name: string | null
1325
1285
  /**
1326
1286
  * An icon-name to display on the row.
1327
1287
  */
@@ -1342,12 +1302,7 @@ export interface TreeNode {
1342
1302
  * The tree the node belongs to.
1343
1303
  */
1344
1304
  tree: Tree
1345
- use_dim_label: boolean
1346
1305
  useDimLabel: boolean
1347
- /**
1348
- * If the "text" property includes #GMarkup.
1349
- */
1350
- use_markup: boolean
1351
1306
  /**
1352
1307
  * If the "text" property includes #GMarkup.
1353
1308
  */
@@ -1368,7 +1323,7 @@ export interface TreeNode {
1368
1323
  /**
1369
1324
  * Fetches the icon-name of the icon to display, or NULL for no icon.
1370
1325
  */
1371
- get_icon_name(): string | null
1326
+ get_icon_name(): string
1372
1327
  /**
1373
1328
  * Gets a #GObject for the node, if one was set.
1374
1329
  * @returns A #GObject or %NULL.
@@ -1385,7 +1340,7 @@ export interface TreeNode {
1385
1340
  * @returns A #GtkTreePath if successful; otherwise %NULL.
1386
1341
  */
1387
1342
  get_path(): Gtk.TreePath | null
1388
- get_text(): string | null
1343
+ get_text(): string
1389
1344
  /**
1390
1345
  * Fetches the #GbTree instance that owns the node.
1391
1346
  * @returns A #GbTree.
@@ -1423,7 +1378,7 @@ export interface TreeNode {
1423
1378
  * cell of the GbTree.
1424
1379
  * @param icon_name The icon name.
1425
1380
  */
1426
- set_icon_name(icon_name: string | null): void
1381
+ set_icon_name(icon_name: string): void
1427
1382
  /**
1428
1383
  * An optional object to associate with the node. This is handy to save needing
1429
1384
  * to subclass the #GbTreeNode class.
@@ -1435,7 +1390,7 @@ export interface TreeNode {
1435
1390
  * cell of the GbTree.
1436
1391
  * @param text The node text.
1437
1392
  */
1438
- set_text(text: string | null): void
1393
+ set_text(text: string): void
1439
1394
  set_use_dim_label(use_dim_label: boolean): void
1440
1395
  set_use_markup(use_markup: boolean): void
1441
1396
  show_popover(popover: Gtk.Popover): void
@@ -1512,11 +1467,9 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
1512
1467
 
1513
1468
  // Own properties of Builder-1.0.Builder.View
1514
1469
 
1515
- readonly can_split: boolean
1516
1470
  readonly canSplit: boolean
1517
1471
  readonly document: Document
1518
1472
  readonly modified: boolean
1519
- readonly special_title: string | null
1520
1473
  readonly specialTitle: string | null
1521
1474
  readonly title: string | null
1522
1475
 
@@ -1554,8 +1507,8 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
1554
1507
  get_document(): Document
1555
1508
  get_menu(): Gio.Menu
1556
1509
  get_modified(): boolean
1557
- get_special_title(): string | null
1558
- get_title(): string | null
1510
+ get_special_title(): string
1511
+ get_title(): string
1559
1512
  navigate_to(location: Ide.SourceLocation): void
1560
1513
  set_back_forward_list(back_forward_list: Ide.BackForwardList): void
1561
1514
  /**
@@ -1577,7 +1530,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
1577
1530
  * @param child the child widget
1578
1531
  * @param child_property the name of a child property installed on the class of `container`
1579
1532
  */
1580
- child_notify(child: Gtk.Widget, child_property: string | null): void
1533
+ child_notify(child: Gtk.Widget, child_property: string): void
1581
1534
 
1582
1535
  // Overloads of child_notify
1583
1536
 
@@ -1591,7 +1544,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
1591
1544
  * Also see gtk_container_child_notify().
1592
1545
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1593
1546
  */
1594
- child_notify(child_property: string | null): void
1547
+ child_notify(child_property: string): void
1595
1548
  /**
1596
1549
  * Emits a #GtkWidget::child-notify signal for the
1597
1550
  * [child property][child-properties] `child_property`
@@ -1602,7 +1555,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
1602
1555
  * Also see gtk_container_child_notify().
1603
1556
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1604
1557
  */
1605
- child_notify(child_property: string | null): void
1558
+ child_notify(child_property: string): void
1606
1559
 
1607
1560
  // Own virtual methods of Builder-1.0.Builder.View
1608
1561
 
@@ -1632,8 +1585,8 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
1632
1585
  */
1633
1586
  vfunc_get_document(): Document
1634
1587
  vfunc_get_modified(): boolean
1635
- vfunc_get_special_title(): string | null
1636
- vfunc_get_title(): string | null
1588
+ vfunc_get_special_title(): string
1589
+ vfunc_get_title(): string
1637
1590
  vfunc_navigate_to(location: Ide.SourceLocation): void
1638
1591
  vfunc_set_back_forward_list(back_forward_list: Ide.BackForwardList): void
1639
1592
  /**
@@ -1862,7 +1815,7 @@ export interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1862
1815
  * @param child the child widget
1863
1816
  * @param child_property the name of a child property installed on the class of `container`
1864
1817
  */
1865
- child_notify(child: Gtk.Widget, child_property: string | null): void
1818
+ child_notify(child: Gtk.Widget, child_property: string): void
1866
1819
 
1867
1820
  // Overloads of child_notify
1868
1821
 
@@ -1876,7 +1829,7 @@ export interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1876
1829
  * Also see gtk_container_child_notify().
1877
1830
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1878
1831
  */
1879
- child_notify(child_property: string | null): void
1832
+ child_notify(child_property: string): void
1880
1833
  /**
1881
1834
  * Emits a #GtkWidget::child-notify signal for the
1882
1835
  * [child property][child-properties] `child_property`
@@ -1887,7 +1840,7 @@ export interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1887
1840
  * Also see gtk_container_child_notify().
1888
1841
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1889
1842
  */
1890
- child_notify(child_property: string | null): void
1843
+ child_notify(child_property: string): void
1891
1844
 
1892
1845
  // Class property signals of Builder-1.0.Builder.ViewGrid
1893
1846
 
@@ -2063,7 +2016,6 @@ export module ViewStack {
2063
2016
 
2064
2017
  // Own constructor properties of Builder-1.0.Builder.ViewStack
2065
2018
 
2066
- active_view?: View | null
2067
2019
  activeView?: View | null
2068
2020
  }
2069
2021
 
@@ -2073,7 +2025,6 @@ export interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2073
2025
 
2074
2026
  // Own properties of Builder-1.0.Builder.ViewStack
2075
2027
 
2076
- active_view: View
2077
2028
  activeView: View
2078
2029
 
2079
2030
  // Owm methods of Builder-1.0.Builder.ViewStack
@@ -2121,7 +2072,7 @@ export interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2121
2072
  * @param child the child widget
2122
2073
  * @param child_property the name of a child property installed on the class of `container`
2123
2074
  */
2124
- child_notify(child: Gtk.Widget, child_property: string | null): void
2075
+ child_notify(child: Gtk.Widget, child_property: string): void
2125
2076
 
2126
2077
  // Overloads of child_notify
2127
2078
 
@@ -2135,7 +2086,7 @@ export interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2135
2086
  * Also see gtk_container_child_notify().
2136
2087
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2137
2088
  */
2138
- child_notify(child_property: string | null): void
2089
+ child_notify(child_property: string): void
2139
2090
  /**
2140
2091
  * Emits a #GtkWidget::child-notify signal for the
2141
2092
  * [child property][child-properties] `child_property`
@@ -2146,7 +2097,7 @@ export interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2146
2097
  * Also see gtk_container_child_notify().
2147
2098
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2148
2099
  */
2149
- child_notify(child_property: string | null): void
2100
+ child_notify(child_property: string): void
2150
2101
 
2151
2102
  // Own signals of Builder-1.0.Builder.ViewStack
2152
2103
 
@@ -2342,7 +2293,6 @@ export interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Ac
2342
2293
 
2343
2294
  // Own properties of Builder-1.0.Builder.Workbench
2344
2295
 
2345
- readonly active_view: View
2346
2296
  readonly activeView: View
2347
2297
  readonly building: boolean
2348
2298
  /**
@@ -2390,7 +2340,7 @@ export interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Ac
2390
2340
  get_view_grid(): Gtk.Widget
2391
2341
  get_workspace(): Gtk.Widget
2392
2342
  open(file: Gio.File): void
2393
- open_uri_list(uri_list: string | null): void
2343
+ open_uri_list(uri_list: string): void
2394
2344
  open_with_editor(file: Gio.File): void
2395
2345
  reveal_file(file: Gio.File): void
2396
2346
  /**
@@ -2434,7 +2384,7 @@ export interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Ac
2434
2384
  * @param child the child widget
2435
2385
  * @param child_property the name of a child property installed on the class of `container`
2436
2386
  */
2437
- child_notify(child: Gtk.Widget, child_property: string | null): void
2387
+ child_notify(child: Gtk.Widget, child_property: string): void
2438
2388
 
2439
2389
  // Overloads of child_notify
2440
2390
 
@@ -2448,7 +2398,7 @@ export interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Ac
2448
2398
  * Also see gtk_container_child_notify().
2449
2399
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2450
2400
  */
2451
- child_notify(child_property: string | null): void
2401
+ child_notify(child_property: string): void
2452
2402
  /**
2453
2403
  * Emits a #GtkWidget::child-notify signal for the
2454
2404
  * [child property][child-properties] `child_property`
@@ -2459,7 +2409,7 @@ export interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Ac
2459
2409
  * Also see gtk_container_child_notify().
2460
2410
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2461
2411
  */
2462
- child_notify(child_property: string | null): void
2412
+ child_notify(child_property: string): void
2463
2413
 
2464
2414
  // Own signals of Builder-1.0.Builder.Workbench
2465
2415
 
@@ -2768,7 +2718,7 @@ export interface DocumentInterface {
2768
2718
  get_modified: (document: Document) => boolean
2769
2719
  get_mtime: (document: Document, mtime: GLib.TimeVal) => boolean
2770
2720
  get_read_only: (document: Document) => boolean
2771
- get_title: (document: Document) => string | null
2721
+ get_title: (document: Document) => string
2772
2722
  is_untitled: (document: Document) => boolean
2773
2723
  save_async: (document: Document, toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2774
2724
  save_finish: (document: Document, result: Gio.AsyncResult) => boolean
@@ -2790,7 +2740,7 @@ export interface EditorViewAddinInterface {
2790
2740
  parent: GObject.TypeInterface
2791
2741
  load: (self: EditorViewAddin, view: EditorView) => void
2792
2742
  unload: (self: EditorViewAddin, view: EditorView) => void
2793
- language_changed: (self: EditorViewAddin, language_id: string | null) => void
2743
+ language_changed: (self: EditorViewAddin, language_id: string) => void
2794
2744
  }
2795
2745
 
2796
2746
  export abstract class EditorViewAddinInterface {
@@ -2854,7 +2804,7 @@ export interface TreeClass {
2854
2804
  // Own fields of Builder-1.0.Builder.TreeClass
2855
2805
 
2856
2806
  parent_class: Gtk.TreeViewClass
2857
- action: (self: Tree, action_group: string | null, action_name: string | null, param: string | null) => void
2807
+ action: (self: Tree, action_group: string, action_name: string, param: string) => void
2858
2808
  populate_popup: (self: Tree, widget: Gtk.Widget) => void
2859
2809
  }
2860
2810
 
@@ -2888,8 +2838,8 @@ export interface ViewClass {
2888
2838
  get_can_split: (self: View) => boolean
2889
2839
  get_document: (self: View) => Document
2890
2840
  get_modified: (self: View) => boolean
2891
- get_title: (self: View) => string | null
2892
- get_special_title: (self: View) => string | null
2841
+ get_title: (self: View) => string
2842
+ get_special_title: (self: View) => string
2893
2843
  create_split: (self: View) => View
2894
2844
  set_split_view: (self: View, split_view: boolean) => void
2895
2845
  set_back_forward_list: (self: View, back_forward_list: Ide.BackForwardList) => void
package/builder-1.0.d.ts CHANGED
@@ -138,7 +138,6 @@ interface Document {
138
138
  // Own properties of Builder-1.0.Builder.Document
139
139
 
140
140
  readonly modified: boolean
141
- readonly read_only: boolean
142
141
  readonly readOnly: boolean
143
142
  readonly title: string | null
144
143
 
@@ -148,7 +147,7 @@ interface Document {
148
147
  get_modified(): boolean
149
148
  get_mtime(mtime: GLib.TimeVal): boolean
150
149
  get_read_only(): boolean
151
- get_title(): string | null
150
+ get_title(): string
152
151
  is_untitled(): boolean
153
152
  save_as_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
154
153
 
@@ -185,7 +184,7 @@ interface Document {
185
184
  vfunc_get_modified(): boolean
186
185
  vfunc_get_mtime(mtime: GLib.TimeVal): boolean
187
186
  vfunc_get_read_only(): boolean
188
- vfunc_get_title(): string | null
187
+ vfunc_get_title(): string
189
188
  vfunc_is_untitled(): boolean
190
189
  vfunc_save_as_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
191
190
  vfunc_save_as_finish(result: Gio.AsyncResult): boolean
@@ -241,7 +240,7 @@ interface EditorViewAddin {
241
240
 
242
241
  // Own virtual methods of Builder-1.0.Builder.EditorViewAddin
243
242
 
244
- vfunc_language_changed(language_id: string | null): void
243
+ vfunc_language_changed(language_id: string): void
245
244
  vfunc_load(view: EditorView): void
246
245
  vfunc_unload(view: EditorView): void
247
246
 
@@ -279,8 +278,8 @@ interface Application extends Gio.ActionGroup, Gio.ActionMap {
279
278
 
280
279
  // Owm methods of Builder-1.0.Builder.Application
281
280
 
282
- get_argv0(): string | null
283
- get_keybindings_mode(): string | null
281
+ get_argv0(): string
282
+ get_keybindings_mode(): string
284
283
  get_started_at(): GLib.DateTime
285
284
  /**
286
285
  * Asynchronously requests a #GDBusProxy to a service provided in a worker
@@ -296,7 +295,7 @@ interface Application extends Gio.ActionGroup, Gio.ActionMap {
296
295
  * @param cancellable A #GCancellable or %NULL.
297
296
  * @param callback A #GAsyncReadyCallback or %NULL.
298
297
  */
299
- get_worker_async(plugin_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
298
+ get_worker_async(plugin_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
300
299
 
301
300
  // Overloads of get_worker_async
302
301
 
@@ -316,7 +315,7 @@ interface Application extends Gio.ActionGroup, Gio.ActionMap {
316
315
  * @param cancellable A #GCancellable or %NULL.
317
316
  * @returns A Promise of: A #GDBusProxy or %NULL.
318
317
  */
319
- get_worker_async(plugin_name: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.DBusProxy>
318
+ get_worker_async(plugin_name: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.DBusProxy>
320
319
  /**
321
320
  * Completes an asynchronous request to get a proxy to a worker process.
322
321
  * @param result A #GAsyncResult
@@ -442,7 +441,7 @@ interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
442
441
  * @param child the child widget
443
442
  * @param child_property the name of a child property installed on the class of `container`
444
443
  */
445
- child_notify(child: Gtk.Widget, child_property: string | null): void
444
+ child_notify(child: Gtk.Widget, child_property: string): void
446
445
 
447
446
  // Overloads of child_notify
448
447
 
@@ -456,7 +455,7 @@ interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
456
455
  * Also see gtk_container_child_notify().
457
456
  * @param child_property the name of a child property installed on the class of `widget’`s parent
458
457
  */
459
- child_notify(child_property: string | null): void
458
+ child_notify(child_property: string): void
460
459
  /**
461
460
  * Emits a #GtkWidget::child-notify signal for the
462
461
  * [child property][child-properties] `child_property`
@@ -467,7 +466,7 @@ interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
467
466
  * Also see gtk_container_child_notify().
468
467
  * @param child_property the name of a child property installed on the class of `widget’`s parent
469
468
  */
470
- child_notify(child_property: string | null): void
469
+ child_notify(child_property: string): void
471
470
 
472
471
  // Own signals of Builder-1.0.Builder.EditorView
473
472
 
@@ -697,7 +696,7 @@ class MenuExtension extends GObject.Object {
697
696
  constructor(config?: MenuExtension.ConstructorProperties)
698
697
  constructor(menu: Gio.Menu)
699
698
  static new(menu: Gio.Menu): MenuExtension
700
- static new_for_section(menu: Gio.Menu, section: string | null): MenuExtension
699
+ static new_for_section(menu: Gio.Menu, section: string): MenuExtension
701
700
  _init(config?: MenuExtension.ConstructorProperties): void
702
701
  }
703
702
 
@@ -728,7 +727,6 @@ module Tree {
728
727
 
729
728
  root?: TreeNode | null
730
729
  selection?: TreeNode | null
731
- show_icons?: boolean | null
732
730
  showIcons?: boolean | null
733
731
  }
734
732
 
@@ -740,7 +738,6 @@ interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
740
738
 
741
739
  root: TreeNode
742
740
  selection: TreeNode
743
- show_icons: boolean
744
741
  showIcons: boolean
745
742
 
746
743
  // Own fields of Builder-1.0.Builder.Tree
@@ -826,7 +823,7 @@ interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
826
823
  * @param child the child widget
827
824
  * @param child_property the name of a child property installed on the class of `container`
828
825
  */
829
- child_notify(child: Gtk.Widget, child_property: string | null): void
826
+ child_notify(child: Gtk.Widget, child_property: string): void
830
827
 
831
828
  // Overloads of child_notify
832
829
 
@@ -840,7 +837,7 @@ interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
840
837
  * Also see gtk_container_child_notify().
841
838
  * @param child_property the name of a child property installed on the class of `widget’`s parent
842
839
  */
843
- child_notify(child_property: string | null): void
840
+ child_notify(child_property: string): void
844
841
  /**
845
842
  * Emits a #GtkWidget::child-notify signal for the
846
843
  * [child property][child-properties] `child_property`
@@ -851,11 +848,11 @@ interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
851
848
  * Also see gtk_container_child_notify().
852
849
  * @param child_property the name of a child property installed on the class of `widget’`s parent
853
850
  */
854
- child_notify(child_property: string | null): void
851
+ child_notify(child_property: string): void
855
852
 
856
853
  // Own virtual methods of Builder-1.0.Builder.Tree
857
854
 
858
- vfunc_action(action_group: string | null, action_name: string | null, param: string | null): void
855
+ vfunc_action(action_group: string, action_name: string, param: string): void
859
856
  vfunc_populate_popup(widget: Gtk.Widget): void
860
857
 
861
858
  // Own signals of Builder-1.0.Builder.Tree
@@ -1245,11 +1242,11 @@ module TreeNode {
1245
1242
  * and simply hide the arrow if there were in fact no children (upon
1246
1243
  * expansion).
1247
1244
  */
1248
- children_possible?: boolean | null
1245
+ childrenPossible?: boolean | null
1249
1246
  /**
1250
1247
  * An icon-name to display on the row.
1251
1248
  */
1252
- icon_name?: string | null
1249
+ iconName?: string | null
1253
1250
  /**
1254
1251
  * An optional #GObject to associate with the node.
1255
1252
  */
@@ -1262,27 +1259,6 @@ module TreeNode {
1262
1259
  * The tree the node belongs to.
1263
1260
  */
1264
1261
  tree?: Tree | null
1265
- use_dim_label?: boolean | null
1266
- /**
1267
- * If the "text" property includes #GMarkup.
1268
- */
1269
- use_markup?: boolean | null
1270
- /**
1271
- * This property allows for more lazy loading of nodes.
1272
- *
1273
- * When a node becomes visible, we normally build it's children nodes
1274
- * so that we know if we need an expansion arrow. However, that can
1275
- * be expensive when rendering directories with lots of subdirectories.
1276
- *
1277
- * Using this, you can always show an arrow without building the children
1278
- * and simply hide the arrow if there were in fact no children (upon
1279
- * expansion).
1280
- */
1281
- childrenPossible?: boolean | null
1282
- /**
1283
- * An icon-name to display on the row.
1284
- */
1285
- iconName?: string | null
1286
1262
  useDimLabel?: boolean | null
1287
1263
  /**
1288
1264
  * If the "text" property includes #GMarkup.
@@ -1296,18 +1272,6 @@ interface TreeNode {
1296
1272
 
1297
1273
  // Own properties of Builder-1.0.Builder.TreeNode
1298
1274
 
1299
- /**
1300
- * This property allows for more lazy loading of nodes.
1301
- *
1302
- * When a node becomes visible, we normally build it's children nodes
1303
- * so that we know if we need an expansion arrow. However, that can
1304
- * be expensive when rendering directories with lots of subdirectories.
1305
- *
1306
- * Using this, you can always show an arrow without building the children
1307
- * and simply hide the arrow if there were in fact no children (upon
1308
- * expansion).
1309
- */
1310
- children_possible: boolean
1311
1275
  /**
1312
1276
  * This property allows for more lazy loading of nodes.
1313
1277
  *
@@ -1320,10 +1284,6 @@ interface TreeNode {
1320
1284
  * expansion).
1321
1285
  */
1322
1286
  childrenPossible: boolean
1323
- /**
1324
- * An icon-name to display on the row.
1325
- */
1326
- icon_name: string | null
1327
1287
  /**
1328
1288
  * An icon-name to display on the row.
1329
1289
  */
@@ -1344,12 +1304,7 @@ interface TreeNode {
1344
1304
  * The tree the node belongs to.
1345
1305
  */
1346
1306
  tree: Tree
1347
- use_dim_label: boolean
1348
1307
  useDimLabel: boolean
1349
- /**
1350
- * If the "text" property includes #GMarkup.
1351
- */
1352
- use_markup: boolean
1353
1308
  /**
1354
1309
  * If the "text" property includes #GMarkup.
1355
1310
  */
@@ -1370,7 +1325,7 @@ interface TreeNode {
1370
1325
  /**
1371
1326
  * Fetches the icon-name of the icon to display, or NULL for no icon.
1372
1327
  */
1373
- get_icon_name(): string | null
1328
+ get_icon_name(): string
1374
1329
  /**
1375
1330
  * Gets a #GObject for the node, if one was set.
1376
1331
  * @returns A #GObject or %NULL.
@@ -1387,7 +1342,7 @@ interface TreeNode {
1387
1342
  * @returns A #GtkTreePath if successful; otherwise %NULL.
1388
1343
  */
1389
1344
  get_path(): Gtk.TreePath | null
1390
- get_text(): string | null
1345
+ get_text(): string
1391
1346
  /**
1392
1347
  * Fetches the #GbTree instance that owns the node.
1393
1348
  * @returns A #GbTree.
@@ -1425,7 +1380,7 @@ interface TreeNode {
1425
1380
  * cell of the GbTree.
1426
1381
  * @param icon_name The icon name.
1427
1382
  */
1428
- set_icon_name(icon_name: string | null): void
1383
+ set_icon_name(icon_name: string): void
1429
1384
  /**
1430
1385
  * An optional object to associate with the node. This is handy to save needing
1431
1386
  * to subclass the #GbTreeNode class.
@@ -1437,7 +1392,7 @@ interface TreeNode {
1437
1392
  * cell of the GbTree.
1438
1393
  * @param text The node text.
1439
1394
  */
1440
- set_text(text: string | null): void
1395
+ set_text(text: string): void
1441
1396
  set_use_dim_label(use_dim_label: boolean): void
1442
1397
  set_use_markup(use_markup: boolean): void
1443
1398
  show_popover(popover: Gtk.Popover): void
@@ -1514,11 +1469,9 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1514
1469
 
1515
1470
  // Own properties of Builder-1.0.Builder.View
1516
1471
 
1517
- readonly can_split: boolean
1518
1472
  readonly canSplit: boolean
1519
1473
  readonly document: Document
1520
1474
  readonly modified: boolean
1521
- readonly special_title: string | null
1522
1475
  readonly specialTitle: string | null
1523
1476
  readonly title: string | null
1524
1477
 
@@ -1556,8 +1509,8 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1556
1509
  get_document(): Document
1557
1510
  get_menu(): Gio.Menu
1558
1511
  get_modified(): boolean
1559
- get_special_title(): string | null
1560
- get_title(): string | null
1512
+ get_special_title(): string
1513
+ get_title(): string
1561
1514
  navigate_to(location: Ide.SourceLocation): void
1562
1515
  set_back_forward_list(back_forward_list: Ide.BackForwardList): void
1563
1516
  /**
@@ -1579,7 +1532,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1579
1532
  * @param child the child widget
1580
1533
  * @param child_property the name of a child property installed on the class of `container`
1581
1534
  */
1582
- child_notify(child: Gtk.Widget, child_property: string | null): void
1535
+ child_notify(child: Gtk.Widget, child_property: string): void
1583
1536
 
1584
1537
  // Overloads of child_notify
1585
1538
 
@@ -1593,7 +1546,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1593
1546
  * Also see gtk_container_child_notify().
1594
1547
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1595
1548
  */
1596
- child_notify(child_property: string | null): void
1549
+ child_notify(child_property: string): void
1597
1550
  /**
1598
1551
  * Emits a #GtkWidget::child-notify signal for the
1599
1552
  * [child property][child-properties] `child_property`
@@ -1604,7 +1557,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1604
1557
  * Also see gtk_container_child_notify().
1605
1558
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1606
1559
  */
1607
- child_notify(child_property: string | null): void
1560
+ child_notify(child_property: string): void
1608
1561
 
1609
1562
  // Own virtual methods of Builder-1.0.Builder.View
1610
1563
 
@@ -1634,8 +1587,8 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1634
1587
  */
1635
1588
  vfunc_get_document(): Document
1636
1589
  vfunc_get_modified(): boolean
1637
- vfunc_get_special_title(): string | null
1638
- vfunc_get_title(): string | null
1590
+ vfunc_get_special_title(): string
1591
+ vfunc_get_title(): string
1639
1592
  vfunc_navigate_to(location: Ide.SourceLocation): void
1640
1593
  vfunc_set_back_forward_list(back_forward_list: Ide.BackForwardList): void
1641
1594
  /**
@@ -1864,7 +1817,7 @@ interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1864
1817
  * @param child the child widget
1865
1818
  * @param child_property the name of a child property installed on the class of `container`
1866
1819
  */
1867
- child_notify(child: Gtk.Widget, child_property: string | null): void
1820
+ child_notify(child: Gtk.Widget, child_property: string): void
1868
1821
 
1869
1822
  // Overloads of child_notify
1870
1823
 
@@ -1878,7 +1831,7 @@ interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1878
1831
  * Also see gtk_container_child_notify().
1879
1832
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1880
1833
  */
1881
- child_notify(child_property: string | null): void
1834
+ child_notify(child_property: string): void
1882
1835
  /**
1883
1836
  * Emits a #GtkWidget::child-notify signal for the
1884
1837
  * [child property][child-properties] `child_property`
@@ -1889,7 +1842,7 @@ interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1889
1842
  * Also see gtk_container_child_notify().
1890
1843
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1891
1844
  */
1892
- child_notify(child_property: string | null): void
1845
+ child_notify(child_property: string): void
1893
1846
 
1894
1847
  // Class property signals of Builder-1.0.Builder.ViewGrid
1895
1848
 
@@ -2065,7 +2018,6 @@ module ViewStack {
2065
2018
 
2066
2019
  // Own constructor properties of Builder-1.0.Builder.ViewStack
2067
2020
 
2068
- active_view?: View | null
2069
2021
  activeView?: View | null
2070
2022
  }
2071
2023
 
@@ -2075,7 +2027,6 @@ interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2075
2027
 
2076
2028
  // Own properties of Builder-1.0.Builder.ViewStack
2077
2029
 
2078
- active_view: View
2079
2030
  activeView: View
2080
2031
 
2081
2032
  // Owm methods of Builder-1.0.Builder.ViewStack
@@ -2123,7 +2074,7 @@ interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2123
2074
  * @param child the child widget
2124
2075
  * @param child_property the name of a child property installed on the class of `container`
2125
2076
  */
2126
- child_notify(child: Gtk.Widget, child_property: string | null): void
2077
+ child_notify(child: Gtk.Widget, child_property: string): void
2127
2078
 
2128
2079
  // Overloads of child_notify
2129
2080
 
@@ -2137,7 +2088,7 @@ interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2137
2088
  * Also see gtk_container_child_notify().
2138
2089
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2139
2090
  */
2140
- child_notify(child_property: string | null): void
2091
+ child_notify(child_property: string): void
2141
2092
  /**
2142
2093
  * Emits a #GtkWidget::child-notify signal for the
2143
2094
  * [child property][child-properties] `child_property`
@@ -2148,7 +2099,7 @@ interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2148
2099
  * Also see gtk_container_child_notify().
2149
2100
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2150
2101
  */
2151
- child_notify(child_property: string | null): void
2102
+ child_notify(child_property: string): void
2152
2103
 
2153
2104
  // Own signals of Builder-1.0.Builder.ViewStack
2154
2105
 
@@ -2344,7 +2295,6 @@ interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap
2344
2295
 
2345
2296
  // Own properties of Builder-1.0.Builder.Workbench
2346
2297
 
2347
- readonly active_view: View
2348
2298
  readonly activeView: View
2349
2299
  readonly building: boolean
2350
2300
  /**
@@ -2392,7 +2342,7 @@ interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap
2392
2342
  get_view_grid(): Gtk.Widget
2393
2343
  get_workspace(): Gtk.Widget
2394
2344
  open(file: Gio.File): void
2395
- open_uri_list(uri_list: string | null): void
2345
+ open_uri_list(uri_list: string): void
2396
2346
  open_with_editor(file: Gio.File): void
2397
2347
  reveal_file(file: Gio.File): void
2398
2348
  /**
@@ -2436,7 +2386,7 @@ interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap
2436
2386
  * @param child the child widget
2437
2387
  * @param child_property the name of a child property installed on the class of `container`
2438
2388
  */
2439
- child_notify(child: Gtk.Widget, child_property: string | null): void
2389
+ child_notify(child: Gtk.Widget, child_property: string): void
2440
2390
 
2441
2391
  // Overloads of child_notify
2442
2392
 
@@ -2450,7 +2400,7 @@ interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap
2450
2400
  * Also see gtk_container_child_notify().
2451
2401
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2452
2402
  */
2453
- child_notify(child_property: string | null): void
2403
+ child_notify(child_property: string): void
2454
2404
  /**
2455
2405
  * Emits a #GtkWidget::child-notify signal for the
2456
2406
  * [child property][child-properties] `child_property`
@@ -2461,7 +2411,7 @@ interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap
2461
2411
  * Also see gtk_container_child_notify().
2462
2412
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2463
2413
  */
2464
- child_notify(child_property: string | null): void
2414
+ child_notify(child_property: string): void
2465
2415
 
2466
2416
  // Own signals of Builder-1.0.Builder.Workbench
2467
2417
 
@@ -2770,7 +2720,7 @@ interface DocumentInterface {
2770
2720
  get_modified: (document: Document) => boolean
2771
2721
  get_mtime: (document: Document, mtime: GLib.TimeVal) => boolean
2772
2722
  get_read_only: (document: Document) => boolean
2773
- get_title: (document: Document) => string | null
2723
+ get_title: (document: Document) => string
2774
2724
  is_untitled: (document: Document) => boolean
2775
2725
  save_async: (document: Document, toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2776
2726
  save_finish: (document: Document, result: Gio.AsyncResult) => boolean
@@ -2792,7 +2742,7 @@ interface EditorViewAddinInterface {
2792
2742
  parent: GObject.TypeInterface
2793
2743
  load: (self: EditorViewAddin, view: EditorView) => void
2794
2744
  unload: (self: EditorViewAddin, view: EditorView) => void
2795
- language_changed: (self: EditorViewAddin, language_id: string | null) => void
2745
+ language_changed: (self: EditorViewAddin, language_id: string) => void
2796
2746
  }
2797
2747
 
2798
2748
  abstract class EditorViewAddinInterface {
@@ -2856,7 +2806,7 @@ interface TreeClass {
2856
2806
  // Own fields of Builder-1.0.Builder.TreeClass
2857
2807
 
2858
2808
  parent_class: Gtk.TreeViewClass
2859
- action: (self: Tree, action_group: string | null, action_name: string | null, param: string | null) => void
2809
+ action: (self: Tree, action_group: string, action_name: string, param: string) => void
2860
2810
  populate_popup: (self: Tree, widget: Gtk.Widget) => void
2861
2811
  }
2862
2812
 
@@ -2890,8 +2840,8 @@ interface ViewClass {
2890
2840
  get_can_split: (self: View) => boolean
2891
2841
  get_document: (self: View) => Document
2892
2842
  get_modified: (self: View) => boolean
2893
- get_title: (self: View) => string | null
2894
- get_special_title: (self: View) => string | null
2843
+ get_title: (self: View) => string
2844
+ get_special_title: (self: View) => string
2895
2845
  create_split: (self: View) => View
2896
2846
  set_split_view: (self: View, split_view: boolean) => void
2897
2847
  set_back_forward_list: (self: View, back_forward_list: Ide.BackForwardList) => void
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/builder-1.0",
3
- "version": "1.0.0-3.2.6",
3
+ "version": "1.0.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for Builder-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "builder-1.0.js",
7
7
  "main": "builder-1.0.js",
8
8
  "exports": {
9
- "./ambient": "./builder-1.0-ambient.d.ts",
10
- "./import": "./builder-1.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./builder-1.0-ambient.d.ts",
11
+ "default": "./builder-1.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./builder-1.0-import.d.ts",
15
+ "default": "./builder-1.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./builder-1.0.d.ts",
@@ -25,27 +31,27 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit builder-1.0.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/atk-1.0": "^2.50.0-3.2.6",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.6",
30
- "@girs/dazzle-1.0": "^3.44.0-3.2.6",
31
- "@girs/freetype2-2.0": "^2.0.0-3.2.6",
32
- "@girs/gdk-3.0": "^3.24.38-3.2.6",
33
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.6",
34
- "@girs/gio-2.0": "^2.78.0-3.2.6",
35
- "@girs/girepository-2.0": "^1.78.1-3.2.6",
36
- "@girs/gjs": "^3.2.6",
37
- "@girs/glib-2.0": "^2.78.0-3.2.6",
38
- "@girs/gmodule-2.0": "^2.0.0-3.2.6",
39
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
40
- "@girs/gtk-3.0": "^3.24.38-3.2.6",
41
- "@girs/gtksource-3.0": "^3.0.0-3.2.6",
42
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.6",
43
- "@girs/ide-1.0": "^1.0.0-3.2.6",
44
- "@girs/json-1.0": "^1.7.1-3.2.6",
45
- "@girs/pango-1.0": "^1.51.0-3.2.6",
46
- "@girs/peas-1.0": "^1.0.0-3.2.6",
47
- "@girs/template-1.0": "^3.36.2-3.2.6",
48
- "@girs/xlib-2.0": "^2.0.0-3.2.6"
34
+ "@girs/atk-1.0": "^2.45.1-3.2.8",
35
+ "@girs/cairo-1.0": "^1.0.0-3.2.8",
36
+ "@girs/dazzle-1.0": "^3.44.0-3.2.8",
37
+ "@girs/freetype2-2.0": "^2.0.0-3.2.8",
38
+ "@girs/gdk-3.0": "^3.24.39-3.2.8",
39
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
40
+ "@girs/gio-2.0": "^2.77.0-3.2.8",
41
+ "@girs/girepository-2.0": "^1.77.1-3.2.8",
42
+ "@girs/gjs": "^3.2.8",
43
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
44
+ "@girs/gmodule-2.0": "^2.0.0-3.2.8",
45
+ "@girs/gobject-2.0": "^2.77.0-3.2.8",
46
+ "@girs/gtk-3.0": "^3.24.39-3.2.8",
47
+ "@girs/gtksource-3.0": "^3.0.0-3.2.8",
48
+ "@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
49
+ "@girs/ide-1.0": "^1.0.0-3.2.8",
50
+ "@girs/json-1.0": "^1.7.1-3.2.8",
51
+ "@girs/pango-1.0": "^1.51.0-3.2.8",
52
+ "@girs/peas-1.0": "^1.0.0-3.2.8",
53
+ "@girs/template-1.0": "^3.36.2-3.2.8",
54
+ "@girs/xlib-2.0": "^2.0.0-3.2.8"
49
55
  },
50
56
  "devDependencies": {
51
57
  "typescript": "*"
@@ -62,7 +68,7 @@
62
68
  "license": "MIT",
63
69
  "repository": {
64
70
  "type": "git",
65
- "url": "git+https://github.com/gjsify/types.git"
71
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
66
72
  },
67
73
  "bugs": {
68
74
  "url": "https://github.com/gjsify/ts-for-gir/issues"