@girs/amtk-4 4.0.0-3.2.6 → 4.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 +1 -1
- package/amtk-4-ambient.js +2 -0
- package/amtk-4-import.js +3 -0
- package/amtk-4.d.cts +20 -44
- package/amtk-4.d.ts +20 -44
- package/package.json +24 -18
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.8.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/amtk-4-import.js
ADDED
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
|
|
|
@@ -320,15 +320,11 @@ export module ApplicationWindow {
|
|
|
320
320
|
/**
|
|
321
321
|
* The #GtkApplicationWindow.
|
|
322
322
|
*/
|
|
323
|
-
|
|
323
|
+
applicationWindow?: Gtk.ApplicationWindow | null
|
|
324
324
|
/**
|
|
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
|
|
332
328
|
}
|
|
333
329
|
|
|
334
330
|
}
|
|
@@ -337,10 +333,6 @@ export interface ApplicationWindow {
|
|
|
337
333
|
|
|
338
334
|
// Own properties of Amtk-4.Amtk.ApplicationWindow
|
|
339
335
|
|
|
340
|
-
/**
|
|
341
|
-
* The #GtkApplicationWindow.
|
|
342
|
-
*/
|
|
343
|
-
readonly application_window: Gtk.ApplicationWindow
|
|
344
336
|
/**
|
|
345
337
|
* The #GtkApplicationWindow.
|
|
346
338
|
*/
|
|
@@ -458,10 +450,6 @@ export module Factory {
|
|
|
458
450
|
* #AmtkFactory has a weak reference to the #GtkApplication.
|
|
459
451
|
*/
|
|
460
452
|
application?: Gtk.Application | null
|
|
461
|
-
/**
|
|
462
|
-
* The default #AmtkFactoryFlags.
|
|
463
|
-
*/
|
|
464
|
-
default_flags?: FactoryFlags | null
|
|
465
453
|
/**
|
|
466
454
|
* The default #AmtkFactoryFlags.
|
|
467
455
|
*/
|
|
@@ -479,10 +467,6 @@ export interface Factory {
|
|
|
479
467
|
* #AmtkFactory has a weak reference to the #GtkApplication.
|
|
480
468
|
*/
|
|
481
469
|
readonly application: Gtk.Application
|
|
482
|
-
/**
|
|
483
|
-
* The default #AmtkFactoryFlags.
|
|
484
|
-
*/
|
|
485
|
-
default_flags: FactoryFlags
|
|
486
470
|
/**
|
|
487
471
|
* The default #AmtkFactoryFlags.
|
|
488
472
|
*/
|
|
@@ -504,7 +488,7 @@ export interface Factory {
|
|
|
504
488
|
* @param action_name an action name.
|
|
505
489
|
* @returns a new #GtkCheckMenuItem for @action_name.
|
|
506
490
|
*/
|
|
507
|
-
create_check_menu_item(action_name: string
|
|
491
|
+
create_check_menu_item(action_name: string): Gtk.Widget
|
|
508
492
|
/**
|
|
509
493
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
510
494
|
* `flags` argument instead.
|
|
@@ -518,14 +502,14 @@ export interface Factory {
|
|
|
518
502
|
* @param flags #AmtkFactoryFlags.
|
|
519
503
|
* @returns a new #GtkCheckMenuItem for @action_name.
|
|
520
504
|
*/
|
|
521
|
-
create_check_menu_item_full(action_name: string
|
|
505
|
+
create_check_menu_item_full(action_name: string, flags: FactoryFlags): Gtk.Widget
|
|
522
506
|
/**
|
|
523
507
|
* Creates a new #GtkMenuItem for `action_name` with the
|
|
524
508
|
* #AmtkFactory:default-flags.
|
|
525
509
|
* @param action_name an action name.
|
|
526
510
|
* @returns a new #GtkMenuItem for @action_name.
|
|
527
511
|
*/
|
|
528
|
-
create_menu_item(action_name: string
|
|
512
|
+
create_menu_item(action_name: string): Gtk.Widget
|
|
529
513
|
/**
|
|
530
514
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
531
515
|
* `flags` argument instead.
|
|
@@ -533,7 +517,7 @@ export interface Factory {
|
|
|
533
517
|
* @param flags #AmtkFactoryFlags.
|
|
534
518
|
* @returns a new #GtkMenuItem for @action_name.
|
|
535
519
|
*/
|
|
536
|
-
create_menu_item_full(action_name: string
|
|
520
|
+
create_menu_item_full(action_name: string, flags: FactoryFlags): Gtk.Widget
|
|
537
521
|
/**
|
|
538
522
|
* Creates a new #GtkMenuToolButton for `action_name` with the
|
|
539
523
|
* #AmtkFactory:default-flags.
|
|
@@ -543,7 +527,7 @@ export interface Factory {
|
|
|
543
527
|
* @param action_name an action name.
|
|
544
528
|
* @returns a new #GtkMenuToolButton for @action_name.
|
|
545
529
|
*/
|
|
546
|
-
create_menu_tool_button(action_name: string
|
|
530
|
+
create_menu_tool_button(action_name: string): Gtk.MenuToolButton
|
|
547
531
|
/**
|
|
548
532
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
549
533
|
* `flags` argument instead.
|
|
@@ -554,14 +538,14 @@ export interface Factory {
|
|
|
554
538
|
* @param flags #AmtkFactoryFlags.
|
|
555
539
|
* @returns a new #GtkMenuToolButton for @action_name.
|
|
556
540
|
*/
|
|
557
|
-
create_menu_tool_button_full(action_name: string
|
|
541
|
+
create_menu_tool_button_full(action_name: string, flags: FactoryFlags): Gtk.MenuToolButton
|
|
558
542
|
/**
|
|
559
543
|
* Creates a new #GtkToolButton for `action_name` with the
|
|
560
544
|
* #AmtkFactory:default-flags.
|
|
561
545
|
* @param action_name an action name.
|
|
562
546
|
* @returns a new #GtkToolButton for @action_name.
|
|
563
547
|
*/
|
|
564
|
-
create_tool_button(action_name: string
|
|
548
|
+
create_tool_button(action_name: string): Gtk.ToolItem
|
|
565
549
|
/**
|
|
566
550
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
567
551
|
* `flags` argument instead.
|
|
@@ -569,7 +553,7 @@ export interface Factory {
|
|
|
569
553
|
* @param flags #AmtkFactoryFlags.
|
|
570
554
|
* @returns a new #GtkToolButton for @action_name.
|
|
571
555
|
*/
|
|
572
|
-
create_tool_button_full(action_name: string
|
|
556
|
+
create_tool_button_full(action_name: string, flags: FactoryFlags): Gtk.ToolItem
|
|
573
557
|
get_application(): Gtk.Application | null
|
|
574
558
|
get_default_flags(): FactoryFlags
|
|
575
559
|
/**
|
|
@@ -653,10 +637,6 @@ export module MenuShell {
|
|
|
653
637
|
|
|
654
638
|
// Own constructor properties of Amtk-4.Amtk.MenuShell
|
|
655
639
|
|
|
656
|
-
/**
|
|
657
|
-
* The #GtkMenuShell.
|
|
658
|
-
*/
|
|
659
|
-
menu_shell?: Gtk.MenuShell | null
|
|
660
640
|
/**
|
|
661
641
|
* The #GtkMenuShell.
|
|
662
642
|
*/
|
|
@@ -669,10 +649,6 @@ export interface MenuShell {
|
|
|
669
649
|
|
|
670
650
|
// Own properties of Amtk-4.Amtk.MenuShell
|
|
671
651
|
|
|
672
|
-
/**
|
|
673
|
-
* The #GtkMenuShell.
|
|
674
|
-
*/
|
|
675
|
-
readonly menu_shell: Gtk.MenuShell
|
|
676
652
|
/**
|
|
677
653
|
* The #GtkMenuShell.
|
|
678
654
|
*/
|
|
@@ -780,7 +756,7 @@ export interface ActionInfo {
|
|
|
780
756
|
* Sets the action name, for example `"win.save"`.
|
|
781
757
|
* @param action_name the action name.
|
|
782
758
|
*/
|
|
783
|
-
set_action_name(action_name: string
|
|
759
|
+
set_action_name(action_name: string): void
|
|
784
760
|
set_icon_name(icon_name: string | null): void
|
|
785
761
|
/**
|
|
786
762
|
* Sets the label with a mnemonic.
|
|
@@ -851,28 +827,28 @@ export interface ActionInfoEntry {
|
|
|
851
827
|
* the action name.
|
|
852
828
|
* @field
|
|
853
829
|
*/
|
|
854
|
-
action_name: string
|
|
830
|
+
action_name: string
|
|
855
831
|
/**
|
|
856
832
|
* the icon name, or %NULL.
|
|
857
833
|
* @field
|
|
858
834
|
*/
|
|
859
|
-
icon_name: string
|
|
835
|
+
icon_name: string
|
|
860
836
|
/**
|
|
861
837
|
* the label (i.e. a short description) with a mnemonic, or %NULL.
|
|
862
838
|
* @field
|
|
863
839
|
*/
|
|
864
|
-
label: string
|
|
840
|
+
label: string
|
|
865
841
|
/**
|
|
866
842
|
* the accelerator, in the format understood by gtk_accelerator_parse().
|
|
867
843
|
* Or %NULL.
|
|
868
844
|
* @field
|
|
869
845
|
*/
|
|
870
|
-
accel: string
|
|
846
|
+
accel: string
|
|
871
847
|
/**
|
|
872
848
|
* the tooltip (i.e. a long description), or %NULL.
|
|
873
849
|
* @field
|
|
874
850
|
*/
|
|
875
|
-
tooltip: string
|
|
851
|
+
tooltip: string
|
|
876
852
|
}
|
|
877
853
|
|
|
878
854
|
/**
|
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
|
|
|
@@ -322,15 +322,11 @@ module ApplicationWindow {
|
|
|
322
322
|
/**
|
|
323
323
|
* The #GtkApplicationWindow.
|
|
324
324
|
*/
|
|
325
|
-
|
|
325
|
+
applicationWindow?: Gtk.ApplicationWindow | null
|
|
326
326
|
/**
|
|
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
|
|
334
330
|
}
|
|
335
331
|
|
|
336
332
|
}
|
|
@@ -339,10 +335,6 @@ interface ApplicationWindow {
|
|
|
339
335
|
|
|
340
336
|
// Own properties of Amtk-4.Amtk.ApplicationWindow
|
|
341
337
|
|
|
342
|
-
/**
|
|
343
|
-
* The #GtkApplicationWindow.
|
|
344
|
-
*/
|
|
345
|
-
readonly application_window: Gtk.ApplicationWindow
|
|
346
338
|
/**
|
|
347
339
|
* The #GtkApplicationWindow.
|
|
348
340
|
*/
|
|
@@ -460,10 +452,6 @@ module Factory {
|
|
|
460
452
|
* #AmtkFactory has a weak reference to the #GtkApplication.
|
|
461
453
|
*/
|
|
462
454
|
application?: Gtk.Application | null
|
|
463
|
-
/**
|
|
464
|
-
* The default #AmtkFactoryFlags.
|
|
465
|
-
*/
|
|
466
|
-
default_flags?: FactoryFlags | null
|
|
467
455
|
/**
|
|
468
456
|
* The default #AmtkFactoryFlags.
|
|
469
457
|
*/
|
|
@@ -481,10 +469,6 @@ interface Factory {
|
|
|
481
469
|
* #AmtkFactory has a weak reference to the #GtkApplication.
|
|
482
470
|
*/
|
|
483
471
|
readonly application: Gtk.Application
|
|
484
|
-
/**
|
|
485
|
-
* The default #AmtkFactoryFlags.
|
|
486
|
-
*/
|
|
487
|
-
default_flags: FactoryFlags
|
|
488
472
|
/**
|
|
489
473
|
* The default #AmtkFactoryFlags.
|
|
490
474
|
*/
|
|
@@ -506,7 +490,7 @@ interface Factory {
|
|
|
506
490
|
* @param action_name an action name.
|
|
507
491
|
* @returns a new #GtkCheckMenuItem for @action_name.
|
|
508
492
|
*/
|
|
509
|
-
create_check_menu_item(action_name: string
|
|
493
|
+
create_check_menu_item(action_name: string): Gtk.Widget
|
|
510
494
|
/**
|
|
511
495
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
512
496
|
* `flags` argument instead.
|
|
@@ -520,14 +504,14 @@ interface Factory {
|
|
|
520
504
|
* @param flags #AmtkFactoryFlags.
|
|
521
505
|
* @returns a new #GtkCheckMenuItem for @action_name.
|
|
522
506
|
*/
|
|
523
|
-
create_check_menu_item_full(action_name: string
|
|
507
|
+
create_check_menu_item_full(action_name: string, flags: FactoryFlags): Gtk.Widget
|
|
524
508
|
/**
|
|
525
509
|
* Creates a new #GtkMenuItem for `action_name` with the
|
|
526
510
|
* #AmtkFactory:default-flags.
|
|
527
511
|
* @param action_name an action name.
|
|
528
512
|
* @returns a new #GtkMenuItem for @action_name.
|
|
529
513
|
*/
|
|
530
|
-
create_menu_item(action_name: string
|
|
514
|
+
create_menu_item(action_name: string): Gtk.Widget
|
|
531
515
|
/**
|
|
532
516
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
533
517
|
* `flags` argument instead.
|
|
@@ -535,7 +519,7 @@ interface Factory {
|
|
|
535
519
|
* @param flags #AmtkFactoryFlags.
|
|
536
520
|
* @returns a new #GtkMenuItem for @action_name.
|
|
537
521
|
*/
|
|
538
|
-
create_menu_item_full(action_name: string
|
|
522
|
+
create_menu_item_full(action_name: string, flags: FactoryFlags): Gtk.Widget
|
|
539
523
|
/**
|
|
540
524
|
* Creates a new #GtkMenuToolButton for `action_name` with the
|
|
541
525
|
* #AmtkFactory:default-flags.
|
|
@@ -545,7 +529,7 @@ interface Factory {
|
|
|
545
529
|
* @param action_name an action name.
|
|
546
530
|
* @returns a new #GtkMenuToolButton for @action_name.
|
|
547
531
|
*/
|
|
548
|
-
create_menu_tool_button(action_name: string
|
|
532
|
+
create_menu_tool_button(action_name: string): Gtk.MenuToolButton
|
|
549
533
|
/**
|
|
550
534
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
551
535
|
* `flags` argument instead.
|
|
@@ -556,14 +540,14 @@ interface Factory {
|
|
|
556
540
|
* @param flags #AmtkFactoryFlags.
|
|
557
541
|
* @returns a new #GtkMenuToolButton for @action_name.
|
|
558
542
|
*/
|
|
559
|
-
create_menu_tool_button_full(action_name: string
|
|
543
|
+
create_menu_tool_button_full(action_name: string, flags: FactoryFlags): Gtk.MenuToolButton
|
|
560
544
|
/**
|
|
561
545
|
* Creates a new #GtkToolButton for `action_name` with the
|
|
562
546
|
* #AmtkFactory:default-flags.
|
|
563
547
|
* @param action_name an action name.
|
|
564
548
|
* @returns a new #GtkToolButton for @action_name.
|
|
565
549
|
*/
|
|
566
|
-
create_tool_button(action_name: string
|
|
550
|
+
create_tool_button(action_name: string): Gtk.ToolItem
|
|
567
551
|
/**
|
|
568
552
|
* This function ignores the #AmtkFactory:default-flags property and takes the
|
|
569
553
|
* `flags` argument instead.
|
|
@@ -571,7 +555,7 @@ interface Factory {
|
|
|
571
555
|
* @param flags #AmtkFactoryFlags.
|
|
572
556
|
* @returns a new #GtkToolButton for @action_name.
|
|
573
557
|
*/
|
|
574
|
-
create_tool_button_full(action_name: string
|
|
558
|
+
create_tool_button_full(action_name: string, flags: FactoryFlags): Gtk.ToolItem
|
|
575
559
|
get_application(): Gtk.Application | null
|
|
576
560
|
get_default_flags(): FactoryFlags
|
|
577
561
|
/**
|
|
@@ -655,10 +639,6 @@ module MenuShell {
|
|
|
655
639
|
|
|
656
640
|
// Own constructor properties of Amtk-4.Amtk.MenuShell
|
|
657
641
|
|
|
658
|
-
/**
|
|
659
|
-
* The #GtkMenuShell.
|
|
660
|
-
*/
|
|
661
|
-
menu_shell?: Gtk.MenuShell | null
|
|
662
642
|
/**
|
|
663
643
|
* The #GtkMenuShell.
|
|
664
644
|
*/
|
|
@@ -671,10 +651,6 @@ interface MenuShell {
|
|
|
671
651
|
|
|
672
652
|
// Own properties of Amtk-4.Amtk.MenuShell
|
|
673
653
|
|
|
674
|
-
/**
|
|
675
|
-
* The #GtkMenuShell.
|
|
676
|
-
*/
|
|
677
|
-
readonly menu_shell: Gtk.MenuShell
|
|
678
654
|
/**
|
|
679
655
|
* The #GtkMenuShell.
|
|
680
656
|
*/
|
|
@@ -782,7 +758,7 @@ interface ActionInfo {
|
|
|
782
758
|
* Sets the action name, for example `"win.save"`.
|
|
783
759
|
* @param action_name the action name.
|
|
784
760
|
*/
|
|
785
|
-
set_action_name(action_name: string
|
|
761
|
+
set_action_name(action_name: string): void
|
|
786
762
|
set_icon_name(icon_name: string | null): void
|
|
787
763
|
/**
|
|
788
764
|
* Sets the label with a mnemonic.
|
|
@@ -853,28 +829,28 @@ interface ActionInfoEntry {
|
|
|
853
829
|
* the action name.
|
|
854
830
|
* @field
|
|
855
831
|
*/
|
|
856
|
-
action_name: string
|
|
832
|
+
action_name: string
|
|
857
833
|
/**
|
|
858
834
|
* the icon name, or %NULL.
|
|
859
835
|
* @field
|
|
860
836
|
*/
|
|
861
|
-
icon_name: string
|
|
837
|
+
icon_name: string
|
|
862
838
|
/**
|
|
863
839
|
* the label (i.e. a short description) with a mnemonic, or %NULL.
|
|
864
840
|
* @field
|
|
865
841
|
*/
|
|
866
|
-
label: string
|
|
842
|
+
label: string
|
|
867
843
|
/**
|
|
868
844
|
* the accelerator, in the format understood by gtk_accelerator_parse().
|
|
869
845
|
* Or %NULL.
|
|
870
846
|
* @field
|
|
871
847
|
*/
|
|
872
|
-
accel: string
|
|
848
|
+
accel: string
|
|
873
849
|
/**
|
|
874
850
|
* the tooltip (i.e. a long description), or %NULL.
|
|
875
851
|
* @field
|
|
876
852
|
*/
|
|
877
|
-
tooltip: string
|
|
853
|
+
tooltip: string
|
|
878
854
|
}
|
|
879
855
|
|
|
880
856
|
/**
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/amtk-4",
|
|
3
|
-
"version": "4.0.0-3.2.
|
|
3
|
+
"version": "4.0.0-3.2.8",
|
|
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",
|
|
7
7
|
"main": "amtk-4.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./amtk-4-ambient.d.ts",
|
|
11
|
+
"default": "./amtk-4-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./amtk-4-import.d.ts",
|
|
15
|
+
"default": "./amtk-4-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./amtk-4.d.ts",
|
|
@@ -25,20 +31,20 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit amtk-4.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/atk-1.0": "^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.
|
|
32
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
33
|
-
"@girs/gio-2.0": "^2.
|
|
34
|
-
"@girs/gjs": "^3.2.
|
|
35
|
-
"@girs/glib-2.0": "^2.
|
|
36
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
37
|
-
"@girs/gobject-2.0": "^2.
|
|
38
|
-
"@girs/gtk-3.0": "^3.24.
|
|
39
|
-
"@girs/harfbuzz-0.0": "^8.
|
|
40
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
41
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
34
|
+
"@girs/atk-1.0": "^2.45.1-3.2.8",
|
|
35
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.8",
|
|
36
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.8",
|
|
37
|
+
"@girs/gdk-3.0": "^3.24.39-3.2.8",
|
|
38
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
|
|
39
|
+
"@girs/gio-2.0": "^2.77.0-3.2.8",
|
|
40
|
+
"@girs/gjs": "^3.2.8",
|
|
41
|
+
"@girs/glib-2.0": "^2.77.0-3.2.8",
|
|
42
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.8",
|
|
43
|
+
"@girs/gobject-2.0": "^2.77.0-3.2.8",
|
|
44
|
+
"@girs/gtk-3.0": "^3.24.39-3.2.8",
|
|
45
|
+
"@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
|
|
46
|
+
"@girs/pango-1.0": "^1.51.0-3.2.8",
|
|
47
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.8"
|
|
42
48
|
},
|
|
43
49
|
"devDependencies": {
|
|
44
50
|
"typescript": "*"
|
|
@@ -55,7 +61,7 @@
|
|
|
55
61
|
"license": "MIT",
|
|
56
62
|
"repository": {
|
|
57
63
|
"type": "git",
|
|
58
|
-
"url": "git+https://github.com/gjsify/
|
|
64
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
59
65
|
},
|
|
60
66
|
"bugs": {
|
|
61
67
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|