@girs/webkit-6.0 2.47.3-4.0.0-beta.21 → 2.48.0-4.0.0-beta.23
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 +19 -19
- package/webkit-6.0.d.ts +445 -55
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for WebKit-6.0, generated from library version 2.
|
|
8
|
+
GJS TypeScript type definitions for WebKit-6.0, generated from library version 2.48.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.23.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/webkit-6.0",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "GJS TypeScript type definitions for WebKit-6.0, generated from library version 2.
|
|
3
|
+
"version": "2.48.0-4.0.0-beta.23",
|
|
4
|
+
"description": "GJS TypeScript type definitions for WebKit-6.0, generated from library version 2.48.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "webkit-6.0.js",
|
|
7
7
|
"main": "webkit-6.0.js",
|
|
@@ -31,23 +31,23 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.
|
|
35
|
-
"@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.
|
|
36
|
-
"@girs/gdk-4.0": "^4.0.0-4.0.0-beta.
|
|
37
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.
|
|
38
|
-
"@girs/gio-2.0": "^2.
|
|
39
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
40
|
-
"@girs/glib-2.0": "^2.
|
|
41
|
-
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.
|
|
42
|
-
"@girs/gobject-2.0": "^2.
|
|
43
|
-
"@girs/graphene-1.0": "^1.0.0-4.0.0-beta.
|
|
44
|
-
"@girs/gsk-4.0": "^4.0.0-4.0.0-beta.
|
|
45
|
-
"@girs/gtk-4.0": "^4.
|
|
46
|
-
"@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.
|
|
47
|
-
"@girs/javascriptcore-6.0": "^2.
|
|
48
|
-
"@girs/pango-1.0": "^1.56.
|
|
49
|
-
"@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.
|
|
50
|
-
"@girs/soup-3.0": "^3.6.4-4.0.0-beta.
|
|
34
|
+
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.23",
|
|
35
|
+
"@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.23",
|
|
36
|
+
"@girs/gdk-4.0": "^4.0.0-4.0.0-beta.23",
|
|
37
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.23",
|
|
38
|
+
"@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
|
|
39
|
+
"@girs/gjs": "^4.0.0-beta.23",
|
|
40
|
+
"@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
|
|
41
|
+
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
|
|
42
|
+
"@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23",
|
|
43
|
+
"@girs/graphene-1.0": "^1.0.0-4.0.0-beta.23",
|
|
44
|
+
"@girs/gsk-4.0": "^4.0.0-4.0.0-beta.23",
|
|
45
|
+
"@girs/gtk-4.0": "^4.18.3-4.0.0-beta.23",
|
|
46
|
+
"@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.23",
|
|
47
|
+
"@girs/javascriptcore-6.0": "^2.48.0-4.0.0-beta.23",
|
|
48
|
+
"@girs/pango-1.0": "^1.56.4-4.0.0-beta.23",
|
|
49
|
+
"@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.23",
|
|
50
|
+
"@girs/soup-3.0": "^3.6.4-4.0.0-beta.23"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"typescript": "*"
|
package/webkit-6.0.d.ts
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
* The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
import '@girs/gjs';
|
|
11
|
+
|
|
10
12
|
// Module dependencies
|
|
11
13
|
import type Soup from '@girs/soup-3.0';
|
|
12
14
|
import type Gio from '@girs/gio-2.0';
|
|
@@ -18,7 +20,7 @@ import type Gtk from '@girs/gtk-4.0';
|
|
|
18
20
|
import type Gsk from '@girs/gsk-4.0';
|
|
19
21
|
import type Graphene from '@girs/graphene-1.0';
|
|
20
22
|
import type Gdk from '@girs/gdk-4.0';
|
|
21
|
-
import type cairo from '
|
|
23
|
+
import type cairo from 'cairo';
|
|
22
24
|
import type PangoCairo from '@girs/pangocairo-1.0';
|
|
23
25
|
import type Pango from '@girs/pango-1.0';
|
|
24
26
|
import type HarfBuzz from '@girs/harfbuzz-0.0';
|
|
@@ -2468,7 +2470,21 @@ export namespace WebKit {
|
|
|
2468
2470
|
* @returns the data if found, or %NULL if no such data exists.
|
|
2469
2471
|
*/
|
|
2470
2472
|
get_data(key: string): any | null;
|
|
2471
|
-
|
|
2473
|
+
/**
|
|
2474
|
+
* Gets a property of an object.
|
|
2475
|
+
*
|
|
2476
|
+
* The value can be:
|
|
2477
|
+
* - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
|
|
2478
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
2479
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
2480
|
+
*
|
|
2481
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
2482
|
+
*
|
|
2483
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
2484
|
+
* @param property_name The name of the property to get
|
|
2485
|
+
* @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
|
|
2486
|
+
*/
|
|
2487
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
2472
2488
|
/**
|
|
2473
2489
|
* This function gets back user data pointers stored via
|
|
2474
2490
|
* g_object_set_qdata().
|
|
@@ -2596,7 +2612,12 @@ export namespace WebKit {
|
|
|
2596
2612
|
* @param data data to associate with that key
|
|
2597
2613
|
*/
|
|
2598
2614
|
set_data(key: string, data?: any | null): void;
|
|
2599
|
-
|
|
2615
|
+
/**
|
|
2616
|
+
* Sets a property on an object.
|
|
2617
|
+
* @param property_name The name of the property to set
|
|
2618
|
+
* @param value The value to set the property to
|
|
2619
|
+
*/
|
|
2620
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
2600
2621
|
/**
|
|
2601
2622
|
* Remove a specified datum from the object's data associations,
|
|
2602
2623
|
* without invoking the association's destroy handler.
|
|
@@ -2746,11 +2767,31 @@ export namespace WebKit {
|
|
|
2746
2767
|
* @param pspec
|
|
2747
2768
|
*/
|
|
2748
2769
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
2770
|
+
/**
|
|
2771
|
+
* Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
|
|
2772
|
+
* @param id Handler ID of the handler to be disconnected
|
|
2773
|
+
*/
|
|
2749
2774
|
disconnect(id: number): void;
|
|
2775
|
+
/**
|
|
2776
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
2777
|
+
* @param properties Object containing the properties to set
|
|
2778
|
+
*/
|
|
2750
2779
|
set(properties: { [key: string]: any }): void;
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2780
|
+
/**
|
|
2781
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
2782
|
+
* @param id Handler ID of the handler to be blocked
|
|
2783
|
+
*/
|
|
2784
|
+
block_signal_handler(id: number): void;
|
|
2785
|
+
/**
|
|
2786
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
2787
|
+
* @param id Handler ID of the handler to be unblocked
|
|
2788
|
+
*/
|
|
2789
|
+
unblock_signal_handler(id: number): void;
|
|
2790
|
+
/**
|
|
2791
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
2792
|
+
* @param detailedName Name of the signal to stop emission of
|
|
2793
|
+
*/
|
|
2794
|
+
stop_emission_by_name(detailedName: string): void;
|
|
2754
2795
|
}
|
|
2755
2796
|
|
|
2756
2797
|
namespace ColorChooserRequest {
|
|
@@ -3557,7 +3598,21 @@ export namespace WebKit {
|
|
|
3557
3598
|
* @returns the data if found, or %NULL if no such data exists.
|
|
3558
3599
|
*/
|
|
3559
3600
|
get_data(key: string): any | null;
|
|
3560
|
-
|
|
3601
|
+
/**
|
|
3602
|
+
* Gets a property of an object.
|
|
3603
|
+
*
|
|
3604
|
+
* The value can be:
|
|
3605
|
+
* - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
|
|
3606
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
3607
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
3608
|
+
*
|
|
3609
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
3610
|
+
*
|
|
3611
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
3612
|
+
* @param property_name The name of the property to get
|
|
3613
|
+
* @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
|
|
3614
|
+
*/
|
|
3615
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
3561
3616
|
/**
|
|
3562
3617
|
* This function gets back user data pointers stored via
|
|
3563
3618
|
* g_object_set_qdata().
|
|
@@ -3685,7 +3740,12 @@ export namespace WebKit {
|
|
|
3685
3740
|
* @param data data to associate with that key
|
|
3686
3741
|
*/
|
|
3687
3742
|
set_data(key: string, data?: any | null): void;
|
|
3688
|
-
|
|
3743
|
+
/**
|
|
3744
|
+
* Sets a property on an object.
|
|
3745
|
+
* @param property_name The name of the property to set
|
|
3746
|
+
* @param value The value to set the property to
|
|
3747
|
+
*/
|
|
3748
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
3689
3749
|
/**
|
|
3690
3750
|
* Remove a specified datum from the object's data associations,
|
|
3691
3751
|
* without invoking the association's destroy handler.
|
|
@@ -3835,11 +3895,31 @@ export namespace WebKit {
|
|
|
3835
3895
|
* @param pspec
|
|
3836
3896
|
*/
|
|
3837
3897
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
3898
|
+
/**
|
|
3899
|
+
* Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
|
|
3900
|
+
* @param id Handler ID of the handler to be disconnected
|
|
3901
|
+
*/
|
|
3838
3902
|
disconnect(id: number): void;
|
|
3903
|
+
/**
|
|
3904
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
3905
|
+
* @param properties Object containing the properties to set
|
|
3906
|
+
*/
|
|
3839
3907
|
set(properties: { [key: string]: any }): void;
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3908
|
+
/**
|
|
3909
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
3910
|
+
* @param id Handler ID of the handler to be blocked
|
|
3911
|
+
*/
|
|
3912
|
+
block_signal_handler(id: number): void;
|
|
3913
|
+
/**
|
|
3914
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
3915
|
+
* @param id Handler ID of the handler to be unblocked
|
|
3916
|
+
*/
|
|
3917
|
+
unblock_signal_handler(id: number): void;
|
|
3918
|
+
/**
|
|
3919
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
3920
|
+
* @param detailedName Name of the signal to stop emission of
|
|
3921
|
+
*/
|
|
3922
|
+
stop_emission_by_name(detailedName: string): void;
|
|
3843
3923
|
}
|
|
3844
3924
|
|
|
3845
3925
|
namespace Download {
|
|
@@ -4938,7 +5018,21 @@ export namespace WebKit {
|
|
|
4938
5018
|
* @returns the data if found, or %NULL if no such data exists.
|
|
4939
5019
|
*/
|
|
4940
5020
|
get_data(key: string): any | null;
|
|
4941
|
-
|
|
5021
|
+
/**
|
|
5022
|
+
* Gets a property of an object.
|
|
5023
|
+
*
|
|
5024
|
+
* The value can be:
|
|
5025
|
+
* - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
|
|
5026
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
5027
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
5028
|
+
*
|
|
5029
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
5030
|
+
*
|
|
5031
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
5032
|
+
* @param property_name The name of the property to get
|
|
5033
|
+
* @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
|
|
5034
|
+
*/
|
|
5035
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
4942
5036
|
/**
|
|
4943
5037
|
* This function gets back user data pointers stored via
|
|
4944
5038
|
* g_object_set_qdata().
|
|
@@ -5066,7 +5160,12 @@ export namespace WebKit {
|
|
|
5066
5160
|
* @param data data to associate with that key
|
|
5067
5161
|
*/
|
|
5068
5162
|
set_data(key: string, data?: any | null): void;
|
|
5069
|
-
|
|
5163
|
+
/**
|
|
5164
|
+
* Sets a property on an object.
|
|
5165
|
+
* @param property_name The name of the property to set
|
|
5166
|
+
* @param value The value to set the property to
|
|
5167
|
+
*/
|
|
5168
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
5070
5169
|
/**
|
|
5071
5170
|
* Remove a specified datum from the object's data associations,
|
|
5072
5171
|
* without invoking the association's destroy handler.
|
|
@@ -5216,11 +5315,31 @@ export namespace WebKit {
|
|
|
5216
5315
|
* @param pspec
|
|
5217
5316
|
*/
|
|
5218
5317
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
5318
|
+
/**
|
|
5319
|
+
* Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
|
|
5320
|
+
* @param id Handler ID of the handler to be disconnected
|
|
5321
|
+
*/
|
|
5219
5322
|
disconnect(id: number): void;
|
|
5323
|
+
/**
|
|
5324
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
5325
|
+
* @param properties Object containing the properties to set
|
|
5326
|
+
*/
|
|
5220
5327
|
set(properties: { [key: string]: any }): void;
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5328
|
+
/**
|
|
5329
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
5330
|
+
* @param id Handler ID of the handler to be blocked
|
|
5331
|
+
*/
|
|
5332
|
+
block_signal_handler(id: number): void;
|
|
5333
|
+
/**
|
|
5334
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
5335
|
+
* @param id Handler ID of the handler to be unblocked
|
|
5336
|
+
*/
|
|
5337
|
+
unblock_signal_handler(id: number): void;
|
|
5338
|
+
/**
|
|
5339
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
5340
|
+
* @param detailedName Name of the signal to stop emission of
|
|
5341
|
+
*/
|
|
5342
|
+
stop_emission_by_name(detailedName: string): void;
|
|
5224
5343
|
}
|
|
5225
5344
|
|
|
5226
5345
|
namespace HitTestResult {
|
|
@@ -5803,7 +5922,21 @@ export namespace WebKit {
|
|
|
5803
5922
|
* @returns the data if found, or %NULL if no such data exists.
|
|
5804
5923
|
*/
|
|
5805
5924
|
get_data(key: string): any | null;
|
|
5806
|
-
|
|
5925
|
+
/**
|
|
5926
|
+
* Gets a property of an object.
|
|
5927
|
+
*
|
|
5928
|
+
* The value can be:
|
|
5929
|
+
* - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
|
|
5930
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
5931
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
5932
|
+
*
|
|
5933
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
5934
|
+
*
|
|
5935
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
5936
|
+
* @param property_name The name of the property to get
|
|
5937
|
+
* @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
|
|
5938
|
+
*/
|
|
5939
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
5807
5940
|
/**
|
|
5808
5941
|
* This function gets back user data pointers stored via
|
|
5809
5942
|
* g_object_set_qdata().
|
|
@@ -5931,7 +6064,12 @@ export namespace WebKit {
|
|
|
5931
6064
|
* @param data data to associate with that key
|
|
5932
6065
|
*/
|
|
5933
6066
|
set_data(key: string, data?: any | null): void;
|
|
5934
|
-
|
|
6067
|
+
/**
|
|
6068
|
+
* Sets a property on an object.
|
|
6069
|
+
* @param property_name The name of the property to set
|
|
6070
|
+
* @param value The value to set the property to
|
|
6071
|
+
*/
|
|
6072
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
5935
6073
|
/**
|
|
5936
6074
|
* Remove a specified datum from the object's data associations,
|
|
5937
6075
|
* without invoking the association's destroy handler.
|
|
@@ -6081,11 +6219,31 @@ export namespace WebKit {
|
|
|
6081
6219
|
* @param pspec
|
|
6082
6220
|
*/
|
|
6083
6221
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
6222
|
+
/**
|
|
6223
|
+
* Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
|
|
6224
|
+
* @param id Handler ID of the handler to be disconnected
|
|
6225
|
+
*/
|
|
6084
6226
|
disconnect(id: number): void;
|
|
6227
|
+
/**
|
|
6228
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
6229
|
+
* @param properties Object containing the properties to set
|
|
6230
|
+
*/
|
|
6085
6231
|
set(properties: { [key: string]: any }): void;
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6232
|
+
/**
|
|
6233
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
6234
|
+
* @param id Handler ID of the handler to be blocked
|
|
6235
|
+
*/
|
|
6236
|
+
block_signal_handler(id: number): void;
|
|
6237
|
+
/**
|
|
6238
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
6239
|
+
* @param id Handler ID of the handler to be unblocked
|
|
6240
|
+
*/
|
|
6241
|
+
unblock_signal_handler(id: number): void;
|
|
6242
|
+
/**
|
|
6243
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
6244
|
+
* @param detailedName Name of the signal to stop emission of
|
|
6245
|
+
*/
|
|
6246
|
+
stop_emission_by_name(detailedName: string): void;
|
|
6089
6247
|
}
|
|
6090
6248
|
|
|
6091
6249
|
namespace NavigationPolicyDecision {
|
|
@@ -6625,7 +6783,21 @@ export namespace WebKit {
|
|
|
6625
6783
|
* @returns the data if found, or %NULL if no such data exists.
|
|
6626
6784
|
*/
|
|
6627
6785
|
get_data(key: string): any | null;
|
|
6628
|
-
|
|
6786
|
+
/**
|
|
6787
|
+
* Gets a property of an object.
|
|
6788
|
+
*
|
|
6789
|
+
* The value can be:
|
|
6790
|
+
* - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
|
|
6791
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
6792
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
6793
|
+
*
|
|
6794
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
6795
|
+
*
|
|
6796
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
6797
|
+
* @param property_name The name of the property to get
|
|
6798
|
+
* @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
|
|
6799
|
+
*/
|
|
6800
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
6629
6801
|
/**
|
|
6630
6802
|
* This function gets back user data pointers stored via
|
|
6631
6803
|
* g_object_set_qdata().
|
|
@@ -6753,7 +6925,12 @@ export namespace WebKit {
|
|
|
6753
6925
|
* @param data data to associate with that key
|
|
6754
6926
|
*/
|
|
6755
6927
|
set_data(key: string, data?: any | null): void;
|
|
6756
|
-
|
|
6928
|
+
/**
|
|
6929
|
+
* Sets a property on an object.
|
|
6930
|
+
* @param property_name The name of the property to set
|
|
6931
|
+
* @param value The value to set the property to
|
|
6932
|
+
*/
|
|
6933
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
6757
6934
|
/**
|
|
6758
6935
|
* Remove a specified datum from the object's data associations,
|
|
6759
6936
|
* without invoking the association's destroy handler.
|
|
@@ -6903,11 +7080,31 @@ export namespace WebKit {
|
|
|
6903
7080
|
* @param pspec
|
|
6904
7081
|
*/
|
|
6905
7082
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
7083
|
+
/**
|
|
7084
|
+
* Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
|
|
7085
|
+
* @param id Handler ID of the handler to be disconnected
|
|
7086
|
+
*/
|
|
6906
7087
|
disconnect(id: number): void;
|
|
7088
|
+
/**
|
|
7089
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
7090
|
+
* @param properties Object containing the properties to set
|
|
7091
|
+
*/
|
|
6907
7092
|
set(properties: { [key: string]: any }): void;
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
7093
|
+
/**
|
|
7094
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
7095
|
+
* @param id Handler ID of the handler to be blocked
|
|
7096
|
+
*/
|
|
7097
|
+
block_signal_handler(id: number): void;
|
|
7098
|
+
/**
|
|
7099
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
7100
|
+
* @param id Handler ID of the handler to be unblocked
|
|
7101
|
+
*/
|
|
7102
|
+
unblock_signal_handler(id: number): void;
|
|
7103
|
+
/**
|
|
7104
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
7105
|
+
* @param detailedName Name of the signal to stop emission of
|
|
7106
|
+
*/
|
|
7107
|
+
stop_emission_by_name(detailedName: string): void;
|
|
6911
7108
|
}
|
|
6912
7109
|
|
|
6913
7110
|
namespace OptionMenu {
|
|
@@ -7158,7 +7355,21 @@ export namespace WebKit {
|
|
|
7158
7355
|
* @returns the data if found, or %NULL if no such data exists.
|
|
7159
7356
|
*/
|
|
7160
7357
|
get_data(key: string): any | null;
|
|
7161
|
-
|
|
7358
|
+
/**
|
|
7359
|
+
* Gets a property of an object.
|
|
7360
|
+
*
|
|
7361
|
+
* The value can be:
|
|
7362
|
+
* - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
|
|
7363
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
7364
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
7365
|
+
*
|
|
7366
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
7367
|
+
*
|
|
7368
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
7369
|
+
* @param property_name The name of the property to get
|
|
7370
|
+
* @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
|
|
7371
|
+
*/
|
|
7372
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
7162
7373
|
/**
|
|
7163
7374
|
* This function gets back user data pointers stored via
|
|
7164
7375
|
* g_object_set_qdata().
|
|
@@ -7286,7 +7497,12 @@ export namespace WebKit {
|
|
|
7286
7497
|
* @param data data to associate with that key
|
|
7287
7498
|
*/
|
|
7288
7499
|
set_data(key: string, data?: any | null): void;
|
|
7289
|
-
|
|
7500
|
+
/**
|
|
7501
|
+
* Sets a property on an object.
|
|
7502
|
+
* @param property_name The name of the property to set
|
|
7503
|
+
* @param value The value to set the property to
|
|
7504
|
+
*/
|
|
7505
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
7290
7506
|
/**
|
|
7291
7507
|
* Remove a specified datum from the object's data associations,
|
|
7292
7508
|
* without invoking the association's destroy handler.
|
|
@@ -7436,11 +7652,31 @@ export namespace WebKit {
|
|
|
7436
7652
|
* @param pspec
|
|
7437
7653
|
*/
|
|
7438
7654
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
7655
|
+
/**
|
|
7656
|
+
* Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
|
|
7657
|
+
* @param id Handler ID of the handler to be disconnected
|
|
7658
|
+
*/
|
|
7439
7659
|
disconnect(id: number): void;
|
|
7660
|
+
/**
|
|
7661
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
7662
|
+
* @param properties Object containing the properties to set
|
|
7663
|
+
*/
|
|
7440
7664
|
set(properties: { [key: string]: any }): void;
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
|
|
7665
|
+
/**
|
|
7666
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
7667
|
+
* @param id Handler ID of the handler to be blocked
|
|
7668
|
+
*/
|
|
7669
|
+
block_signal_handler(id: number): void;
|
|
7670
|
+
/**
|
|
7671
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
7672
|
+
* @param id Handler ID of the handler to be unblocked
|
|
7673
|
+
*/
|
|
7674
|
+
unblock_signal_handler(id: number): void;
|
|
7675
|
+
/**
|
|
7676
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
7677
|
+
* @param detailedName Name of the signal to stop emission of
|
|
7678
|
+
*/
|
|
7679
|
+
stop_emission_by_name(detailedName: string): void;
|
|
7444
7680
|
}
|
|
7445
7681
|
|
|
7446
7682
|
namespace PolicyDecision {
|
|
@@ -8849,8 +9085,7 @@ export namespace WebKit {
|
|
|
8849
9085
|
/**
|
|
8850
9086
|
* Convert `points` to the equivalent value in pixels.
|
|
8851
9087
|
*
|
|
8852
|
-
*
|
|
8853
|
-
* screen DPI. Applications can use this function to convert font size values
|
|
9088
|
+
* Applications can use this function to convert font size values
|
|
8854
9089
|
* in points to font size values in pixels when setting the font size properties
|
|
8855
9090
|
* of #WebKitSettings.
|
|
8856
9091
|
* @param points the font size in points to convert to pixels
|
|
@@ -8859,8 +9094,7 @@ export namespace WebKit {
|
|
|
8859
9094
|
/**
|
|
8860
9095
|
* Convert `pixels` to the equivalent value in points.
|
|
8861
9096
|
*
|
|
8862
|
-
*
|
|
8863
|
-
* screen DPI. Applications can use this function to convert font size values
|
|
9097
|
+
* Applications can use this function to convert font size values
|
|
8864
9098
|
* in pixels to font size values in points when getting the font size properties
|
|
8865
9099
|
* of #WebKitSettings.
|
|
8866
9100
|
* @param pixels the font size in pixels to convert to points
|
|
@@ -10589,7 +10823,21 @@ export namespace WebKit {
|
|
|
10589
10823
|
* @returns the data if found, or %NULL if no such data exists.
|
|
10590
10824
|
*/
|
|
10591
10825
|
get_data(key: string): any | null;
|
|
10592
|
-
|
|
10826
|
+
/**
|
|
10827
|
+
* Gets a property of an object.
|
|
10828
|
+
*
|
|
10829
|
+
* The value can be:
|
|
10830
|
+
* - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
|
|
10831
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
10832
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
10833
|
+
*
|
|
10834
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
10835
|
+
*
|
|
10836
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
10837
|
+
* @param property_name The name of the property to get
|
|
10838
|
+
* @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
|
|
10839
|
+
*/
|
|
10840
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
10593
10841
|
/**
|
|
10594
10842
|
* This function gets back user data pointers stored via
|
|
10595
10843
|
* g_object_set_qdata().
|
|
@@ -10717,7 +10965,12 @@ export namespace WebKit {
|
|
|
10717
10965
|
* @param data data to associate with that key
|
|
10718
10966
|
*/
|
|
10719
10967
|
set_data(key: string, data?: any | null): void;
|
|
10720
|
-
|
|
10968
|
+
/**
|
|
10969
|
+
* Sets a property on an object.
|
|
10970
|
+
* @param property_name The name of the property to set
|
|
10971
|
+
* @param value The value to set the property to
|
|
10972
|
+
*/
|
|
10973
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
10721
10974
|
/**
|
|
10722
10975
|
* Remove a specified datum from the object's data associations,
|
|
10723
10976
|
* without invoking the association's destroy handler.
|
|
@@ -10867,11 +11120,31 @@ export namespace WebKit {
|
|
|
10867
11120
|
* @param pspec
|
|
10868
11121
|
*/
|
|
10869
11122
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
11123
|
+
/**
|
|
11124
|
+
* Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
|
|
11125
|
+
* @param id Handler ID of the handler to be disconnected
|
|
11126
|
+
*/
|
|
10870
11127
|
disconnect(id: number): void;
|
|
11128
|
+
/**
|
|
11129
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
11130
|
+
* @param properties Object containing the properties to set
|
|
11131
|
+
*/
|
|
10871
11132
|
set(properties: { [key: string]: any }): void;
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
|
|
11133
|
+
/**
|
|
11134
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
11135
|
+
* @param id Handler ID of the handler to be blocked
|
|
11136
|
+
*/
|
|
11137
|
+
block_signal_handler(id: number): void;
|
|
11138
|
+
/**
|
|
11139
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
11140
|
+
* @param id Handler ID of the handler to be unblocked
|
|
11141
|
+
*/
|
|
11142
|
+
unblock_signal_handler(id: number): void;
|
|
11143
|
+
/**
|
|
11144
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
11145
|
+
* @param detailedName Name of the signal to stop emission of
|
|
11146
|
+
*/
|
|
11147
|
+
stop_emission_by_name(detailedName: string): void;
|
|
10875
11148
|
}
|
|
10876
11149
|
|
|
10877
11150
|
namespace UserMessage {
|
|
@@ -13839,7 +14112,21 @@ export namespace WebKit {
|
|
|
13839
14112
|
* @returns the data if found, or %NULL if no such data exists.
|
|
13840
14113
|
*/
|
|
13841
14114
|
get_data(key: string): any | null;
|
|
13842
|
-
|
|
14115
|
+
/**
|
|
14116
|
+
* Gets a property of an object.
|
|
14117
|
+
*
|
|
14118
|
+
* The value can be:
|
|
14119
|
+
* - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
|
|
14120
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
14121
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
14122
|
+
*
|
|
14123
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
14124
|
+
*
|
|
14125
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
14126
|
+
* @param property_name The name of the property to get
|
|
14127
|
+
* @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
|
|
14128
|
+
*/
|
|
14129
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
13843
14130
|
/**
|
|
13844
14131
|
* This function gets back user data pointers stored via
|
|
13845
14132
|
* g_object_set_qdata().
|
|
@@ -13967,7 +14254,12 @@ export namespace WebKit {
|
|
|
13967
14254
|
* @param data data to associate with that key
|
|
13968
14255
|
*/
|
|
13969
14256
|
set_data(key: string, data?: any | null): void;
|
|
13970
|
-
|
|
14257
|
+
/**
|
|
14258
|
+
* Sets a property on an object.
|
|
14259
|
+
* @param property_name The name of the property to set
|
|
14260
|
+
* @param value The value to set the property to
|
|
14261
|
+
*/
|
|
14262
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
13971
14263
|
/**
|
|
13972
14264
|
* Remove a specified datum from the object's data associations,
|
|
13973
14265
|
* without invoking the association's destroy handler.
|
|
@@ -14117,11 +14409,31 @@ export namespace WebKit {
|
|
|
14117
14409
|
* @param pspec
|
|
14118
14410
|
*/
|
|
14119
14411
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
14412
|
+
/**
|
|
14413
|
+
* Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
|
|
14414
|
+
* @param id Handler ID of the handler to be disconnected
|
|
14415
|
+
*/
|
|
14120
14416
|
disconnect(id: number): void;
|
|
14417
|
+
/**
|
|
14418
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
14419
|
+
* @param properties Object containing the properties to set
|
|
14420
|
+
*/
|
|
14121
14421
|
set(properties: { [key: string]: any }): void;
|
|
14122
|
-
|
|
14123
|
-
|
|
14124
|
-
|
|
14422
|
+
/**
|
|
14423
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
14424
|
+
* @param id Handler ID of the handler to be blocked
|
|
14425
|
+
*/
|
|
14426
|
+
block_signal_handler(id: number): void;
|
|
14427
|
+
/**
|
|
14428
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
14429
|
+
* @param id Handler ID of the handler to be unblocked
|
|
14430
|
+
*/
|
|
14431
|
+
unblock_signal_handler(id: number): void;
|
|
14432
|
+
/**
|
|
14433
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
14434
|
+
* @param detailedName Name of the signal to stop emission of
|
|
14435
|
+
*/
|
|
14436
|
+
stop_emission_by_name(detailedName: string): void;
|
|
14125
14437
|
}
|
|
14126
14438
|
|
|
14127
14439
|
namespace WebViewBase {
|
|
@@ -14544,7 +14856,21 @@ export namespace WebKit {
|
|
|
14544
14856
|
* @returns the data if found, or %NULL if no such data exists.
|
|
14545
14857
|
*/
|
|
14546
14858
|
get_data(key: string): any | null;
|
|
14547
|
-
|
|
14859
|
+
/**
|
|
14860
|
+
* Gets a property of an object.
|
|
14861
|
+
*
|
|
14862
|
+
* The value can be:
|
|
14863
|
+
* - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
|
|
14864
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
14865
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
14866
|
+
*
|
|
14867
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
14868
|
+
*
|
|
14869
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
14870
|
+
* @param property_name The name of the property to get
|
|
14871
|
+
* @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
|
|
14872
|
+
*/
|
|
14873
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
14548
14874
|
/**
|
|
14549
14875
|
* This function gets back user data pointers stored via
|
|
14550
14876
|
* g_object_set_qdata().
|
|
@@ -14672,7 +14998,12 @@ export namespace WebKit {
|
|
|
14672
14998
|
* @param data data to associate with that key
|
|
14673
14999
|
*/
|
|
14674
15000
|
set_data(key: string, data?: any | null): void;
|
|
14675
|
-
|
|
15001
|
+
/**
|
|
15002
|
+
* Sets a property on an object.
|
|
15003
|
+
* @param property_name The name of the property to set
|
|
15004
|
+
* @param value The value to set the property to
|
|
15005
|
+
*/
|
|
15006
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
14676
15007
|
/**
|
|
14677
15008
|
* Remove a specified datum from the object's data associations,
|
|
14678
15009
|
* without invoking the association's destroy handler.
|
|
@@ -14822,11 +15153,31 @@ export namespace WebKit {
|
|
|
14822
15153
|
* @param pspec
|
|
14823
15154
|
*/
|
|
14824
15155
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
15156
|
+
/**
|
|
15157
|
+
* Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
|
|
15158
|
+
* @param id Handler ID of the handler to be disconnected
|
|
15159
|
+
*/
|
|
14825
15160
|
disconnect(id: number): void;
|
|
15161
|
+
/**
|
|
15162
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
15163
|
+
* @param properties Object containing the properties to set
|
|
15164
|
+
*/
|
|
14826
15165
|
set(properties: { [key: string]: any }): void;
|
|
14827
|
-
|
|
14828
|
-
|
|
14829
|
-
|
|
15166
|
+
/**
|
|
15167
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
15168
|
+
* @param id Handler ID of the handler to be blocked
|
|
15169
|
+
*/
|
|
15170
|
+
block_signal_handler(id: number): void;
|
|
15171
|
+
/**
|
|
15172
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
15173
|
+
* @param id Handler ID of the handler to be unblocked
|
|
15174
|
+
*/
|
|
15175
|
+
unblock_signal_handler(id: number): void;
|
|
15176
|
+
/**
|
|
15177
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
15178
|
+
* @param detailedName Name of the signal to stop emission of
|
|
15179
|
+
*/
|
|
15180
|
+
stop_emission_by_name(detailedName: string): void;
|
|
14830
15181
|
}
|
|
14831
15182
|
|
|
14832
15183
|
namespace WebsiteDataAccessPermissionRequest {
|
|
@@ -15000,7 +15351,21 @@ export namespace WebKit {
|
|
|
15000
15351
|
* @returns the data if found, or %NULL if no such data exists.
|
|
15001
15352
|
*/
|
|
15002
15353
|
get_data(key: string): any | null;
|
|
15003
|
-
|
|
15354
|
+
/**
|
|
15355
|
+
* Gets a property of an object.
|
|
15356
|
+
*
|
|
15357
|
+
* The value can be:
|
|
15358
|
+
* - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
|
|
15359
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
15360
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
15361
|
+
*
|
|
15362
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
15363
|
+
*
|
|
15364
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
15365
|
+
* @param property_name The name of the property to get
|
|
15366
|
+
* @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
|
|
15367
|
+
*/
|
|
15368
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
15004
15369
|
/**
|
|
15005
15370
|
* This function gets back user data pointers stored via
|
|
15006
15371
|
* g_object_set_qdata().
|
|
@@ -15128,7 +15493,12 @@ export namespace WebKit {
|
|
|
15128
15493
|
* @param data data to associate with that key
|
|
15129
15494
|
*/
|
|
15130
15495
|
set_data(key: string, data?: any | null): void;
|
|
15131
|
-
|
|
15496
|
+
/**
|
|
15497
|
+
* Sets a property on an object.
|
|
15498
|
+
* @param property_name The name of the property to set
|
|
15499
|
+
* @param value The value to set the property to
|
|
15500
|
+
*/
|
|
15501
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
15132
15502
|
/**
|
|
15133
15503
|
* Remove a specified datum from the object's data associations,
|
|
15134
15504
|
* without invoking the association's destroy handler.
|
|
@@ -15278,11 +15648,31 @@ export namespace WebKit {
|
|
|
15278
15648
|
* @param pspec
|
|
15279
15649
|
*/
|
|
15280
15650
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
15651
|
+
/**
|
|
15652
|
+
* Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
|
|
15653
|
+
* @param id Handler ID of the handler to be disconnected
|
|
15654
|
+
*/
|
|
15281
15655
|
disconnect(id: number): void;
|
|
15656
|
+
/**
|
|
15657
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
15658
|
+
* @param properties Object containing the properties to set
|
|
15659
|
+
*/
|
|
15282
15660
|
set(properties: { [key: string]: any }): void;
|
|
15283
|
-
|
|
15284
|
-
|
|
15285
|
-
|
|
15661
|
+
/**
|
|
15662
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
15663
|
+
* @param id Handler ID of the handler to be blocked
|
|
15664
|
+
*/
|
|
15665
|
+
block_signal_handler(id: number): void;
|
|
15666
|
+
/**
|
|
15667
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
15668
|
+
* @param id Handler ID of the handler to be unblocked
|
|
15669
|
+
*/
|
|
15670
|
+
unblock_signal_handler(id: number): void;
|
|
15671
|
+
/**
|
|
15672
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
15673
|
+
* @param detailedName Name of the signal to stop emission of
|
|
15674
|
+
*/
|
|
15675
|
+
stop_emission_by_name(detailedName: string): void;
|
|
15286
15676
|
}
|
|
15287
15677
|
|
|
15288
15678
|
namespace WebsiteDataManager {
|