@girs/builder-1.0 1.0.0-3.2.6 → 1.0.0-3.2.7

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.7.
9
9
 
10
10
 
11
11
  ## Install
package/builder-1.0.d.cts CHANGED
@@ -146,7 +146,7 @@ export interface Document {
146
146
  get_modified(): boolean
147
147
  get_mtime(mtime: GLib.TimeVal): boolean
148
148
  get_read_only(): boolean
149
- get_title(): string | null
149
+ get_title(): string
150
150
  is_untitled(): boolean
151
151
  save_as_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
152
152
 
@@ -183,7 +183,7 @@ export interface Document {
183
183
  vfunc_get_modified(): boolean
184
184
  vfunc_get_mtime(mtime: GLib.TimeVal): boolean
185
185
  vfunc_get_read_only(): boolean
186
- vfunc_get_title(): string | null
186
+ vfunc_get_title(): string
187
187
  vfunc_is_untitled(): boolean
188
188
  vfunc_save_as_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
189
189
  vfunc_save_as_finish(result: Gio.AsyncResult): boolean
@@ -239,7 +239,7 @@ export interface EditorViewAddin {
239
239
 
240
240
  // Own virtual methods of Builder-1.0.Builder.EditorViewAddin
241
241
 
242
- vfunc_language_changed(language_id: string | null): void
242
+ vfunc_language_changed(language_id: string): void
243
243
  vfunc_load(view: EditorView): void
244
244
  vfunc_unload(view: EditorView): void
245
245
 
@@ -277,8 +277,8 @@ export interface Application extends Gio.ActionGroup, Gio.ActionMap {
277
277
 
278
278
  // Owm methods of Builder-1.0.Builder.Application
279
279
 
280
- get_argv0(): string | null
281
- get_keybindings_mode(): string | null
280
+ get_argv0(): string
281
+ get_keybindings_mode(): string
282
282
  get_started_at(): GLib.DateTime
283
283
  /**
284
284
  * Asynchronously requests a #GDBusProxy to a service provided in a worker
@@ -294,7 +294,7 @@ export interface Application extends Gio.ActionGroup, Gio.ActionMap {
294
294
  * @param cancellable A #GCancellable or %NULL.
295
295
  * @param callback A #GAsyncReadyCallback or %NULL.
296
296
  */
297
- get_worker_async(plugin_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
297
+ get_worker_async(plugin_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
298
298
 
299
299
  // Overloads of get_worker_async
300
300
 
@@ -314,7 +314,7 @@ export interface Application extends Gio.ActionGroup, Gio.ActionMap {
314
314
  * @param cancellable A #GCancellable or %NULL.
315
315
  * @returns A Promise of: A #GDBusProxy or %NULL.
316
316
  */
317
- get_worker_async(plugin_name: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.DBusProxy>
317
+ get_worker_async(plugin_name: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.DBusProxy>
318
318
  /**
319
319
  * Completes an asynchronous request to get a proxy to a worker process.
320
320
  * @param result A #GAsyncResult
@@ -440,7 +440,7 @@ export interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
440
440
  * @param child the child widget
441
441
  * @param child_property the name of a child property installed on the class of `container`
442
442
  */
443
- child_notify(child: Gtk.Widget, child_property: string | null): void
443
+ child_notify(child: Gtk.Widget, child_property: string): void
444
444
 
445
445
  // Overloads of child_notify
446
446
 
@@ -454,7 +454,7 @@ export interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
454
454
  * Also see gtk_container_child_notify().
455
455
  * @param child_property the name of a child property installed on the class of `widget’`s parent
456
456
  */
457
- child_notify(child_property: string | null): void
457
+ child_notify(child_property: string): void
458
458
  /**
459
459
  * Emits a #GtkWidget::child-notify signal for the
460
460
  * [child property][child-properties] `child_property`
@@ -465,7 +465,7 @@ export interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
465
465
  * Also see gtk_container_child_notify().
466
466
  * @param child_property the name of a child property installed on the class of `widget’`s parent
467
467
  */
468
- child_notify(child_property: string | null): void
468
+ child_notify(child_property: string): void
469
469
 
470
470
  // Own signals of Builder-1.0.Builder.EditorView
471
471
 
@@ -695,7 +695,7 @@ export class MenuExtension extends GObject.Object {
695
695
  constructor(config?: MenuExtension.ConstructorProperties)
696
696
  constructor(menu: Gio.Menu)
697
697
  static new(menu: Gio.Menu): MenuExtension
698
- static new_for_section(menu: Gio.Menu, section: string | null): MenuExtension
698
+ static new_for_section(menu: Gio.Menu, section: string): MenuExtension
699
699
  _init(config?: MenuExtension.ConstructorProperties): void
700
700
  }
701
701
 
@@ -824,7 +824,7 @@ export interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
824
824
  * @param child the child widget
825
825
  * @param child_property the name of a child property installed on the class of `container`
826
826
  */
827
- child_notify(child: Gtk.Widget, child_property: string | null): void
827
+ child_notify(child: Gtk.Widget, child_property: string): void
828
828
 
829
829
  // Overloads of child_notify
830
830
 
@@ -838,7 +838,7 @@ export interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
838
838
  * Also see gtk_container_child_notify().
839
839
  * @param child_property the name of a child property installed on the class of `widget’`s parent
840
840
  */
841
- child_notify(child_property: string | null): void
841
+ child_notify(child_property: string): void
842
842
  /**
843
843
  * Emits a #GtkWidget::child-notify signal for the
844
844
  * [child property][child-properties] `child_property`
@@ -849,11 +849,11 @@ export interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
849
849
  * Also see gtk_container_child_notify().
850
850
  * @param child_property the name of a child property installed on the class of `widget’`s parent
851
851
  */
852
- child_notify(child_property: string | null): void
852
+ child_notify(child_property: string): void
853
853
 
854
854
  // Own virtual methods of Builder-1.0.Builder.Tree
855
855
 
856
- vfunc_action(action_group: string | null, action_name: string | null, param: string | null): void
856
+ vfunc_action(action_group: string, action_name: string, param: string): void
857
857
  vfunc_populate_popup(widget: Gtk.Widget): void
858
858
 
859
859
  // Own signals of Builder-1.0.Builder.Tree
@@ -1368,7 +1368,7 @@ export interface TreeNode {
1368
1368
  /**
1369
1369
  * Fetches the icon-name of the icon to display, or NULL for no icon.
1370
1370
  */
1371
- get_icon_name(): string | null
1371
+ get_icon_name(): string
1372
1372
  /**
1373
1373
  * Gets a #GObject for the node, if one was set.
1374
1374
  * @returns A #GObject or %NULL.
@@ -1385,7 +1385,7 @@ export interface TreeNode {
1385
1385
  * @returns A #GtkTreePath if successful; otherwise %NULL.
1386
1386
  */
1387
1387
  get_path(): Gtk.TreePath | null
1388
- get_text(): string | null
1388
+ get_text(): string
1389
1389
  /**
1390
1390
  * Fetches the #GbTree instance that owns the node.
1391
1391
  * @returns A #GbTree.
@@ -1423,7 +1423,7 @@ export interface TreeNode {
1423
1423
  * cell of the GbTree.
1424
1424
  * @param icon_name The icon name.
1425
1425
  */
1426
- set_icon_name(icon_name: string | null): void
1426
+ set_icon_name(icon_name: string): void
1427
1427
  /**
1428
1428
  * An optional object to associate with the node. This is handy to save needing
1429
1429
  * to subclass the #GbTreeNode class.
@@ -1435,7 +1435,7 @@ export interface TreeNode {
1435
1435
  * cell of the GbTree.
1436
1436
  * @param text The node text.
1437
1437
  */
1438
- set_text(text: string | null): void
1438
+ set_text(text: string): void
1439
1439
  set_use_dim_label(use_dim_label: boolean): void
1440
1440
  set_use_markup(use_markup: boolean): void
1441
1441
  show_popover(popover: Gtk.Popover): void
@@ -1554,8 +1554,8 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
1554
1554
  get_document(): Document
1555
1555
  get_menu(): Gio.Menu
1556
1556
  get_modified(): boolean
1557
- get_special_title(): string | null
1558
- get_title(): string | null
1557
+ get_special_title(): string
1558
+ get_title(): string
1559
1559
  navigate_to(location: Ide.SourceLocation): void
1560
1560
  set_back_forward_list(back_forward_list: Ide.BackForwardList): void
1561
1561
  /**
@@ -1577,7 +1577,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
1577
1577
  * @param child the child widget
1578
1578
  * @param child_property the name of a child property installed on the class of `container`
1579
1579
  */
1580
- child_notify(child: Gtk.Widget, child_property: string | null): void
1580
+ child_notify(child: Gtk.Widget, child_property: string): void
1581
1581
 
1582
1582
  // Overloads of child_notify
1583
1583
 
@@ -1591,7 +1591,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
1591
1591
  * Also see gtk_container_child_notify().
1592
1592
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1593
1593
  */
1594
- child_notify(child_property: string | null): void
1594
+ child_notify(child_property: string): void
1595
1595
  /**
1596
1596
  * Emits a #GtkWidget::child-notify signal for the
1597
1597
  * [child property][child-properties] `child_property`
@@ -1602,7 +1602,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
1602
1602
  * Also see gtk_container_child_notify().
1603
1603
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1604
1604
  */
1605
- child_notify(child_property: string | null): void
1605
+ child_notify(child_property: string): void
1606
1606
 
1607
1607
  // Own virtual methods of Builder-1.0.Builder.View
1608
1608
 
@@ -1632,8 +1632,8 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
1632
1632
  */
1633
1633
  vfunc_get_document(): Document
1634
1634
  vfunc_get_modified(): boolean
1635
- vfunc_get_special_title(): string | null
1636
- vfunc_get_title(): string | null
1635
+ vfunc_get_special_title(): string
1636
+ vfunc_get_title(): string
1637
1637
  vfunc_navigate_to(location: Ide.SourceLocation): void
1638
1638
  vfunc_set_back_forward_list(back_forward_list: Ide.BackForwardList): void
1639
1639
  /**
@@ -1862,7 +1862,7 @@ export interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1862
1862
  * @param child the child widget
1863
1863
  * @param child_property the name of a child property installed on the class of `container`
1864
1864
  */
1865
- child_notify(child: Gtk.Widget, child_property: string | null): void
1865
+ child_notify(child: Gtk.Widget, child_property: string): void
1866
1866
 
1867
1867
  // Overloads of child_notify
1868
1868
 
@@ -1876,7 +1876,7 @@ export interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1876
1876
  * Also see gtk_container_child_notify().
1877
1877
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1878
1878
  */
1879
- child_notify(child_property: string | null): void
1879
+ child_notify(child_property: string): void
1880
1880
  /**
1881
1881
  * Emits a #GtkWidget::child-notify signal for the
1882
1882
  * [child property][child-properties] `child_property`
@@ -1887,7 +1887,7 @@ export interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1887
1887
  * Also see gtk_container_child_notify().
1888
1888
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1889
1889
  */
1890
- child_notify(child_property: string | null): void
1890
+ child_notify(child_property: string): void
1891
1891
 
1892
1892
  // Class property signals of Builder-1.0.Builder.ViewGrid
1893
1893
 
@@ -2121,7 +2121,7 @@ export interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2121
2121
  * @param child the child widget
2122
2122
  * @param child_property the name of a child property installed on the class of `container`
2123
2123
  */
2124
- child_notify(child: Gtk.Widget, child_property: string | null): void
2124
+ child_notify(child: Gtk.Widget, child_property: string): void
2125
2125
 
2126
2126
  // Overloads of child_notify
2127
2127
 
@@ -2135,7 +2135,7 @@ export interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2135
2135
  * Also see gtk_container_child_notify().
2136
2136
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2137
2137
  */
2138
- child_notify(child_property: string | null): void
2138
+ child_notify(child_property: string): void
2139
2139
  /**
2140
2140
  * Emits a #GtkWidget::child-notify signal for the
2141
2141
  * [child property][child-properties] `child_property`
@@ -2146,7 +2146,7 @@ export interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2146
2146
  * Also see gtk_container_child_notify().
2147
2147
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2148
2148
  */
2149
- child_notify(child_property: string | null): void
2149
+ child_notify(child_property: string): void
2150
2150
 
2151
2151
  // Own signals of Builder-1.0.Builder.ViewStack
2152
2152
 
@@ -2390,7 +2390,7 @@ export interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Ac
2390
2390
  get_view_grid(): Gtk.Widget
2391
2391
  get_workspace(): Gtk.Widget
2392
2392
  open(file: Gio.File): void
2393
- open_uri_list(uri_list: string | null): void
2393
+ open_uri_list(uri_list: string): void
2394
2394
  open_with_editor(file: Gio.File): void
2395
2395
  reveal_file(file: Gio.File): void
2396
2396
  /**
@@ -2434,7 +2434,7 @@ export interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Ac
2434
2434
  * @param child the child widget
2435
2435
  * @param child_property the name of a child property installed on the class of `container`
2436
2436
  */
2437
- child_notify(child: Gtk.Widget, child_property: string | null): void
2437
+ child_notify(child: Gtk.Widget, child_property: string): void
2438
2438
 
2439
2439
  // Overloads of child_notify
2440
2440
 
@@ -2448,7 +2448,7 @@ export interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Ac
2448
2448
  * Also see gtk_container_child_notify().
2449
2449
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2450
2450
  */
2451
- child_notify(child_property: string | null): void
2451
+ child_notify(child_property: string): void
2452
2452
  /**
2453
2453
  * Emits a #GtkWidget::child-notify signal for the
2454
2454
  * [child property][child-properties] `child_property`
@@ -2459,7 +2459,7 @@ export interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Ac
2459
2459
  * Also see gtk_container_child_notify().
2460
2460
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2461
2461
  */
2462
- child_notify(child_property: string | null): void
2462
+ child_notify(child_property: string): void
2463
2463
 
2464
2464
  // Own signals of Builder-1.0.Builder.Workbench
2465
2465
 
@@ -2768,7 +2768,7 @@ export interface DocumentInterface {
2768
2768
  get_modified: (document: Document) => boolean
2769
2769
  get_mtime: (document: Document, mtime: GLib.TimeVal) => boolean
2770
2770
  get_read_only: (document: Document) => boolean
2771
- get_title: (document: Document) => string | null
2771
+ get_title: (document: Document) => string
2772
2772
  is_untitled: (document: Document) => boolean
2773
2773
  save_async: (document: Document, toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2774
2774
  save_finish: (document: Document, result: Gio.AsyncResult) => boolean
@@ -2790,7 +2790,7 @@ export interface EditorViewAddinInterface {
2790
2790
  parent: GObject.TypeInterface
2791
2791
  load: (self: EditorViewAddin, view: EditorView) => void
2792
2792
  unload: (self: EditorViewAddin, view: EditorView) => void
2793
- language_changed: (self: EditorViewAddin, language_id: string | null) => void
2793
+ language_changed: (self: EditorViewAddin, language_id: string) => void
2794
2794
  }
2795
2795
 
2796
2796
  export abstract class EditorViewAddinInterface {
@@ -2854,7 +2854,7 @@ export interface TreeClass {
2854
2854
  // Own fields of Builder-1.0.Builder.TreeClass
2855
2855
 
2856
2856
  parent_class: Gtk.TreeViewClass
2857
- action: (self: Tree, action_group: string | null, action_name: string | null, param: string | null) => void
2857
+ action: (self: Tree, action_group: string, action_name: string, param: string) => void
2858
2858
  populate_popup: (self: Tree, widget: Gtk.Widget) => void
2859
2859
  }
2860
2860
 
@@ -2888,8 +2888,8 @@ export interface ViewClass {
2888
2888
  get_can_split: (self: View) => boolean
2889
2889
  get_document: (self: View) => Document
2890
2890
  get_modified: (self: View) => boolean
2891
- get_title: (self: View) => string | null
2892
- get_special_title: (self: View) => string | null
2891
+ get_title: (self: View) => string
2892
+ get_special_title: (self: View) => string
2893
2893
  create_split: (self: View) => View
2894
2894
  set_split_view: (self: View, split_view: boolean) => void
2895
2895
  set_back_forward_list: (self: View, back_forward_list: Ide.BackForwardList) => void
package/builder-1.0.d.ts CHANGED
@@ -148,7 +148,7 @@ interface Document {
148
148
  get_modified(): boolean
149
149
  get_mtime(mtime: GLib.TimeVal): boolean
150
150
  get_read_only(): boolean
151
- get_title(): string | null
151
+ get_title(): string
152
152
  is_untitled(): boolean
153
153
  save_as_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
154
154
 
@@ -185,7 +185,7 @@ interface Document {
185
185
  vfunc_get_modified(): boolean
186
186
  vfunc_get_mtime(mtime: GLib.TimeVal): boolean
187
187
  vfunc_get_read_only(): boolean
188
- vfunc_get_title(): string | null
188
+ vfunc_get_title(): string
189
189
  vfunc_is_untitled(): boolean
190
190
  vfunc_save_as_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
191
191
  vfunc_save_as_finish(result: Gio.AsyncResult): boolean
@@ -241,7 +241,7 @@ interface EditorViewAddin {
241
241
 
242
242
  // Own virtual methods of Builder-1.0.Builder.EditorViewAddin
243
243
 
244
- vfunc_language_changed(language_id: string | null): void
244
+ vfunc_language_changed(language_id: string): void
245
245
  vfunc_load(view: EditorView): void
246
246
  vfunc_unload(view: EditorView): void
247
247
 
@@ -279,8 +279,8 @@ interface Application extends Gio.ActionGroup, Gio.ActionMap {
279
279
 
280
280
  // Owm methods of Builder-1.0.Builder.Application
281
281
 
282
- get_argv0(): string | null
283
- get_keybindings_mode(): string | null
282
+ get_argv0(): string
283
+ get_keybindings_mode(): string
284
284
  get_started_at(): GLib.DateTime
285
285
  /**
286
286
  * Asynchronously requests a #GDBusProxy to a service provided in a worker
@@ -296,7 +296,7 @@ interface Application extends Gio.ActionGroup, Gio.ActionMap {
296
296
  * @param cancellable A #GCancellable or %NULL.
297
297
  * @param callback A #GAsyncReadyCallback or %NULL.
298
298
  */
299
- get_worker_async(plugin_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
299
+ get_worker_async(plugin_name: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
300
300
 
301
301
  // Overloads of get_worker_async
302
302
 
@@ -316,7 +316,7 @@ interface Application extends Gio.ActionGroup, Gio.ActionMap {
316
316
  * @param cancellable A #GCancellable or %NULL.
317
317
  * @returns A Promise of: A #GDBusProxy or %NULL.
318
318
  */
319
- get_worker_async(plugin_name: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.DBusProxy>
319
+ get_worker_async(plugin_name: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.DBusProxy>
320
320
  /**
321
321
  * Completes an asynchronous request to get a proxy to a worker process.
322
322
  * @param result A #GAsyncResult
@@ -442,7 +442,7 @@ interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
442
442
  * @param child the child widget
443
443
  * @param child_property the name of a child property installed on the class of `container`
444
444
  */
445
- child_notify(child: Gtk.Widget, child_property: string | null): void
445
+ child_notify(child: Gtk.Widget, child_property: string): void
446
446
 
447
447
  // Overloads of child_notify
448
448
 
@@ -456,7 +456,7 @@ interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
456
456
  * Also see gtk_container_child_notify().
457
457
  * @param child_property the name of a child property installed on the class of `widget’`s parent
458
458
  */
459
- child_notify(child_property: string | null): void
459
+ child_notify(child_property: string): void
460
460
  /**
461
461
  * Emits a #GtkWidget::child-notify signal for the
462
462
  * [child property][child-properties] `child_property`
@@ -467,7 +467,7 @@ interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
467
467
  * Also see gtk_container_child_notify().
468
468
  * @param child_property the name of a child property installed on the class of `widget’`s parent
469
469
  */
470
- child_notify(child_property: string | null): void
470
+ child_notify(child_property: string): void
471
471
 
472
472
  // Own signals of Builder-1.0.Builder.EditorView
473
473
 
@@ -697,7 +697,7 @@ class MenuExtension extends GObject.Object {
697
697
  constructor(config?: MenuExtension.ConstructorProperties)
698
698
  constructor(menu: Gio.Menu)
699
699
  static new(menu: Gio.Menu): MenuExtension
700
- static new_for_section(menu: Gio.Menu, section: string | null): MenuExtension
700
+ static new_for_section(menu: Gio.Menu, section: string): MenuExtension
701
701
  _init(config?: MenuExtension.ConstructorProperties): void
702
702
  }
703
703
 
@@ -826,7 +826,7 @@ interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
826
826
  * @param child the child widget
827
827
  * @param child_property the name of a child property installed on the class of `container`
828
828
  */
829
- child_notify(child: Gtk.Widget, child_property: string | null): void
829
+ child_notify(child: Gtk.Widget, child_property: string): void
830
830
 
831
831
  // Overloads of child_notify
832
832
 
@@ -840,7 +840,7 @@ interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
840
840
  * Also see gtk_container_child_notify().
841
841
  * @param child_property the name of a child property installed on the class of `widget’`s parent
842
842
  */
843
- child_notify(child_property: string | null): void
843
+ child_notify(child_property: string): void
844
844
  /**
845
845
  * Emits a #GtkWidget::child-notify signal for the
846
846
  * [child property][child-properties] `child_property`
@@ -851,11 +851,11 @@ interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
851
851
  * Also see gtk_container_child_notify().
852
852
  * @param child_property the name of a child property installed on the class of `widget’`s parent
853
853
  */
854
- child_notify(child_property: string | null): void
854
+ child_notify(child_property: string): void
855
855
 
856
856
  // Own virtual methods of Builder-1.0.Builder.Tree
857
857
 
858
- vfunc_action(action_group: string | null, action_name: string | null, param: string | null): void
858
+ vfunc_action(action_group: string, action_name: string, param: string): void
859
859
  vfunc_populate_popup(widget: Gtk.Widget): void
860
860
 
861
861
  // Own signals of Builder-1.0.Builder.Tree
@@ -1370,7 +1370,7 @@ interface TreeNode {
1370
1370
  /**
1371
1371
  * Fetches the icon-name of the icon to display, or NULL for no icon.
1372
1372
  */
1373
- get_icon_name(): string | null
1373
+ get_icon_name(): string
1374
1374
  /**
1375
1375
  * Gets a #GObject for the node, if one was set.
1376
1376
  * @returns A #GObject or %NULL.
@@ -1387,7 +1387,7 @@ interface TreeNode {
1387
1387
  * @returns A #GtkTreePath if successful; otherwise %NULL.
1388
1388
  */
1389
1389
  get_path(): Gtk.TreePath | null
1390
- get_text(): string | null
1390
+ get_text(): string
1391
1391
  /**
1392
1392
  * Fetches the #GbTree instance that owns the node.
1393
1393
  * @returns A #GbTree.
@@ -1425,7 +1425,7 @@ interface TreeNode {
1425
1425
  * cell of the GbTree.
1426
1426
  * @param icon_name The icon name.
1427
1427
  */
1428
- set_icon_name(icon_name: string | null): void
1428
+ set_icon_name(icon_name: string): void
1429
1429
  /**
1430
1430
  * An optional object to associate with the node. This is handy to save needing
1431
1431
  * to subclass the #GbTreeNode class.
@@ -1437,7 +1437,7 @@ interface TreeNode {
1437
1437
  * cell of the GbTree.
1438
1438
  * @param text The node text.
1439
1439
  */
1440
- set_text(text: string | null): void
1440
+ set_text(text: string): void
1441
1441
  set_use_dim_label(use_dim_label: boolean): void
1442
1442
  set_use_markup(use_markup: boolean): void
1443
1443
  show_popover(popover: Gtk.Popover): void
@@ -1556,8 +1556,8 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1556
1556
  get_document(): Document
1557
1557
  get_menu(): Gio.Menu
1558
1558
  get_modified(): boolean
1559
- get_special_title(): string | null
1560
- get_title(): string | null
1559
+ get_special_title(): string
1560
+ get_title(): string
1561
1561
  navigate_to(location: Ide.SourceLocation): void
1562
1562
  set_back_forward_list(back_forward_list: Ide.BackForwardList): void
1563
1563
  /**
@@ -1579,7 +1579,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1579
1579
  * @param child the child widget
1580
1580
  * @param child_property the name of a child property installed on the class of `container`
1581
1581
  */
1582
- child_notify(child: Gtk.Widget, child_property: string | null): void
1582
+ child_notify(child: Gtk.Widget, child_property: string): void
1583
1583
 
1584
1584
  // Overloads of child_notify
1585
1585
 
@@ -1593,7 +1593,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1593
1593
  * Also see gtk_container_child_notify().
1594
1594
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1595
1595
  */
1596
- child_notify(child_property: string | null): void
1596
+ child_notify(child_property: string): void
1597
1597
  /**
1598
1598
  * Emits a #GtkWidget::child-notify signal for the
1599
1599
  * [child property][child-properties] `child_property`
@@ -1604,7 +1604,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1604
1604
  * Also see gtk_container_child_notify().
1605
1605
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1606
1606
  */
1607
- child_notify(child_property: string | null): void
1607
+ child_notify(child_property: string): void
1608
1608
 
1609
1609
  // Own virtual methods of Builder-1.0.Builder.View
1610
1610
 
@@ -1634,8 +1634,8 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1634
1634
  */
1635
1635
  vfunc_get_document(): Document
1636
1636
  vfunc_get_modified(): boolean
1637
- vfunc_get_special_title(): string | null
1638
- vfunc_get_title(): string | null
1637
+ vfunc_get_special_title(): string
1638
+ vfunc_get_title(): string
1639
1639
  vfunc_navigate_to(location: Ide.SourceLocation): void
1640
1640
  vfunc_set_back_forward_list(back_forward_list: Ide.BackForwardList): void
1641
1641
  /**
@@ -1864,7 +1864,7 @@ interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1864
1864
  * @param child the child widget
1865
1865
  * @param child_property the name of a child property installed on the class of `container`
1866
1866
  */
1867
- child_notify(child: Gtk.Widget, child_property: string | null): void
1867
+ child_notify(child: Gtk.Widget, child_property: string): void
1868
1868
 
1869
1869
  // Overloads of child_notify
1870
1870
 
@@ -1878,7 +1878,7 @@ interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1878
1878
  * Also see gtk_container_child_notify().
1879
1879
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1880
1880
  */
1881
- child_notify(child_property: string | null): void
1881
+ child_notify(child_property: string): void
1882
1882
  /**
1883
1883
  * Emits a #GtkWidget::child-notify signal for the
1884
1884
  * [child property][child-properties] `child_property`
@@ -1889,7 +1889,7 @@ interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1889
1889
  * Also see gtk_container_child_notify().
1890
1890
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1891
1891
  */
1892
- child_notify(child_property: string | null): void
1892
+ child_notify(child_property: string): void
1893
1893
 
1894
1894
  // Class property signals of Builder-1.0.Builder.ViewGrid
1895
1895
 
@@ -2123,7 +2123,7 @@ interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2123
2123
  * @param child the child widget
2124
2124
  * @param child_property the name of a child property installed on the class of `container`
2125
2125
  */
2126
- child_notify(child: Gtk.Widget, child_property: string | null): void
2126
+ child_notify(child: Gtk.Widget, child_property: string): void
2127
2127
 
2128
2128
  // Overloads of child_notify
2129
2129
 
@@ -2137,7 +2137,7 @@ interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2137
2137
  * Also see gtk_container_child_notify().
2138
2138
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2139
2139
  */
2140
- child_notify(child_property: string | null): void
2140
+ child_notify(child_property: string): void
2141
2141
  /**
2142
2142
  * Emits a #GtkWidget::child-notify signal for the
2143
2143
  * [child property][child-properties] `child_property`
@@ -2148,7 +2148,7 @@ interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
2148
2148
  * Also see gtk_container_child_notify().
2149
2149
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2150
2150
  */
2151
- child_notify(child_property: string | null): void
2151
+ child_notify(child_property: string): void
2152
2152
 
2153
2153
  // Own signals of Builder-1.0.Builder.ViewStack
2154
2154
 
@@ -2392,7 +2392,7 @@ interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap
2392
2392
  get_view_grid(): Gtk.Widget
2393
2393
  get_workspace(): Gtk.Widget
2394
2394
  open(file: Gio.File): void
2395
- open_uri_list(uri_list: string | null): void
2395
+ open_uri_list(uri_list: string): void
2396
2396
  open_with_editor(file: Gio.File): void
2397
2397
  reveal_file(file: Gio.File): void
2398
2398
  /**
@@ -2436,7 +2436,7 @@ interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap
2436
2436
  * @param child the child widget
2437
2437
  * @param child_property the name of a child property installed on the class of `container`
2438
2438
  */
2439
- child_notify(child: Gtk.Widget, child_property: string | null): void
2439
+ child_notify(child: Gtk.Widget, child_property: string): void
2440
2440
 
2441
2441
  // Overloads of child_notify
2442
2442
 
@@ -2450,7 +2450,7 @@ interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap
2450
2450
  * Also see gtk_container_child_notify().
2451
2451
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2452
2452
  */
2453
- child_notify(child_property: string | null): void
2453
+ child_notify(child_property: string): void
2454
2454
  /**
2455
2455
  * Emits a #GtkWidget::child-notify signal for the
2456
2456
  * [child property][child-properties] `child_property`
@@ -2461,7 +2461,7 @@ interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap
2461
2461
  * Also see gtk_container_child_notify().
2462
2462
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2463
2463
  */
2464
- child_notify(child_property: string | null): void
2464
+ child_notify(child_property: string): void
2465
2465
 
2466
2466
  // Own signals of Builder-1.0.Builder.Workbench
2467
2467
 
@@ -2770,7 +2770,7 @@ interface DocumentInterface {
2770
2770
  get_modified: (document: Document) => boolean
2771
2771
  get_mtime: (document: Document, mtime: GLib.TimeVal) => boolean
2772
2772
  get_read_only: (document: Document) => boolean
2773
- get_title: (document: Document) => string | null
2773
+ get_title: (document: Document) => string
2774
2774
  is_untitled: (document: Document) => boolean
2775
2775
  save_async: (document: Document, toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2776
2776
  save_finish: (document: Document, result: Gio.AsyncResult) => boolean
@@ -2792,7 +2792,7 @@ interface EditorViewAddinInterface {
2792
2792
  parent: GObject.TypeInterface
2793
2793
  load: (self: EditorViewAddin, view: EditorView) => void
2794
2794
  unload: (self: EditorViewAddin, view: EditorView) => void
2795
- language_changed: (self: EditorViewAddin, language_id: string | null) => void
2795
+ language_changed: (self: EditorViewAddin, language_id: string) => void
2796
2796
  }
2797
2797
 
2798
2798
  abstract class EditorViewAddinInterface {
@@ -2856,7 +2856,7 @@ interface TreeClass {
2856
2856
  // Own fields of Builder-1.0.Builder.TreeClass
2857
2857
 
2858
2858
  parent_class: Gtk.TreeViewClass
2859
- action: (self: Tree, action_group: string | null, action_name: string | null, param: string | null) => void
2859
+ action: (self: Tree, action_group: string, action_name: string, param: string) => void
2860
2860
  populate_popup: (self: Tree, widget: Gtk.Widget) => void
2861
2861
  }
2862
2862
 
@@ -2890,8 +2890,8 @@ interface ViewClass {
2890
2890
  get_can_split: (self: View) => boolean
2891
2891
  get_document: (self: View) => Document
2892
2892
  get_modified: (self: View) => boolean
2893
- get_title: (self: View) => string | null
2894
- get_special_title: (self: View) => string | null
2893
+ get_title: (self: View) => string
2894
+ get_special_title: (self: View) => string
2895
2895
  create_split: (self: View) => View
2896
2896
  set_split_view: (self: View, split_view: boolean) => void
2897
2897
  set_back_forward_list: (self: View, back_forward_list: Ide.BackForwardList) => void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/builder-1.0",
3
- "version": "1.0.0-3.2.6",
3
+ "version": "1.0.0-3.2.7",
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",
@@ -25,27 +25,27 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit builder-1.0.d.cts"
26
26
  },
27
27
  "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"
28
+ "@girs/atk-1.0": "^2.50.0-3.2.7",
29
+ "@girs/cairo-1.0": "^1.0.0-3.2.7",
30
+ "@girs/dazzle-1.0": "^3.44.0-3.2.7",
31
+ "@girs/freetype2-2.0": "^2.0.0-3.2.7",
32
+ "@girs/gdk-3.0": "^3.24.38-3.2.7",
33
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
34
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
35
+ "@girs/girepository-2.0": "^1.78.1-3.2.7",
36
+ "@girs/gjs": "^3.2.7",
37
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
38
+ "@girs/gmodule-2.0": "^2.0.0-3.2.7",
39
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
40
+ "@girs/gtk-3.0": "^3.24.38-3.2.7",
41
+ "@girs/gtksource-3.0": "^3.0.0-3.2.7",
42
+ "@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
43
+ "@girs/ide-1.0": "^1.0.0-3.2.7",
44
+ "@girs/json-1.0": "^1.7.1-3.2.7",
45
+ "@girs/pango-1.0": "^1.51.0-3.2.7",
46
+ "@girs/peas-1.0": "^1.0.0-3.2.7",
47
+ "@girs/template-1.0": "^3.36.2-3.2.7",
48
+ "@girs/xlib-2.0": "^2.0.0-3.2.7"
49
49
  },
50
50
  "devDependencies": {
51
51
  "typescript": "*"