@girs/gobject-2.0 2.80.3-4.0.0-beta.11 → 2.80.3-4.0.0-beta.12
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/gobject-2.0.d.ts +83 -83
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GObject-2.0, generated from library version 2.80.3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for GObject-2.0, generated from library version 2.80.3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.12.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gobject-2.0.d.ts
CHANGED
|
@@ -2981,7 +2981,7 @@ export namespace GObject {
|
|
|
2981
2981
|
class Binding extends Object {
|
|
2982
2982
|
static $gtype: GType<Binding>;
|
|
2983
2983
|
|
|
2984
|
-
//
|
|
2984
|
+
// Properties
|
|
2985
2985
|
|
|
2986
2986
|
/**
|
|
2987
2987
|
* Flags to be used to control the #GBinding
|
|
@@ -3028,13 +3028,13 @@ export namespace GObject {
|
|
|
3028
3028
|
*/
|
|
3029
3029
|
get targetProperty(): string;
|
|
3030
3030
|
|
|
3031
|
-
// Constructors
|
|
3031
|
+
// Constructors
|
|
3032
3032
|
|
|
3033
3033
|
constructor(properties?: Partial<Binding.ConstructorProps>, ...args: any[]);
|
|
3034
3034
|
|
|
3035
3035
|
_init(...args: any[]): void;
|
|
3036
3036
|
|
|
3037
|
-
//
|
|
3037
|
+
// Methods
|
|
3038
3038
|
|
|
3039
3039
|
/**
|
|
3040
3040
|
* Retrieves the #GObject instance used as the source of the binding.
|
|
@@ -3133,7 +3133,7 @@ export namespace GObject {
|
|
|
3133
3133
|
class BindingGroup extends Object {
|
|
3134
3134
|
static $gtype: GType<BindingGroup>;
|
|
3135
3135
|
|
|
3136
|
-
//
|
|
3136
|
+
// Properties
|
|
3137
3137
|
|
|
3138
3138
|
/**
|
|
3139
3139
|
* The source object used for binding properties.
|
|
@@ -3141,7 +3141,7 @@ export namespace GObject {
|
|
|
3141
3141
|
get source(): Object;
|
|
3142
3142
|
set source(val: Object);
|
|
3143
3143
|
|
|
3144
|
-
// Constructors
|
|
3144
|
+
// Constructors
|
|
3145
3145
|
|
|
3146
3146
|
constructor(properties?: Partial<BindingGroup.ConstructorProps>, ...args: any[]);
|
|
3147
3147
|
|
|
@@ -3149,7 +3149,7 @@ export namespace GObject {
|
|
|
3149
3149
|
|
|
3150
3150
|
static ['new'](): BindingGroup;
|
|
3151
3151
|
|
|
3152
|
-
//
|
|
3152
|
+
// Methods
|
|
3153
3153
|
|
|
3154
3154
|
/**
|
|
3155
3155
|
* Creates a binding between `source_property` on the source object
|
|
@@ -3243,7 +3243,7 @@ export namespace GObject {
|
|
|
3243
3243
|
class InitiallyUnowned extends Object {
|
|
3244
3244
|
static $gtype: GType<InitiallyUnowned>;
|
|
3245
3245
|
|
|
3246
|
-
// Constructors
|
|
3246
|
+
// Constructors
|
|
3247
3247
|
|
|
3248
3248
|
constructor(properties?: Partial<InitiallyUnowned.ConstructorProps>, ...args: any[]);
|
|
3249
3249
|
|
|
@@ -3289,13 +3289,13 @@ export namespace GObject {
|
|
|
3289
3289
|
class Object {
|
|
3290
3290
|
static $gtype: GType<Object>;
|
|
3291
3291
|
|
|
3292
|
-
// Constructors
|
|
3292
|
+
// Constructors
|
|
3293
3293
|
|
|
3294
3294
|
_init(...args: any[]): void;
|
|
3295
3295
|
|
|
3296
3296
|
static newv(object_type: GType, parameters: Parameter[]): Object;
|
|
3297
3297
|
|
|
3298
|
-
//
|
|
3298
|
+
// Signals
|
|
3299
3299
|
|
|
3300
3300
|
connect(id: string, callback: (...args: any[]) => any): number;
|
|
3301
3301
|
connect_after(id: string, callback: (...args: any[]) => any): number;
|
|
@@ -3304,7 +3304,7 @@ export namespace GObject {
|
|
|
3304
3304
|
connect_after(signal: 'notify', callback: (_source: this, pspec: ParamSpec) => void): number;
|
|
3305
3305
|
emit(signal: 'notify', pspec: ParamSpec): void;
|
|
3306
3306
|
|
|
3307
|
-
//
|
|
3307
|
+
// Static methods
|
|
3308
3308
|
|
|
3309
3309
|
static compat_control(what: number, data?: any | null): number;
|
|
3310
3310
|
/**
|
|
@@ -3353,7 +3353,7 @@ export namespace GObject {
|
|
|
3353
3353
|
static override_property(property_id: number, name: string): void;
|
|
3354
3354
|
static _classInit(klass: any): any;
|
|
3355
3355
|
|
|
3356
|
-
//
|
|
3356
|
+
// Virtual methods
|
|
3357
3357
|
|
|
3358
3358
|
/**
|
|
3359
3359
|
* the `constructed` function is called by g_object_new() as the
|
|
@@ -3421,7 +3421,7 @@ export namespace GObject {
|
|
|
3421
3421
|
*/
|
|
3422
3422
|
vfunc_set_property(property_id: number, value: Value | any, pspec: ParamSpec): void;
|
|
3423
3423
|
|
|
3424
|
-
//
|
|
3424
|
+
// Methods
|
|
3425
3425
|
|
|
3426
3426
|
/**
|
|
3427
3427
|
* Creates a binding between `source_property` on `source` and `target_property`
|
|
@@ -3794,18 +3794,18 @@ export namespace GObject {
|
|
|
3794
3794
|
abstract class ParamSpec<A = unknown> {
|
|
3795
3795
|
static $gtype: GType<ParamSpec>;
|
|
3796
3796
|
|
|
3797
|
-
//
|
|
3797
|
+
// Fields
|
|
3798
3798
|
|
|
3799
3799
|
name: string;
|
|
3800
3800
|
flags: ParamFlags;
|
|
3801
3801
|
value_type: GType;
|
|
3802
3802
|
owner_type: GType;
|
|
3803
3803
|
|
|
3804
|
-
// Constructors
|
|
3804
|
+
// Constructors
|
|
3805
3805
|
|
|
3806
3806
|
_init(...args: any[]): void;
|
|
3807
3807
|
|
|
3808
|
-
//
|
|
3808
|
+
// Static methods
|
|
3809
3809
|
|
|
3810
3810
|
/**
|
|
3811
3811
|
* Validate a property name for a #GParamSpec. This can be useful for
|
|
@@ -3946,7 +3946,7 @@ export namespace GObject {
|
|
|
3946
3946
|
static param(name: string, nick: string, blurb: string, flags: ParamFlags | number, paramType: any): ParamSpec;
|
|
3947
3947
|
static jsobject<T>(name: string, nick: string, blurb: string, flags: any): ParamSpec<T>;
|
|
3948
3948
|
|
|
3949
|
-
//
|
|
3949
|
+
// Virtual methods
|
|
3950
3950
|
|
|
3951
3951
|
/**
|
|
3952
3952
|
* The instance finalization function (optional), should chain
|
|
@@ -3982,7 +3982,7 @@ export namespace GObject {
|
|
|
3982
3982
|
*/
|
|
3983
3983
|
vfunc_values_cmp(value1: Value | any, value2: Value | any): number;
|
|
3984
3984
|
|
|
3985
|
-
//
|
|
3985
|
+
// Methods
|
|
3986
3986
|
|
|
3987
3987
|
/**
|
|
3988
3988
|
* Get the short description of a #GParamSpec.
|
|
@@ -4108,7 +4108,7 @@ export namespace GObject {
|
|
|
4108
4108
|
class SignalGroup extends Object {
|
|
4109
4109
|
static $gtype: GType<SignalGroup>;
|
|
4110
4110
|
|
|
4111
|
-
//
|
|
4111
|
+
// Properties
|
|
4112
4112
|
|
|
4113
4113
|
/**
|
|
4114
4114
|
* The target instance used when connecting signals.
|
|
@@ -4124,7 +4124,7 @@ export namespace GObject {
|
|
|
4124
4124
|
*/
|
|
4125
4125
|
get targetType(): GType;
|
|
4126
4126
|
|
|
4127
|
-
// Constructors
|
|
4127
|
+
// Constructors
|
|
4128
4128
|
|
|
4129
4129
|
constructor(properties?: Partial<SignalGroup.ConstructorProps>, ...args: any[]);
|
|
4130
4130
|
|
|
@@ -4132,7 +4132,7 @@ export namespace GObject {
|
|
|
4132
4132
|
|
|
4133
4133
|
static ['new'](target_type: GType): SignalGroup;
|
|
4134
4134
|
|
|
4135
|
-
//
|
|
4135
|
+
// Signals
|
|
4136
4136
|
|
|
4137
4137
|
connect(id: string, callback: (...args: any[]) => any): number;
|
|
4138
4138
|
connect_after(id: string, callback: (...args: any[]) => any): number;
|
|
@@ -4144,7 +4144,7 @@ export namespace GObject {
|
|
|
4144
4144
|
connect_after(signal: 'unbind', callback: (_source: this) => void): number;
|
|
4145
4145
|
emit(signal: 'unbind'): void;
|
|
4146
4146
|
|
|
4147
|
-
//
|
|
4147
|
+
// Methods
|
|
4148
4148
|
|
|
4149
4149
|
/**
|
|
4150
4150
|
* Blocks all signal handlers managed by `self` so they will not
|
|
@@ -4252,20 +4252,20 @@ export namespace GObject {
|
|
|
4252
4252
|
abstract class TypeModule extends Object implements TypePlugin {
|
|
4253
4253
|
static $gtype: GType<TypeModule>;
|
|
4254
4254
|
|
|
4255
|
-
//
|
|
4255
|
+
// Fields
|
|
4256
4256
|
|
|
4257
4257
|
use_count: number;
|
|
4258
4258
|
type_infos: any[];
|
|
4259
4259
|
interface_infos: any[];
|
|
4260
4260
|
name: string;
|
|
4261
4261
|
|
|
4262
|
-
// Constructors
|
|
4262
|
+
// Constructors
|
|
4263
4263
|
|
|
4264
4264
|
constructor(properties?: Partial<TypeModule.ConstructorProps>, ...args: any[]);
|
|
4265
4265
|
|
|
4266
4266
|
_init(...args: any[]): void;
|
|
4267
4267
|
|
|
4268
|
-
//
|
|
4268
|
+
// Virtual methods
|
|
4269
4269
|
|
|
4270
4270
|
/**
|
|
4271
4271
|
* loads the module and registers one or more types using
|
|
@@ -4277,7 +4277,7 @@ export namespace GObject {
|
|
|
4277
4277
|
*/
|
|
4278
4278
|
vfunc_unload(): void;
|
|
4279
4279
|
|
|
4280
|
-
//
|
|
4280
|
+
// Methods
|
|
4281
4281
|
|
|
4282
4282
|
/**
|
|
4283
4283
|
* Registers an additional interface for a type, whose interface lives
|
|
@@ -4794,15 +4794,15 @@ export namespace GObject {
|
|
|
4794
4794
|
class CClosure {
|
|
4795
4795
|
static $gtype: GType<CClosure>;
|
|
4796
4796
|
|
|
4797
|
-
//
|
|
4797
|
+
// Fields
|
|
4798
4798
|
|
|
4799
4799
|
callback: any;
|
|
4800
4800
|
|
|
4801
|
-
// Constructors
|
|
4801
|
+
// Constructors
|
|
4802
4802
|
|
|
4803
4803
|
_init(...args: any[]): void;
|
|
4804
4804
|
|
|
4805
|
-
//
|
|
4805
|
+
// Static methods
|
|
4806
4806
|
|
|
4807
4807
|
/**
|
|
4808
4808
|
* A #GClosureMarshal function for use with signals with handlers that
|
|
@@ -5234,12 +5234,12 @@ export namespace GObject {
|
|
|
5234
5234
|
class ClosureNotifyData {
|
|
5235
5235
|
static $gtype: GType<ClosureNotifyData>;
|
|
5236
5236
|
|
|
5237
|
-
//
|
|
5237
|
+
// Fields
|
|
5238
5238
|
|
|
5239
5239
|
data: any;
|
|
5240
5240
|
notify: ClosureNotify;
|
|
5241
5241
|
|
|
5242
|
-
// Constructors
|
|
5242
|
+
// Constructors
|
|
5243
5243
|
|
|
5244
5244
|
_init(...args: any[]): void;
|
|
5245
5245
|
}
|
|
@@ -5251,14 +5251,14 @@ export namespace GObject {
|
|
|
5251
5251
|
class EnumClass {
|
|
5252
5252
|
static $gtype: GType<EnumClass>;
|
|
5253
5253
|
|
|
5254
|
-
//
|
|
5254
|
+
// Fields
|
|
5255
5255
|
|
|
5256
5256
|
minimum: number;
|
|
5257
5257
|
maximum: number;
|
|
5258
5258
|
n_values: number;
|
|
5259
5259
|
values: EnumValue;
|
|
5260
5260
|
|
|
5261
|
-
// Constructors
|
|
5261
|
+
// Constructors
|
|
5262
5262
|
|
|
5263
5263
|
_init(...args: any[]): void;
|
|
5264
5264
|
}
|
|
@@ -5270,13 +5270,13 @@ export namespace GObject {
|
|
|
5270
5270
|
class EnumValue {
|
|
5271
5271
|
static $gtype: GType<EnumValue>;
|
|
5272
5272
|
|
|
5273
|
-
//
|
|
5273
|
+
// Fields
|
|
5274
5274
|
|
|
5275
5275
|
value: number;
|
|
5276
5276
|
value_name: string;
|
|
5277
5277
|
value_nick: string;
|
|
5278
5278
|
|
|
5279
|
-
// Constructors
|
|
5279
|
+
// Constructors
|
|
5280
5280
|
|
|
5281
5281
|
constructor(
|
|
5282
5282
|
properties?: Partial<{
|
|
@@ -5295,13 +5295,13 @@ export namespace GObject {
|
|
|
5295
5295
|
class FlagsClass {
|
|
5296
5296
|
static $gtype: GType<FlagsClass>;
|
|
5297
5297
|
|
|
5298
|
-
//
|
|
5298
|
+
// Fields
|
|
5299
5299
|
|
|
5300
5300
|
mask: number;
|
|
5301
5301
|
n_values: number;
|
|
5302
5302
|
values: FlagsValue;
|
|
5303
5303
|
|
|
5304
|
-
// Constructors
|
|
5304
|
+
// Constructors
|
|
5305
5305
|
|
|
5306
5306
|
_init(...args: any[]): void;
|
|
5307
5307
|
}
|
|
@@ -5313,13 +5313,13 @@ export namespace GObject {
|
|
|
5313
5313
|
class FlagsValue {
|
|
5314
5314
|
static $gtype: GType<FlagsValue>;
|
|
5315
5315
|
|
|
5316
|
-
//
|
|
5316
|
+
// Fields
|
|
5317
5317
|
|
|
5318
5318
|
value: number;
|
|
5319
5319
|
value_name: string;
|
|
5320
5320
|
value_nick: string;
|
|
5321
5321
|
|
|
5322
|
-
// Constructors
|
|
5322
|
+
// Constructors
|
|
5323
5323
|
|
|
5324
5324
|
constructor(
|
|
5325
5325
|
properties?: Partial<{
|
|
@@ -5339,13 +5339,13 @@ export namespace GObject {
|
|
|
5339
5339
|
class InterfaceInfo {
|
|
5340
5340
|
static $gtype: GType<InterfaceInfo>;
|
|
5341
5341
|
|
|
5342
|
-
//
|
|
5342
|
+
// Fields
|
|
5343
5343
|
|
|
5344
5344
|
interface_init: InterfaceInitFunc;
|
|
5345
5345
|
interface_finalize: InterfaceFinalizeFunc;
|
|
5346
5346
|
interface_data: any;
|
|
5347
5347
|
|
|
5348
|
-
// Constructors
|
|
5348
|
+
// Constructors
|
|
5349
5349
|
|
|
5350
5350
|
_init(...args: any[]): void;
|
|
5351
5351
|
}
|
|
@@ -5358,11 +5358,11 @@ export namespace GObject {
|
|
|
5358
5358
|
class ObjectConstructParam {
|
|
5359
5359
|
static $gtype: GType<ObjectConstructParam>;
|
|
5360
5360
|
|
|
5361
|
-
//
|
|
5361
|
+
// Fields
|
|
5362
5362
|
|
|
5363
5363
|
pspec: ParamSpec;
|
|
5364
5364
|
|
|
5365
|
-
// Constructors
|
|
5365
|
+
// Constructors
|
|
5366
5366
|
|
|
5367
5367
|
_init(...args: any[]): void;
|
|
5368
5368
|
}
|
|
@@ -5378,11 +5378,11 @@ export namespace GObject {
|
|
|
5378
5378
|
abstract class ParamSpecPool {
|
|
5379
5379
|
static $gtype: GType<ParamSpecPool>;
|
|
5380
5380
|
|
|
5381
|
-
// Constructors
|
|
5381
|
+
// Constructors
|
|
5382
5382
|
|
|
5383
5383
|
_init(...args: any[]): void;
|
|
5384
5384
|
|
|
5385
|
-
//
|
|
5385
|
+
// Methods
|
|
5386
5386
|
|
|
5387
5387
|
/**
|
|
5388
5388
|
* Frees the resources allocated by a #GParamSpecPool.
|
|
@@ -5436,13 +5436,13 @@ export namespace GObject {
|
|
|
5436
5436
|
class ParamSpecTypeInfo {
|
|
5437
5437
|
static $gtype: GType<ParamSpecTypeInfo>;
|
|
5438
5438
|
|
|
5439
|
-
//
|
|
5439
|
+
// Fields
|
|
5440
5440
|
|
|
5441
5441
|
instance_size: number;
|
|
5442
5442
|
n_preallocs: number;
|
|
5443
5443
|
value_type: GType;
|
|
5444
5444
|
|
|
5445
|
-
// Constructors
|
|
5445
|
+
// Constructors
|
|
5446
5446
|
|
|
5447
5447
|
_init(...args: any[]): void;
|
|
5448
5448
|
}
|
|
@@ -5454,11 +5454,11 @@ export namespace GObject {
|
|
|
5454
5454
|
class Parameter {
|
|
5455
5455
|
static $gtype: GType<Parameter>;
|
|
5456
5456
|
|
|
5457
|
-
//
|
|
5457
|
+
// Fields
|
|
5458
5458
|
|
|
5459
5459
|
name: string;
|
|
5460
5460
|
|
|
5461
|
-
// Constructors
|
|
5461
|
+
// Constructors
|
|
5462
5462
|
|
|
5463
5463
|
_init(...args: any[]): void;
|
|
5464
5464
|
}
|
|
@@ -5470,13 +5470,13 @@ export namespace GObject {
|
|
|
5470
5470
|
class SignalInvocationHint {
|
|
5471
5471
|
static $gtype: GType<SignalInvocationHint>;
|
|
5472
5472
|
|
|
5473
|
-
//
|
|
5473
|
+
// Fields
|
|
5474
5474
|
|
|
5475
5475
|
signal_id: number;
|
|
5476
5476
|
detail: GLib.Quark;
|
|
5477
5477
|
run_type: SignalFlags;
|
|
5478
5478
|
|
|
5479
|
-
// Constructors
|
|
5479
|
+
// Constructors
|
|
5480
5480
|
|
|
5481
5481
|
_init(...args: any[]): void;
|
|
5482
5482
|
}
|
|
@@ -5489,7 +5489,7 @@ export namespace GObject {
|
|
|
5489
5489
|
class SignalQuery {
|
|
5490
5490
|
static $gtype: GType<SignalQuery>;
|
|
5491
5491
|
|
|
5492
|
-
//
|
|
5492
|
+
// Fields
|
|
5493
5493
|
|
|
5494
5494
|
signal_id: number;
|
|
5495
5495
|
signal_name: string;
|
|
@@ -5499,7 +5499,7 @@ export namespace GObject {
|
|
|
5499
5499
|
n_params: number;
|
|
5500
5500
|
param_types: GType[];
|
|
5501
5501
|
|
|
5502
|
-
// Constructors
|
|
5502
|
+
// Constructors
|
|
5503
5503
|
|
|
5504
5504
|
_init(...args: any[]): void;
|
|
5505
5505
|
}
|
|
@@ -5510,11 +5510,11 @@ export namespace GObject {
|
|
|
5510
5510
|
class TypeClass {
|
|
5511
5511
|
static $gtype: GType<TypeClass>;
|
|
5512
5512
|
|
|
5513
|
-
// Constructors
|
|
5513
|
+
// Constructors
|
|
5514
5514
|
|
|
5515
5515
|
_init(...args: any[]): void;
|
|
5516
5516
|
|
|
5517
|
-
//
|
|
5517
|
+
// Static methods
|
|
5518
5518
|
|
|
5519
5519
|
static adjust_private_offset(g_class: any | null, private_size_or_offset: number): void;
|
|
5520
5520
|
/**
|
|
@@ -5540,7 +5540,7 @@ export namespace GObject {
|
|
|
5540
5540
|
*/
|
|
5541
5541
|
static ref(type: GType): TypeClass;
|
|
5542
5542
|
|
|
5543
|
-
//
|
|
5543
|
+
// Methods
|
|
5544
5544
|
|
|
5545
5545
|
/**
|
|
5546
5546
|
* Registers a private structure for an instantiatable type.
|
|
@@ -5639,11 +5639,11 @@ export namespace GObject {
|
|
|
5639
5639
|
class TypeFundamentalInfo {
|
|
5640
5640
|
static $gtype: GType<TypeFundamentalInfo>;
|
|
5641
5641
|
|
|
5642
|
-
//
|
|
5642
|
+
// Fields
|
|
5643
5643
|
|
|
5644
5644
|
type_flags: TypeFundamentalFlags;
|
|
5645
5645
|
|
|
5646
|
-
// Constructors
|
|
5646
|
+
// Constructors
|
|
5647
5647
|
|
|
5648
5648
|
_init(...args: any[]): void;
|
|
5649
5649
|
}
|
|
@@ -5662,7 +5662,7 @@ export namespace GObject {
|
|
|
5662
5662
|
class TypeInfo {
|
|
5663
5663
|
static $gtype: GType<TypeInfo>;
|
|
5664
5664
|
|
|
5665
|
-
//
|
|
5665
|
+
// Fields
|
|
5666
5666
|
|
|
5667
5667
|
class_size: number;
|
|
5668
5668
|
base_init: BaseInitFunc;
|
|
@@ -5674,7 +5674,7 @@ export namespace GObject {
|
|
|
5674
5674
|
n_preallocs: number;
|
|
5675
5675
|
instance_init: InstanceInitFunc;
|
|
5676
5676
|
|
|
5677
|
-
// Constructors
|
|
5677
|
+
// Constructors
|
|
5678
5678
|
|
|
5679
5679
|
_init(...args: any[]): void;
|
|
5680
5680
|
}
|
|
@@ -5685,11 +5685,11 @@ export namespace GObject {
|
|
|
5685
5685
|
class TypeInstance {
|
|
5686
5686
|
static $gtype: GType<TypeInstance>;
|
|
5687
5687
|
|
|
5688
|
-
// Constructors
|
|
5688
|
+
// Constructors
|
|
5689
5689
|
|
|
5690
5690
|
_init(...args: any[]): void;
|
|
5691
5691
|
|
|
5692
|
-
//
|
|
5692
|
+
// Methods
|
|
5693
5693
|
|
|
5694
5694
|
get_private(private_type: GType): any | null;
|
|
5695
5695
|
}
|
|
@@ -5700,11 +5700,11 @@ export namespace GObject {
|
|
|
5700
5700
|
class TypeInterface {
|
|
5701
5701
|
static $gtype: GType<TypeInterface>;
|
|
5702
5702
|
|
|
5703
|
-
// Constructors
|
|
5703
|
+
// Constructors
|
|
5704
5704
|
|
|
5705
5705
|
_init(...args: any[]): void;
|
|
5706
5706
|
|
|
5707
|
-
//
|
|
5707
|
+
// Static methods
|
|
5708
5708
|
|
|
5709
5709
|
/**
|
|
5710
5710
|
* Adds `prerequisite_type` to the list of prerequisites of `interface_type`.
|
|
@@ -5748,7 +5748,7 @@ export namespace GObject {
|
|
|
5748
5748
|
*/
|
|
5749
5749
|
static prerequisites(interface_type: GType): GType[];
|
|
5750
5750
|
|
|
5751
|
-
//
|
|
5751
|
+
// Methods
|
|
5752
5752
|
|
|
5753
5753
|
/**
|
|
5754
5754
|
* Returns the corresponding #GTypeInterface structure of the parent type
|
|
@@ -5768,14 +5768,14 @@ export namespace GObject {
|
|
|
5768
5768
|
class TypePluginClass {
|
|
5769
5769
|
static $gtype: GType<TypePluginClass>;
|
|
5770
5770
|
|
|
5771
|
-
//
|
|
5771
|
+
// Fields
|
|
5772
5772
|
|
|
5773
5773
|
use_plugin: TypePluginUse;
|
|
5774
5774
|
unuse_plugin: TypePluginUnuse;
|
|
5775
5775
|
complete_type_info: TypePluginCompleteTypeInfo;
|
|
5776
5776
|
complete_interface_info: TypePluginCompleteInterfaceInfo;
|
|
5777
5777
|
|
|
5778
|
-
// Constructors
|
|
5778
|
+
// Constructors
|
|
5779
5779
|
|
|
5780
5780
|
_init(...args: any[]): void;
|
|
5781
5781
|
}
|
|
@@ -5788,14 +5788,14 @@ export namespace GObject {
|
|
|
5788
5788
|
class TypeQuery {
|
|
5789
5789
|
static $gtype: GType<TypeQuery>;
|
|
5790
5790
|
|
|
5791
|
-
//
|
|
5791
|
+
// Fields
|
|
5792
5792
|
|
|
5793
5793
|
type: GType;
|
|
5794
5794
|
type_name: string;
|
|
5795
5795
|
class_size: number;
|
|
5796
5796
|
instance_size: number;
|
|
5797
5797
|
|
|
5798
|
-
// Constructors
|
|
5798
|
+
// Constructors
|
|
5799
5799
|
|
|
5800
5800
|
_init(...args: any[]): void;
|
|
5801
5801
|
}
|
|
@@ -5807,7 +5807,7 @@ export namespace GObject {
|
|
|
5807
5807
|
class TypeValueTable {
|
|
5808
5808
|
static $gtype: GType<TypeValueTable>;
|
|
5809
5809
|
|
|
5810
|
-
//
|
|
5810
|
+
// Fields
|
|
5811
5811
|
|
|
5812
5812
|
value_init: TypeValueInitFunc;
|
|
5813
5813
|
value_free: TypeValueFreeFunc;
|
|
@@ -5818,7 +5818,7 @@ export namespace GObject {
|
|
|
5818
5818
|
lcopy_format: string;
|
|
5819
5819
|
lcopy_value: TypeValueLCopyFunc;
|
|
5820
5820
|
|
|
5821
|
-
// Constructors
|
|
5821
|
+
// Constructors
|
|
5822
5822
|
|
|
5823
5823
|
_init(...args: any[]): void;
|
|
5824
5824
|
}
|
|
@@ -5838,11 +5838,11 @@ export namespace GObject {
|
|
|
5838
5838
|
class Value {
|
|
5839
5839
|
static $gtype: GType<Value>;
|
|
5840
5840
|
|
|
5841
|
-
// Constructors
|
|
5841
|
+
// Constructors
|
|
5842
5842
|
|
|
5843
5843
|
_init(...args: any[]): void;
|
|
5844
5844
|
|
|
5845
|
-
//
|
|
5845
|
+
// Static methods
|
|
5846
5846
|
|
|
5847
5847
|
/**
|
|
5848
5848
|
* Returns whether a #GValue of type `src_type` can be copied into
|
|
@@ -5861,7 +5861,7 @@ export namespace GObject {
|
|
|
5861
5861
|
*/
|
|
5862
5862
|
static type_transformable(src_type: GType, dest_type: GType): boolean;
|
|
5863
5863
|
|
|
5864
|
-
//
|
|
5864
|
+
// Methods
|
|
5865
5865
|
|
|
5866
5866
|
/**
|
|
5867
5867
|
* Copies the value of `src_value` into `dest_value`.
|
|
@@ -6277,18 +6277,18 @@ export namespace GObject {
|
|
|
6277
6277
|
class ValueArray {
|
|
6278
6278
|
static $gtype: GType<ValueArray>;
|
|
6279
6279
|
|
|
6280
|
-
//
|
|
6280
|
+
// Fields
|
|
6281
6281
|
|
|
6282
6282
|
n_values: number;
|
|
6283
6283
|
|
|
6284
|
-
// Constructors
|
|
6284
|
+
// Constructors
|
|
6285
6285
|
|
|
6286
6286
|
constructor(n_prealloced: number);
|
|
6287
6287
|
_init(...args: any[]): void;
|
|
6288
6288
|
|
|
6289
6289
|
static ['new'](n_prealloced: number): ValueArray;
|
|
6290
6290
|
|
|
6291
|
-
//
|
|
6291
|
+
// Methods
|
|
6292
6292
|
|
|
6293
6293
|
/**
|
|
6294
6294
|
* Insert a copy of `value` as last element of `value_array`. If `value` is
|
|
@@ -6381,7 +6381,7 @@ export namespace GObject {
|
|
|
6381
6381
|
class WeakRef {
|
|
6382
6382
|
static $gtype: GType<WeakRef>;
|
|
6383
6383
|
|
|
6384
|
-
// Constructors
|
|
6384
|
+
// Constructors
|
|
6385
6385
|
|
|
6386
6386
|
_init(...args: any[]): void;
|
|
6387
6387
|
}
|
|
@@ -6392,7 +6392,7 @@ export namespace GObject {
|
|
|
6392
6392
|
class TypeCValue {
|
|
6393
6393
|
static $gtype: GType<TypeCValue>;
|
|
6394
6394
|
|
|
6395
|
-
//
|
|
6395
|
+
// Fields
|
|
6396
6396
|
|
|
6397
6397
|
v_int: number;
|
|
6398
6398
|
v_long: number;
|
|
@@ -6400,7 +6400,7 @@ export namespace GObject {
|
|
|
6400
6400
|
v_double: number;
|
|
6401
6401
|
v_pointer: any;
|
|
6402
6402
|
|
|
6403
|
-
// Constructors
|
|
6403
|
+
// Constructors
|
|
6404
6404
|
|
|
6405
6405
|
constructor(
|
|
6406
6406
|
properties?: Partial<{
|
|
@@ -6417,7 +6417,7 @@ export namespace GObject {
|
|
|
6417
6417
|
class _Value__data__union {
|
|
6418
6418
|
static $gtype: GType<_Value__data__union>;
|
|
6419
6419
|
|
|
6420
|
-
//
|
|
6420
|
+
// Fields
|
|
6421
6421
|
|
|
6422
6422
|
v_int: number;
|
|
6423
6423
|
v_uint: number;
|
|
@@ -6429,7 +6429,7 @@ export namespace GObject {
|
|
|
6429
6429
|
v_double: number;
|
|
6430
6430
|
v_pointer: any;
|
|
6431
6431
|
|
|
6432
|
-
// Constructors
|
|
6432
|
+
// Constructors
|
|
6433
6433
|
|
|
6434
6434
|
constructor(
|
|
6435
6435
|
properties?: Partial<{
|
|
@@ -6458,7 +6458,7 @@ export namespace GObject {
|
|
|
6458
6458
|
prototype: TypePlugin;
|
|
6459
6459
|
}
|
|
6460
6460
|
interface TypePlugin extends Object {
|
|
6461
|
-
//
|
|
6461
|
+
// Methods
|
|
6462
6462
|
|
|
6463
6463
|
/**
|
|
6464
6464
|
* Calls the `complete_interface_info` function from the
|
|
@@ -6498,7 +6498,7 @@ export namespace GObject {
|
|
|
6498
6498
|
type SignalCVaMarshaller = unknown;
|
|
6499
6499
|
type Type = number;
|
|
6500
6500
|
interface SignalMatch {
|
|
6501
|
-
//
|
|
6501
|
+
// Fields
|
|
6502
6502
|
|
|
6503
6503
|
signalId: string;
|
|
6504
6504
|
detail: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gobject-2.0",
|
|
3
|
-
"version": "2.80.3-4.0.0-beta.
|
|
3
|
+
"version": "2.80.3-4.0.0-beta.12",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GObject-2.0, generated from library version 2.80.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gobject-2.0.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
35
|
-
"@girs/glib-2.0": "^2.80.3-4.0.0-beta.
|
|
34
|
+
"@girs/gjs": "^4.0.0-beta.12",
|
|
35
|
+
"@girs/glib-2.0": "^2.80.3-4.0.0-beta.12"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "*"
|