@girs/unity-7.0 7.0.0-3.2.6 → 7.0.0-3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +7 -7
- package/unity-7.0.d.cts +213 -201
- package/unity-7.0.d.ts +213 -201
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
|
|
|
@@ -266,8 +266,8 @@ interface AnnotatedIcon {
|
|
|
266
266
|
to_string(): string | null
|
|
267
267
|
get_icon(): Gio.Icon
|
|
268
268
|
set_icon(value: Gio.Icon): void
|
|
269
|
-
get_ribbon(): string
|
|
270
|
-
set_ribbon(value: string
|
|
269
|
+
get_ribbon(): string
|
|
270
|
+
set_ribbon(value: string): void
|
|
271
271
|
get_category(): CategoryType
|
|
272
272
|
set_category(value: CategoryType): void
|
|
273
273
|
get_size_hint(): IconSizeHint
|
|
@@ -398,8 +398,8 @@ interface LauncherEntry extends Dee.Serializable {
|
|
|
398
398
|
|
|
399
399
|
// Owm methods of Unity-7.0.Unity.LauncherEntry
|
|
400
400
|
|
|
401
|
-
get_app_uri(): string
|
|
402
|
-
set_app_uri(value: string
|
|
401
|
+
get_app_uri(): string
|
|
402
|
+
set_app_uri(value: string): void
|
|
403
403
|
get_count(): number
|
|
404
404
|
set_count(value: number): void
|
|
405
405
|
get_count_visible(): boolean
|
|
@@ -453,9 +453,9 @@ class LauncherEntry extends GObject.Object {
|
|
|
453
453
|
|
|
454
454
|
constructor(config?: LauncherEntry.ConstructorProperties)
|
|
455
455
|
_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
|
|
456
|
+
static get_for_app_uri(app_uri: string): LauncherEntry
|
|
457
|
+
static get_for_desktop_id(desktop_id: string): LauncherEntry
|
|
458
|
+
static get_for_desktop_file(desktop_file: string): LauncherEntry
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
module LauncherFavorites {
|
|
@@ -482,8 +482,8 @@ interface LauncherFavorites {
|
|
|
482
482
|
// Owm methods of Unity-7.0.Unity.LauncherFavorites
|
|
483
483
|
|
|
484
484
|
has_app_info(appinfo: Gio.AppInfo): boolean
|
|
485
|
-
has_app_id(app_id: string
|
|
486
|
-
lookup(app_id: string
|
|
485
|
+
has_app_id(app_id: string): boolean
|
|
486
|
+
lookup(app_id: string): Gio.AppInfo | null
|
|
487
487
|
enumerate_ids(): string[]
|
|
488
488
|
enumerate_app_infos(): Gio.AppInfo[]
|
|
489
489
|
|
|
@@ -574,8 +574,8 @@ interface ProgressSourceProvider {
|
|
|
574
574
|
|
|
575
575
|
// Owm methods of Unity-7.0.Unity.ProgressSourceProvider
|
|
576
576
|
|
|
577
|
-
get_dbus_name(): string
|
|
578
|
-
get_dbus_path(): string
|
|
577
|
+
get_dbus_name(): string
|
|
578
|
+
get_dbus_path(): string
|
|
579
579
|
|
|
580
580
|
// Class property signals of Unity-7.0.Unity.ProgressSourceProvider
|
|
581
581
|
|
|
@@ -601,8 +601,8 @@ class ProgressSourceProvider extends MetadataProvider {
|
|
|
601
601
|
// Constructors of Unity-7.0.Unity.ProgressSourceProvider
|
|
602
602
|
|
|
603
603
|
constructor(config?: ProgressSourceProvider.ConstructorProperties)
|
|
604
|
-
constructor(dbus_name: string
|
|
605
|
-
static new(dbus_name: string
|
|
604
|
+
constructor(dbus_name: string, dbus_path: string)
|
|
605
|
+
static new(dbus_name: string, dbus_path: string): ProgressSourceProvider
|
|
606
606
|
_init(config?: ProgressSourceProvider.ConstructorProperties): void
|
|
607
607
|
}
|
|
608
608
|
|
|
@@ -647,15 +647,15 @@ interface Category {
|
|
|
647
647
|
// Owm methods of Unity-7.0.Unity.Category
|
|
648
648
|
|
|
649
649
|
add_metadata_provider(provider: MetadataProvider): void
|
|
650
|
-
get_id(): string
|
|
651
|
-
get_name(): string
|
|
650
|
+
get_id(): string
|
|
651
|
+
get_name(): string
|
|
652
652
|
get_icon_hint(): Gio.Icon | null
|
|
653
653
|
get_default_renderer(): CategoryRenderer
|
|
654
654
|
get_content_type(): CategoryContentType
|
|
655
655
|
set_content_type(value: CategoryContentType): void
|
|
656
|
-
get_renderer_hint(): string
|
|
657
|
-
set_renderer_hint(value: string
|
|
658
|
-
get_renderer(): string
|
|
656
|
+
get_renderer_hint(): string
|
|
657
|
+
set_renderer_hint(value: string): void
|
|
658
|
+
get_renderer(): string
|
|
659
659
|
|
|
660
660
|
// Class property signals of Unity-7.0.Unity.Category
|
|
661
661
|
|
|
@@ -696,8 +696,8 @@ class Category extends GObject.Object {
|
|
|
696
696
|
// Constructors of Unity-7.0.Unity.Category
|
|
697
697
|
|
|
698
698
|
constructor(config?: Category.ConstructorProperties)
|
|
699
|
-
constructor(id: string
|
|
700
|
-
static new(id: string
|
|
699
|
+
constructor(id: string, name: string, icon_hint: Gio.Icon, renderer: CategoryRenderer)
|
|
700
|
+
static new(id: string, name: string, icon_hint: Gio.Icon, renderer: CategoryRenderer): Category
|
|
701
701
|
_init(config?: Category.ConstructorProperties): void
|
|
702
702
|
}
|
|
703
703
|
|
|
@@ -748,8 +748,8 @@ interface Filter extends Dee.Serializable {
|
|
|
748
748
|
|
|
749
749
|
// Owm methods of Unity-7.0.Unity.Filter
|
|
750
750
|
|
|
751
|
-
get_id(): string
|
|
752
|
-
get_display_name(): string
|
|
751
|
+
get_id(): string
|
|
752
|
+
get_display_name(): string
|
|
753
753
|
get_icon_hint(): Gio.Icon | null
|
|
754
754
|
get_renderer(): FilterRenderer
|
|
755
755
|
get_visible(): boolean
|
|
@@ -836,8 +836,8 @@ interface FilterOption {
|
|
|
836
836
|
|
|
837
837
|
// Owm methods of Unity-7.0.Unity.FilterOption
|
|
838
838
|
|
|
839
|
-
get_id(): string
|
|
840
|
-
get_display_name(): string
|
|
839
|
+
get_id(): string
|
|
840
|
+
get_display_name(): string
|
|
841
841
|
get_icon_hint(): Gio.Icon
|
|
842
842
|
get_active(): boolean
|
|
843
843
|
set_active(value: boolean): void
|
|
@@ -872,8 +872,8 @@ class FilterOption extends GObject.Object {
|
|
|
872
872
|
// Constructors of Unity-7.0.Unity.FilterOption
|
|
873
873
|
|
|
874
874
|
constructor(config?: FilterOption.ConstructorProperties)
|
|
875
|
-
constructor(id: string
|
|
876
|
-
static new(id: string
|
|
875
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, active: boolean)
|
|
876
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, active: boolean): FilterOption
|
|
877
877
|
_init(config?: FilterOption.ConstructorProperties): void
|
|
878
878
|
}
|
|
879
879
|
|
|
@@ -908,9 +908,9 @@ interface OptionsFilter {
|
|
|
908
908
|
|
|
909
909
|
// Owm methods of Unity-7.0.Unity.OptionsFilter
|
|
910
910
|
|
|
911
|
-
add_option(id: string
|
|
912
|
-
get_option(id: string
|
|
913
|
-
remove_option(id: string
|
|
911
|
+
add_option(id: string, display_name: string, icon_hint?: Gio.Icon | null): FilterOption
|
|
912
|
+
get_option(id: string): FilterOption | null
|
|
913
|
+
remove_option(id: string): boolean
|
|
914
914
|
get_sort_type(): OptionsFilterSortType
|
|
915
915
|
set_sort_type(value: OptionsFilterSortType): void
|
|
916
916
|
get_show_all_button(): boolean
|
|
@@ -1026,8 +1026,8 @@ class RadioOptionFilter extends OptionsFilter {
|
|
|
1026
1026
|
// Constructors of Unity-7.0.Unity.RadioOptionFilter
|
|
1027
1027
|
|
|
1028
1028
|
constructor(config?: RadioOptionFilter.ConstructorProperties)
|
|
1029
|
-
constructor(id: string
|
|
1030
|
-
static new(id: string
|
|
1029
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1030
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): RadioOptionFilter
|
|
1031
1031
|
|
|
1032
1032
|
// Overloads of new
|
|
1033
1033
|
|
|
@@ -1091,8 +1091,8 @@ class CheckOptionFilter extends OptionsFilter {
|
|
|
1091
1091
|
// Constructors of Unity-7.0.Unity.CheckOptionFilter
|
|
1092
1092
|
|
|
1093
1093
|
constructor(config?: CheckOptionFilter.ConstructorProperties)
|
|
1094
|
-
constructor(id: string
|
|
1095
|
-
static new(id: string
|
|
1094
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1095
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilter
|
|
1096
1096
|
|
|
1097
1097
|
// Overloads of new
|
|
1098
1098
|
|
|
@@ -1156,8 +1156,8 @@ class CheckOptionFilterCompact extends OptionsFilter {
|
|
|
1156
1156
|
// Constructors of Unity-7.0.Unity.CheckOptionFilterCompact
|
|
1157
1157
|
|
|
1158
1158
|
constructor(config?: CheckOptionFilterCompact.ConstructorProperties)
|
|
1159
|
-
constructor(id: string
|
|
1160
|
-
static new(id: string
|
|
1159
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1160
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilterCompact
|
|
1161
1161
|
|
|
1162
1162
|
// Overloads of new
|
|
1163
1163
|
|
|
@@ -1230,8 +1230,8 @@ class RatingsFilter extends Filter {
|
|
|
1230
1230
|
// Constructors of Unity-7.0.Unity.RatingsFilter
|
|
1231
1231
|
|
|
1232
1232
|
constructor(config?: RatingsFilter.ConstructorProperties)
|
|
1233
|
-
constructor(id: string
|
|
1234
|
-
static new(id: string
|
|
1233
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1234
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): RatingsFilter
|
|
1235
1235
|
_init(config?: RatingsFilter.ConstructorProperties): void
|
|
1236
1236
|
}
|
|
1237
1237
|
|
|
@@ -1296,8 +1296,8 @@ class MultiRangeFilter extends OptionsFilter {
|
|
|
1296
1296
|
// Constructors of Unity-7.0.Unity.MultiRangeFilter
|
|
1297
1297
|
|
|
1298
1298
|
constructor(config?: MultiRangeFilter.ConstructorProperties)
|
|
1299
|
-
constructor(id: string
|
|
1300
|
-
static new(id: string
|
|
1299
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1300
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): MultiRangeFilter
|
|
1301
1301
|
|
|
1302
1302
|
// Overloads of new
|
|
1303
1303
|
|
|
@@ -1437,11 +1437,11 @@ interface DeprecatedScopeSearch {
|
|
|
1437
1437
|
|
|
1438
1438
|
// Owm methods of Unity-7.0.Unity.DeprecatedScopeSearch
|
|
1439
1439
|
|
|
1440
|
-
set_reply_hint(key: string
|
|
1441
|
-
get_filter(filter_id: string
|
|
1440
|
+
set_reply_hint(key: string, variant: GLib.Variant): void
|
|
1441
|
+
get_filter(filter_id: string): Filter | null
|
|
1442
1442
|
equals(other: DeprecatedScopeSearch): boolean
|
|
1443
|
-
get_channel_id(): string
|
|
1444
|
-
get_search_string(): string
|
|
1443
|
+
get_channel_id(): string
|
|
1444
|
+
get_search_string(): string
|
|
1445
1445
|
get_search_type(): SearchType
|
|
1446
1446
|
get_hints(): GLib.HashTable
|
|
1447
1447
|
get_results_model(): Dee.SerializableModel
|
|
@@ -1500,7 +1500,7 @@ module AggregatedScopeSearch {
|
|
|
1500
1500
|
* Signal callback interface for `transaction-complete`
|
|
1501
1501
|
*/
|
|
1502
1502
|
interface TransactionCompleteSignalCallback {
|
|
1503
|
-
($obj: AggregatedScopeSearch, origin_scope_id: string
|
|
1503
|
+
($obj: AggregatedScopeSearch, origin_scope_id: string): void
|
|
1504
1504
|
}
|
|
1505
1505
|
|
|
1506
1506
|
/**
|
|
@@ -1522,9 +1522,9 @@ interface AggregatedScopeSearch {
|
|
|
1522
1522
|
|
|
1523
1523
|
// Owm methods of Unity-7.0.Unity.AggregatedScopeSearch
|
|
1524
1524
|
|
|
1525
|
-
search_scope(scope_id: string
|
|
1525
|
+
search_scope(scope_id: string, search_string: string, search_type: SearchType, hints?: GLib.HashTable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
1526
1526
|
search_scope_finish(_res_: Gio.AsyncResult): GLib.HashTable
|
|
1527
|
-
push_results(scope_id: string
|
|
1527
|
+
push_results(scope_id: string, results_model: Dee.SerializableModel, category_ids: string[], _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
1528
1528
|
push_results_finish(_res_: Gio.AsyncResult): void
|
|
1529
1529
|
push_filter_settings(filters: FilterSet): void
|
|
1530
1530
|
|
|
@@ -1532,7 +1532,7 @@ interface AggregatedScopeSearch {
|
|
|
1532
1532
|
|
|
1533
1533
|
connect(sigName: "transaction-complete", callback: AggregatedScopeSearch.TransactionCompleteSignalCallback): number
|
|
1534
1534
|
connect_after(sigName: "transaction-complete", callback: AggregatedScopeSearch.TransactionCompleteSignalCallback): number
|
|
1535
|
-
emit(sigName: "transaction-complete", origin_scope_id: string
|
|
1535
|
+
emit(sigName: "transaction-complete", origin_scope_id: string, ...args: any[]): void
|
|
1536
1536
|
connect(sigName: "category-order-changed", callback: AggregatedScopeSearch.CategoryOrderChangedSignalCallback): number
|
|
1537
1537
|
connect_after(sigName: "category-order-changed", callback: AggregatedScopeSearch.CategoryOrderChangedSignalCallback): number
|
|
1538
1538
|
emit(sigName: "category-order-changed", category_indices: number[], ...args: any[]): void
|
|
@@ -1573,8 +1573,8 @@ class AggregatedScopeSearch extends DeprecatedScopeSearch {
|
|
|
1573
1573
|
// Constructors of Unity-7.0.Unity.AggregatedScopeSearch
|
|
1574
1574
|
|
|
1575
1575
|
constructor(config?: AggregatedScopeSearch.ConstructorProperties)
|
|
1576
|
-
constructor(owner: AggregatorScope, channel_id: string
|
|
1577
|
-
static new(owner: AggregatorScope, channel_id: string
|
|
1576
|
+
constructor(owner: AggregatorScope, channel_id: string, hints: GLib.HashTable, results_model: Dee.SerializableModel)
|
|
1577
|
+
static new(owner: AggregatorScope, channel_id: string, hints: GLib.HashTable, results_model: Dee.SerializableModel): AggregatedScopeSearch
|
|
1578
1578
|
_init(config?: AggregatedScopeSearch.ConstructorProperties): void
|
|
1579
1579
|
}
|
|
1580
1580
|
|
|
@@ -1613,14 +1613,14 @@ interface Preview extends Dee.Serializable {
|
|
|
1613
1613
|
|
|
1614
1614
|
add_action(action: PreviewAction): void
|
|
1615
1615
|
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
|
|
1616
|
+
get_title(): string
|
|
1617
|
+
set_title(value: string): void
|
|
1618
|
+
get_subtitle(): string
|
|
1619
|
+
set_subtitle(value: string): void
|
|
1620
|
+
get_description_markup(): string
|
|
1621
|
+
set_description_markup(value: string): void
|
|
1622
|
+
get_image_source_uri(): string
|
|
1623
|
+
set_image_source_uri(value: string): void
|
|
1624
1624
|
get_image(): Gio.Icon | null
|
|
1625
1625
|
set_image(value?: Gio.Icon | null): void
|
|
1626
1626
|
|
|
@@ -1668,7 +1668,7 @@ module PreviewAction {
|
|
|
1668
1668
|
* Signal callback interface for `activated`
|
|
1669
1669
|
*/
|
|
1670
1670
|
interface ActivatedSignalCallback {
|
|
1671
|
-
($obj: PreviewAction, uri: string
|
|
1671
|
+
($obj: PreviewAction, uri: string): ActivationResponse
|
|
1672
1672
|
}
|
|
1673
1673
|
|
|
1674
1674
|
|
|
@@ -1708,10 +1708,10 @@ interface PreviewAction extends Dee.Serializable {
|
|
|
1708
1708
|
|
|
1709
1709
|
// Owm methods of Unity-7.0.Unity.PreviewAction
|
|
1710
1710
|
|
|
1711
|
-
get_id(): string
|
|
1712
|
-
get_display_name(): string
|
|
1713
|
-
get_extra_text(): string
|
|
1714
|
-
set_extra_text(value: string
|
|
1711
|
+
get_id(): string
|
|
1712
|
+
get_display_name(): string
|
|
1713
|
+
get_extra_text(): string
|
|
1714
|
+
set_extra_text(value: string): void
|
|
1715
1715
|
get_icon_hint(): Gio.Icon | null
|
|
1716
1716
|
get_layout_hint(): LayoutHint
|
|
1717
1717
|
get_hints(): GLib.HashTable | null
|
|
@@ -1720,7 +1720,7 @@ interface PreviewAction extends Dee.Serializable {
|
|
|
1720
1720
|
|
|
1721
1721
|
connect(sigName: "activated", callback: PreviewAction.ActivatedSignalCallback): number
|
|
1722
1722
|
connect_after(sigName: "activated", callback: PreviewAction.ActivatedSignalCallback): number
|
|
1723
|
-
emit(sigName: "activated", uri: string
|
|
1723
|
+
emit(sigName: "activated", uri: string, ...args: any[]): void
|
|
1724
1724
|
|
|
1725
1725
|
// Class property signals of Unity-7.0.Unity.PreviewAction
|
|
1726
1726
|
|
|
@@ -1758,10 +1758,10 @@ class PreviewAction extends GObject.Object {
|
|
|
1758
1758
|
// Constructors of Unity-7.0.Unity.PreviewAction
|
|
1759
1759
|
|
|
1760
1760
|
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
|
|
1761
|
+
constructor(id: string, display_name: string, icon_hint?: Gio.Icon | null)
|
|
1762
|
+
static new(id: string, display_name: string, icon_hint?: Gio.Icon | null): PreviewAction
|
|
1763
|
+
static with_layout_hint(id: string, display_name: string, icon_hint: Gio.Icon | null, layout: LayoutHint): PreviewAction
|
|
1764
|
+
static with_uri(uri: string, display_name: string, icon_hint?: Gio.Icon | null): PreviewAction
|
|
1765
1765
|
_init(config?: PreviewAction.ConstructorProperties): void
|
|
1766
1766
|
}
|
|
1767
1767
|
|
|
@@ -1796,8 +1796,8 @@ interface InfoHint {
|
|
|
1796
1796
|
|
|
1797
1797
|
// Owm methods of Unity-7.0.Unity.InfoHint
|
|
1798
1798
|
|
|
1799
|
-
get_id(): string
|
|
1800
|
-
get_display_name(): string
|
|
1799
|
+
get_id(): string
|
|
1800
|
+
get_display_name(): string
|
|
1801
1801
|
get_icon_hint(): Gio.Icon | null
|
|
1802
1802
|
get_data(): GLib.Variant
|
|
1803
1803
|
|
|
@@ -1808,7 +1808,7 @@ interface InfoHint {
|
|
|
1808
1808
|
* @param key name of the key for that association
|
|
1809
1809
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1810
1810
|
*/
|
|
1811
|
-
get_data(key: string
|
|
1811
|
+
get_data(key: string): any | null
|
|
1812
1812
|
|
|
1813
1813
|
// Class property signals of Unity-7.0.Unity.InfoHint
|
|
1814
1814
|
|
|
@@ -1840,9 +1840,9 @@ class InfoHint extends GObject.InitiallyUnowned {
|
|
|
1840
1840
|
// Constructors of Unity-7.0.Unity.InfoHint
|
|
1841
1841
|
|
|
1842
1842
|
constructor(config?: InfoHint.ConstructorProperties)
|
|
1843
|
-
constructor(id: string
|
|
1844
|
-
static new(id: string
|
|
1845
|
-
static with_variant(id: string
|
|
1843
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, data: string)
|
|
1844
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, data: string): InfoHint
|
|
1845
|
+
static with_variant(id: string, display_name: string, icon_hint: Gio.Icon | null, data: GLib.Variant): InfoHint
|
|
1846
1846
|
_init(config?: InfoHint.ConstructorProperties): void
|
|
1847
1847
|
}
|
|
1848
1848
|
|
|
@@ -1890,8 +1890,8 @@ class GenericPreview extends Preview {
|
|
|
1890
1890
|
// Constructors of Unity-7.0.Unity.GenericPreview
|
|
1891
1891
|
|
|
1892
1892
|
constructor(config?: GenericPreview.ConstructorProperties)
|
|
1893
|
-
constructor(title: string
|
|
1894
|
-
static new(title: string
|
|
1893
|
+
constructor(title: string, description: string, image?: Gio.Icon | null)
|
|
1894
|
+
static new(title: string, description: string, image?: Gio.Icon | null): GenericPreview
|
|
1895
1895
|
_init(config?: GenericPreview.ConstructorProperties): void
|
|
1896
1896
|
}
|
|
1897
1897
|
|
|
@@ -1929,12 +1929,12 @@ interface ApplicationPreview {
|
|
|
1929
1929
|
set_rating(rating: number, num_ratings: number): void
|
|
1930
1930
|
get_app_icon(): Gio.Icon
|
|
1931
1931
|
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
|
|
1932
|
+
get_license(): string
|
|
1933
|
+
set_license(value: string): void
|
|
1934
|
+
get_copyright(): string
|
|
1935
|
+
set_copyright(value: string): void
|
|
1936
|
+
get_last_update(): string
|
|
1937
|
+
set_last_update(value: string): void
|
|
1938
1938
|
|
|
1939
1939
|
// Class property signals of Unity-7.0.Unity.ApplicationPreview
|
|
1940
1940
|
|
|
@@ -1981,8 +1981,8 @@ class ApplicationPreview extends Preview {
|
|
|
1981
1981
|
// Constructors of Unity-7.0.Unity.ApplicationPreview
|
|
1982
1982
|
|
|
1983
1983
|
constructor(config?: ApplicationPreview.ConstructorProperties)
|
|
1984
|
-
constructor(title: string
|
|
1985
|
-
static new(title: string
|
|
1984
|
+
constructor(title: string, subtitle: string, description: string, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null)
|
|
1985
|
+
static new(title: string, subtitle: string, description: string, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null): ApplicationPreview
|
|
1986
1986
|
_init(config?: ApplicationPreview.ConstructorProperties): void
|
|
1987
1987
|
}
|
|
1988
1988
|
|
|
@@ -2034,8 +2034,8 @@ class MusicPreview extends Preview {
|
|
|
2034
2034
|
// Constructors of Unity-7.0.Unity.MusicPreview
|
|
2035
2035
|
|
|
2036
2036
|
constructor(config?: MusicPreview.ConstructorProperties)
|
|
2037
|
-
constructor(title: string
|
|
2038
|
-
static new(title: string
|
|
2037
|
+
constructor(title: string, subtitle: string, image?: Gio.Icon | null)
|
|
2038
|
+
static new(title: string, subtitle: string, image?: Gio.Icon | null): MusicPreview
|
|
2039
2039
|
_init(config?: MusicPreview.ConstructorProperties): void
|
|
2040
2040
|
}
|
|
2041
2041
|
|
|
@@ -2078,16 +2078,16 @@ interface PaymentPreview {
|
|
|
2078
2078
|
|
|
2079
2079
|
// Owm methods of Unity-7.0.Unity.PaymentPreview
|
|
2080
2080
|
|
|
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
|
|
2081
|
+
get_header(): string
|
|
2082
|
+
set_header(value: string): void
|
|
2083
|
+
get_email(): string
|
|
2084
|
+
set_email(value: string): void
|
|
2085
|
+
get_payment_method(): string
|
|
2086
|
+
set_payment_method(value: string): void
|
|
2087
|
+
get_purchase_prize(): string
|
|
2088
|
+
set_purchase_prize(value: string): void
|
|
2089
|
+
get_purchase_type(): string
|
|
2090
|
+
set_purchase_type(value: string): void
|
|
2091
2091
|
get_preview_type(): PaymentPreviewType
|
|
2092
2092
|
set_preview_type(value: PaymentPreviewType): void
|
|
2093
2093
|
|
|
@@ -2142,12 +2142,12 @@ class PaymentPreview extends Preview {
|
|
|
2142
2142
|
// Constructors of Unity-7.0.Unity.PaymentPreview
|
|
2143
2143
|
|
|
2144
2144
|
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
|
|
2145
|
+
constructor(title: string, subtitle: string, image?: Gio.Icon | null)
|
|
2146
|
+
static new(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2147
|
+
static for_type(title: string, subtitle: string, image: Gio.Icon | null, type: PaymentPreviewType): PaymentPreview
|
|
2148
|
+
static for_application(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2149
|
+
static for_music(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2150
|
+
static for_error(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2151
2151
|
_init(config?: PaymentPreview.ConstructorProperties): void
|
|
2152
2152
|
}
|
|
2153
2153
|
|
|
@@ -2173,8 +2173,8 @@ interface MoviePreview {
|
|
|
2173
2173
|
// Owm methods of Unity-7.0.Unity.MoviePreview
|
|
2174
2174
|
|
|
2175
2175
|
set_rating(rating: number, num_ratings: number): void
|
|
2176
|
-
get_year(): string
|
|
2177
|
-
set_year(value: string
|
|
2176
|
+
get_year(): string
|
|
2177
|
+
set_year(value: string): void
|
|
2178
2178
|
|
|
2179
2179
|
// Class property signals of Unity-7.0.Unity.MoviePreview
|
|
2180
2180
|
|
|
@@ -2212,8 +2212,8 @@ class MoviePreview extends Preview {
|
|
|
2212
2212
|
// Constructors of Unity-7.0.Unity.MoviePreview
|
|
2213
2213
|
|
|
2214
2214
|
constructor(config?: MoviePreview.ConstructorProperties)
|
|
2215
|
-
constructor(title: string
|
|
2216
|
-
static new(title: string
|
|
2215
|
+
constructor(title: string, subtitle: string, description: string, image?: Gio.Icon | null)
|
|
2216
|
+
static new(title: string, subtitle: string, description: string, image?: Gio.Icon | null): MoviePreview
|
|
2217
2217
|
_init(config?: MoviePreview.ConstructorProperties): void
|
|
2218
2218
|
}
|
|
2219
2219
|
|
|
@@ -2245,10 +2245,10 @@ interface SocialPreview {
|
|
|
2245
2245
|
add_comment(comment: SocialPreviewComment): void
|
|
2246
2246
|
get_avatar(): Gio.Icon
|
|
2247
2247
|
set_avatar(value: Gio.Icon): void
|
|
2248
|
-
get_content(): string
|
|
2249
|
-
set_content(value: string
|
|
2250
|
-
get_sender(): string
|
|
2251
|
-
set_sender(value: string
|
|
2248
|
+
get_content(): string
|
|
2249
|
+
set_content(value: string): void
|
|
2250
|
+
get_sender(): string
|
|
2251
|
+
set_sender(value: string): void
|
|
2252
2252
|
|
|
2253
2253
|
// Class property signals of Unity-7.0.Unity.SocialPreview
|
|
2254
2254
|
|
|
@@ -2292,8 +2292,8 @@ class SocialPreview extends Preview {
|
|
|
2292
2292
|
// Constructors of Unity-7.0.Unity.SocialPreview
|
|
2293
2293
|
|
|
2294
2294
|
constructor(config?: SocialPreview.ConstructorProperties)
|
|
2295
|
-
constructor(sender: string
|
|
2296
|
-
static new(sender: string
|
|
2295
|
+
constructor(sender: string, subtitle: string, content: string, avatar?: Gio.Icon | null)
|
|
2296
|
+
static new(sender: string, subtitle: string, content: string, avatar?: Gio.Icon | null): SocialPreview
|
|
2297
2297
|
_init(config?: SocialPreview.ConstructorProperties): void
|
|
2298
2298
|
}
|
|
2299
2299
|
|
|
@@ -2324,10 +2324,10 @@ interface SocialPreviewComment {
|
|
|
2324
2324
|
|
|
2325
2325
|
// Owm methods of Unity-7.0.Unity.SocialPreviewComment
|
|
2326
2326
|
|
|
2327
|
-
get_id(): string
|
|
2328
|
-
get_name(): string
|
|
2329
|
-
get_text(): string
|
|
2330
|
-
get_time(): string
|
|
2327
|
+
get_id(): string
|
|
2328
|
+
get_name(): string
|
|
2329
|
+
get_text(): string
|
|
2330
|
+
get_time(): string
|
|
2331
2331
|
|
|
2332
2332
|
// Class property signals of Unity-7.0.Unity.SocialPreviewComment
|
|
2333
2333
|
|
|
@@ -2359,8 +2359,8 @@ class SocialPreviewComment extends GObject.InitiallyUnowned {
|
|
|
2359
2359
|
// Constructors of Unity-7.0.Unity.SocialPreviewComment
|
|
2360
2360
|
|
|
2361
2361
|
constructor(config?: SocialPreviewComment.ConstructorProperties)
|
|
2362
|
-
constructor(id: string
|
|
2363
|
-
static new(id: string
|
|
2362
|
+
constructor(id: string, name: string, text: string, time: string)
|
|
2363
|
+
static new(id: string, name: string, text: string, time: string): SocialPreviewComment
|
|
2364
2364
|
_init(config?: SocialPreviewComment.ConstructorProperties): void
|
|
2365
2365
|
}
|
|
2366
2366
|
|
|
@@ -2390,8 +2390,8 @@ interface ActivationResponse {
|
|
|
2390
2390
|
// Owm methods of Unity-7.0.Unity.ActivationResponse
|
|
2391
2391
|
|
|
2392
2392
|
get_handled(): HandledType
|
|
2393
|
-
get_goto_uri(): string
|
|
2394
|
-
set_goto_uri(value: string
|
|
2393
|
+
get_goto_uri(): string
|
|
2394
|
+
set_goto_uri(value: string): void
|
|
2395
2395
|
|
|
2396
2396
|
// Class property signals of Unity-7.0.Unity.ActivationResponse
|
|
2397
2397
|
|
|
@@ -2417,9 +2417,9 @@ class ActivationResponse extends GObject.Object {
|
|
|
2417
2417
|
// Constructors of Unity-7.0.Unity.ActivationResponse
|
|
2418
2418
|
|
|
2419
2419
|
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
|
|
2420
|
+
constructor(handled: HandledType, goto_uri: string)
|
|
2421
|
+
static new(handled: HandledType, goto_uri: string): ActivationResponse
|
|
2422
|
+
static with_search(search_string: string, filter_set?: FilterSet | null, search_metadata?: SearchMetadata | null): ActivationResponse
|
|
2423
2423
|
static with_preview(preview: Preview): ActivationResponse
|
|
2424
2424
|
_init(config?: ActivationResponse.ConstructorProperties): void
|
|
2425
2425
|
}
|
|
@@ -2461,10 +2461,10 @@ interface AggregatorActivation {
|
|
|
2461
2461
|
|
|
2462
2462
|
// Owm methods of Unity-7.0.Unity.AggregatorActivation
|
|
2463
2463
|
|
|
2464
|
-
get_channel_id(): string
|
|
2465
|
-
set_channel_id(value: string
|
|
2466
|
-
get_scope_id(): string
|
|
2467
|
-
set_scope_id(value: string
|
|
2464
|
+
get_channel_id(): string
|
|
2465
|
+
set_channel_id(value: string): void
|
|
2466
|
+
get_scope_id(): string
|
|
2467
|
+
set_scope_id(value: string): void
|
|
2468
2468
|
get_action_type(): number
|
|
2469
2469
|
set_action_type(value: number): void
|
|
2470
2470
|
get_scope_result(): ScopeResult | null
|
|
@@ -2504,8 +2504,8 @@ class AggregatorActivation extends GObject.Object {
|
|
|
2504
2504
|
// Constructors of Unity-7.0.Unity.AggregatorActivation
|
|
2505
2505
|
|
|
2506
2506
|
constructor(config?: AggregatorActivation.ConstructorProperties)
|
|
2507
|
-
constructor(channel_id: string
|
|
2508
|
-
static new(channel_id: string
|
|
2507
|
+
constructor(channel_id: string, scope_id: string, action_type: number, result?: ScopeResult | null)
|
|
2508
|
+
static new(channel_id: string, scope_id: string, action_type: number, result?: ScopeResult | null): AggregatorActivation
|
|
2509
2509
|
_init(config?: AggregatorActivation.ConstructorProperties): void
|
|
2510
2510
|
}
|
|
2511
2511
|
|
|
@@ -2523,13 +2523,13 @@ interface FilterSet {
|
|
|
2523
2523
|
// Owm methods of Unity-7.0.Unity.FilterSet
|
|
2524
2524
|
|
|
2525
2525
|
add(filter: Filter): void
|
|
2526
|
-
get_filter_by_id(filter_id: string
|
|
2526
|
+
get_filter_by_id(filter_id: string): Filter | null
|
|
2527
2527
|
get_filters(): Filter[]
|
|
2528
2528
|
|
|
2529
2529
|
// Own virtual methods of Unity-7.0.Unity.FilterSet
|
|
2530
2530
|
|
|
2531
2531
|
vfunc_add(filter: Filter): void
|
|
2532
|
-
vfunc_get_filter_by_id(filter_id: string
|
|
2532
|
+
vfunc_get_filter_by_id(filter_id: string): Filter | null
|
|
2533
2533
|
vfunc_get_filters(): Filter[]
|
|
2534
2534
|
|
|
2535
2535
|
// Class property signals of Unity-7.0.Unity.FilterSet
|
|
@@ -2612,12 +2612,12 @@ interface Schema {
|
|
|
2612
2612
|
|
|
2613
2613
|
// Owm methods of Unity-7.0.Unity.Schema
|
|
2614
2614
|
|
|
2615
|
-
add_field(name: string
|
|
2615
|
+
add_field(name: string, schema: string, type: SchemaFieldType): void
|
|
2616
2616
|
get_fields(): SchemaFieldInfo[]
|
|
2617
2617
|
|
|
2618
2618
|
// Own virtual methods of Unity-7.0.Unity.Schema
|
|
2619
2619
|
|
|
2620
|
-
vfunc_add_field(name: string
|
|
2620
|
+
vfunc_add_field(name: string, schema: string, type: SchemaFieldType): void
|
|
2621
2621
|
vfunc_get_fields(): SchemaFieldInfo[]
|
|
2622
2622
|
|
|
2623
2623
|
// Class property signals of Unity-7.0.Unity.Schema
|
|
@@ -3009,7 +3009,7 @@ interface AbstractScope {
|
|
|
3009
3009
|
get_group_name(): string | null
|
|
3010
3010
|
get_unique_name(): string | null
|
|
3011
3011
|
activate(result: ScopeResult, metadata: SearchMetadata, action_id?: string | null): ActivationResponse | null
|
|
3012
|
-
normalize_search_query(search_query: string
|
|
3012
|
+
normalize_search_query(search_query: string): string | null
|
|
3013
3013
|
results_invalidated(search_type: SearchType): void
|
|
3014
3014
|
|
|
3015
3015
|
// Own virtual methods of Unity-7.0.Unity.AbstractScope
|
|
@@ -3023,7 +3023,7 @@ interface AbstractScope {
|
|
|
3023
3023
|
vfunc_get_group_name(): string | null
|
|
3024
3024
|
vfunc_get_unique_name(): string | null
|
|
3025
3025
|
vfunc_activate(result: ScopeResult, metadata: SearchMetadata, action_id?: string | null): ActivationResponse | null
|
|
3026
|
-
vfunc_normalize_search_query(search_query: string
|
|
3026
|
+
vfunc_normalize_search_query(search_query: string): string | null
|
|
3027
3027
|
|
|
3028
3028
|
// Own signals of Unity-7.0.Unity.AbstractScope
|
|
3029
3029
|
|
|
@@ -3164,15 +3164,15 @@ interface DeprecatedScopeBase {
|
|
|
3164
3164
|
|
|
3165
3165
|
export(): void
|
|
3166
3166
|
unexport(): void
|
|
3167
|
-
get_id(): string
|
|
3168
|
-
get_dbus_path(): string
|
|
3167
|
+
get_id(): string
|
|
3168
|
+
get_dbus_path(): string
|
|
3169
3169
|
get_search_in_global(): boolean
|
|
3170
3170
|
set_search_in_global(value: boolean): void
|
|
3171
3171
|
get_visible(): boolean
|
|
3172
3172
|
set_visible(value: boolean): void
|
|
3173
3173
|
get_is_master(): boolean
|
|
3174
|
-
get_search_hint(): string
|
|
3175
|
-
set_search_hint(value: string
|
|
3174
|
+
get_search_hint(): string
|
|
3175
|
+
set_search_hint(value: string): void
|
|
3176
3176
|
get_sources(): OptionsFilter
|
|
3177
3177
|
get_categories(): CategorySet
|
|
3178
3178
|
set_categories(value: CategorySet): void
|
|
@@ -3246,14 +3246,14 @@ module DeprecatedScope {
|
|
|
3246
3246
|
* Signal callback interface for `activate-uri`
|
|
3247
3247
|
*/
|
|
3248
3248
|
interface ActivateUriSignalCallback {
|
|
3249
|
-
($obj: DeprecatedScope, uri: string
|
|
3249
|
+
($obj: DeprecatedScope, uri: string): ActivationResponse | null
|
|
3250
3250
|
}
|
|
3251
3251
|
|
|
3252
3252
|
/**
|
|
3253
3253
|
* Signal callback interface for `preview-uri`
|
|
3254
3254
|
*/
|
|
3255
3255
|
interface PreviewUriSignalCallback {
|
|
3256
|
-
($obj: DeprecatedScope, uri: string
|
|
3256
|
+
($obj: DeprecatedScope, uri: string): Preview | null
|
|
3257
3257
|
}
|
|
3258
3258
|
|
|
3259
3259
|
/**
|
|
@@ -3299,10 +3299,10 @@ interface DeprecatedScope {
|
|
|
3299
3299
|
|
|
3300
3300
|
connect(sigName: "activate-uri", callback: DeprecatedScope.ActivateUriSignalCallback): number
|
|
3301
3301
|
connect_after(sigName: "activate-uri", callback: DeprecatedScope.ActivateUriSignalCallback): number
|
|
3302
|
-
emit(sigName: "activate-uri", uri: string
|
|
3302
|
+
emit(sigName: "activate-uri", uri: string, ...args: any[]): void
|
|
3303
3303
|
connect(sigName: "preview-uri", callback: DeprecatedScope.PreviewUriSignalCallback): number
|
|
3304
3304
|
connect_after(sigName: "preview-uri", callback: DeprecatedScope.PreviewUriSignalCallback): number
|
|
3305
|
-
emit(sigName: "preview-uri", uri: string
|
|
3305
|
+
emit(sigName: "preview-uri", uri: string, ...args: any[]): void
|
|
3306
3306
|
connect(sigName: "generate-search-key", callback: DeprecatedScope.GenerateSearchKeySignalCallback): number
|
|
3307
3307
|
connect_after(sigName: "generate-search-key", callback: DeprecatedScope.GenerateSearchKeySignalCallback): number
|
|
3308
3308
|
emit(sigName: "generate-search-key", search: DeprecatedScopeSearch, ...args: any[]): void
|
|
@@ -3358,8 +3358,8 @@ class DeprecatedScope extends DeprecatedScopeBase {
|
|
|
3358
3358
|
// Constructors of Unity-7.0.Unity.DeprecatedScope
|
|
3359
3359
|
|
|
3360
3360
|
constructor(config?: DeprecatedScope.ConstructorProperties)
|
|
3361
|
-
constructor(dbus_path_: string
|
|
3362
|
-
static new(dbus_path_: string
|
|
3361
|
+
constructor(dbus_path_: string, id_: string)
|
|
3362
|
+
static new(dbus_path_: string, id_: string): DeprecatedScope
|
|
3363
3363
|
_init(config?: DeprecatedScope.ConstructorProperties): void
|
|
3364
3364
|
}
|
|
3365
3365
|
|
|
@@ -3394,9 +3394,9 @@ interface AggregatorScope {
|
|
|
3394
3394
|
|
|
3395
3395
|
// Owm methods of Unity-7.0.Unity.AggregatorScope
|
|
3396
3396
|
|
|
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
|
|
3397
|
+
category_index_for_scope_id(scope_id: string): number
|
|
3398
|
+
add_sorter(category_index: number, field: string, flags: AggregatorScopeSortFlags): void
|
|
3399
|
+
add_constraint(category_index: number, field: string): void
|
|
3400
3400
|
search(scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
3401
3401
|
search_finish(_res_: Gio.AsyncResult): void
|
|
3402
3402
|
activate(activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -3410,7 +3410,7 @@ interface AggregatorScope {
|
|
|
3410
3410
|
|
|
3411
3411
|
// Own virtual methods of Unity-7.0.Unity.AggregatorScope
|
|
3412
3412
|
|
|
3413
|
-
vfunc_category_index_for_scope_id(scope_id: string
|
|
3413
|
+
vfunc_category_index_for_scope_id(scope_id: string): number
|
|
3414
3414
|
vfunc_search(scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
3415
3415
|
vfunc_search_finish(_res_: Gio.AsyncResult): void
|
|
3416
3416
|
vfunc_activate(activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -3499,8 +3499,8 @@ interface MasterScope {
|
|
|
3499
3499
|
|
|
3500
3500
|
// Owm methods of Unity-7.0.Unity.MasterScope
|
|
3501
3501
|
|
|
3502
|
-
get_no_content_hint(): string
|
|
3503
|
-
set_no_content_hint(value: string
|
|
3502
|
+
get_no_content_hint(): string
|
|
3503
|
+
set_no_content_hint(value: string): void
|
|
3504
3504
|
|
|
3505
3505
|
// Class property signals of Unity-7.0.Unity.MasterScope
|
|
3506
3506
|
|
|
@@ -3562,8 +3562,8 @@ class MasterScope extends AggregatorScope {
|
|
|
3562
3562
|
// Constructors of Unity-7.0.Unity.MasterScope
|
|
3563
3563
|
|
|
3564
3564
|
constructor(config?: MasterScope.ConstructorProperties)
|
|
3565
|
-
constructor(dbus_path_: string
|
|
3566
|
-
static new(dbus_path_: string
|
|
3565
|
+
constructor(dbus_path_: string, id_: string)
|
|
3566
|
+
static new(dbus_path_: string, id_: string): MasterScope
|
|
3567
3567
|
_init(config?: MasterScope.ConstructorProperties): void
|
|
3568
3568
|
}
|
|
3569
3569
|
|
|
@@ -3619,12 +3619,24 @@ interface SimpleScope {
|
|
|
3619
3619
|
set_category_set(value: CategorySet): void
|
|
3620
3620
|
get_schema(): Schema
|
|
3621
3621
|
set_schema(value: Schema): void
|
|
3622
|
+
get_search_hint(): string
|
|
3623
|
+
|
|
3624
|
+
// Overloads of get_search_hint
|
|
3625
|
+
|
|
3622
3626
|
get_search_hint(): string | null
|
|
3623
|
-
set_search_hint(value: string
|
|
3627
|
+
set_search_hint(value: string): void
|
|
3628
|
+
get_group_name(): string
|
|
3629
|
+
|
|
3630
|
+
// Overloads of get_group_name
|
|
3631
|
+
|
|
3624
3632
|
get_group_name(): string | null
|
|
3625
|
-
set_group_name(value: string
|
|
3633
|
+
set_group_name(value: string): void
|
|
3634
|
+
get_unique_name(): string
|
|
3635
|
+
|
|
3636
|
+
// Overloads of get_unique_name
|
|
3637
|
+
|
|
3626
3638
|
get_unique_name(): string | null
|
|
3627
|
-
set_unique_name(value: string
|
|
3639
|
+
set_unique_name(value: string): void
|
|
3628
3640
|
|
|
3629
3641
|
// Class property signals of Unity-7.0.Unity.SimpleScope
|
|
3630
3642
|
|
|
@@ -3680,15 +3692,15 @@ interface ScopeLoader {
|
|
|
3680
3692
|
|
|
3681
3693
|
// Owm methods of Unity-7.0.Unity.ScopeLoader
|
|
3682
3694
|
|
|
3683
|
-
get_scopes(module_name: string
|
|
3695
|
+
get_scopes(module_name: string, module_type?: string | null): AbstractScope[]
|
|
3684
3696
|
export_scopes(scopes: AbstractScope[]): void
|
|
3685
|
-
load_group(group_name: string
|
|
3686
|
-
load_scope(scope_id: string
|
|
3687
|
-
load_module(module: string
|
|
3697
|
+
load_group(group_name: string): void
|
|
3698
|
+
load_scope(scope_id: string): void
|
|
3699
|
+
load_module(module: string, module_type?: string | null): void
|
|
3688
3700
|
|
|
3689
3701
|
// Own virtual methods of Unity-7.0.Unity.ScopeLoader
|
|
3690
3702
|
|
|
3691
|
-
vfunc_get_scopes(module_name: string
|
|
3703
|
+
vfunc_get_scopes(module_name: string, module_type?: string | null): AbstractScope[]
|
|
3692
3704
|
vfunc_export_scopes(scopes: AbstractScope[]): void
|
|
3693
3705
|
|
|
3694
3706
|
// Class property signals of Unity-7.0.Unity.ScopeLoader
|
|
@@ -3755,16 +3767,16 @@ interface TrackMetadata {
|
|
|
3755
3767
|
|
|
3756
3768
|
// Owm methods of Unity-7.0.Unity.TrackMetadata
|
|
3757
3769
|
|
|
3758
|
-
get_uri(): string
|
|
3759
|
-
set_uri(value: string
|
|
3770
|
+
get_uri(): string
|
|
3771
|
+
set_uri(value: string): void
|
|
3760
3772
|
get_track_no(): number
|
|
3761
3773
|
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
|
|
3774
|
+
get_artist(): string
|
|
3775
|
+
set_artist(value: string): void
|
|
3776
|
+
get_title(): string
|
|
3777
|
+
set_title(value: string): void
|
|
3778
|
+
get_album(): string
|
|
3779
|
+
set_album(value: string): void
|
|
3768
3780
|
get_length(): number
|
|
3769
3781
|
set_length(value: number): void
|
|
3770
3782
|
get_art_location(): Gio.File
|
|
@@ -3816,7 +3828,7 @@ class TrackMetadata extends GObject.Object {
|
|
|
3816
3828
|
constructor(config?: TrackMetadata.ConstructorProperties)
|
|
3817
3829
|
constructor()
|
|
3818
3830
|
static new(): TrackMetadata
|
|
3819
|
-
static full(uri: string
|
|
3831
|
+
static full(uri: string, track_no: number, title: string, artist: string, album: string, length: number): TrackMetadata
|
|
3820
3832
|
_init(config?: TrackMetadata.ConstructorProperties): void
|
|
3821
3833
|
}
|
|
3822
3834
|
|
|
@@ -3857,9 +3869,9 @@ interface Playlist {
|
|
|
3857
3869
|
|
|
3858
3870
|
// Owm methods of Unity-7.0.Unity.Playlist
|
|
3859
3871
|
|
|
3860
|
-
get_id(): string
|
|
3861
|
-
get_name(): string
|
|
3862
|
-
set_name(value: string
|
|
3872
|
+
get_id(): string
|
|
3873
|
+
get_name(): string
|
|
3874
|
+
set_name(value: string): void
|
|
3863
3875
|
get_icon(): Gio.Icon
|
|
3864
3876
|
set_icon(value: Gio.Icon): void
|
|
3865
3877
|
get_creation_date(): GLib.DateTime
|
|
@@ -3905,8 +3917,8 @@ class Playlist extends GObject.Object {
|
|
|
3905
3917
|
// Constructors of Unity-7.0.Unity.Playlist
|
|
3906
3918
|
|
|
3907
3919
|
constructor(config?: Playlist.ConstructorProperties)
|
|
3908
|
-
constructor(id: string
|
|
3909
|
-
static new(id: string
|
|
3920
|
+
constructor(id: string)
|
|
3921
|
+
static new(id: string): Playlist
|
|
3910
3922
|
_init(config?: Playlist.ConstructorProperties): void
|
|
3911
3923
|
}
|
|
3912
3924
|
|
|
@@ -4022,13 +4034,13 @@ interface MusicPlayer {
|
|
|
4022
4034
|
add_playlist(p: Playlist): boolean
|
|
4023
4035
|
remove_playlist(p: Playlist): boolean
|
|
4024
4036
|
get_playlists(): Playlist[]
|
|
4025
|
-
edit_playlist_name(id: string
|
|
4037
|
+
edit_playlist_name(id: string, name: string): void
|
|
4026
4038
|
get_app_info(): Gio.AppInfo
|
|
4027
|
-
get_desktop_file_name(): string
|
|
4039
|
+
get_desktop_file_name(): string
|
|
4028
4040
|
get_is_blacklisted(): boolean
|
|
4029
4041
|
set_is_blacklisted(value: boolean): void
|
|
4030
|
-
get_title(): string
|
|
4031
|
-
set_title(value: string
|
|
4042
|
+
get_title(): string
|
|
4043
|
+
set_title(value: string): void
|
|
4032
4044
|
get_can_go_next(): boolean
|
|
4033
4045
|
set_can_go_next(value: boolean): void
|
|
4034
4046
|
get_can_go_previous(): boolean
|
|
@@ -4123,8 +4135,8 @@ class MusicPlayer extends GObject.Object {
|
|
|
4123
4135
|
// Constructors of Unity-7.0.Unity.MusicPlayer
|
|
4124
4136
|
|
|
4125
4137
|
constructor(config?: MusicPlayer.ConstructorProperties)
|
|
4126
|
-
constructor(desktop: string
|
|
4127
|
-
static new(desktop: string
|
|
4138
|
+
constructor(desktop: string)
|
|
4139
|
+
static new(desktop: string): MusicPlayer
|
|
4128
4140
|
_init(config?: MusicPlayer.ConstructorProperties): void
|
|
4129
4141
|
}
|
|
4130
4142
|
|
|
@@ -4766,7 +4778,7 @@ interface FilterSetClass {
|
|
|
4766
4778
|
// Own fields of Unity-7.0.Unity.FilterSetClass
|
|
4767
4779
|
|
|
4768
4780
|
add: (self: FilterSet, filter: Filter) => void
|
|
4769
|
-
get_filter_by_id: (self: FilterSet, filter_id: string
|
|
4781
|
+
get_filter_by_id: (self: FilterSet, filter_id: string) => Filter | null
|
|
4770
4782
|
get_filters: (self: FilterSet) => Filter[]
|
|
4771
4783
|
}
|
|
4772
4784
|
|
|
@@ -4816,7 +4828,7 @@ interface SchemaClass {
|
|
|
4816
4828
|
|
|
4817
4829
|
// Own fields of Unity-7.0.Unity.SchemaClass
|
|
4818
4830
|
|
|
4819
|
-
add_field: (self: Schema, name: string
|
|
4831
|
+
add_field: (self: Schema, name: string, schema: string, type: SchemaFieldType) => void
|
|
4820
4832
|
get_fields: (self: Schema) => SchemaFieldInfo[]
|
|
4821
4833
|
}
|
|
4822
4834
|
|
|
@@ -5033,7 +5045,7 @@ interface AbstractScopeClass {
|
|
|
5033
5045
|
get_group_name: (self: AbstractScope) => string | null
|
|
5034
5046
|
get_unique_name: (self: AbstractScope) => string | null
|
|
5035
5047
|
activate: (self: AbstractScope, result: ScopeResult, metadata: SearchMetadata, action_id?: string | null) => ActivationResponse | null
|
|
5036
|
-
normalize_search_query: (self: AbstractScope, search_query: string
|
|
5048
|
+
normalize_search_query: (self: AbstractScope, search_query: string) => string | null
|
|
5037
5049
|
}
|
|
5038
5050
|
|
|
5039
5051
|
abstract class AbstractScopeClass {
|
|
@@ -5128,7 +5140,7 @@ interface AggregatorScopeClass {
|
|
|
5128
5140
|
|
|
5129
5141
|
// Own fields of Unity-7.0.Unity.AggregatorScopeClass
|
|
5130
5142
|
|
|
5131
|
-
category_index_for_scope_id: (self: AggregatorScope, scope_id: string
|
|
5143
|
+
category_index_for_scope_id: (self: AggregatorScope, scope_id: string) => number
|
|
5132
5144
|
search: (self: AggregatorScope, scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
5133
5145
|
search_finish: (self: AggregatorScope, _res_: Gio.AsyncResult) => void
|
|
5134
5146
|
activate: (self: AggregatorScope, activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
@@ -5196,7 +5208,7 @@ interface ScopeLoaderClass {
|
|
|
5196
5208
|
|
|
5197
5209
|
// Own fields of Unity-7.0.Unity.ScopeLoaderClass
|
|
5198
5210
|
|
|
5199
|
-
get_scopes: (self: ScopeLoader, module_name: string
|
|
5211
|
+
get_scopes: (self: ScopeLoader, module_name: string, module_type?: string | null) => AbstractScope[]
|
|
5200
5212
|
export_scopes: (self: ScopeLoader, scopes: AbstractScope[]) => void
|
|
5201
5213
|
}
|
|
5202
5214
|
|
|
@@ -5300,7 +5312,7 @@ class ScopeResult {
|
|
|
5300
5312
|
|
|
5301
5313
|
// Constructors of Unity-7.0.Unity.ScopeResult
|
|
5302
5314
|
|
|
5303
|
-
static create(uri: string
|
|
5315
|
+
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
5316
|
static create_from_variant(variant: GLib.Variant): ScopeResult | null
|
|
5305
5317
|
}
|
|
5306
5318
|
|
|
@@ -5328,7 +5340,7 @@ class SearchContext {
|
|
|
5328
5340
|
|
|
5329
5341
|
// Constructors of Unity-7.0.Unity.SearchContext
|
|
5330
5342
|
|
|
5331
|
-
static create(search_query: string
|
|
5343
|
+
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
5344
|
}
|
|
5333
5345
|
|
|
5334
5346
|
interface PlaylistDetails {
|