@girs/amtk-4 4.0.0-3.2.5 → 4.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 +1 -1
- package/amtk-4.d.cts +43 -19
- package/amtk-4.d.ts +43 -19
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Amtk-4, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Amtk-4, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/amtk-4.d.cts
CHANGED
|
@@ -118,7 +118,7 @@ export function menu_item_get_long_description(menu_item: Gtk.MenuItem): string
|
|
|
118
118
|
* @param item a #GtkMenuItem.
|
|
119
119
|
* @param icon_name an icon name.
|
|
120
120
|
*/
|
|
121
|
-
export function menu_item_set_icon_name(item: Gtk.MenuItem, icon_name: string
|
|
121
|
+
export function menu_item_set_icon_name(item: Gtk.MenuItem, icon_name: string): void
|
|
122
122
|
/**
|
|
123
123
|
* Sets the long description of `menu_item`. A possible use-case is to display it
|
|
124
124
|
* in a #GtkStatusbar, or as a tooltip.
|
|
@@ -157,7 +157,7 @@ export function menu_item_set_long_description(menu_item: Gtk.MenuItem, long_des
|
|
|
157
157
|
* @param gtk_action_group a #GtkActionGroup.
|
|
158
158
|
* @param gtk_action_name a #GtkAction name present in `gtk_action_group`.
|
|
159
159
|
*/
|
|
160
|
-
export function utils_bind_g_action_to_gtk_action(g_action_map: Gio.ActionMap, detailed_g_action_name_without_prefix: string
|
|
160
|
+
export function utils_bind_g_action_to_gtk_action(g_action_map: Gio.ActionMap, detailed_g_action_name_without_prefix: string, gtk_action_group: Gtk.ActionGroup, gtk_action_name: string): void
|
|
161
161
|
/**
|
|
162
162
|
* Utility function to be able to port an application gradually to #GAction and
|
|
163
163
|
* #AmtkActionInfo, when #GtkUIManager is still used. This function goes one
|
|
@@ -182,7 +182,7 @@ export function utils_bind_g_action_to_gtk_action(g_action_map: Gio.ActionMap, d
|
|
|
182
182
|
* @param gtk_action_group a #GtkActionGroup.
|
|
183
183
|
* @param gtk_action_name the name of the #GtkAction to create and add to `gtk_action_group`.
|
|
184
184
|
*/
|
|
185
|
-
export function utils_create_gtk_action(g_action_map: Gio.ActionMap, detailed_g_action_name_with_prefix: string
|
|
185
|
+
export function utils_create_gtk_action(g_action_map: Gio.ActionMap, detailed_g_action_name_with_prefix: string, gtk_action_group: Gtk.ActionGroup, gtk_action_name: string): void
|
|
186
186
|
/**
|
|
187
187
|
* Gets the URI of `item`. `item` must be a child of `menu`. `menu` must be a
|
|
188
188
|
* #GtkRecentChooserMenu.
|
|
@@ -213,7 +213,7 @@ export interface ActionInfoCentralStore {
|
|
|
213
213
|
|
|
214
214
|
// Owm methods of Amtk-4.Amtk.ActionInfoCentralStore
|
|
215
215
|
|
|
216
|
-
lookup(action_name: string
|
|
216
|
+
lookup(action_name: string): ActionInfo
|
|
217
217
|
|
|
218
218
|
// Class property signals of Amtk-4.Amtk.ActionInfoCentralStore
|
|
219
219
|
|
|
@@ -284,7 +284,7 @@ export interface ActionInfoStore {
|
|
|
284
284
|
* by a library, to easily see which actions are not used by the application.
|
|
285
285
|
*/
|
|
286
286
|
check_all_used(): void
|
|
287
|
-
lookup(action_name: string
|
|
287
|
+
lookup(action_name: string): ActionInfo
|
|
288
288
|
|
|
289
289
|
// Class property signals of Amtk-4.Amtk.ActionInfoStore
|
|
290
290
|
|
|
@@ -325,6 +325,10 @@ export module ApplicationWindow {
|
|
|
325
325
|
* The #GtkStatusbar. %NULL by default.
|
|
326
326
|
*/
|
|
327
327
|
statusbar?: Gtk.Statusbar | null
|
|
328
|
+
/**
|
|
329
|
+
* The #GtkApplicationWindow.
|
|
330
|
+
*/
|
|
331
|
+
applicationWindow?: Gtk.ApplicationWindow | null
|
|
328
332
|
}
|
|
329
333
|
|
|
330
334
|
}
|
|
@@ -337,6 +341,10 @@ export interface ApplicationWindow {
|
|
|
337
341
|
* The #GtkApplicationWindow.
|
|
338
342
|
*/
|
|
339
343
|
readonly application_window: Gtk.ApplicationWindow
|
|
344
|
+
/**
|
|
345
|
+
* The #GtkApplicationWindow.
|
|
346
|
+
*/
|
|
347
|
+
readonly applicationWindow: Gtk.ApplicationWindow
|
|
340
348
|
/**
|
|
341
349
|
* The #GtkStatusbar. %NULL by default.
|
|
342
350
|
*/
|
|
@@ -454,6 +462,10 @@ export module Factory {
|
|
|
454
462
|
* The default #AmtkFactoryFlags.
|
|
455
463
|
*/
|
|
456
464
|
default_flags?: FactoryFlags | null
|
|
465
|
+
/**
|
|
466
|
+
* The default #AmtkFactoryFlags.
|
|
467
|
+
*/
|
|
468
|
+
defaultFlags?: FactoryFlags | null
|
|
457
469
|
}
|
|
458
470
|
|
|
459
471
|
}
|
|
@@ -471,6 +483,10 @@ export interface Factory {
|
|
|
471
483
|
* The default #AmtkFactoryFlags.
|
|
472
484
|
*/
|
|
473
485
|
default_flags: FactoryFlags
|
|
486
|
+
/**
|
|
487
|
+
* The default #AmtkFactoryFlags.
|
|
488
|
+
*/
|
|
489
|
+
defaultFlags: FactoryFlags
|
|
474
490
|
|
|
475
491
|
// Own fields of Amtk-4.Amtk.Factory
|
|
476
492
|
|
|
@@ -488,7 +504,7 @@ export interface Factory {
|
|
|
488
504
|
* @param action_name an action name.
|
|
489
505
|
* @returns a new #GtkCheckMenuItem for @action_name.
|
|
490
506
|
*/
|
|
491
|
-
create_check_menu_item(action_name: string
|
|
507
|
+
create_check_menu_item(action_name: string): Gtk.Widget
|
|
492
508
|
/**
|
|
493
509
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
494
510
|
* `flags` argument instead.
|
|
@@ -502,14 +518,14 @@ export interface Factory {
|
|
|
502
518
|
* @param flags #AmtkFactoryFlags.
|
|
503
519
|
* @returns a new #GtkCheckMenuItem for @action_name.
|
|
504
520
|
*/
|
|
505
|
-
create_check_menu_item_full(action_name: string
|
|
521
|
+
create_check_menu_item_full(action_name: string, flags: FactoryFlags): Gtk.Widget
|
|
506
522
|
/**
|
|
507
523
|
* Creates a new #GtkMenuItem for `action_name` with the
|
|
508
524
|
* #AmtkFactory:default-flags.
|
|
509
525
|
* @param action_name an action name.
|
|
510
526
|
* @returns a new #GtkMenuItem for @action_name.
|
|
511
527
|
*/
|
|
512
|
-
create_menu_item(action_name: string
|
|
528
|
+
create_menu_item(action_name: string): Gtk.Widget
|
|
513
529
|
/**
|
|
514
530
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
515
531
|
* `flags` argument instead.
|
|
@@ -517,7 +533,7 @@ export interface Factory {
|
|
|
517
533
|
* @param flags #AmtkFactoryFlags.
|
|
518
534
|
* @returns a new #GtkMenuItem for @action_name.
|
|
519
535
|
*/
|
|
520
|
-
create_menu_item_full(action_name: string
|
|
536
|
+
create_menu_item_full(action_name: string, flags: FactoryFlags): Gtk.Widget
|
|
521
537
|
/**
|
|
522
538
|
* Creates a new #GtkMenuToolButton for `action_name` with the
|
|
523
539
|
* #AmtkFactory:default-flags.
|
|
@@ -527,7 +543,7 @@ export interface Factory {
|
|
|
527
543
|
* @param action_name an action name.
|
|
528
544
|
* @returns a new #GtkMenuToolButton for @action_name.
|
|
529
545
|
*/
|
|
530
|
-
create_menu_tool_button(action_name: string
|
|
546
|
+
create_menu_tool_button(action_name: string): Gtk.MenuToolButton
|
|
531
547
|
/**
|
|
532
548
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
533
549
|
* `flags` argument instead.
|
|
@@ -538,14 +554,14 @@ export interface Factory {
|
|
|
538
554
|
* @param flags #AmtkFactoryFlags.
|
|
539
555
|
* @returns a new #GtkMenuToolButton for @action_name.
|
|
540
556
|
*/
|
|
541
|
-
create_menu_tool_button_full(action_name: string
|
|
557
|
+
create_menu_tool_button_full(action_name: string, flags: FactoryFlags): Gtk.MenuToolButton
|
|
542
558
|
/**
|
|
543
559
|
* Creates a new #GtkToolButton for `action_name` with the
|
|
544
560
|
* #AmtkFactory:default-flags.
|
|
545
561
|
* @param action_name an action name.
|
|
546
562
|
* @returns a new #GtkToolButton for @action_name.
|
|
547
563
|
*/
|
|
548
|
-
create_tool_button(action_name: string
|
|
564
|
+
create_tool_button(action_name: string): Gtk.ToolItem
|
|
549
565
|
/**
|
|
550
566
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
551
567
|
* `flags` argument instead.
|
|
@@ -553,7 +569,7 @@ export interface Factory {
|
|
|
553
569
|
* @param flags #AmtkFactoryFlags.
|
|
554
570
|
* @returns a new #GtkToolButton for @action_name.
|
|
555
571
|
*/
|
|
556
|
-
create_tool_button_full(action_name: string
|
|
572
|
+
create_tool_button_full(action_name: string, flags: FactoryFlags): Gtk.ToolItem
|
|
557
573
|
get_application(): Gtk.Application | null
|
|
558
574
|
get_default_flags(): FactoryFlags
|
|
559
575
|
/**
|
|
@@ -641,6 +657,10 @@ export module MenuShell {
|
|
|
641
657
|
* The #GtkMenuShell.
|
|
642
658
|
*/
|
|
643
659
|
menu_shell?: Gtk.MenuShell | null
|
|
660
|
+
/**
|
|
661
|
+
* The #GtkMenuShell.
|
|
662
|
+
*/
|
|
663
|
+
menuShell?: Gtk.MenuShell | null
|
|
644
664
|
}
|
|
645
665
|
|
|
646
666
|
}
|
|
@@ -653,6 +673,10 @@ export interface MenuShell {
|
|
|
653
673
|
* The #GtkMenuShell.
|
|
654
674
|
*/
|
|
655
675
|
readonly menu_shell: Gtk.MenuShell
|
|
676
|
+
/**
|
|
677
|
+
* The #GtkMenuShell.
|
|
678
|
+
*/
|
|
679
|
+
readonly menuShell: Gtk.MenuShell
|
|
656
680
|
|
|
657
681
|
// Own fields of Amtk-4.Amtk.MenuShell
|
|
658
682
|
|
|
@@ -756,7 +780,7 @@ export interface ActionInfo {
|
|
|
756
780
|
* Sets the action name, for example `"win.save"`.
|
|
757
781
|
* @param action_name the action name.
|
|
758
782
|
*/
|
|
759
|
-
set_action_name(action_name: string
|
|
783
|
+
set_action_name(action_name: string): void
|
|
760
784
|
set_icon_name(icon_name: string | null): void
|
|
761
785
|
/**
|
|
762
786
|
* Sets the label with a mnemonic.
|
|
@@ -827,28 +851,28 @@ export interface ActionInfoEntry {
|
|
|
827
851
|
* the action name.
|
|
828
852
|
* @field
|
|
829
853
|
*/
|
|
830
|
-
action_name: string
|
|
854
|
+
action_name: string
|
|
831
855
|
/**
|
|
832
856
|
* the icon name, or %NULL.
|
|
833
857
|
* @field
|
|
834
858
|
*/
|
|
835
|
-
icon_name: string
|
|
859
|
+
icon_name: string
|
|
836
860
|
/**
|
|
837
861
|
* the label (i.e. a short description) with a mnemonic, or %NULL.
|
|
838
862
|
* @field
|
|
839
863
|
*/
|
|
840
|
-
label: string
|
|
864
|
+
label: string
|
|
841
865
|
/**
|
|
842
866
|
* the accelerator, in the format understood by gtk_accelerator_parse().
|
|
843
867
|
* Or %NULL.
|
|
844
868
|
* @field
|
|
845
869
|
*/
|
|
846
|
-
accel: string
|
|
870
|
+
accel: string
|
|
847
871
|
/**
|
|
848
872
|
* the tooltip (i.e. a long description), or %NULL.
|
|
849
873
|
* @field
|
|
850
874
|
*/
|
|
851
|
-
tooltip: string
|
|
875
|
+
tooltip: string
|
|
852
876
|
}
|
|
853
877
|
|
|
854
878
|
/**
|
package/amtk-4.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ function menu_item_get_long_description(menu_item: Gtk.MenuItem): string | null
|
|
|
120
120
|
* @param item a #GtkMenuItem.
|
|
121
121
|
* @param icon_name an icon name.
|
|
122
122
|
*/
|
|
123
|
-
function menu_item_set_icon_name(item: Gtk.MenuItem, icon_name: string
|
|
123
|
+
function menu_item_set_icon_name(item: Gtk.MenuItem, icon_name: string): void
|
|
124
124
|
/**
|
|
125
125
|
* Sets the long description of `menu_item`. A possible use-case is to display it
|
|
126
126
|
* in a #GtkStatusbar, or as a tooltip.
|
|
@@ -159,7 +159,7 @@ function menu_item_set_long_description(menu_item: Gtk.MenuItem, long_descriptio
|
|
|
159
159
|
* @param gtk_action_group a #GtkActionGroup.
|
|
160
160
|
* @param gtk_action_name a #GtkAction name present in `gtk_action_group`.
|
|
161
161
|
*/
|
|
162
|
-
function utils_bind_g_action_to_gtk_action(g_action_map: Gio.ActionMap, detailed_g_action_name_without_prefix: string
|
|
162
|
+
function utils_bind_g_action_to_gtk_action(g_action_map: Gio.ActionMap, detailed_g_action_name_without_prefix: string, gtk_action_group: Gtk.ActionGroup, gtk_action_name: string): void
|
|
163
163
|
/**
|
|
164
164
|
* Utility function to be able to port an application gradually to #GAction and
|
|
165
165
|
* #AmtkActionInfo, when #GtkUIManager is still used. This function goes one
|
|
@@ -184,7 +184,7 @@ function utils_bind_g_action_to_gtk_action(g_action_map: Gio.ActionMap, detailed
|
|
|
184
184
|
* @param gtk_action_group a #GtkActionGroup.
|
|
185
185
|
* @param gtk_action_name the name of the #GtkAction to create and add to `gtk_action_group`.
|
|
186
186
|
*/
|
|
187
|
-
function utils_create_gtk_action(g_action_map: Gio.ActionMap, detailed_g_action_name_with_prefix: string
|
|
187
|
+
function utils_create_gtk_action(g_action_map: Gio.ActionMap, detailed_g_action_name_with_prefix: string, gtk_action_group: Gtk.ActionGroup, gtk_action_name: string): void
|
|
188
188
|
/**
|
|
189
189
|
* Gets the URI of `item`. `item` must be a child of `menu`. `menu` must be a
|
|
190
190
|
* #GtkRecentChooserMenu.
|
|
@@ -215,7 +215,7 @@ interface ActionInfoCentralStore {
|
|
|
215
215
|
|
|
216
216
|
// Owm methods of Amtk-4.Amtk.ActionInfoCentralStore
|
|
217
217
|
|
|
218
|
-
lookup(action_name: string
|
|
218
|
+
lookup(action_name: string): ActionInfo
|
|
219
219
|
|
|
220
220
|
// Class property signals of Amtk-4.Amtk.ActionInfoCentralStore
|
|
221
221
|
|
|
@@ -286,7 +286,7 @@ interface ActionInfoStore {
|
|
|
286
286
|
* by a library, to easily see which actions are not used by the application.
|
|
287
287
|
*/
|
|
288
288
|
check_all_used(): void
|
|
289
|
-
lookup(action_name: string
|
|
289
|
+
lookup(action_name: string): ActionInfo
|
|
290
290
|
|
|
291
291
|
// Class property signals of Amtk-4.Amtk.ActionInfoStore
|
|
292
292
|
|
|
@@ -327,6 +327,10 @@ module ApplicationWindow {
|
|
|
327
327
|
* The #GtkStatusbar. %NULL by default.
|
|
328
328
|
*/
|
|
329
329
|
statusbar?: Gtk.Statusbar | null
|
|
330
|
+
/**
|
|
331
|
+
* The #GtkApplicationWindow.
|
|
332
|
+
*/
|
|
333
|
+
applicationWindow?: Gtk.ApplicationWindow | null
|
|
330
334
|
}
|
|
331
335
|
|
|
332
336
|
}
|
|
@@ -339,6 +343,10 @@ interface ApplicationWindow {
|
|
|
339
343
|
* The #GtkApplicationWindow.
|
|
340
344
|
*/
|
|
341
345
|
readonly application_window: Gtk.ApplicationWindow
|
|
346
|
+
/**
|
|
347
|
+
* The #GtkApplicationWindow.
|
|
348
|
+
*/
|
|
349
|
+
readonly applicationWindow: Gtk.ApplicationWindow
|
|
342
350
|
/**
|
|
343
351
|
* The #GtkStatusbar. %NULL by default.
|
|
344
352
|
*/
|
|
@@ -456,6 +464,10 @@ module Factory {
|
|
|
456
464
|
* The default #AmtkFactoryFlags.
|
|
457
465
|
*/
|
|
458
466
|
default_flags?: FactoryFlags | null
|
|
467
|
+
/**
|
|
468
|
+
* The default #AmtkFactoryFlags.
|
|
469
|
+
*/
|
|
470
|
+
defaultFlags?: FactoryFlags | null
|
|
459
471
|
}
|
|
460
472
|
|
|
461
473
|
}
|
|
@@ -473,6 +485,10 @@ interface Factory {
|
|
|
473
485
|
* The default #AmtkFactoryFlags.
|
|
474
486
|
*/
|
|
475
487
|
default_flags: FactoryFlags
|
|
488
|
+
/**
|
|
489
|
+
* The default #AmtkFactoryFlags.
|
|
490
|
+
*/
|
|
491
|
+
defaultFlags: FactoryFlags
|
|
476
492
|
|
|
477
493
|
// Own fields of Amtk-4.Amtk.Factory
|
|
478
494
|
|
|
@@ -490,7 +506,7 @@ interface Factory {
|
|
|
490
506
|
* @param action_name an action name.
|
|
491
507
|
* @returns a new #GtkCheckMenuItem for @action_name.
|
|
492
508
|
*/
|
|
493
|
-
create_check_menu_item(action_name: string
|
|
509
|
+
create_check_menu_item(action_name: string): Gtk.Widget
|
|
494
510
|
/**
|
|
495
511
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
496
512
|
* `flags` argument instead.
|
|
@@ -504,14 +520,14 @@ interface Factory {
|
|
|
504
520
|
* @param flags #AmtkFactoryFlags.
|
|
505
521
|
* @returns a new #GtkCheckMenuItem for @action_name.
|
|
506
522
|
*/
|
|
507
|
-
create_check_menu_item_full(action_name: string
|
|
523
|
+
create_check_menu_item_full(action_name: string, flags: FactoryFlags): Gtk.Widget
|
|
508
524
|
/**
|
|
509
525
|
* Creates a new #GtkMenuItem for `action_name` with the
|
|
510
526
|
* #AmtkFactory:default-flags.
|
|
511
527
|
* @param action_name an action name.
|
|
512
528
|
* @returns a new #GtkMenuItem for @action_name.
|
|
513
529
|
*/
|
|
514
|
-
create_menu_item(action_name: string
|
|
530
|
+
create_menu_item(action_name: string): Gtk.Widget
|
|
515
531
|
/**
|
|
516
532
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
517
533
|
* `flags` argument instead.
|
|
@@ -519,7 +535,7 @@ interface Factory {
|
|
|
519
535
|
* @param flags #AmtkFactoryFlags.
|
|
520
536
|
* @returns a new #GtkMenuItem for @action_name.
|
|
521
537
|
*/
|
|
522
|
-
create_menu_item_full(action_name: string
|
|
538
|
+
create_menu_item_full(action_name: string, flags: FactoryFlags): Gtk.Widget
|
|
523
539
|
/**
|
|
524
540
|
* Creates a new #GtkMenuToolButton for `action_name` with the
|
|
525
541
|
* #AmtkFactory:default-flags.
|
|
@@ -529,7 +545,7 @@ interface Factory {
|
|
|
529
545
|
* @param action_name an action name.
|
|
530
546
|
* @returns a new #GtkMenuToolButton for @action_name.
|
|
531
547
|
*/
|
|
532
|
-
create_menu_tool_button(action_name: string
|
|
548
|
+
create_menu_tool_button(action_name: string): Gtk.MenuToolButton
|
|
533
549
|
/**
|
|
534
550
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
535
551
|
* `flags` argument instead.
|
|
@@ -540,14 +556,14 @@ interface Factory {
|
|
|
540
556
|
* @param flags #AmtkFactoryFlags.
|
|
541
557
|
* @returns a new #GtkMenuToolButton for @action_name.
|
|
542
558
|
*/
|
|
543
|
-
create_menu_tool_button_full(action_name: string
|
|
559
|
+
create_menu_tool_button_full(action_name: string, flags: FactoryFlags): Gtk.MenuToolButton
|
|
544
560
|
/**
|
|
545
561
|
* Creates a new #GtkToolButton for `action_name` with the
|
|
546
562
|
* #AmtkFactory:default-flags.
|
|
547
563
|
* @param action_name an action name.
|
|
548
564
|
* @returns a new #GtkToolButton for @action_name.
|
|
549
565
|
*/
|
|
550
|
-
create_tool_button(action_name: string
|
|
566
|
+
create_tool_button(action_name: string): Gtk.ToolItem
|
|
551
567
|
/**
|
|
552
568
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
553
569
|
* `flags` argument instead.
|
|
@@ -555,7 +571,7 @@ interface Factory {
|
|
|
555
571
|
* @param flags #AmtkFactoryFlags.
|
|
556
572
|
* @returns a new #GtkToolButton for @action_name.
|
|
557
573
|
*/
|
|
558
|
-
create_tool_button_full(action_name: string
|
|
574
|
+
create_tool_button_full(action_name: string, flags: FactoryFlags): Gtk.ToolItem
|
|
559
575
|
get_application(): Gtk.Application | null
|
|
560
576
|
get_default_flags(): FactoryFlags
|
|
561
577
|
/**
|
|
@@ -643,6 +659,10 @@ module MenuShell {
|
|
|
643
659
|
* The #GtkMenuShell.
|
|
644
660
|
*/
|
|
645
661
|
menu_shell?: Gtk.MenuShell | null
|
|
662
|
+
/**
|
|
663
|
+
* The #GtkMenuShell.
|
|
664
|
+
*/
|
|
665
|
+
menuShell?: Gtk.MenuShell | null
|
|
646
666
|
}
|
|
647
667
|
|
|
648
668
|
}
|
|
@@ -655,6 +675,10 @@ interface MenuShell {
|
|
|
655
675
|
* The #GtkMenuShell.
|
|
656
676
|
*/
|
|
657
677
|
readonly menu_shell: Gtk.MenuShell
|
|
678
|
+
/**
|
|
679
|
+
* The #GtkMenuShell.
|
|
680
|
+
*/
|
|
681
|
+
readonly menuShell: Gtk.MenuShell
|
|
658
682
|
|
|
659
683
|
// Own fields of Amtk-4.Amtk.MenuShell
|
|
660
684
|
|
|
@@ -758,7 +782,7 @@ interface ActionInfo {
|
|
|
758
782
|
* Sets the action name, for example `"win.save"`.
|
|
759
783
|
* @param action_name the action name.
|
|
760
784
|
*/
|
|
761
|
-
set_action_name(action_name: string
|
|
785
|
+
set_action_name(action_name: string): void
|
|
762
786
|
set_icon_name(icon_name: string | null): void
|
|
763
787
|
/**
|
|
764
788
|
* Sets the label with a mnemonic.
|
|
@@ -829,28 +853,28 @@ interface ActionInfoEntry {
|
|
|
829
853
|
* the action name.
|
|
830
854
|
* @field
|
|
831
855
|
*/
|
|
832
|
-
action_name: string
|
|
856
|
+
action_name: string
|
|
833
857
|
/**
|
|
834
858
|
* the icon name, or %NULL.
|
|
835
859
|
* @field
|
|
836
860
|
*/
|
|
837
|
-
icon_name: string
|
|
861
|
+
icon_name: string
|
|
838
862
|
/**
|
|
839
863
|
* the label (i.e. a short description) with a mnemonic, or %NULL.
|
|
840
864
|
* @field
|
|
841
865
|
*/
|
|
842
|
-
label: string
|
|
866
|
+
label: string
|
|
843
867
|
/**
|
|
844
868
|
* the accelerator, in the format understood by gtk_accelerator_parse().
|
|
845
869
|
* Or %NULL.
|
|
846
870
|
* @field
|
|
847
871
|
*/
|
|
848
|
-
accel: string
|
|
872
|
+
accel: string
|
|
849
873
|
/**
|
|
850
874
|
* the tooltip (i.e. a long description), or %NULL.
|
|
851
875
|
* @field
|
|
852
876
|
*/
|
|
853
|
-
tooltip: string
|
|
877
|
+
tooltip: string
|
|
854
878
|
}
|
|
855
879
|
|
|
856
880
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/amtk-4",
|
|
3
|
-
"version": "4.0.0-3.2.
|
|
3
|
+
"version": "4.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Amtk-4, generated from library version 4.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "amtk-4.js",
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit amtk-4.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/atk-1.0": "^2.50.0-3.2.
|
|
29
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
30
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
31
|
-
"@girs/gdk-3.0": "^3.24.38-3.2.
|
|
32
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
33
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
34
|
-
"@girs/gjs": "^3.2.
|
|
35
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
36
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
37
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
38
|
-
"@girs/gtk-3.0": "^3.24.38-3.2.
|
|
39
|
-
"@girs/harfbuzz-0.0": "^8.2.1-3.2.
|
|
40
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
41
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
28
|
+
"@girs/atk-1.0": "^2.50.0-3.2.7",
|
|
29
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.7",
|
|
30
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.7",
|
|
31
|
+
"@girs/gdk-3.0": "^3.24.38-3.2.7",
|
|
32
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
|
|
33
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
34
|
+
"@girs/gjs": "^3.2.7",
|
|
35
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
36
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.7",
|
|
37
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7",
|
|
38
|
+
"@girs/gtk-3.0": "^3.24.38-3.2.7",
|
|
39
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
|
|
40
|
+
"@girs/pango-1.0": "^1.51.0-3.2.7",
|
|
41
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.7"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typescript": "*"
|