@girs/unity-7.0 7.0.0-3.2.6 → 7.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/package.json +16 -10
- package/unity-7.0-ambient.js +2 -0
- package/unity-7.0-import.js +3 -0
- package/unity-7.0.d.cts +232 -371
- package/unity-7.0.d.ts +232 -371
package/unity-7.0.d.ts
CHANGED
|
@@ -146,12 +146,12 @@ enum AggregatorScopeMergeMode {
|
|
|
146
146
|
OWNER_SCOPE,
|
|
147
147
|
}
|
|
148
148
|
const SCOPE_API_VERSION: number
|
|
149
|
-
function category_renderer_from_string(renderer_name: string
|
|
150
|
-
function category_renderer_to_string(val: CategoryRenderer): string
|
|
151
|
-
function category_content_type_from_string(content_type: string
|
|
152
|
-
function category_content_type_to_string(val: CategoryContentType): string
|
|
153
|
-
function filter_renderer_to_string(renderer: FilterRenderer): string
|
|
154
|
-
function filter_renderer_from_string(renderer_name: string
|
|
149
|
+
function category_renderer_from_string(renderer_name: string): CategoryRenderer
|
|
150
|
+
function category_renderer_to_string(val: CategoryRenderer): string
|
|
151
|
+
function category_content_type_from_string(content_type: string): CategoryContentType
|
|
152
|
+
function category_content_type_to_string(val: CategoryContentType): string
|
|
153
|
+
function filter_renderer_to_string(renderer: FilterRenderer): string
|
|
154
|
+
function filter_renderer_from_string(renderer_name: string): FilterRenderer
|
|
155
155
|
function scope_module_get_version(): number
|
|
156
156
|
function scope_module_load_scopes(): AbstractScope[]
|
|
157
157
|
function object_unref(object?: any | null): void
|
|
@@ -169,7 +169,7 @@ module AppInfoManager {
|
|
|
169
169
|
* Signal callback interface for `changed`
|
|
170
170
|
*/
|
|
171
171
|
interface ChangedSignalCallback {
|
|
172
|
-
($obj: AppInfoManager, id: string
|
|
172
|
+
($obj: AppInfoManager, id: string, new_appinfo?: Gio.AppInfo | null): void
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
|
|
@@ -184,11 +184,11 @@ interface AppInfoManager {
|
|
|
184
184
|
|
|
185
185
|
// Owm methods of Unity-7.0.Unity.AppInfoManager
|
|
186
186
|
|
|
187
|
-
lookup(id: string
|
|
188
|
-
get_categories(id: string
|
|
189
|
-
get_keywords(id: string
|
|
190
|
-
get_path(id: string
|
|
191
|
-
lookup_async(id: string
|
|
187
|
+
lookup(id: string): Gio.AppInfo | null
|
|
188
|
+
get_categories(id: string): string[] | null
|
|
189
|
+
get_keywords(id: string): string[] | null
|
|
190
|
+
get_path(id: string): string | null
|
|
191
|
+
lookup_async(id: string, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
192
192
|
|
|
193
193
|
// Overloads of lookup_async
|
|
194
194
|
|
|
@@ -200,7 +200,7 @@ interface AppInfoManager {
|
|
|
200
200
|
* @param _callback_
|
|
201
201
|
* @returns A Promise of the result of {@link lookup_async}
|
|
202
202
|
*/
|
|
203
|
-
lookup_async(id: string
|
|
203
|
+
lookup_async(id: string): globalThis.Promise<Gio.AppInfo | null>
|
|
204
204
|
lookup_finish(_res_: Gio.AsyncResult): Gio.AppInfo | null
|
|
205
205
|
clear(): void
|
|
206
206
|
|
|
@@ -208,7 +208,7 @@ interface AppInfoManager {
|
|
|
208
208
|
|
|
209
209
|
connect(sigName: "changed", callback: AppInfoManager.ChangedSignalCallback): number
|
|
210
210
|
connect_after(sigName: "changed", callback: AppInfoManager.ChangedSignalCallback): number
|
|
211
|
-
emit(sigName: "changed", id: string
|
|
211
|
+
emit(sigName: "changed", id: string, new_appinfo?: Gio.AppInfo | null, ...args: any[]): void
|
|
212
212
|
|
|
213
213
|
// Class property signals of Unity-7.0.Unity.AppInfoManager
|
|
214
214
|
|
|
@@ -244,7 +244,6 @@ module AnnotatedIcon {
|
|
|
244
244
|
icon?: Gio.Icon | null
|
|
245
245
|
ribbon?: string | null
|
|
246
246
|
category?: CategoryType | null
|
|
247
|
-
size_hint?: IconSizeHint | null
|
|
248
247
|
sizeHint?: IconSizeHint | null
|
|
249
248
|
}
|
|
250
249
|
|
|
@@ -257,7 +256,6 @@ interface AnnotatedIcon {
|
|
|
257
256
|
icon: Gio.Icon
|
|
258
257
|
ribbon: string | null
|
|
259
258
|
category: CategoryType
|
|
260
|
-
size_hint: IconSizeHint
|
|
261
259
|
sizeHint: IconSizeHint
|
|
262
260
|
|
|
263
261
|
// Owm methods of Unity-7.0.Unity.AnnotatedIcon
|
|
@@ -266,8 +264,8 @@ interface AnnotatedIcon {
|
|
|
266
264
|
to_string(): string | null
|
|
267
265
|
get_icon(): Gio.Icon
|
|
268
266
|
set_icon(value: Gio.Icon): void
|
|
269
|
-
get_ribbon(): string
|
|
270
|
-
set_ribbon(value: string
|
|
267
|
+
get_ribbon(): string
|
|
268
|
+
set_ribbon(value: string): void
|
|
271
269
|
get_category(): CategoryType
|
|
272
270
|
set_category(value: CategoryType): void
|
|
273
271
|
get_size_hint(): IconSizeHint
|
|
@@ -321,9 +319,7 @@ interface Inspector {
|
|
|
321
319
|
|
|
322
320
|
// Own properties of Unity-7.0.Unity.Inspector
|
|
323
321
|
|
|
324
|
-
readonly unity_running: boolean
|
|
325
322
|
readonly unityRunning: boolean
|
|
326
|
-
readonly unity_bus_name: string | null
|
|
327
323
|
readonly unityBusName: string | null
|
|
328
324
|
|
|
329
325
|
// Owm methods of Unity-7.0.Unity.Inspector
|
|
@@ -367,16 +363,13 @@ module LauncherEntry {
|
|
|
367
363
|
|
|
368
364
|
// Own constructor properties of Unity-7.0.Unity.LauncherEntry
|
|
369
365
|
|
|
370
|
-
|
|
366
|
+
appUri?: string | null
|
|
371
367
|
count?: number | null
|
|
372
|
-
|
|
368
|
+
countVisible?: boolean | null
|
|
373
369
|
progress?: number | null
|
|
374
|
-
|
|
370
|
+
progressVisible?: boolean | null
|
|
375
371
|
urgent?: boolean | null
|
|
376
372
|
quicklist?: Dbusmenu.Menuitem | null
|
|
377
|
-
appUri?: string | null
|
|
378
|
-
countVisible?: boolean | null
|
|
379
|
-
progressVisible?: boolean | null
|
|
380
373
|
}
|
|
381
374
|
|
|
382
375
|
}
|
|
@@ -385,21 +378,18 @@ interface LauncherEntry extends Dee.Serializable {
|
|
|
385
378
|
|
|
386
379
|
// Own properties of Unity-7.0.Unity.LauncherEntry
|
|
387
380
|
|
|
388
|
-
app_uri: string | null
|
|
389
381
|
appUri: string | null
|
|
390
382
|
count: number
|
|
391
|
-
count_visible: boolean
|
|
392
383
|
countVisible: boolean
|
|
393
384
|
progress: number
|
|
394
|
-
progress_visible: boolean
|
|
395
385
|
progressVisible: boolean
|
|
396
386
|
urgent: boolean
|
|
397
387
|
quicklist: Dbusmenu.Menuitem
|
|
398
388
|
|
|
399
389
|
// Owm methods of Unity-7.0.Unity.LauncherEntry
|
|
400
390
|
|
|
401
|
-
get_app_uri(): string
|
|
402
|
-
set_app_uri(value: string
|
|
391
|
+
get_app_uri(): string
|
|
392
|
+
set_app_uri(value: string): void
|
|
403
393
|
get_count(): number
|
|
404
394
|
set_count(value: number): void
|
|
405
395
|
get_count_visible(): boolean
|
|
@@ -453,9 +443,9 @@ class LauncherEntry extends GObject.Object {
|
|
|
453
443
|
|
|
454
444
|
constructor(config?: LauncherEntry.ConstructorProperties)
|
|
455
445
|
_init(config?: LauncherEntry.ConstructorProperties): void
|
|
456
|
-
static get_for_app_uri(app_uri: string
|
|
457
|
-
static get_for_desktop_id(desktop_id: string
|
|
458
|
-
static get_for_desktop_file(desktop_file: string
|
|
446
|
+
static get_for_app_uri(app_uri: string): LauncherEntry
|
|
447
|
+
static get_for_desktop_id(desktop_id: string): LauncherEntry
|
|
448
|
+
static get_for_desktop_file(desktop_file: string): LauncherEntry
|
|
459
449
|
}
|
|
460
450
|
|
|
461
451
|
module LauncherFavorites {
|
|
@@ -482,8 +472,8 @@ interface LauncherFavorites {
|
|
|
482
472
|
// Owm methods of Unity-7.0.Unity.LauncherFavorites
|
|
483
473
|
|
|
484
474
|
has_app_info(appinfo: Gio.AppInfo): boolean
|
|
485
|
-
has_app_id(app_id: string
|
|
486
|
-
lookup(app_id: string
|
|
475
|
+
has_app_id(app_id: string): boolean
|
|
476
|
+
lookup(app_id: string): Gio.AppInfo | null
|
|
487
477
|
enumerate_ids(): string[]
|
|
488
478
|
enumerate_app_infos(): Gio.AppInfo[]
|
|
489
479
|
|
|
@@ -555,8 +545,6 @@ module ProgressSourceProvider {
|
|
|
555
545
|
|
|
556
546
|
// Own constructor properties of Unity-7.0.Unity.ProgressSourceProvider
|
|
557
547
|
|
|
558
|
-
dbus_name?: string | null
|
|
559
|
-
dbus_path?: string | null
|
|
560
548
|
dbusName?: string | null
|
|
561
549
|
dbusPath?: string | null
|
|
562
550
|
}
|
|
@@ -567,15 +555,13 @@ interface ProgressSourceProvider {
|
|
|
567
555
|
|
|
568
556
|
// Own properties of Unity-7.0.Unity.ProgressSourceProvider
|
|
569
557
|
|
|
570
|
-
readonly dbus_name: string | null
|
|
571
558
|
readonly dbusName: string | null
|
|
572
|
-
readonly dbus_path: string | null
|
|
573
559
|
readonly dbusPath: string | null
|
|
574
560
|
|
|
575
561
|
// Owm methods of Unity-7.0.Unity.ProgressSourceProvider
|
|
576
562
|
|
|
577
|
-
get_dbus_name(): string
|
|
578
|
-
get_dbus_path(): string
|
|
563
|
+
get_dbus_name(): string
|
|
564
|
+
get_dbus_path(): string
|
|
579
565
|
|
|
580
566
|
// Class property signals of Unity-7.0.Unity.ProgressSourceProvider
|
|
581
567
|
|
|
@@ -601,8 +587,8 @@ class ProgressSourceProvider extends MetadataProvider {
|
|
|
601
587
|
// Constructors of Unity-7.0.Unity.ProgressSourceProvider
|
|
602
588
|
|
|
603
589
|
constructor(config?: ProgressSourceProvider.ConstructorProperties)
|
|
604
|
-
constructor(dbus_name: string
|
|
605
|
-
static new(dbus_name: string
|
|
590
|
+
constructor(dbus_name: string, dbus_path: string)
|
|
591
|
+
static new(dbus_name: string, dbus_path: string): ProgressSourceProvider
|
|
606
592
|
_init(config?: ProgressSourceProvider.ConstructorProperties): void
|
|
607
593
|
}
|
|
608
594
|
|
|
@@ -616,10 +602,6 @@ module Category {
|
|
|
616
602
|
|
|
617
603
|
id?: string | null
|
|
618
604
|
name?: string | null
|
|
619
|
-
icon_hint?: Gio.Icon | null
|
|
620
|
-
default_renderer?: CategoryRenderer | null
|
|
621
|
-
content_type?: CategoryContentType | null
|
|
622
|
-
renderer_hint?: string | null
|
|
623
605
|
iconHint?: Gio.Icon | null
|
|
624
606
|
defaultRenderer?: CategoryRenderer | null
|
|
625
607
|
contentType?: CategoryContentType | null
|
|
@@ -634,28 +616,24 @@ interface Category {
|
|
|
634
616
|
|
|
635
617
|
readonly id: string | null
|
|
636
618
|
readonly name: string | null
|
|
637
|
-
readonly icon_hint: Gio.Icon
|
|
638
619
|
readonly iconHint: Gio.Icon
|
|
639
|
-
readonly default_renderer: CategoryRenderer
|
|
640
620
|
readonly defaultRenderer: CategoryRenderer
|
|
641
|
-
content_type: CategoryContentType
|
|
642
621
|
contentType: CategoryContentType
|
|
643
|
-
renderer_hint: string | null
|
|
644
622
|
rendererHint: string | null
|
|
645
623
|
readonly renderer: string | null
|
|
646
624
|
|
|
647
625
|
// Owm methods of Unity-7.0.Unity.Category
|
|
648
626
|
|
|
649
627
|
add_metadata_provider(provider: MetadataProvider): void
|
|
650
|
-
get_id(): string
|
|
651
|
-
get_name(): string
|
|
628
|
+
get_id(): string
|
|
629
|
+
get_name(): string
|
|
652
630
|
get_icon_hint(): Gio.Icon | null
|
|
653
631
|
get_default_renderer(): CategoryRenderer
|
|
654
632
|
get_content_type(): CategoryContentType
|
|
655
633
|
set_content_type(value: CategoryContentType): void
|
|
656
|
-
get_renderer_hint(): string
|
|
657
|
-
set_renderer_hint(value: string
|
|
658
|
-
get_renderer(): string
|
|
634
|
+
get_renderer_hint(): string
|
|
635
|
+
set_renderer_hint(value: string): void
|
|
636
|
+
get_renderer(): string
|
|
659
637
|
|
|
660
638
|
// Class property signals of Unity-7.0.Unity.Category
|
|
661
639
|
|
|
@@ -696,8 +674,8 @@ class Category extends GObject.Object {
|
|
|
696
674
|
// Constructors of Unity-7.0.Unity.Category
|
|
697
675
|
|
|
698
676
|
constructor(config?: Category.ConstructorProperties)
|
|
699
|
-
constructor(id: string
|
|
700
|
-
static new(id: string
|
|
677
|
+
constructor(id: string, name: string, icon_hint: Gio.Icon, renderer: CategoryRenderer)
|
|
678
|
+
static new(id: string, name: string, icon_hint: Gio.Icon, renderer: CategoryRenderer): Category
|
|
701
679
|
_init(config?: Category.ConstructorProperties): void
|
|
702
680
|
}
|
|
703
681
|
|
|
@@ -720,14 +698,12 @@ module Filter {
|
|
|
720
698
|
// Own constructor properties of Unity-7.0.Unity.Filter
|
|
721
699
|
|
|
722
700
|
id?: string | null
|
|
723
|
-
|
|
724
|
-
|
|
701
|
+
displayName?: string | null
|
|
702
|
+
iconHint?: Gio.Icon | null
|
|
725
703
|
renderer?: FilterRenderer | null
|
|
726
704
|
visible?: boolean | null
|
|
727
705
|
collapsed?: boolean | null
|
|
728
706
|
filtering?: boolean | null
|
|
729
|
-
displayName?: string | null
|
|
730
|
-
iconHint?: Gio.Icon | null
|
|
731
707
|
}
|
|
732
708
|
|
|
733
709
|
}
|
|
@@ -737,9 +713,7 @@ interface Filter extends Dee.Serializable {
|
|
|
737
713
|
// Own properties of Unity-7.0.Unity.Filter
|
|
738
714
|
|
|
739
715
|
readonly id: string | null
|
|
740
|
-
display_name: string | null
|
|
741
716
|
displayName: string | null
|
|
742
|
-
readonly icon_hint: Gio.Icon
|
|
743
717
|
readonly iconHint: Gio.Icon
|
|
744
718
|
readonly renderer: FilterRenderer
|
|
745
719
|
visible: boolean
|
|
@@ -748,8 +722,8 @@ interface Filter extends Dee.Serializable {
|
|
|
748
722
|
|
|
749
723
|
// Owm methods of Unity-7.0.Unity.Filter
|
|
750
724
|
|
|
751
|
-
get_id(): string
|
|
752
|
-
get_display_name(): string
|
|
725
|
+
get_id(): string
|
|
726
|
+
get_display_name(): string
|
|
753
727
|
get_icon_hint(): Gio.Icon | null
|
|
754
728
|
get_renderer(): FilterRenderer
|
|
755
729
|
get_visible(): boolean
|
|
@@ -814,11 +788,9 @@ module FilterOption {
|
|
|
814
788
|
// Own constructor properties of Unity-7.0.Unity.FilterOption
|
|
815
789
|
|
|
816
790
|
id?: string | null
|
|
817
|
-
display_name?: string | null
|
|
818
|
-
icon_hint?: Gio.Icon | null
|
|
819
|
-
active?: boolean | null
|
|
820
791
|
displayName?: string | null
|
|
821
792
|
iconHint?: Gio.Icon | null
|
|
793
|
+
active?: boolean | null
|
|
822
794
|
}
|
|
823
795
|
|
|
824
796
|
}
|
|
@@ -828,16 +800,14 @@ interface FilterOption {
|
|
|
828
800
|
// Own properties of Unity-7.0.Unity.FilterOption
|
|
829
801
|
|
|
830
802
|
readonly id: string | null
|
|
831
|
-
readonly display_name: string | null
|
|
832
803
|
readonly displayName: string | null
|
|
833
|
-
readonly icon_hint: Gio.Icon
|
|
834
804
|
readonly iconHint: Gio.Icon
|
|
835
805
|
active: boolean
|
|
836
806
|
|
|
837
807
|
// Owm methods of Unity-7.0.Unity.FilterOption
|
|
838
808
|
|
|
839
|
-
get_id(): string
|
|
840
|
-
get_display_name(): string
|
|
809
|
+
get_id(): string
|
|
810
|
+
get_display_name(): string
|
|
841
811
|
get_icon_hint(): Gio.Icon
|
|
842
812
|
get_active(): boolean
|
|
843
813
|
set_active(value: boolean): void
|
|
@@ -872,8 +842,8 @@ class FilterOption extends GObject.Object {
|
|
|
872
842
|
// Constructors of Unity-7.0.Unity.FilterOption
|
|
873
843
|
|
|
874
844
|
constructor(config?: FilterOption.ConstructorProperties)
|
|
875
|
-
constructor(id: string
|
|
876
|
-
static new(id: string
|
|
845
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, active: boolean)
|
|
846
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, active: boolean): FilterOption
|
|
877
847
|
_init(config?: FilterOption.ConstructorProperties): void
|
|
878
848
|
}
|
|
879
849
|
|
|
@@ -885,8 +855,6 @@ module OptionsFilter {
|
|
|
885
855
|
|
|
886
856
|
// Own constructor properties of Unity-7.0.Unity.OptionsFilter
|
|
887
857
|
|
|
888
|
-
sort_type?: OptionsFilterSortType | null
|
|
889
|
-
show_all_button?: boolean | null
|
|
890
858
|
sortType?: OptionsFilterSortType | null
|
|
891
859
|
showAllButton?: boolean | null
|
|
892
860
|
}
|
|
@@ -897,9 +865,7 @@ interface OptionsFilter {
|
|
|
897
865
|
|
|
898
866
|
// Own properties of Unity-7.0.Unity.OptionsFilter
|
|
899
867
|
|
|
900
|
-
sort_type: OptionsFilterSortType
|
|
901
868
|
sortType: OptionsFilterSortType
|
|
902
|
-
show_all_button: boolean
|
|
903
869
|
showAllButton: boolean
|
|
904
870
|
|
|
905
871
|
// Own fields of Unity-7.0.Unity.OptionsFilter
|
|
@@ -908,9 +874,9 @@ interface OptionsFilter {
|
|
|
908
874
|
|
|
909
875
|
// Owm methods of Unity-7.0.Unity.OptionsFilter
|
|
910
876
|
|
|
911
|
-
add_option(id: string
|
|
912
|
-
get_option(id: string
|
|
913
|
-
remove_option(id: string
|
|
877
|
+
add_option(id: string, display_name: string, icon_hint?: Gio.Icon | null): FilterOption
|
|
878
|
+
get_option(id: string): FilterOption | null
|
|
879
|
+
remove_option(id: string): boolean
|
|
914
880
|
get_sort_type(): OptionsFilterSortType
|
|
915
881
|
set_sort_type(value: OptionsFilterSortType): void
|
|
916
882
|
get_show_all_button(): boolean
|
|
@@ -1026,8 +992,8 @@ class RadioOptionFilter extends OptionsFilter {
|
|
|
1026
992
|
// Constructors of Unity-7.0.Unity.RadioOptionFilter
|
|
1027
993
|
|
|
1028
994
|
constructor(config?: RadioOptionFilter.ConstructorProperties)
|
|
1029
|
-
constructor(id: string
|
|
1030
|
-
static new(id: string
|
|
995
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
996
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): RadioOptionFilter
|
|
1031
997
|
|
|
1032
998
|
// Overloads of new
|
|
1033
999
|
|
|
@@ -1091,8 +1057,8 @@ class CheckOptionFilter extends OptionsFilter {
|
|
|
1091
1057
|
// Constructors of Unity-7.0.Unity.CheckOptionFilter
|
|
1092
1058
|
|
|
1093
1059
|
constructor(config?: CheckOptionFilter.ConstructorProperties)
|
|
1094
|
-
constructor(id: string
|
|
1095
|
-
static new(id: string
|
|
1060
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1061
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilter
|
|
1096
1062
|
|
|
1097
1063
|
// Overloads of new
|
|
1098
1064
|
|
|
@@ -1156,8 +1122,8 @@ class CheckOptionFilterCompact extends OptionsFilter {
|
|
|
1156
1122
|
// Constructors of Unity-7.0.Unity.CheckOptionFilterCompact
|
|
1157
1123
|
|
|
1158
1124
|
constructor(config?: CheckOptionFilterCompact.ConstructorProperties)
|
|
1159
|
-
constructor(id: string
|
|
1160
|
-
static new(id: string
|
|
1125
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1126
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilterCompact
|
|
1161
1127
|
|
|
1162
1128
|
// Overloads of new
|
|
1163
1129
|
|
|
@@ -1230,8 +1196,8 @@ class RatingsFilter extends Filter {
|
|
|
1230
1196
|
// Constructors of Unity-7.0.Unity.RatingsFilter
|
|
1231
1197
|
|
|
1232
1198
|
constructor(config?: RatingsFilter.ConstructorProperties)
|
|
1233
|
-
constructor(id: string
|
|
1234
|
-
static new(id: string
|
|
1199
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1200
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): RatingsFilter
|
|
1235
1201
|
_init(config?: RatingsFilter.ConstructorProperties): void
|
|
1236
1202
|
}
|
|
1237
1203
|
|
|
@@ -1296,8 +1262,8 @@ class MultiRangeFilter extends OptionsFilter {
|
|
|
1296
1262
|
// Constructors of Unity-7.0.Unity.MultiRangeFilter
|
|
1297
1263
|
|
|
1298
1264
|
constructor(config?: MultiRangeFilter.ConstructorProperties)
|
|
1299
|
-
constructor(id: string
|
|
1300
|
-
static new(id: string
|
|
1265
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1266
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): MultiRangeFilter
|
|
1301
1267
|
|
|
1302
1268
|
// Overloads of new
|
|
1303
1269
|
|
|
@@ -1313,11 +1279,6 @@ module PreferencesManager {
|
|
|
1313
1279
|
|
|
1314
1280
|
// Own constructor properties of Unity-7.0.Unity.PreferencesManager
|
|
1315
1281
|
|
|
1316
|
-
remote_content_search?: PreferencesManagerRemoteContent | null
|
|
1317
|
-
always_search?: string[] | null
|
|
1318
|
-
home_lens_priority?: string[] | null
|
|
1319
|
-
home_lens_default_view?: string[] | null
|
|
1320
|
-
disabled_scopes?: string[] | null
|
|
1321
1282
|
remoteContentSearch?: PreferencesManagerRemoteContent | null
|
|
1322
1283
|
alwaysSearch?: string[] | null
|
|
1323
1284
|
homeLensPriority?: string[] | null
|
|
@@ -1331,15 +1292,10 @@ interface PreferencesManager {
|
|
|
1331
1292
|
|
|
1332
1293
|
// Own properties of Unity-7.0.Unity.PreferencesManager
|
|
1333
1294
|
|
|
1334
|
-
remote_content_search: PreferencesManagerRemoteContent
|
|
1335
1295
|
remoteContentSearch: PreferencesManagerRemoteContent
|
|
1336
|
-
always_search: string[]
|
|
1337
1296
|
alwaysSearch: string[]
|
|
1338
|
-
home_lens_priority: string[]
|
|
1339
1297
|
homeLensPriority: string[]
|
|
1340
|
-
home_lens_default_view: string[]
|
|
1341
1298
|
homeLensDefaultView: string[]
|
|
1342
|
-
disabled_scopes: string[]
|
|
1343
1299
|
disabledScopes: string[]
|
|
1344
1300
|
|
|
1345
1301
|
// Owm methods of Unity-7.0.Unity.PreferencesManager
|
|
@@ -1410,12 +1366,10 @@ module DeprecatedScopeSearch {
|
|
|
1410
1366
|
|
|
1411
1367
|
// Own constructor properties of Unity-7.0.Unity.DeprecatedScopeSearch
|
|
1412
1368
|
|
|
1413
|
-
channel_id?: string | null
|
|
1414
|
-
hints?: GLib.HashTable | null
|
|
1415
|
-
results_model?: Dee.SerializableModel | null
|
|
1416
|
-
owner?: DeprecatedScopeBase | null
|
|
1417
1369
|
channelId?: string | null
|
|
1370
|
+
hints?: GLib.HashTable | null
|
|
1418
1371
|
resultsModel?: Dee.SerializableModel | null
|
|
1372
|
+
owner?: DeprecatedScopeBase | null
|
|
1419
1373
|
}
|
|
1420
1374
|
|
|
1421
1375
|
}
|
|
@@ -1424,24 +1378,20 @@ interface DeprecatedScopeSearch {
|
|
|
1424
1378
|
|
|
1425
1379
|
// Own properties of Unity-7.0.Unity.DeprecatedScopeSearch
|
|
1426
1380
|
|
|
1427
|
-
readonly channel_id: string | null
|
|
1428
1381
|
readonly channelId: string | null
|
|
1429
|
-
readonly search_string: string | null
|
|
1430
1382
|
readonly searchString: string | null
|
|
1431
|
-
readonly search_type: SearchType
|
|
1432
1383
|
readonly searchType: SearchType
|
|
1433
1384
|
readonly hints: GLib.HashTable
|
|
1434
|
-
readonly results_model: Dee.SerializableModel
|
|
1435
1385
|
readonly resultsModel: Dee.SerializableModel
|
|
1436
1386
|
readonly owner: DeprecatedScopeBase
|
|
1437
1387
|
|
|
1438
1388
|
// Owm methods of Unity-7.0.Unity.DeprecatedScopeSearch
|
|
1439
1389
|
|
|
1440
|
-
set_reply_hint(key: string
|
|
1441
|
-
get_filter(filter_id: string
|
|
1390
|
+
set_reply_hint(key: string, variant: GLib.Variant): void
|
|
1391
|
+
get_filter(filter_id: string): Filter | null
|
|
1442
1392
|
equals(other: DeprecatedScopeSearch): boolean
|
|
1443
|
-
get_channel_id(): string
|
|
1444
|
-
get_search_string(): string
|
|
1393
|
+
get_channel_id(): string
|
|
1394
|
+
get_search_string(): string
|
|
1445
1395
|
get_search_type(): SearchType
|
|
1446
1396
|
get_hints(): GLib.HashTable
|
|
1447
1397
|
get_results_model(): Dee.SerializableModel
|
|
@@ -1500,7 +1450,7 @@ module AggregatedScopeSearch {
|
|
|
1500
1450
|
* Signal callback interface for `transaction-complete`
|
|
1501
1451
|
*/
|
|
1502
1452
|
interface TransactionCompleteSignalCallback {
|
|
1503
|
-
($obj: AggregatedScopeSearch, origin_scope_id: string
|
|
1453
|
+
($obj: AggregatedScopeSearch, origin_scope_id: string): void
|
|
1504
1454
|
}
|
|
1505
1455
|
|
|
1506
1456
|
/**
|
|
@@ -1522,9 +1472,9 @@ interface AggregatedScopeSearch {
|
|
|
1522
1472
|
|
|
1523
1473
|
// Owm methods of Unity-7.0.Unity.AggregatedScopeSearch
|
|
1524
1474
|
|
|
1525
|
-
search_scope(scope_id: string
|
|
1475
|
+
search_scope(scope_id: string, search_string: string, search_type: SearchType, hints?: GLib.HashTable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
1526
1476
|
search_scope_finish(_res_: Gio.AsyncResult): GLib.HashTable
|
|
1527
|
-
push_results(scope_id: string
|
|
1477
|
+
push_results(scope_id: string, results_model: Dee.SerializableModel, category_ids: string[], _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
1528
1478
|
push_results_finish(_res_: Gio.AsyncResult): void
|
|
1529
1479
|
push_filter_settings(filters: FilterSet): void
|
|
1530
1480
|
|
|
@@ -1532,7 +1482,7 @@ interface AggregatedScopeSearch {
|
|
|
1532
1482
|
|
|
1533
1483
|
connect(sigName: "transaction-complete", callback: AggregatedScopeSearch.TransactionCompleteSignalCallback): number
|
|
1534
1484
|
connect_after(sigName: "transaction-complete", callback: AggregatedScopeSearch.TransactionCompleteSignalCallback): number
|
|
1535
|
-
emit(sigName: "transaction-complete", origin_scope_id: string
|
|
1485
|
+
emit(sigName: "transaction-complete", origin_scope_id: string, ...args: any[]): void
|
|
1536
1486
|
connect(sigName: "category-order-changed", callback: AggregatedScopeSearch.CategoryOrderChangedSignalCallback): number
|
|
1537
1487
|
connect_after(sigName: "category-order-changed", callback: AggregatedScopeSearch.CategoryOrderChangedSignalCallback): number
|
|
1538
1488
|
emit(sigName: "category-order-changed", category_indices: number[], ...args: any[]): void
|
|
@@ -1573,8 +1523,8 @@ class AggregatedScopeSearch extends DeprecatedScopeSearch {
|
|
|
1573
1523
|
// Constructors of Unity-7.0.Unity.AggregatedScopeSearch
|
|
1574
1524
|
|
|
1575
1525
|
constructor(config?: AggregatedScopeSearch.ConstructorProperties)
|
|
1576
|
-
constructor(owner: AggregatorScope, channel_id: string
|
|
1577
|
-
static new(owner: AggregatorScope, channel_id: string
|
|
1526
|
+
constructor(owner: AggregatorScope, channel_id: string, hints: GLib.HashTable, results_model: Dee.SerializableModel)
|
|
1527
|
+
static new(owner: AggregatorScope, channel_id: string, hints: GLib.HashTable, results_model: Dee.SerializableModel): AggregatedScopeSearch
|
|
1578
1528
|
_init(config?: AggregatedScopeSearch.ConstructorProperties): void
|
|
1579
1529
|
}
|
|
1580
1530
|
|
|
@@ -1588,11 +1538,9 @@ module Preview {
|
|
|
1588
1538
|
|
|
1589
1539
|
title?: string | null
|
|
1590
1540
|
subtitle?: string | null
|
|
1591
|
-
description_markup?: string | null
|
|
1592
|
-
image_source_uri?: string | null
|
|
1593
|
-
image?: Gio.Icon | null
|
|
1594
1541
|
descriptionMarkup?: string | null
|
|
1595
1542
|
imageSourceUri?: string | null
|
|
1543
|
+
image?: Gio.Icon | null
|
|
1596
1544
|
}
|
|
1597
1545
|
|
|
1598
1546
|
}
|
|
@@ -1603,9 +1551,7 @@ interface Preview extends Dee.Serializable {
|
|
|
1603
1551
|
|
|
1604
1552
|
title: string | null
|
|
1605
1553
|
subtitle: string | null
|
|
1606
|
-
description_markup: string | null
|
|
1607
1554
|
descriptionMarkup: string | null
|
|
1608
|
-
image_source_uri: string | null
|
|
1609
1555
|
imageSourceUri: string | null
|
|
1610
1556
|
image: Gio.Icon
|
|
1611
1557
|
|
|
@@ -1613,14 +1559,14 @@ interface Preview extends Dee.Serializable {
|
|
|
1613
1559
|
|
|
1614
1560
|
add_action(action: PreviewAction): void
|
|
1615
1561
|
add_info(info_hint: InfoHint): void
|
|
1616
|
-
get_title(): string
|
|
1617
|
-
set_title(value: string
|
|
1618
|
-
get_subtitle(): string
|
|
1619
|
-
set_subtitle(value: string
|
|
1620
|
-
get_description_markup(): string
|
|
1621
|
-
set_description_markup(value: string
|
|
1622
|
-
get_image_source_uri(): string
|
|
1623
|
-
set_image_source_uri(value: string
|
|
1562
|
+
get_title(): string
|
|
1563
|
+
set_title(value: string): void
|
|
1564
|
+
get_subtitle(): string
|
|
1565
|
+
set_subtitle(value: string): void
|
|
1566
|
+
get_description_markup(): string
|
|
1567
|
+
set_description_markup(value: string): void
|
|
1568
|
+
get_image_source_uri(): string
|
|
1569
|
+
set_image_source_uri(value: string): void
|
|
1624
1570
|
get_image(): Gio.Icon | null
|
|
1625
1571
|
set_image(value?: Gio.Icon | null): void
|
|
1626
1572
|
|
|
@@ -1668,7 +1614,7 @@ module PreviewAction {
|
|
|
1668
1614
|
* Signal callback interface for `activated`
|
|
1669
1615
|
*/
|
|
1670
1616
|
interface ActivatedSignalCallback {
|
|
1671
|
-
($obj: PreviewAction, uri: string
|
|
1617
|
+
($obj: PreviewAction, uri: string): ActivationResponse
|
|
1672
1618
|
}
|
|
1673
1619
|
|
|
1674
1620
|
|
|
@@ -1679,10 +1625,6 @@ module PreviewAction {
|
|
|
1679
1625
|
// Own constructor properties of Unity-7.0.Unity.PreviewAction
|
|
1680
1626
|
|
|
1681
1627
|
id?: string | null
|
|
1682
|
-
display_name?: string | null
|
|
1683
|
-
extra_text?: string | null
|
|
1684
|
-
icon_hint?: Gio.Icon | null
|
|
1685
|
-
layout_hint?: LayoutHint | null
|
|
1686
1628
|
displayName?: string | null
|
|
1687
1629
|
extraText?: string | null
|
|
1688
1630
|
iconHint?: Gio.Icon | null
|
|
@@ -1696,22 +1638,18 @@ interface PreviewAction extends Dee.Serializable {
|
|
|
1696
1638
|
// Own properties of Unity-7.0.Unity.PreviewAction
|
|
1697
1639
|
|
|
1698
1640
|
readonly id: string | null
|
|
1699
|
-
readonly display_name: string | null
|
|
1700
1641
|
readonly displayName: string | null
|
|
1701
|
-
extra_text: string | null
|
|
1702
1642
|
extraText: string | null
|
|
1703
|
-
readonly icon_hint: Gio.Icon
|
|
1704
1643
|
readonly iconHint: Gio.Icon
|
|
1705
|
-
readonly layout_hint: LayoutHint
|
|
1706
1644
|
readonly layoutHint: LayoutHint
|
|
1707
1645
|
readonly hints: GLib.HashTable
|
|
1708
1646
|
|
|
1709
1647
|
// Owm methods of Unity-7.0.Unity.PreviewAction
|
|
1710
1648
|
|
|
1711
|
-
get_id(): string
|
|
1712
|
-
get_display_name(): string
|
|
1713
|
-
get_extra_text(): string
|
|
1714
|
-
set_extra_text(value: string
|
|
1649
|
+
get_id(): string
|
|
1650
|
+
get_display_name(): string
|
|
1651
|
+
get_extra_text(): string
|
|
1652
|
+
set_extra_text(value: string): void
|
|
1715
1653
|
get_icon_hint(): Gio.Icon | null
|
|
1716
1654
|
get_layout_hint(): LayoutHint
|
|
1717
1655
|
get_hints(): GLib.HashTable | null
|
|
@@ -1720,7 +1658,7 @@ interface PreviewAction extends Dee.Serializable {
|
|
|
1720
1658
|
|
|
1721
1659
|
connect(sigName: "activated", callback: PreviewAction.ActivatedSignalCallback): number
|
|
1722
1660
|
connect_after(sigName: "activated", callback: PreviewAction.ActivatedSignalCallback): number
|
|
1723
|
-
emit(sigName: "activated", uri: string
|
|
1661
|
+
emit(sigName: "activated", uri: string, ...args: any[]): void
|
|
1724
1662
|
|
|
1725
1663
|
// Class property signals of Unity-7.0.Unity.PreviewAction
|
|
1726
1664
|
|
|
@@ -1758,10 +1696,10 @@ class PreviewAction extends GObject.Object {
|
|
|
1758
1696
|
// Constructors of Unity-7.0.Unity.PreviewAction
|
|
1759
1697
|
|
|
1760
1698
|
constructor(config?: PreviewAction.ConstructorProperties)
|
|
1761
|
-
constructor(id: string
|
|
1762
|
-
static new(id: string
|
|
1763
|
-
static with_layout_hint(id: string
|
|
1764
|
-
static with_uri(uri: string
|
|
1699
|
+
constructor(id: string, display_name: string, icon_hint?: Gio.Icon | null)
|
|
1700
|
+
static new(id: string, display_name: string, icon_hint?: Gio.Icon | null): PreviewAction
|
|
1701
|
+
static with_layout_hint(id: string, display_name: string, icon_hint: Gio.Icon | null, layout: LayoutHint): PreviewAction
|
|
1702
|
+
static with_uri(uri: string, display_name: string, icon_hint?: Gio.Icon | null): PreviewAction
|
|
1765
1703
|
_init(config?: PreviewAction.ConstructorProperties): void
|
|
1766
1704
|
}
|
|
1767
1705
|
|
|
@@ -1774,11 +1712,9 @@ module InfoHint {
|
|
|
1774
1712
|
// Own constructor properties of Unity-7.0.Unity.InfoHint
|
|
1775
1713
|
|
|
1776
1714
|
id?: string | null
|
|
1777
|
-
display_name?: string | null
|
|
1778
|
-
icon_hint?: Gio.Icon | null
|
|
1779
|
-
data?: GLib.Variant | null
|
|
1780
1715
|
displayName?: string | null
|
|
1781
1716
|
iconHint?: Gio.Icon | null
|
|
1717
|
+
data?: GLib.Variant | null
|
|
1782
1718
|
}
|
|
1783
1719
|
|
|
1784
1720
|
}
|
|
@@ -1788,16 +1724,14 @@ interface InfoHint {
|
|
|
1788
1724
|
// Own properties of Unity-7.0.Unity.InfoHint
|
|
1789
1725
|
|
|
1790
1726
|
readonly id: string | null
|
|
1791
|
-
readonly display_name: string | null
|
|
1792
1727
|
readonly displayName: string | null
|
|
1793
|
-
readonly icon_hint: Gio.Icon
|
|
1794
1728
|
readonly iconHint: Gio.Icon
|
|
1795
1729
|
readonly data: GLib.Variant
|
|
1796
1730
|
|
|
1797
1731
|
// Owm methods of Unity-7.0.Unity.InfoHint
|
|
1798
1732
|
|
|
1799
|
-
get_id(): string
|
|
1800
|
-
get_display_name(): string
|
|
1733
|
+
get_id(): string
|
|
1734
|
+
get_display_name(): string
|
|
1801
1735
|
get_icon_hint(): Gio.Icon | null
|
|
1802
1736
|
get_data(): GLib.Variant
|
|
1803
1737
|
|
|
@@ -1808,7 +1742,7 @@ interface InfoHint {
|
|
|
1808
1742
|
* @param key name of the key for that association
|
|
1809
1743
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1810
1744
|
*/
|
|
1811
|
-
get_data(key: string
|
|
1745
|
+
get_data(key: string): any | null
|
|
1812
1746
|
|
|
1813
1747
|
// Class property signals of Unity-7.0.Unity.InfoHint
|
|
1814
1748
|
|
|
@@ -1840,9 +1774,9 @@ class InfoHint extends GObject.InitiallyUnowned {
|
|
|
1840
1774
|
// Constructors of Unity-7.0.Unity.InfoHint
|
|
1841
1775
|
|
|
1842
1776
|
constructor(config?: InfoHint.ConstructorProperties)
|
|
1843
|
-
constructor(id: string
|
|
1844
|
-
static new(id: string
|
|
1845
|
-
static with_variant(id: string
|
|
1777
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, data: string)
|
|
1778
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, data: string): InfoHint
|
|
1779
|
+
static with_variant(id: string, display_name: string, icon_hint: Gio.Icon | null, data: GLib.Variant): InfoHint
|
|
1846
1780
|
_init(config?: InfoHint.ConstructorProperties): void
|
|
1847
1781
|
}
|
|
1848
1782
|
|
|
@@ -1890,8 +1824,8 @@ class GenericPreview extends Preview {
|
|
|
1890
1824
|
// Constructors of Unity-7.0.Unity.GenericPreview
|
|
1891
1825
|
|
|
1892
1826
|
constructor(config?: GenericPreview.ConstructorProperties)
|
|
1893
|
-
constructor(title: string
|
|
1894
|
-
static new(title: string
|
|
1827
|
+
constructor(title: string, description: string, image?: Gio.Icon | null)
|
|
1828
|
+
static new(title: string, description: string, image?: Gio.Icon | null): GenericPreview
|
|
1895
1829
|
_init(config?: GenericPreview.ConstructorProperties): void
|
|
1896
1830
|
}
|
|
1897
1831
|
|
|
@@ -1903,11 +1837,9 @@ module ApplicationPreview {
|
|
|
1903
1837
|
|
|
1904
1838
|
// Own constructor properties of Unity-7.0.Unity.ApplicationPreview
|
|
1905
1839
|
|
|
1906
|
-
|
|
1840
|
+
appIcon?: Gio.Icon | null
|
|
1907
1841
|
license?: string | null
|
|
1908
1842
|
copyright?: string | null
|
|
1909
|
-
last_update?: string | null
|
|
1910
|
-
appIcon?: Gio.Icon | null
|
|
1911
1843
|
lastUpdate?: string | null
|
|
1912
1844
|
}
|
|
1913
1845
|
|
|
@@ -1917,11 +1849,9 @@ interface ApplicationPreview {
|
|
|
1917
1849
|
|
|
1918
1850
|
// Own properties of Unity-7.0.Unity.ApplicationPreview
|
|
1919
1851
|
|
|
1920
|
-
app_icon: Gio.Icon
|
|
1921
1852
|
appIcon: Gio.Icon
|
|
1922
1853
|
license: string | null
|
|
1923
1854
|
copyright: string | null
|
|
1924
|
-
last_update: string | null
|
|
1925
1855
|
lastUpdate: string | null
|
|
1926
1856
|
|
|
1927
1857
|
// Owm methods of Unity-7.0.Unity.ApplicationPreview
|
|
@@ -1929,12 +1859,12 @@ interface ApplicationPreview {
|
|
|
1929
1859
|
set_rating(rating: number, num_ratings: number): void
|
|
1930
1860
|
get_app_icon(): Gio.Icon
|
|
1931
1861
|
set_app_icon(value: Gio.Icon): void
|
|
1932
|
-
get_license(): string
|
|
1933
|
-
set_license(value: string
|
|
1934
|
-
get_copyright(): string
|
|
1935
|
-
set_copyright(value: string
|
|
1936
|
-
get_last_update(): string
|
|
1937
|
-
set_last_update(value: string
|
|
1862
|
+
get_license(): string
|
|
1863
|
+
set_license(value: string): void
|
|
1864
|
+
get_copyright(): string
|
|
1865
|
+
set_copyright(value: string): void
|
|
1866
|
+
get_last_update(): string
|
|
1867
|
+
set_last_update(value: string): void
|
|
1938
1868
|
|
|
1939
1869
|
// Class property signals of Unity-7.0.Unity.ApplicationPreview
|
|
1940
1870
|
|
|
@@ -1981,8 +1911,8 @@ class ApplicationPreview extends Preview {
|
|
|
1981
1911
|
// Constructors of Unity-7.0.Unity.ApplicationPreview
|
|
1982
1912
|
|
|
1983
1913
|
constructor(config?: ApplicationPreview.ConstructorProperties)
|
|
1984
|
-
constructor(title: string
|
|
1985
|
-
static new(title: string
|
|
1914
|
+
constructor(title: string, subtitle: string, description: string, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null)
|
|
1915
|
+
static new(title: string, subtitle: string, description: string, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null): ApplicationPreview
|
|
1986
1916
|
_init(config?: ApplicationPreview.ConstructorProperties): void
|
|
1987
1917
|
}
|
|
1988
1918
|
|
|
@@ -2034,8 +1964,8 @@ class MusicPreview extends Preview {
|
|
|
2034
1964
|
// Constructors of Unity-7.0.Unity.MusicPreview
|
|
2035
1965
|
|
|
2036
1966
|
constructor(config?: MusicPreview.ConstructorProperties)
|
|
2037
|
-
constructor(title: string
|
|
2038
|
-
static new(title: string
|
|
1967
|
+
constructor(title: string, subtitle: string, image?: Gio.Icon | null)
|
|
1968
|
+
static new(title: string, subtitle: string, image?: Gio.Icon | null): MusicPreview
|
|
2039
1969
|
_init(config?: MusicPreview.ConstructorProperties): void
|
|
2040
1970
|
}
|
|
2041
1971
|
|
|
@@ -2049,10 +1979,6 @@ module PaymentPreview {
|
|
|
2049
1979
|
|
|
2050
1980
|
header?: string | null
|
|
2051
1981
|
email?: string | null
|
|
2052
|
-
payment_method?: string | null
|
|
2053
|
-
purchase_prize?: string | null
|
|
2054
|
-
purchase_type?: string | null
|
|
2055
|
-
preview_type?: PaymentPreviewType | null
|
|
2056
1982
|
paymentMethod?: string | null
|
|
2057
1983
|
purchasePrize?: string | null
|
|
2058
1984
|
purchaseType?: string | null
|
|
@@ -2067,27 +1993,23 @@ interface PaymentPreview {
|
|
|
2067
1993
|
|
|
2068
1994
|
header: string | null
|
|
2069
1995
|
email: string | null
|
|
2070
|
-
payment_method: string | null
|
|
2071
1996
|
paymentMethod: string | null
|
|
2072
|
-
purchase_prize: string | null
|
|
2073
1997
|
purchasePrize: string | null
|
|
2074
|
-
purchase_type: string | null
|
|
2075
1998
|
purchaseType: string | null
|
|
2076
|
-
preview_type: PaymentPreviewType
|
|
2077
1999
|
previewType: PaymentPreviewType
|
|
2078
2000
|
|
|
2079
2001
|
// Owm methods of Unity-7.0.Unity.PaymentPreview
|
|
2080
2002
|
|
|
2081
|
-
get_header(): string
|
|
2082
|
-
set_header(value: string
|
|
2083
|
-
get_email(): string
|
|
2084
|
-
set_email(value: string
|
|
2085
|
-
get_payment_method(): string
|
|
2086
|
-
set_payment_method(value: string
|
|
2087
|
-
get_purchase_prize(): string
|
|
2088
|
-
set_purchase_prize(value: string
|
|
2089
|
-
get_purchase_type(): string
|
|
2090
|
-
set_purchase_type(value: string
|
|
2003
|
+
get_header(): string
|
|
2004
|
+
set_header(value: string): void
|
|
2005
|
+
get_email(): string
|
|
2006
|
+
set_email(value: string): void
|
|
2007
|
+
get_payment_method(): string
|
|
2008
|
+
set_payment_method(value: string): void
|
|
2009
|
+
get_purchase_prize(): string
|
|
2010
|
+
set_purchase_prize(value: string): void
|
|
2011
|
+
get_purchase_type(): string
|
|
2012
|
+
set_purchase_type(value: string): void
|
|
2091
2013
|
get_preview_type(): PaymentPreviewType
|
|
2092
2014
|
set_preview_type(value: PaymentPreviewType): void
|
|
2093
2015
|
|
|
@@ -2142,12 +2064,12 @@ class PaymentPreview extends Preview {
|
|
|
2142
2064
|
// Constructors of Unity-7.0.Unity.PaymentPreview
|
|
2143
2065
|
|
|
2144
2066
|
constructor(config?: PaymentPreview.ConstructorProperties)
|
|
2145
|
-
constructor(title: string
|
|
2146
|
-
static new(title: string
|
|
2147
|
-
static for_type(title: string
|
|
2148
|
-
static for_application(title: string
|
|
2149
|
-
static for_music(title: string
|
|
2150
|
-
static for_error(title: string
|
|
2067
|
+
constructor(title: string, subtitle: string, image?: Gio.Icon | null)
|
|
2068
|
+
static new(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2069
|
+
static for_type(title: string, subtitle: string, image: Gio.Icon | null, type: PaymentPreviewType): PaymentPreview
|
|
2070
|
+
static for_application(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2071
|
+
static for_music(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2072
|
+
static for_error(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2151
2073
|
_init(config?: PaymentPreview.ConstructorProperties): void
|
|
2152
2074
|
}
|
|
2153
2075
|
|
|
@@ -2173,8 +2095,8 @@ interface MoviePreview {
|
|
|
2173
2095
|
// Owm methods of Unity-7.0.Unity.MoviePreview
|
|
2174
2096
|
|
|
2175
2097
|
set_rating(rating: number, num_ratings: number): void
|
|
2176
|
-
get_year(): string
|
|
2177
|
-
set_year(value: string
|
|
2098
|
+
get_year(): string
|
|
2099
|
+
set_year(value: string): void
|
|
2178
2100
|
|
|
2179
2101
|
// Class property signals of Unity-7.0.Unity.MoviePreview
|
|
2180
2102
|
|
|
@@ -2212,8 +2134,8 @@ class MoviePreview extends Preview {
|
|
|
2212
2134
|
// Constructors of Unity-7.0.Unity.MoviePreview
|
|
2213
2135
|
|
|
2214
2136
|
constructor(config?: MoviePreview.ConstructorProperties)
|
|
2215
|
-
constructor(title: string
|
|
2216
|
-
static new(title: string
|
|
2137
|
+
constructor(title: string, subtitle: string, description: string, image?: Gio.Icon | null)
|
|
2138
|
+
static new(title: string, subtitle: string, description: string, image?: Gio.Icon | null): MoviePreview
|
|
2217
2139
|
_init(config?: MoviePreview.ConstructorProperties): void
|
|
2218
2140
|
}
|
|
2219
2141
|
|
|
@@ -2245,10 +2167,10 @@ interface SocialPreview {
|
|
|
2245
2167
|
add_comment(comment: SocialPreviewComment): void
|
|
2246
2168
|
get_avatar(): Gio.Icon
|
|
2247
2169
|
set_avatar(value: Gio.Icon): void
|
|
2248
|
-
get_content(): string
|
|
2249
|
-
set_content(value: string
|
|
2250
|
-
get_sender(): string
|
|
2251
|
-
set_sender(value: string
|
|
2170
|
+
get_content(): string
|
|
2171
|
+
set_content(value: string): void
|
|
2172
|
+
get_sender(): string
|
|
2173
|
+
set_sender(value: string): void
|
|
2252
2174
|
|
|
2253
2175
|
// Class property signals of Unity-7.0.Unity.SocialPreview
|
|
2254
2176
|
|
|
@@ -2292,8 +2214,8 @@ class SocialPreview extends Preview {
|
|
|
2292
2214
|
// Constructors of Unity-7.0.Unity.SocialPreview
|
|
2293
2215
|
|
|
2294
2216
|
constructor(config?: SocialPreview.ConstructorProperties)
|
|
2295
|
-
constructor(sender: string
|
|
2296
|
-
static new(sender: string
|
|
2217
|
+
constructor(sender: string, subtitle: string, content: string, avatar?: Gio.Icon | null)
|
|
2218
|
+
static new(sender: string, subtitle: string, content: string, avatar?: Gio.Icon | null): SocialPreview
|
|
2297
2219
|
_init(config?: SocialPreview.ConstructorProperties): void
|
|
2298
2220
|
}
|
|
2299
2221
|
|
|
@@ -2324,10 +2246,10 @@ interface SocialPreviewComment {
|
|
|
2324
2246
|
|
|
2325
2247
|
// Owm methods of Unity-7.0.Unity.SocialPreviewComment
|
|
2326
2248
|
|
|
2327
|
-
get_id(): string
|
|
2328
|
-
get_name(): string
|
|
2329
|
-
get_text(): string
|
|
2330
|
-
get_time(): string
|
|
2249
|
+
get_id(): string
|
|
2250
|
+
get_name(): string
|
|
2251
|
+
get_text(): string
|
|
2252
|
+
get_time(): string
|
|
2331
2253
|
|
|
2332
2254
|
// Class property signals of Unity-7.0.Unity.SocialPreviewComment
|
|
2333
2255
|
|
|
@@ -2359,8 +2281,8 @@ class SocialPreviewComment extends GObject.InitiallyUnowned {
|
|
|
2359
2281
|
// Constructors of Unity-7.0.Unity.SocialPreviewComment
|
|
2360
2282
|
|
|
2361
2283
|
constructor(config?: SocialPreviewComment.ConstructorProperties)
|
|
2362
|
-
constructor(id: string
|
|
2363
|
-
static new(id: string
|
|
2284
|
+
constructor(id: string, name: string, text: string, time: string)
|
|
2285
|
+
static new(id: string, name: string, text: string, time: string): SocialPreviewComment
|
|
2364
2286
|
_init(config?: SocialPreviewComment.ConstructorProperties): void
|
|
2365
2287
|
}
|
|
2366
2288
|
|
|
@@ -2373,7 +2295,6 @@ module ActivationResponse {
|
|
|
2373
2295
|
// Own constructor properties of Unity-7.0.Unity.ActivationResponse
|
|
2374
2296
|
|
|
2375
2297
|
handled?: HandledType | null
|
|
2376
|
-
goto_uri?: string | null
|
|
2377
2298
|
gotoUri?: string | null
|
|
2378
2299
|
}
|
|
2379
2300
|
|
|
@@ -2384,14 +2305,13 @@ interface ActivationResponse {
|
|
|
2384
2305
|
// Own properties of Unity-7.0.Unity.ActivationResponse
|
|
2385
2306
|
|
|
2386
2307
|
readonly handled: HandledType
|
|
2387
|
-
goto_uri: string | null
|
|
2388
2308
|
gotoUri: string | null
|
|
2389
2309
|
|
|
2390
2310
|
// Owm methods of Unity-7.0.Unity.ActivationResponse
|
|
2391
2311
|
|
|
2392
2312
|
get_handled(): HandledType
|
|
2393
|
-
get_goto_uri(): string
|
|
2394
|
-
set_goto_uri(value: string
|
|
2313
|
+
get_goto_uri(): string
|
|
2314
|
+
set_goto_uri(value: string): void
|
|
2395
2315
|
|
|
2396
2316
|
// Class property signals of Unity-7.0.Unity.ActivationResponse
|
|
2397
2317
|
|
|
@@ -2417,9 +2337,9 @@ class ActivationResponse extends GObject.Object {
|
|
|
2417
2337
|
// Constructors of Unity-7.0.Unity.ActivationResponse
|
|
2418
2338
|
|
|
2419
2339
|
constructor(config?: ActivationResponse.ConstructorProperties)
|
|
2420
|
-
constructor(handled: HandledType, goto_uri: string
|
|
2421
|
-
static new(handled: HandledType, goto_uri: string
|
|
2422
|
-
static with_search(search_string: string
|
|
2340
|
+
constructor(handled: HandledType, goto_uri: string)
|
|
2341
|
+
static new(handled: HandledType, goto_uri: string): ActivationResponse
|
|
2342
|
+
static with_search(search_string: string, filter_set?: FilterSet | null, search_metadata?: SearchMetadata | null): ActivationResponse
|
|
2423
2343
|
static with_preview(preview: Preview): ActivationResponse
|
|
2424
2344
|
_init(config?: ActivationResponse.ConstructorProperties): void
|
|
2425
2345
|
}
|
|
@@ -2432,15 +2352,11 @@ module AggregatorActivation {
|
|
|
2432
2352
|
|
|
2433
2353
|
// Own constructor properties of Unity-7.0.Unity.AggregatorActivation
|
|
2434
2354
|
|
|
2435
|
-
channel_id?: string | null
|
|
2436
|
-
scope_id?: string | null
|
|
2437
|
-
action_type?: number | null
|
|
2438
|
-
scope_result?: ScopeResult | null
|
|
2439
|
-
hints?: GLib.HashTable | null
|
|
2440
2355
|
channelId?: string | null
|
|
2441
2356
|
scopeId?: string | null
|
|
2442
2357
|
actionType?: number | null
|
|
2443
2358
|
scopeResult?: ScopeResult | null
|
|
2359
|
+
hints?: GLib.HashTable | null
|
|
2444
2360
|
}
|
|
2445
2361
|
|
|
2446
2362
|
}
|
|
@@ -2449,22 +2365,18 @@ interface AggregatorActivation {
|
|
|
2449
2365
|
|
|
2450
2366
|
// Own properties of Unity-7.0.Unity.AggregatorActivation
|
|
2451
2367
|
|
|
2452
|
-
channel_id: string | null
|
|
2453
2368
|
channelId: string | null
|
|
2454
|
-
scope_id: string | null
|
|
2455
2369
|
scopeId: string | null
|
|
2456
|
-
action_type: number
|
|
2457
2370
|
actionType: number
|
|
2458
|
-
scope_result: ScopeResult
|
|
2459
2371
|
scopeResult: ScopeResult
|
|
2460
2372
|
hints: GLib.HashTable
|
|
2461
2373
|
|
|
2462
2374
|
// Owm methods of Unity-7.0.Unity.AggregatorActivation
|
|
2463
2375
|
|
|
2464
|
-
get_channel_id(): string
|
|
2465
|
-
set_channel_id(value: string
|
|
2466
|
-
get_scope_id(): string
|
|
2467
|
-
set_scope_id(value: string
|
|
2376
|
+
get_channel_id(): string
|
|
2377
|
+
set_channel_id(value: string): void
|
|
2378
|
+
get_scope_id(): string
|
|
2379
|
+
set_scope_id(value: string): void
|
|
2468
2380
|
get_action_type(): number
|
|
2469
2381
|
set_action_type(value: number): void
|
|
2470
2382
|
get_scope_result(): ScopeResult | null
|
|
@@ -2504,8 +2416,8 @@ class AggregatorActivation extends GObject.Object {
|
|
|
2504
2416
|
// Constructors of Unity-7.0.Unity.AggregatorActivation
|
|
2505
2417
|
|
|
2506
2418
|
constructor(config?: AggregatorActivation.ConstructorProperties)
|
|
2507
|
-
constructor(channel_id: string
|
|
2508
|
-
static new(channel_id: string
|
|
2419
|
+
constructor(channel_id: string, scope_id: string, action_type: number, result?: ScopeResult | null)
|
|
2420
|
+
static new(channel_id: string, scope_id: string, action_type: number, result?: ScopeResult | null): AggregatorActivation
|
|
2509
2421
|
_init(config?: AggregatorActivation.ConstructorProperties): void
|
|
2510
2422
|
}
|
|
2511
2423
|
|
|
@@ -2523,13 +2435,13 @@ interface FilterSet {
|
|
|
2523
2435
|
// Owm methods of Unity-7.0.Unity.FilterSet
|
|
2524
2436
|
|
|
2525
2437
|
add(filter: Filter): void
|
|
2526
|
-
get_filter_by_id(filter_id: string
|
|
2438
|
+
get_filter_by_id(filter_id: string): Filter | null
|
|
2527
2439
|
get_filters(): Filter[]
|
|
2528
2440
|
|
|
2529
2441
|
// Own virtual methods of Unity-7.0.Unity.FilterSet
|
|
2530
2442
|
|
|
2531
2443
|
vfunc_add(filter: Filter): void
|
|
2532
|
-
vfunc_get_filter_by_id(filter_id: string
|
|
2444
|
+
vfunc_get_filter_by_id(filter_id: string): Filter | null
|
|
2533
2445
|
vfunc_get_filters(): Filter[]
|
|
2534
2446
|
|
|
2535
2447
|
// Class property signals of Unity-7.0.Unity.FilterSet
|
|
@@ -2612,12 +2524,12 @@ interface Schema {
|
|
|
2612
2524
|
|
|
2613
2525
|
// Owm methods of Unity-7.0.Unity.Schema
|
|
2614
2526
|
|
|
2615
|
-
add_field(name: string
|
|
2527
|
+
add_field(name: string, schema: string, type: SchemaFieldType): void
|
|
2616
2528
|
get_fields(): SchemaFieldInfo[]
|
|
2617
2529
|
|
|
2618
2530
|
// Own virtual methods of Unity-7.0.Unity.Schema
|
|
2619
2531
|
|
|
2620
|
-
vfunc_add_field(name: string
|
|
2532
|
+
vfunc_add_field(name: string, schema: string, type: SchemaFieldType): void
|
|
2621
2533
|
vfunc_get_fields(): SchemaFieldInfo[]
|
|
2622
2534
|
|
|
2623
2535
|
// Class property signals of Unity-7.0.Unity.Schema
|
|
@@ -2888,7 +2800,6 @@ interface SearchMetadata {
|
|
|
2888
2800
|
// Own properties of Unity-7.0.Unity.SearchMetadata
|
|
2889
2801
|
|
|
2890
2802
|
readonly locale: string | null
|
|
2891
|
-
readonly form_factor: string | null
|
|
2892
2803
|
readonly formFactor: string | null
|
|
2893
2804
|
readonly location: GeoCoordinate
|
|
2894
2805
|
|
|
@@ -3009,7 +2920,7 @@ interface AbstractScope {
|
|
|
3009
2920
|
get_group_name(): string | null
|
|
3010
2921
|
get_unique_name(): string | null
|
|
3011
2922
|
activate(result: ScopeResult, metadata: SearchMetadata, action_id?: string | null): ActivationResponse | null
|
|
3012
|
-
normalize_search_query(search_query: string
|
|
2923
|
+
normalize_search_query(search_query: string): string | null
|
|
3013
2924
|
results_invalidated(search_type: SearchType): void
|
|
3014
2925
|
|
|
3015
2926
|
// Own virtual methods of Unity-7.0.Unity.AbstractScope
|
|
@@ -3023,7 +2934,7 @@ interface AbstractScope {
|
|
|
3023
2934
|
vfunc_get_group_name(): string | null
|
|
3024
2935
|
vfunc_get_unique_name(): string | null
|
|
3025
2936
|
vfunc_activate(result: ScopeResult, metadata: SearchMetadata, action_id?: string | null): ActivationResponse | null
|
|
3026
|
-
vfunc_normalize_search_query(search_query: string
|
|
2937
|
+
vfunc_normalize_search_query(search_query: string): string | null
|
|
3027
2938
|
|
|
3028
2939
|
// Own signals of Unity-7.0.Unity.AbstractScope
|
|
3029
2940
|
|
|
@@ -3124,19 +3035,15 @@ module DeprecatedScopeBase {
|
|
|
3124
3035
|
// Own constructor properties of Unity-7.0.Unity.DeprecatedScopeBase
|
|
3125
3036
|
|
|
3126
3037
|
id?: string | null
|
|
3127
|
-
|
|
3128
|
-
|
|
3038
|
+
dbusPath?: string | null
|
|
3039
|
+
searchInGlobal?: boolean | null
|
|
3129
3040
|
visible?: boolean | null
|
|
3130
|
-
|
|
3131
|
-
|
|
3041
|
+
isMaster?: boolean | null
|
|
3042
|
+
searchHint?: string | null
|
|
3132
3043
|
sources?: OptionsFilter | null
|
|
3133
3044
|
categories?: CategorySet | null
|
|
3134
3045
|
filters?: FilterSet | null
|
|
3135
3046
|
schema?: Schema | null
|
|
3136
|
-
dbusPath?: string | null
|
|
3137
|
-
searchInGlobal?: boolean | null
|
|
3138
|
-
isMaster?: boolean | null
|
|
3139
|
-
searchHint?: string | null
|
|
3140
3047
|
}
|
|
3141
3048
|
|
|
3142
3049
|
}
|
|
@@ -3146,14 +3053,10 @@ interface DeprecatedScopeBase {
|
|
|
3146
3053
|
// Own properties of Unity-7.0.Unity.DeprecatedScopeBase
|
|
3147
3054
|
|
|
3148
3055
|
readonly id: string | null
|
|
3149
|
-
readonly dbus_path: string | null
|
|
3150
3056
|
readonly dbusPath: string | null
|
|
3151
|
-
search_in_global: boolean
|
|
3152
3057
|
searchInGlobal: boolean
|
|
3153
3058
|
visible: boolean
|
|
3154
|
-
readonly is_master: boolean
|
|
3155
3059
|
readonly isMaster: boolean
|
|
3156
|
-
search_hint: string | null
|
|
3157
3060
|
searchHint: string | null
|
|
3158
3061
|
sources: OptionsFilter
|
|
3159
3062
|
categories: CategorySet
|
|
@@ -3164,15 +3067,15 @@ interface DeprecatedScopeBase {
|
|
|
3164
3067
|
|
|
3165
3068
|
export(): void
|
|
3166
3069
|
unexport(): void
|
|
3167
|
-
get_id(): string
|
|
3168
|
-
get_dbus_path(): string
|
|
3070
|
+
get_id(): string
|
|
3071
|
+
get_dbus_path(): string
|
|
3169
3072
|
get_search_in_global(): boolean
|
|
3170
3073
|
set_search_in_global(value: boolean): void
|
|
3171
3074
|
get_visible(): boolean
|
|
3172
3075
|
set_visible(value: boolean): void
|
|
3173
3076
|
get_is_master(): boolean
|
|
3174
|
-
get_search_hint(): string
|
|
3175
|
-
set_search_hint(value: string
|
|
3077
|
+
get_search_hint(): string
|
|
3078
|
+
set_search_hint(value: string): void
|
|
3176
3079
|
get_sources(): OptionsFilter
|
|
3177
3080
|
get_categories(): CategorySet
|
|
3178
3081
|
set_categories(value: CategorySet): void
|
|
@@ -3246,14 +3149,14 @@ module DeprecatedScope {
|
|
|
3246
3149
|
* Signal callback interface for `activate-uri`
|
|
3247
3150
|
*/
|
|
3248
3151
|
interface ActivateUriSignalCallback {
|
|
3249
|
-
($obj: DeprecatedScope, uri: string
|
|
3152
|
+
($obj: DeprecatedScope, uri: string): ActivationResponse | null
|
|
3250
3153
|
}
|
|
3251
3154
|
|
|
3252
3155
|
/**
|
|
3253
3156
|
* Signal callback interface for `preview-uri`
|
|
3254
3157
|
*/
|
|
3255
3158
|
interface PreviewUriSignalCallback {
|
|
3256
|
-
($obj: DeprecatedScope, uri: string
|
|
3159
|
+
($obj: DeprecatedScope, uri: string): Preview | null
|
|
3257
3160
|
}
|
|
3258
3161
|
|
|
3259
3162
|
/**
|
|
@@ -3299,10 +3202,10 @@ interface DeprecatedScope {
|
|
|
3299
3202
|
|
|
3300
3203
|
connect(sigName: "activate-uri", callback: DeprecatedScope.ActivateUriSignalCallback): number
|
|
3301
3204
|
connect_after(sigName: "activate-uri", callback: DeprecatedScope.ActivateUriSignalCallback): number
|
|
3302
|
-
emit(sigName: "activate-uri", uri: string
|
|
3205
|
+
emit(sigName: "activate-uri", uri: string, ...args: any[]): void
|
|
3303
3206
|
connect(sigName: "preview-uri", callback: DeprecatedScope.PreviewUriSignalCallback): number
|
|
3304
3207
|
connect_after(sigName: "preview-uri", callback: DeprecatedScope.PreviewUriSignalCallback): number
|
|
3305
|
-
emit(sigName: "preview-uri", uri: string
|
|
3208
|
+
emit(sigName: "preview-uri", uri: string, ...args: any[]): void
|
|
3306
3209
|
connect(sigName: "generate-search-key", callback: DeprecatedScope.GenerateSearchKeySignalCallback): number
|
|
3307
3210
|
connect_after(sigName: "generate-search-key", callback: DeprecatedScope.GenerateSearchKeySignalCallback): number
|
|
3308
3211
|
emit(sigName: "generate-search-key", search: DeprecatedScopeSearch, ...args: any[]): void
|
|
@@ -3358,8 +3261,8 @@ class DeprecatedScope extends DeprecatedScopeBase {
|
|
|
3358
3261
|
// Constructors of Unity-7.0.Unity.DeprecatedScope
|
|
3359
3262
|
|
|
3360
3263
|
constructor(config?: DeprecatedScope.ConstructorProperties)
|
|
3361
|
-
constructor(dbus_path_: string
|
|
3362
|
-
static new(dbus_path_: string
|
|
3264
|
+
constructor(dbus_path_: string, id_: string)
|
|
3265
|
+
static new(dbus_path_: string, id_: string): DeprecatedScope
|
|
3363
3266
|
_init(config?: DeprecatedScope.ConstructorProperties): void
|
|
3364
3267
|
}
|
|
3365
3268
|
|
|
@@ -3371,9 +3274,6 @@ module AggregatorScope {
|
|
|
3371
3274
|
|
|
3372
3275
|
// Own constructor properties of Unity-7.0.Unity.AggregatorScope
|
|
3373
3276
|
|
|
3374
|
-
merge_mode?: AggregatorScopeMergeMode | null
|
|
3375
|
-
proxy_filter_hints?: boolean | null
|
|
3376
|
-
automatic_flushing?: boolean | null
|
|
3377
3277
|
mergeMode?: AggregatorScopeMergeMode | null
|
|
3378
3278
|
proxyFilterHints?: boolean | null
|
|
3379
3279
|
automaticFlushing?: boolean | null
|
|
@@ -3385,18 +3285,15 @@ interface AggregatorScope {
|
|
|
3385
3285
|
|
|
3386
3286
|
// Own properties of Unity-7.0.Unity.AggregatorScope
|
|
3387
3287
|
|
|
3388
|
-
merge_mode: AggregatorScopeMergeMode
|
|
3389
3288
|
mergeMode: AggregatorScopeMergeMode
|
|
3390
|
-
proxy_filter_hints: boolean
|
|
3391
3289
|
proxyFilterHints: boolean
|
|
3392
|
-
automatic_flushing: boolean
|
|
3393
3290
|
automaticFlushing: boolean
|
|
3394
3291
|
|
|
3395
3292
|
// Owm methods of Unity-7.0.Unity.AggregatorScope
|
|
3396
3293
|
|
|
3397
|
-
category_index_for_scope_id(scope_id: string
|
|
3398
|
-
add_sorter(category_index: number, field: string
|
|
3399
|
-
add_constraint(category_index: number, field: string
|
|
3294
|
+
category_index_for_scope_id(scope_id: string): number
|
|
3295
|
+
add_sorter(category_index: number, field: string, flags: AggregatorScopeSortFlags): void
|
|
3296
|
+
add_constraint(category_index: number, field: string): void
|
|
3400
3297
|
search(scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
3401
3298
|
search_finish(_res_: Gio.AsyncResult): void
|
|
3402
3299
|
activate(activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -3410,7 +3307,7 @@ interface AggregatorScope {
|
|
|
3410
3307
|
|
|
3411
3308
|
// Own virtual methods of Unity-7.0.Unity.AggregatorScope
|
|
3412
3309
|
|
|
3413
|
-
vfunc_category_index_for_scope_id(scope_id: string
|
|
3310
|
+
vfunc_category_index_for_scope_id(scope_id: string): number
|
|
3414
3311
|
vfunc_search(scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
3415
3312
|
vfunc_search_finish(_res_: Gio.AsyncResult): void
|
|
3416
3313
|
vfunc_activate(activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -3484,7 +3381,6 @@ module MasterScope {
|
|
|
3484
3381
|
|
|
3485
3382
|
// Own constructor properties of Unity-7.0.Unity.MasterScope
|
|
3486
3383
|
|
|
3487
|
-
no_content_hint?: string | null
|
|
3488
3384
|
noContentHint?: string | null
|
|
3489
3385
|
}
|
|
3490
3386
|
|
|
@@ -3494,13 +3390,12 @@ interface MasterScope {
|
|
|
3494
3390
|
|
|
3495
3391
|
// Own properties of Unity-7.0.Unity.MasterScope
|
|
3496
3392
|
|
|
3497
|
-
no_content_hint: string | null
|
|
3498
3393
|
noContentHint: string | null
|
|
3499
3394
|
|
|
3500
3395
|
// Owm methods of Unity-7.0.Unity.MasterScope
|
|
3501
3396
|
|
|
3502
|
-
get_no_content_hint(): string
|
|
3503
|
-
set_no_content_hint(value: string
|
|
3397
|
+
get_no_content_hint(): string
|
|
3398
|
+
set_no_content_hint(value: string): void
|
|
3504
3399
|
|
|
3505
3400
|
// Class property signals of Unity-7.0.Unity.MasterScope
|
|
3506
3401
|
|
|
@@ -3562,8 +3457,8 @@ class MasterScope extends AggregatorScope {
|
|
|
3562
3457
|
// Constructors of Unity-7.0.Unity.MasterScope
|
|
3563
3458
|
|
|
3564
3459
|
constructor(config?: MasterScope.ConstructorProperties)
|
|
3565
|
-
constructor(dbus_path_: string
|
|
3566
|
-
static new(dbus_path_: string
|
|
3460
|
+
constructor(dbus_path_: string, id_: string)
|
|
3461
|
+
static new(dbus_path_: string, id_: string): MasterScope
|
|
3567
3462
|
_init(config?: MasterScope.ConstructorProperties): void
|
|
3568
3463
|
}
|
|
3569
3464
|
|
|
@@ -3575,14 +3470,9 @@ module SimpleScope {
|
|
|
3575
3470
|
|
|
3576
3471
|
// Own constructor properties of Unity-7.0.Unity.SimpleScope
|
|
3577
3472
|
|
|
3578
|
-
filter_set?: FilterSet | null
|
|
3579
|
-
category_set?: CategorySet | null
|
|
3580
|
-
schema?: Schema | null
|
|
3581
|
-
search_hint?: string | null
|
|
3582
|
-
group_name?: string | null
|
|
3583
|
-
unique_name?: string | null
|
|
3584
3473
|
filterSet?: FilterSet | null
|
|
3585
3474
|
categorySet?: CategorySet | null
|
|
3475
|
+
schema?: Schema | null
|
|
3586
3476
|
searchHint?: string | null
|
|
3587
3477
|
groupName?: string | null
|
|
3588
3478
|
uniqueName?: string | null
|
|
@@ -3594,16 +3484,11 @@ interface SimpleScope {
|
|
|
3594
3484
|
|
|
3595
3485
|
// Own properties of Unity-7.0.Unity.SimpleScope
|
|
3596
3486
|
|
|
3597
|
-
filter_set: FilterSet
|
|
3598
3487
|
filterSet: FilterSet
|
|
3599
|
-
category_set: CategorySet
|
|
3600
3488
|
categorySet: CategorySet
|
|
3601
3489
|
schema: Schema
|
|
3602
|
-
search_hint: string | null
|
|
3603
3490
|
searchHint: string | null
|
|
3604
|
-
group_name: string | null
|
|
3605
3491
|
groupName: string | null
|
|
3606
|
-
unique_name: string | null
|
|
3607
3492
|
uniqueName: string | null
|
|
3608
3493
|
|
|
3609
3494
|
// Owm methods of Unity-7.0.Unity.SimpleScope
|
|
@@ -3619,12 +3504,24 @@ interface SimpleScope {
|
|
|
3619
3504
|
set_category_set(value: CategorySet): void
|
|
3620
3505
|
get_schema(): Schema
|
|
3621
3506
|
set_schema(value: Schema): void
|
|
3507
|
+
get_search_hint(): string
|
|
3508
|
+
|
|
3509
|
+
// Overloads of get_search_hint
|
|
3510
|
+
|
|
3622
3511
|
get_search_hint(): string | null
|
|
3623
|
-
set_search_hint(value: string
|
|
3512
|
+
set_search_hint(value: string): void
|
|
3513
|
+
get_group_name(): string
|
|
3514
|
+
|
|
3515
|
+
// Overloads of get_group_name
|
|
3516
|
+
|
|
3624
3517
|
get_group_name(): string | null
|
|
3625
|
-
set_group_name(value: string
|
|
3518
|
+
set_group_name(value: string): void
|
|
3519
|
+
get_unique_name(): string
|
|
3520
|
+
|
|
3521
|
+
// Overloads of get_unique_name
|
|
3522
|
+
|
|
3626
3523
|
get_unique_name(): string | null
|
|
3627
|
-
set_unique_name(value: string
|
|
3524
|
+
set_unique_name(value: string): void
|
|
3628
3525
|
|
|
3629
3526
|
// Class property signals of Unity-7.0.Unity.SimpleScope
|
|
3630
3527
|
|
|
@@ -3680,15 +3577,15 @@ interface ScopeLoader {
|
|
|
3680
3577
|
|
|
3681
3578
|
// Owm methods of Unity-7.0.Unity.ScopeLoader
|
|
3682
3579
|
|
|
3683
|
-
get_scopes(module_name: string
|
|
3580
|
+
get_scopes(module_name: string, module_type?: string | null): AbstractScope[]
|
|
3684
3581
|
export_scopes(scopes: AbstractScope[]): void
|
|
3685
|
-
load_group(group_name: string
|
|
3686
|
-
load_scope(scope_id: string
|
|
3687
|
-
load_module(module: string
|
|
3582
|
+
load_group(group_name: string): void
|
|
3583
|
+
load_scope(scope_id: string): void
|
|
3584
|
+
load_module(module: string, module_type?: string | null): void
|
|
3688
3585
|
|
|
3689
3586
|
// Own virtual methods of Unity-7.0.Unity.ScopeLoader
|
|
3690
3587
|
|
|
3691
|
-
vfunc_get_scopes(module_name: string
|
|
3588
|
+
vfunc_get_scopes(module_name: string, module_type?: string | null): AbstractScope[]
|
|
3692
3589
|
vfunc_export_scopes(scopes: AbstractScope[]): void
|
|
3693
3590
|
|
|
3694
3591
|
// Class property signals of Unity-7.0.Unity.ScopeLoader
|
|
@@ -3723,14 +3620,11 @@ module TrackMetadata {
|
|
|
3723
3620
|
// Own constructor properties of Unity-7.0.Unity.TrackMetadata
|
|
3724
3621
|
|
|
3725
3622
|
uri?: string | null
|
|
3726
|
-
|
|
3623
|
+
trackNo?: number | null
|
|
3727
3624
|
artist?: string | null
|
|
3728
3625
|
title?: string | null
|
|
3729
3626
|
album?: string | null
|
|
3730
3627
|
length?: number | null
|
|
3731
|
-
art_location?: Gio.File | null
|
|
3732
|
-
art_icon?: Gio.Icon | null
|
|
3733
|
-
trackNo?: number | null
|
|
3734
3628
|
artLocation?: Gio.File | null
|
|
3735
3629
|
artIcon?: Gio.Icon | null
|
|
3736
3630
|
}
|
|
@@ -3742,29 +3636,26 @@ interface TrackMetadata {
|
|
|
3742
3636
|
// Own properties of Unity-7.0.Unity.TrackMetadata
|
|
3743
3637
|
|
|
3744
3638
|
uri: string | null
|
|
3745
|
-
track_no: number
|
|
3746
3639
|
trackNo: number
|
|
3747
3640
|
artist: string | null
|
|
3748
3641
|
title: string | null
|
|
3749
3642
|
album: string | null
|
|
3750
3643
|
length: number
|
|
3751
|
-
art_location: Gio.File
|
|
3752
3644
|
artLocation: Gio.File
|
|
3753
|
-
art_icon: Gio.Icon
|
|
3754
3645
|
artIcon: Gio.Icon
|
|
3755
3646
|
|
|
3756
3647
|
// Owm methods of Unity-7.0.Unity.TrackMetadata
|
|
3757
3648
|
|
|
3758
|
-
get_uri(): string
|
|
3759
|
-
set_uri(value: string
|
|
3649
|
+
get_uri(): string
|
|
3650
|
+
set_uri(value: string): void
|
|
3760
3651
|
get_track_no(): number
|
|
3761
3652
|
set_track_no(value: number): void
|
|
3762
|
-
get_artist(): string
|
|
3763
|
-
set_artist(value: string
|
|
3764
|
-
get_title(): string
|
|
3765
|
-
set_title(value: string
|
|
3766
|
-
get_album(): string
|
|
3767
|
-
set_album(value: string
|
|
3653
|
+
get_artist(): string
|
|
3654
|
+
set_artist(value: string): void
|
|
3655
|
+
get_title(): string
|
|
3656
|
+
set_title(value: string): void
|
|
3657
|
+
get_album(): string
|
|
3658
|
+
set_album(value: string): void
|
|
3768
3659
|
get_length(): number
|
|
3769
3660
|
set_length(value: number): void
|
|
3770
3661
|
get_art_location(): Gio.File
|
|
@@ -3816,7 +3707,7 @@ class TrackMetadata extends GObject.Object {
|
|
|
3816
3707
|
constructor(config?: TrackMetadata.ConstructorProperties)
|
|
3817
3708
|
constructor()
|
|
3818
3709
|
static new(): TrackMetadata
|
|
3819
|
-
static full(uri: string
|
|
3710
|
+
static full(uri: string, track_no: number, title: string, artist: string, album: string, length: number): TrackMetadata
|
|
3820
3711
|
_init(config?: TrackMetadata.ConstructorProperties): void
|
|
3821
3712
|
}
|
|
3822
3713
|
|
|
@@ -3831,9 +3722,6 @@ module Playlist {
|
|
|
3831
3722
|
id?: string | null
|
|
3832
3723
|
name?: string | null
|
|
3833
3724
|
icon?: Gio.Icon | null
|
|
3834
|
-
creation_date?: GLib.DateTime | null
|
|
3835
|
-
modification_date?: GLib.DateTime | null
|
|
3836
|
-
last_play_date?: GLib.DateTime | null
|
|
3837
3725
|
creationDate?: GLib.DateTime | null
|
|
3838
3726
|
modificationDate?: GLib.DateTime | null
|
|
3839
3727
|
lastPlayDate?: GLib.DateTime | null
|
|
@@ -3848,18 +3736,15 @@ interface Playlist {
|
|
|
3848
3736
|
readonly id: string | null
|
|
3849
3737
|
name: string | null
|
|
3850
3738
|
icon: Gio.Icon
|
|
3851
|
-
creation_date: GLib.DateTime
|
|
3852
3739
|
creationDate: GLib.DateTime
|
|
3853
|
-
modification_date: GLib.DateTime
|
|
3854
3740
|
modificationDate: GLib.DateTime
|
|
3855
|
-
last_play_date: GLib.DateTime
|
|
3856
3741
|
lastPlayDate: GLib.DateTime
|
|
3857
3742
|
|
|
3858
3743
|
// Owm methods of Unity-7.0.Unity.Playlist
|
|
3859
3744
|
|
|
3860
|
-
get_id(): string
|
|
3861
|
-
get_name(): string
|
|
3862
|
-
set_name(value: string
|
|
3745
|
+
get_id(): string
|
|
3746
|
+
get_name(): string
|
|
3747
|
+
set_name(value: string): void
|
|
3863
3748
|
get_icon(): Gio.Icon
|
|
3864
3749
|
set_icon(value: Gio.Icon): void
|
|
3865
3750
|
get_creation_date(): GLib.DateTime
|
|
@@ -3905,8 +3790,8 @@ class Playlist extends GObject.Object {
|
|
|
3905
3790
|
// Constructors of Unity-7.0.Unity.Playlist
|
|
3906
3791
|
|
|
3907
3792
|
constructor(config?: Playlist.ConstructorProperties)
|
|
3908
|
-
constructor(id: string
|
|
3909
|
-
static new(id: string
|
|
3793
|
+
constructor(id: string)
|
|
3794
|
+
static new(id: string): Playlist
|
|
3910
3795
|
_init(config?: Playlist.ConstructorProperties): void
|
|
3911
3796
|
}
|
|
3912
3797
|
|
|
@@ -3956,22 +3841,10 @@ module MusicPlayer {
|
|
|
3956
3841
|
|
|
3957
3842
|
// Own constructor properties of Unity-7.0.Unity.MusicPlayer
|
|
3958
3843
|
|
|
3959
|
-
app_info?: Gio.AppInfo | null
|
|
3960
|
-
desktop_file_name?: string | null
|
|
3961
|
-
is_blacklisted?: boolean | null
|
|
3962
|
-
title?: string | null
|
|
3963
|
-
can_go_next?: boolean | null
|
|
3964
|
-
can_go_previous?: boolean | null
|
|
3965
|
-
can_play?: boolean | null
|
|
3966
|
-
can_pause?: boolean | null
|
|
3967
|
-
current_track?: TrackMetadata | null
|
|
3968
|
-
playback_state?: PlaybackState | null
|
|
3969
|
-
current_playlist?: Playlist | null
|
|
3970
|
-
track_menu?: Dbusmenu.Menuitem | null
|
|
3971
|
-
player_menu?: Dbusmenu.Menuitem | null
|
|
3972
3844
|
appInfo?: Gio.AppInfo | null
|
|
3973
3845
|
desktopFileName?: string | null
|
|
3974
3846
|
isBlacklisted?: boolean | null
|
|
3847
|
+
title?: string | null
|
|
3975
3848
|
canGoNext?: boolean | null
|
|
3976
3849
|
canGoPrevious?: boolean | null
|
|
3977
3850
|
canPlay?: boolean | null
|
|
@@ -3989,30 +3862,18 @@ interface MusicPlayer {
|
|
|
3989
3862
|
|
|
3990
3863
|
// Own properties of Unity-7.0.Unity.MusicPlayer
|
|
3991
3864
|
|
|
3992
|
-
readonly app_info: Gio.AppInfo
|
|
3993
3865
|
readonly appInfo: Gio.AppInfo
|
|
3994
|
-
readonly desktop_file_name: string | null
|
|
3995
3866
|
readonly desktopFileName: string | null
|
|
3996
|
-
is_blacklisted: boolean
|
|
3997
3867
|
isBlacklisted: boolean
|
|
3998
3868
|
title: string | null
|
|
3999
|
-
can_go_next: boolean
|
|
4000
3869
|
canGoNext: boolean
|
|
4001
|
-
can_go_previous: boolean
|
|
4002
3870
|
canGoPrevious: boolean
|
|
4003
|
-
can_play: boolean
|
|
4004
3871
|
canPlay: boolean
|
|
4005
|
-
can_pause: boolean
|
|
4006
3872
|
canPause: boolean
|
|
4007
|
-
current_track: TrackMetadata
|
|
4008
3873
|
currentTrack: TrackMetadata
|
|
4009
|
-
playback_state: PlaybackState
|
|
4010
3874
|
playbackState: PlaybackState
|
|
4011
|
-
current_playlist: Playlist
|
|
4012
3875
|
currentPlaylist: Playlist
|
|
4013
|
-
track_menu: Dbusmenu.Menuitem
|
|
4014
3876
|
trackMenu: Dbusmenu.Menuitem
|
|
4015
|
-
player_menu: Dbusmenu.Menuitem
|
|
4016
3877
|
playerMenu: Dbusmenu.Menuitem
|
|
4017
3878
|
|
|
4018
3879
|
// Owm methods of Unity-7.0.Unity.MusicPlayer
|
|
@@ -4022,13 +3883,13 @@ interface MusicPlayer {
|
|
|
4022
3883
|
add_playlist(p: Playlist): boolean
|
|
4023
3884
|
remove_playlist(p: Playlist): boolean
|
|
4024
3885
|
get_playlists(): Playlist[]
|
|
4025
|
-
edit_playlist_name(id: string
|
|
3886
|
+
edit_playlist_name(id: string, name: string): void
|
|
4026
3887
|
get_app_info(): Gio.AppInfo
|
|
4027
|
-
get_desktop_file_name(): string
|
|
3888
|
+
get_desktop_file_name(): string
|
|
4028
3889
|
get_is_blacklisted(): boolean
|
|
4029
3890
|
set_is_blacklisted(value: boolean): void
|
|
4030
|
-
get_title(): string
|
|
4031
|
-
set_title(value: string
|
|
3891
|
+
get_title(): string
|
|
3892
|
+
set_title(value: string): void
|
|
4032
3893
|
get_can_go_next(): boolean
|
|
4033
3894
|
set_can_go_next(value: boolean): void
|
|
4034
3895
|
get_can_go_previous(): boolean
|
|
@@ -4123,8 +3984,8 @@ class MusicPlayer extends GObject.Object {
|
|
|
4123
3984
|
// Constructors of Unity-7.0.Unity.MusicPlayer
|
|
4124
3985
|
|
|
4125
3986
|
constructor(config?: MusicPlayer.ConstructorProperties)
|
|
4126
|
-
constructor(desktop: string
|
|
4127
|
-
static new(desktop: string
|
|
3987
|
+
constructor(desktop: string)
|
|
3988
|
+
static new(desktop: string): MusicPlayer
|
|
4128
3989
|
_init(config?: MusicPlayer.ConstructorProperties): void
|
|
4129
3990
|
}
|
|
4130
3991
|
|
|
@@ -4766,7 +4627,7 @@ interface FilterSetClass {
|
|
|
4766
4627
|
// Own fields of Unity-7.0.Unity.FilterSetClass
|
|
4767
4628
|
|
|
4768
4629
|
add: (self: FilterSet, filter: Filter) => void
|
|
4769
|
-
get_filter_by_id: (self: FilterSet, filter_id: string
|
|
4630
|
+
get_filter_by_id: (self: FilterSet, filter_id: string) => Filter | null
|
|
4770
4631
|
get_filters: (self: FilterSet) => Filter[]
|
|
4771
4632
|
}
|
|
4772
4633
|
|
|
@@ -4816,7 +4677,7 @@ interface SchemaClass {
|
|
|
4816
4677
|
|
|
4817
4678
|
// Own fields of Unity-7.0.Unity.SchemaClass
|
|
4818
4679
|
|
|
4819
|
-
add_field: (self: Schema, name: string
|
|
4680
|
+
add_field: (self: Schema, name: string, schema: string, type: SchemaFieldType) => void
|
|
4820
4681
|
get_fields: (self: Schema) => SchemaFieldInfo[]
|
|
4821
4682
|
}
|
|
4822
4683
|
|
|
@@ -5033,7 +4894,7 @@ interface AbstractScopeClass {
|
|
|
5033
4894
|
get_group_name: (self: AbstractScope) => string | null
|
|
5034
4895
|
get_unique_name: (self: AbstractScope) => string | null
|
|
5035
4896
|
activate: (self: AbstractScope, result: ScopeResult, metadata: SearchMetadata, action_id?: string | null) => ActivationResponse | null
|
|
5036
|
-
normalize_search_query: (self: AbstractScope, search_query: string
|
|
4897
|
+
normalize_search_query: (self: AbstractScope, search_query: string) => string | null
|
|
5037
4898
|
}
|
|
5038
4899
|
|
|
5039
4900
|
abstract class AbstractScopeClass {
|
|
@@ -5128,7 +4989,7 @@ interface AggregatorScopeClass {
|
|
|
5128
4989
|
|
|
5129
4990
|
// Own fields of Unity-7.0.Unity.AggregatorScopeClass
|
|
5130
4991
|
|
|
5131
|
-
category_index_for_scope_id: (self: AggregatorScope, scope_id: string
|
|
4992
|
+
category_index_for_scope_id: (self: AggregatorScope, scope_id: string) => number
|
|
5132
4993
|
search: (self: AggregatorScope, scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
5133
4994
|
search_finish: (self: AggregatorScope, _res_: Gio.AsyncResult) => void
|
|
5134
4995
|
activate: (self: AggregatorScope, activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
@@ -5196,7 +5057,7 @@ interface ScopeLoaderClass {
|
|
|
5196
5057
|
|
|
5197
5058
|
// Own fields of Unity-7.0.Unity.ScopeLoaderClass
|
|
5198
5059
|
|
|
5199
|
-
get_scopes: (self: ScopeLoader, module_name: string
|
|
5060
|
+
get_scopes: (self: ScopeLoader, module_name: string, module_type?: string | null) => AbstractScope[]
|
|
5200
5061
|
export_scopes: (self: ScopeLoader, scopes: AbstractScope[]) => void
|
|
5201
5062
|
}
|
|
5202
5063
|
|
|
@@ -5300,7 +5161,7 @@ class ScopeResult {
|
|
|
5300
5161
|
|
|
5301
5162
|
// Constructors of Unity-7.0.Unity.ScopeResult
|
|
5302
5163
|
|
|
5303
|
-
static create(uri: string
|
|
5164
|
+
static create(uri: string, icon_hint: string | null, category: number, result_type: ResultType, mimetype: string, title: string, comment: string, dnd_uri: string, metadata: GLib.HashTable): ScopeResult | null
|
|
5304
5165
|
static create_from_variant(variant: GLib.Variant): ScopeResult | null
|
|
5305
5166
|
}
|
|
5306
5167
|
|
|
@@ -5328,7 +5189,7 @@ class SearchContext {
|
|
|
5328
5189
|
|
|
5329
5190
|
// Constructors of Unity-7.0.Unity.SearchContext
|
|
5330
5191
|
|
|
5331
|
-
static create(search_query: string
|
|
5192
|
+
static create(search_query: string, search_type: SearchType, filter_state: FilterSet | null, metadata: GLib.HashTable | null, result_set: ResultSet, cancellable?: Cancellable | null): SearchContext | null
|
|
5332
5193
|
}
|
|
5333
5194
|
|
|
5334
5195
|
interface PlaylistDetails {
|