@girs/gobject-2.0 2.80.3-4.0.0-beta.11 → 2.80.3-4.0.0-beta.13
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 +85 -91
- 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.13.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gobject-2.0.d.ts
CHANGED
|
@@ -1506,14 +1506,11 @@ export namespace GObject {
|
|
|
1506
1506
|
*
|
|
1507
1507
|
* If `closure` is a floating reference (see g_closure_sink()), this function
|
|
1508
1508
|
* takes ownership of `closure`.
|
|
1509
|
-
*
|
|
1510
|
-
* This function cannot fail. If the given signal doesn’t exist, a critical
|
|
1511
|
-
* warning is emitted.
|
|
1512
1509
|
* @param instance the instance to connect to.
|
|
1513
1510
|
* @param detailed_signal a string of the form "signal-name::detail".
|
|
1514
1511
|
* @param closure the closure to connect.
|
|
1515
1512
|
* @param after whether the handler should be called before or after the default handler of the signal.
|
|
1516
|
-
* @returns the handler ID (always greater than 0)
|
|
1513
|
+
* @returns the handler ID (always greater than 0 for successful connections)
|
|
1517
1514
|
*/
|
|
1518
1515
|
function signal_connect_closure(
|
|
1519
1516
|
instance: Object,
|
|
@@ -1526,15 +1523,12 @@ export namespace GObject {
|
|
|
1526
1523
|
*
|
|
1527
1524
|
* If `closure` is a floating reference (see g_closure_sink()), this function
|
|
1528
1525
|
* takes ownership of `closure`.
|
|
1529
|
-
*
|
|
1530
|
-
* This function cannot fail. If the given signal doesn’t exist, a critical
|
|
1531
|
-
* warning is emitted.
|
|
1532
1526
|
* @param instance the instance to connect to.
|
|
1533
1527
|
* @param signal_id the id of the signal.
|
|
1534
1528
|
* @param detail the detail.
|
|
1535
1529
|
* @param closure the closure to connect.
|
|
1536
1530
|
* @param after whether the handler should be called before or after the default handler of the signal.
|
|
1537
|
-
* @returns the handler ID (always greater than 0)
|
|
1531
|
+
* @returns the handler ID (always greater than 0 for successful connections)
|
|
1538
1532
|
*/
|
|
1539
1533
|
function signal_connect_closure_by_id(
|
|
1540
1534
|
instance: Object,
|
|
@@ -2981,7 +2975,7 @@ export namespace GObject {
|
|
|
2981
2975
|
class Binding extends Object {
|
|
2982
2976
|
static $gtype: GType<Binding>;
|
|
2983
2977
|
|
|
2984
|
-
//
|
|
2978
|
+
// Properties
|
|
2985
2979
|
|
|
2986
2980
|
/**
|
|
2987
2981
|
* Flags to be used to control the #GBinding
|
|
@@ -3028,13 +3022,13 @@ export namespace GObject {
|
|
|
3028
3022
|
*/
|
|
3029
3023
|
get targetProperty(): string;
|
|
3030
3024
|
|
|
3031
|
-
// Constructors
|
|
3025
|
+
// Constructors
|
|
3032
3026
|
|
|
3033
3027
|
constructor(properties?: Partial<Binding.ConstructorProps>, ...args: any[]);
|
|
3034
3028
|
|
|
3035
3029
|
_init(...args: any[]): void;
|
|
3036
3030
|
|
|
3037
|
-
//
|
|
3031
|
+
// Methods
|
|
3038
3032
|
|
|
3039
3033
|
/**
|
|
3040
3034
|
* Retrieves the #GObject instance used as the source of the binding.
|
|
@@ -3133,7 +3127,7 @@ export namespace GObject {
|
|
|
3133
3127
|
class BindingGroup extends Object {
|
|
3134
3128
|
static $gtype: GType<BindingGroup>;
|
|
3135
3129
|
|
|
3136
|
-
//
|
|
3130
|
+
// Properties
|
|
3137
3131
|
|
|
3138
3132
|
/**
|
|
3139
3133
|
* The source object used for binding properties.
|
|
@@ -3141,7 +3135,7 @@ export namespace GObject {
|
|
|
3141
3135
|
get source(): Object;
|
|
3142
3136
|
set source(val: Object);
|
|
3143
3137
|
|
|
3144
|
-
// Constructors
|
|
3138
|
+
// Constructors
|
|
3145
3139
|
|
|
3146
3140
|
constructor(properties?: Partial<BindingGroup.ConstructorProps>, ...args: any[]);
|
|
3147
3141
|
|
|
@@ -3149,7 +3143,7 @@ export namespace GObject {
|
|
|
3149
3143
|
|
|
3150
3144
|
static ['new'](): BindingGroup;
|
|
3151
3145
|
|
|
3152
|
-
//
|
|
3146
|
+
// Methods
|
|
3153
3147
|
|
|
3154
3148
|
/**
|
|
3155
3149
|
* Creates a binding between `source_property` on the source object
|
|
@@ -3243,7 +3237,7 @@ export namespace GObject {
|
|
|
3243
3237
|
class InitiallyUnowned extends Object {
|
|
3244
3238
|
static $gtype: GType<InitiallyUnowned>;
|
|
3245
3239
|
|
|
3246
|
-
// Constructors
|
|
3240
|
+
// Constructors
|
|
3247
3241
|
|
|
3248
3242
|
constructor(properties?: Partial<InitiallyUnowned.ConstructorProps>, ...args: any[]);
|
|
3249
3243
|
|
|
@@ -3289,13 +3283,13 @@ export namespace GObject {
|
|
|
3289
3283
|
class Object {
|
|
3290
3284
|
static $gtype: GType<Object>;
|
|
3291
3285
|
|
|
3292
|
-
// Constructors
|
|
3286
|
+
// Constructors
|
|
3293
3287
|
|
|
3294
3288
|
_init(...args: any[]): void;
|
|
3295
3289
|
|
|
3296
3290
|
static newv(object_type: GType, parameters: Parameter[]): Object;
|
|
3297
3291
|
|
|
3298
|
-
//
|
|
3292
|
+
// Signals
|
|
3299
3293
|
|
|
3300
3294
|
connect(id: string, callback: (...args: any[]) => any): number;
|
|
3301
3295
|
connect_after(id: string, callback: (...args: any[]) => any): number;
|
|
@@ -3304,7 +3298,7 @@ export namespace GObject {
|
|
|
3304
3298
|
connect_after(signal: 'notify', callback: (_source: this, pspec: ParamSpec) => void): number;
|
|
3305
3299
|
emit(signal: 'notify', pspec: ParamSpec): void;
|
|
3306
3300
|
|
|
3307
|
-
//
|
|
3301
|
+
// Static methods
|
|
3308
3302
|
|
|
3309
3303
|
static compat_control(what: number, data?: any | null): number;
|
|
3310
3304
|
/**
|
|
@@ -3353,7 +3347,7 @@ export namespace GObject {
|
|
|
3353
3347
|
static override_property(property_id: number, name: string): void;
|
|
3354
3348
|
static _classInit(klass: any): any;
|
|
3355
3349
|
|
|
3356
|
-
//
|
|
3350
|
+
// Virtual methods
|
|
3357
3351
|
|
|
3358
3352
|
/**
|
|
3359
3353
|
* the `constructed` function is called by g_object_new() as the
|
|
@@ -3421,7 +3415,7 @@ export namespace GObject {
|
|
|
3421
3415
|
*/
|
|
3422
3416
|
vfunc_set_property(property_id: number, value: Value | any, pspec: ParamSpec): void;
|
|
3423
3417
|
|
|
3424
|
-
//
|
|
3418
|
+
// Methods
|
|
3425
3419
|
|
|
3426
3420
|
/**
|
|
3427
3421
|
* Creates a binding between `source_property` on `source` and `target_property`
|
|
@@ -3794,18 +3788,18 @@ export namespace GObject {
|
|
|
3794
3788
|
abstract class ParamSpec<A = unknown> {
|
|
3795
3789
|
static $gtype: GType<ParamSpec>;
|
|
3796
3790
|
|
|
3797
|
-
//
|
|
3791
|
+
// Fields
|
|
3798
3792
|
|
|
3799
3793
|
name: string;
|
|
3800
3794
|
flags: ParamFlags;
|
|
3801
3795
|
value_type: GType;
|
|
3802
3796
|
owner_type: GType;
|
|
3803
3797
|
|
|
3804
|
-
// Constructors
|
|
3798
|
+
// Constructors
|
|
3805
3799
|
|
|
3806
3800
|
_init(...args: any[]): void;
|
|
3807
3801
|
|
|
3808
|
-
//
|
|
3802
|
+
// Static methods
|
|
3809
3803
|
|
|
3810
3804
|
/**
|
|
3811
3805
|
* Validate a property name for a #GParamSpec. This can be useful for
|
|
@@ -3946,7 +3940,7 @@ export namespace GObject {
|
|
|
3946
3940
|
static param(name: string, nick: string, blurb: string, flags: ParamFlags | number, paramType: any): ParamSpec;
|
|
3947
3941
|
static jsobject<T>(name: string, nick: string, blurb: string, flags: any): ParamSpec<T>;
|
|
3948
3942
|
|
|
3949
|
-
//
|
|
3943
|
+
// Virtual methods
|
|
3950
3944
|
|
|
3951
3945
|
/**
|
|
3952
3946
|
* The instance finalization function (optional), should chain
|
|
@@ -3982,7 +3976,7 @@ export namespace GObject {
|
|
|
3982
3976
|
*/
|
|
3983
3977
|
vfunc_values_cmp(value1: Value | any, value2: Value | any): number;
|
|
3984
3978
|
|
|
3985
|
-
//
|
|
3979
|
+
// Methods
|
|
3986
3980
|
|
|
3987
3981
|
/**
|
|
3988
3982
|
* Get the short description of a #GParamSpec.
|
|
@@ -4108,7 +4102,7 @@ export namespace GObject {
|
|
|
4108
4102
|
class SignalGroup extends Object {
|
|
4109
4103
|
static $gtype: GType<SignalGroup>;
|
|
4110
4104
|
|
|
4111
|
-
//
|
|
4105
|
+
// Properties
|
|
4112
4106
|
|
|
4113
4107
|
/**
|
|
4114
4108
|
* The target instance used when connecting signals.
|
|
@@ -4124,7 +4118,7 @@ export namespace GObject {
|
|
|
4124
4118
|
*/
|
|
4125
4119
|
get targetType(): GType;
|
|
4126
4120
|
|
|
4127
|
-
// Constructors
|
|
4121
|
+
// Constructors
|
|
4128
4122
|
|
|
4129
4123
|
constructor(properties?: Partial<SignalGroup.ConstructorProps>, ...args: any[]);
|
|
4130
4124
|
|
|
@@ -4132,7 +4126,7 @@ export namespace GObject {
|
|
|
4132
4126
|
|
|
4133
4127
|
static ['new'](target_type: GType): SignalGroup;
|
|
4134
4128
|
|
|
4135
|
-
//
|
|
4129
|
+
// Signals
|
|
4136
4130
|
|
|
4137
4131
|
connect(id: string, callback: (...args: any[]) => any): number;
|
|
4138
4132
|
connect_after(id: string, callback: (...args: any[]) => any): number;
|
|
@@ -4144,7 +4138,7 @@ export namespace GObject {
|
|
|
4144
4138
|
connect_after(signal: 'unbind', callback: (_source: this) => void): number;
|
|
4145
4139
|
emit(signal: 'unbind'): void;
|
|
4146
4140
|
|
|
4147
|
-
//
|
|
4141
|
+
// Methods
|
|
4148
4142
|
|
|
4149
4143
|
/**
|
|
4150
4144
|
* Blocks all signal handlers managed by `self` so they will not
|
|
@@ -4252,20 +4246,20 @@ export namespace GObject {
|
|
|
4252
4246
|
abstract class TypeModule extends Object implements TypePlugin {
|
|
4253
4247
|
static $gtype: GType<TypeModule>;
|
|
4254
4248
|
|
|
4255
|
-
//
|
|
4249
|
+
// Fields
|
|
4256
4250
|
|
|
4257
4251
|
use_count: number;
|
|
4258
4252
|
type_infos: any[];
|
|
4259
4253
|
interface_infos: any[];
|
|
4260
4254
|
name: string;
|
|
4261
4255
|
|
|
4262
|
-
// Constructors
|
|
4256
|
+
// Constructors
|
|
4263
4257
|
|
|
4264
4258
|
constructor(properties?: Partial<TypeModule.ConstructorProps>, ...args: any[]);
|
|
4265
4259
|
|
|
4266
4260
|
_init(...args: any[]): void;
|
|
4267
4261
|
|
|
4268
|
-
//
|
|
4262
|
+
// Virtual methods
|
|
4269
4263
|
|
|
4270
4264
|
/**
|
|
4271
4265
|
* loads the module and registers one or more types using
|
|
@@ -4277,7 +4271,7 @@ export namespace GObject {
|
|
|
4277
4271
|
*/
|
|
4278
4272
|
vfunc_unload(): void;
|
|
4279
4273
|
|
|
4280
|
-
//
|
|
4274
|
+
// Methods
|
|
4281
4275
|
|
|
4282
4276
|
/**
|
|
4283
4277
|
* Registers an additional interface for a type, whose interface lives
|
|
@@ -4794,15 +4788,15 @@ export namespace GObject {
|
|
|
4794
4788
|
class CClosure {
|
|
4795
4789
|
static $gtype: GType<CClosure>;
|
|
4796
4790
|
|
|
4797
|
-
//
|
|
4791
|
+
// Fields
|
|
4798
4792
|
|
|
4799
4793
|
callback: any;
|
|
4800
4794
|
|
|
4801
|
-
// Constructors
|
|
4795
|
+
// Constructors
|
|
4802
4796
|
|
|
4803
4797
|
_init(...args: any[]): void;
|
|
4804
4798
|
|
|
4805
|
-
//
|
|
4799
|
+
// Static methods
|
|
4806
4800
|
|
|
4807
4801
|
/**
|
|
4808
4802
|
* A #GClosureMarshal function for use with signals with handlers that
|
|
@@ -5234,12 +5228,12 @@ export namespace GObject {
|
|
|
5234
5228
|
class ClosureNotifyData {
|
|
5235
5229
|
static $gtype: GType<ClosureNotifyData>;
|
|
5236
5230
|
|
|
5237
|
-
//
|
|
5231
|
+
// Fields
|
|
5238
5232
|
|
|
5239
5233
|
data: any;
|
|
5240
5234
|
notify: ClosureNotify;
|
|
5241
5235
|
|
|
5242
|
-
// Constructors
|
|
5236
|
+
// Constructors
|
|
5243
5237
|
|
|
5244
5238
|
_init(...args: any[]): void;
|
|
5245
5239
|
}
|
|
@@ -5251,14 +5245,14 @@ export namespace GObject {
|
|
|
5251
5245
|
class EnumClass {
|
|
5252
5246
|
static $gtype: GType<EnumClass>;
|
|
5253
5247
|
|
|
5254
|
-
//
|
|
5248
|
+
// Fields
|
|
5255
5249
|
|
|
5256
5250
|
minimum: number;
|
|
5257
5251
|
maximum: number;
|
|
5258
5252
|
n_values: number;
|
|
5259
5253
|
values: EnumValue;
|
|
5260
5254
|
|
|
5261
|
-
// Constructors
|
|
5255
|
+
// Constructors
|
|
5262
5256
|
|
|
5263
5257
|
_init(...args: any[]): void;
|
|
5264
5258
|
}
|
|
@@ -5270,13 +5264,13 @@ export namespace GObject {
|
|
|
5270
5264
|
class EnumValue {
|
|
5271
5265
|
static $gtype: GType<EnumValue>;
|
|
5272
5266
|
|
|
5273
|
-
//
|
|
5267
|
+
// Fields
|
|
5274
5268
|
|
|
5275
5269
|
value: number;
|
|
5276
5270
|
value_name: string;
|
|
5277
5271
|
value_nick: string;
|
|
5278
5272
|
|
|
5279
|
-
// Constructors
|
|
5273
|
+
// Constructors
|
|
5280
5274
|
|
|
5281
5275
|
constructor(
|
|
5282
5276
|
properties?: Partial<{
|
|
@@ -5295,13 +5289,13 @@ export namespace GObject {
|
|
|
5295
5289
|
class FlagsClass {
|
|
5296
5290
|
static $gtype: GType<FlagsClass>;
|
|
5297
5291
|
|
|
5298
|
-
//
|
|
5292
|
+
// Fields
|
|
5299
5293
|
|
|
5300
5294
|
mask: number;
|
|
5301
5295
|
n_values: number;
|
|
5302
5296
|
values: FlagsValue;
|
|
5303
5297
|
|
|
5304
|
-
// Constructors
|
|
5298
|
+
// Constructors
|
|
5305
5299
|
|
|
5306
5300
|
_init(...args: any[]): void;
|
|
5307
5301
|
}
|
|
@@ -5313,13 +5307,13 @@ export namespace GObject {
|
|
|
5313
5307
|
class FlagsValue {
|
|
5314
5308
|
static $gtype: GType<FlagsValue>;
|
|
5315
5309
|
|
|
5316
|
-
//
|
|
5310
|
+
// Fields
|
|
5317
5311
|
|
|
5318
5312
|
value: number;
|
|
5319
5313
|
value_name: string;
|
|
5320
5314
|
value_nick: string;
|
|
5321
5315
|
|
|
5322
|
-
// Constructors
|
|
5316
|
+
// Constructors
|
|
5323
5317
|
|
|
5324
5318
|
constructor(
|
|
5325
5319
|
properties?: Partial<{
|
|
@@ -5339,13 +5333,13 @@ export namespace GObject {
|
|
|
5339
5333
|
class InterfaceInfo {
|
|
5340
5334
|
static $gtype: GType<InterfaceInfo>;
|
|
5341
5335
|
|
|
5342
|
-
//
|
|
5336
|
+
// Fields
|
|
5343
5337
|
|
|
5344
5338
|
interface_init: InterfaceInitFunc;
|
|
5345
5339
|
interface_finalize: InterfaceFinalizeFunc;
|
|
5346
5340
|
interface_data: any;
|
|
5347
5341
|
|
|
5348
|
-
// Constructors
|
|
5342
|
+
// Constructors
|
|
5349
5343
|
|
|
5350
5344
|
_init(...args: any[]): void;
|
|
5351
5345
|
}
|
|
@@ -5358,11 +5352,11 @@ export namespace GObject {
|
|
|
5358
5352
|
class ObjectConstructParam {
|
|
5359
5353
|
static $gtype: GType<ObjectConstructParam>;
|
|
5360
5354
|
|
|
5361
|
-
//
|
|
5355
|
+
// Fields
|
|
5362
5356
|
|
|
5363
5357
|
pspec: ParamSpec;
|
|
5364
5358
|
|
|
5365
|
-
// Constructors
|
|
5359
|
+
// Constructors
|
|
5366
5360
|
|
|
5367
5361
|
_init(...args: any[]): void;
|
|
5368
5362
|
}
|
|
@@ -5378,11 +5372,11 @@ export namespace GObject {
|
|
|
5378
5372
|
abstract class ParamSpecPool {
|
|
5379
5373
|
static $gtype: GType<ParamSpecPool>;
|
|
5380
5374
|
|
|
5381
|
-
// Constructors
|
|
5375
|
+
// Constructors
|
|
5382
5376
|
|
|
5383
5377
|
_init(...args: any[]): void;
|
|
5384
5378
|
|
|
5385
|
-
//
|
|
5379
|
+
// Methods
|
|
5386
5380
|
|
|
5387
5381
|
/**
|
|
5388
5382
|
* Frees the resources allocated by a #GParamSpecPool.
|
|
@@ -5436,13 +5430,13 @@ export namespace GObject {
|
|
|
5436
5430
|
class ParamSpecTypeInfo {
|
|
5437
5431
|
static $gtype: GType<ParamSpecTypeInfo>;
|
|
5438
5432
|
|
|
5439
|
-
//
|
|
5433
|
+
// Fields
|
|
5440
5434
|
|
|
5441
5435
|
instance_size: number;
|
|
5442
5436
|
n_preallocs: number;
|
|
5443
5437
|
value_type: GType;
|
|
5444
5438
|
|
|
5445
|
-
// Constructors
|
|
5439
|
+
// Constructors
|
|
5446
5440
|
|
|
5447
5441
|
_init(...args: any[]): void;
|
|
5448
5442
|
}
|
|
@@ -5454,11 +5448,11 @@ export namespace GObject {
|
|
|
5454
5448
|
class Parameter {
|
|
5455
5449
|
static $gtype: GType<Parameter>;
|
|
5456
5450
|
|
|
5457
|
-
//
|
|
5451
|
+
// Fields
|
|
5458
5452
|
|
|
5459
5453
|
name: string;
|
|
5460
5454
|
|
|
5461
|
-
// Constructors
|
|
5455
|
+
// Constructors
|
|
5462
5456
|
|
|
5463
5457
|
_init(...args: any[]): void;
|
|
5464
5458
|
}
|
|
@@ -5470,13 +5464,13 @@ export namespace GObject {
|
|
|
5470
5464
|
class SignalInvocationHint {
|
|
5471
5465
|
static $gtype: GType<SignalInvocationHint>;
|
|
5472
5466
|
|
|
5473
|
-
//
|
|
5467
|
+
// Fields
|
|
5474
5468
|
|
|
5475
5469
|
signal_id: number;
|
|
5476
5470
|
detail: GLib.Quark;
|
|
5477
5471
|
run_type: SignalFlags;
|
|
5478
5472
|
|
|
5479
|
-
// Constructors
|
|
5473
|
+
// Constructors
|
|
5480
5474
|
|
|
5481
5475
|
_init(...args: any[]): void;
|
|
5482
5476
|
}
|
|
@@ -5489,7 +5483,7 @@ export namespace GObject {
|
|
|
5489
5483
|
class SignalQuery {
|
|
5490
5484
|
static $gtype: GType<SignalQuery>;
|
|
5491
5485
|
|
|
5492
|
-
//
|
|
5486
|
+
// Fields
|
|
5493
5487
|
|
|
5494
5488
|
signal_id: number;
|
|
5495
5489
|
signal_name: string;
|
|
@@ -5499,7 +5493,7 @@ export namespace GObject {
|
|
|
5499
5493
|
n_params: number;
|
|
5500
5494
|
param_types: GType[];
|
|
5501
5495
|
|
|
5502
|
-
// Constructors
|
|
5496
|
+
// Constructors
|
|
5503
5497
|
|
|
5504
5498
|
_init(...args: any[]): void;
|
|
5505
5499
|
}
|
|
@@ -5510,11 +5504,11 @@ export namespace GObject {
|
|
|
5510
5504
|
class TypeClass {
|
|
5511
5505
|
static $gtype: GType<TypeClass>;
|
|
5512
5506
|
|
|
5513
|
-
// Constructors
|
|
5507
|
+
// Constructors
|
|
5514
5508
|
|
|
5515
5509
|
_init(...args: any[]): void;
|
|
5516
5510
|
|
|
5517
|
-
//
|
|
5511
|
+
// Static methods
|
|
5518
5512
|
|
|
5519
5513
|
static adjust_private_offset(g_class: any | null, private_size_or_offset: number): void;
|
|
5520
5514
|
/**
|
|
@@ -5540,7 +5534,7 @@ export namespace GObject {
|
|
|
5540
5534
|
*/
|
|
5541
5535
|
static ref(type: GType): TypeClass;
|
|
5542
5536
|
|
|
5543
|
-
//
|
|
5537
|
+
// Methods
|
|
5544
5538
|
|
|
5545
5539
|
/**
|
|
5546
5540
|
* Registers a private structure for an instantiatable type.
|
|
@@ -5639,11 +5633,11 @@ export namespace GObject {
|
|
|
5639
5633
|
class TypeFundamentalInfo {
|
|
5640
5634
|
static $gtype: GType<TypeFundamentalInfo>;
|
|
5641
5635
|
|
|
5642
|
-
//
|
|
5636
|
+
// Fields
|
|
5643
5637
|
|
|
5644
5638
|
type_flags: TypeFundamentalFlags;
|
|
5645
5639
|
|
|
5646
|
-
// Constructors
|
|
5640
|
+
// Constructors
|
|
5647
5641
|
|
|
5648
5642
|
_init(...args: any[]): void;
|
|
5649
5643
|
}
|
|
@@ -5662,7 +5656,7 @@ export namespace GObject {
|
|
|
5662
5656
|
class TypeInfo {
|
|
5663
5657
|
static $gtype: GType<TypeInfo>;
|
|
5664
5658
|
|
|
5665
|
-
//
|
|
5659
|
+
// Fields
|
|
5666
5660
|
|
|
5667
5661
|
class_size: number;
|
|
5668
5662
|
base_init: BaseInitFunc;
|
|
@@ -5674,7 +5668,7 @@ export namespace GObject {
|
|
|
5674
5668
|
n_preallocs: number;
|
|
5675
5669
|
instance_init: InstanceInitFunc;
|
|
5676
5670
|
|
|
5677
|
-
// Constructors
|
|
5671
|
+
// Constructors
|
|
5678
5672
|
|
|
5679
5673
|
_init(...args: any[]): void;
|
|
5680
5674
|
}
|
|
@@ -5685,11 +5679,11 @@ export namespace GObject {
|
|
|
5685
5679
|
class TypeInstance {
|
|
5686
5680
|
static $gtype: GType<TypeInstance>;
|
|
5687
5681
|
|
|
5688
|
-
// Constructors
|
|
5682
|
+
// Constructors
|
|
5689
5683
|
|
|
5690
5684
|
_init(...args: any[]): void;
|
|
5691
5685
|
|
|
5692
|
-
//
|
|
5686
|
+
// Methods
|
|
5693
5687
|
|
|
5694
5688
|
get_private(private_type: GType): any | null;
|
|
5695
5689
|
}
|
|
@@ -5700,11 +5694,11 @@ export namespace GObject {
|
|
|
5700
5694
|
class TypeInterface {
|
|
5701
5695
|
static $gtype: GType<TypeInterface>;
|
|
5702
5696
|
|
|
5703
|
-
// Constructors
|
|
5697
|
+
// Constructors
|
|
5704
5698
|
|
|
5705
5699
|
_init(...args: any[]): void;
|
|
5706
5700
|
|
|
5707
|
-
//
|
|
5701
|
+
// Static methods
|
|
5708
5702
|
|
|
5709
5703
|
/**
|
|
5710
5704
|
* Adds `prerequisite_type` to the list of prerequisites of `interface_type`.
|
|
@@ -5748,7 +5742,7 @@ export namespace GObject {
|
|
|
5748
5742
|
*/
|
|
5749
5743
|
static prerequisites(interface_type: GType): GType[];
|
|
5750
5744
|
|
|
5751
|
-
//
|
|
5745
|
+
// Methods
|
|
5752
5746
|
|
|
5753
5747
|
/**
|
|
5754
5748
|
* Returns the corresponding #GTypeInterface structure of the parent type
|
|
@@ -5768,14 +5762,14 @@ export namespace GObject {
|
|
|
5768
5762
|
class TypePluginClass {
|
|
5769
5763
|
static $gtype: GType<TypePluginClass>;
|
|
5770
5764
|
|
|
5771
|
-
//
|
|
5765
|
+
// Fields
|
|
5772
5766
|
|
|
5773
5767
|
use_plugin: TypePluginUse;
|
|
5774
5768
|
unuse_plugin: TypePluginUnuse;
|
|
5775
5769
|
complete_type_info: TypePluginCompleteTypeInfo;
|
|
5776
5770
|
complete_interface_info: TypePluginCompleteInterfaceInfo;
|
|
5777
5771
|
|
|
5778
|
-
// Constructors
|
|
5772
|
+
// Constructors
|
|
5779
5773
|
|
|
5780
5774
|
_init(...args: any[]): void;
|
|
5781
5775
|
}
|
|
@@ -5788,14 +5782,14 @@ export namespace GObject {
|
|
|
5788
5782
|
class TypeQuery {
|
|
5789
5783
|
static $gtype: GType<TypeQuery>;
|
|
5790
5784
|
|
|
5791
|
-
//
|
|
5785
|
+
// Fields
|
|
5792
5786
|
|
|
5793
5787
|
type: GType;
|
|
5794
5788
|
type_name: string;
|
|
5795
5789
|
class_size: number;
|
|
5796
5790
|
instance_size: number;
|
|
5797
5791
|
|
|
5798
|
-
// Constructors
|
|
5792
|
+
// Constructors
|
|
5799
5793
|
|
|
5800
5794
|
_init(...args: any[]): void;
|
|
5801
5795
|
}
|
|
@@ -5807,7 +5801,7 @@ export namespace GObject {
|
|
|
5807
5801
|
class TypeValueTable {
|
|
5808
5802
|
static $gtype: GType<TypeValueTable>;
|
|
5809
5803
|
|
|
5810
|
-
//
|
|
5804
|
+
// Fields
|
|
5811
5805
|
|
|
5812
5806
|
value_init: TypeValueInitFunc;
|
|
5813
5807
|
value_free: TypeValueFreeFunc;
|
|
@@ -5818,7 +5812,7 @@ export namespace GObject {
|
|
|
5818
5812
|
lcopy_format: string;
|
|
5819
5813
|
lcopy_value: TypeValueLCopyFunc;
|
|
5820
5814
|
|
|
5821
|
-
// Constructors
|
|
5815
|
+
// Constructors
|
|
5822
5816
|
|
|
5823
5817
|
_init(...args: any[]): void;
|
|
5824
5818
|
}
|
|
@@ -5838,11 +5832,11 @@ export namespace GObject {
|
|
|
5838
5832
|
class Value {
|
|
5839
5833
|
static $gtype: GType<Value>;
|
|
5840
5834
|
|
|
5841
|
-
// Constructors
|
|
5835
|
+
// Constructors
|
|
5842
5836
|
|
|
5843
5837
|
_init(...args: any[]): void;
|
|
5844
5838
|
|
|
5845
|
-
//
|
|
5839
|
+
// Static methods
|
|
5846
5840
|
|
|
5847
5841
|
/**
|
|
5848
5842
|
* Returns whether a #GValue of type `src_type` can be copied into
|
|
@@ -5861,7 +5855,7 @@ export namespace GObject {
|
|
|
5861
5855
|
*/
|
|
5862
5856
|
static type_transformable(src_type: GType, dest_type: GType): boolean;
|
|
5863
5857
|
|
|
5864
|
-
//
|
|
5858
|
+
// Methods
|
|
5865
5859
|
|
|
5866
5860
|
/**
|
|
5867
5861
|
* Copies the value of `src_value` into `dest_value`.
|
|
@@ -6277,18 +6271,18 @@ export namespace GObject {
|
|
|
6277
6271
|
class ValueArray {
|
|
6278
6272
|
static $gtype: GType<ValueArray>;
|
|
6279
6273
|
|
|
6280
|
-
//
|
|
6274
|
+
// Fields
|
|
6281
6275
|
|
|
6282
6276
|
n_values: number;
|
|
6283
6277
|
|
|
6284
|
-
// Constructors
|
|
6278
|
+
// Constructors
|
|
6285
6279
|
|
|
6286
6280
|
constructor(n_prealloced: number);
|
|
6287
6281
|
_init(...args: any[]): void;
|
|
6288
6282
|
|
|
6289
6283
|
static ['new'](n_prealloced: number): ValueArray;
|
|
6290
6284
|
|
|
6291
|
-
//
|
|
6285
|
+
// Methods
|
|
6292
6286
|
|
|
6293
6287
|
/**
|
|
6294
6288
|
* Insert a copy of `value` as last element of `value_array`. If `value` is
|
|
@@ -6381,7 +6375,7 @@ export namespace GObject {
|
|
|
6381
6375
|
class WeakRef {
|
|
6382
6376
|
static $gtype: GType<WeakRef>;
|
|
6383
6377
|
|
|
6384
|
-
// Constructors
|
|
6378
|
+
// Constructors
|
|
6385
6379
|
|
|
6386
6380
|
_init(...args: any[]): void;
|
|
6387
6381
|
}
|
|
@@ -6392,7 +6386,7 @@ export namespace GObject {
|
|
|
6392
6386
|
class TypeCValue {
|
|
6393
6387
|
static $gtype: GType<TypeCValue>;
|
|
6394
6388
|
|
|
6395
|
-
//
|
|
6389
|
+
// Fields
|
|
6396
6390
|
|
|
6397
6391
|
v_int: number;
|
|
6398
6392
|
v_long: number;
|
|
@@ -6400,7 +6394,7 @@ export namespace GObject {
|
|
|
6400
6394
|
v_double: number;
|
|
6401
6395
|
v_pointer: any;
|
|
6402
6396
|
|
|
6403
|
-
// Constructors
|
|
6397
|
+
// Constructors
|
|
6404
6398
|
|
|
6405
6399
|
constructor(
|
|
6406
6400
|
properties?: Partial<{
|
|
@@ -6417,7 +6411,7 @@ export namespace GObject {
|
|
|
6417
6411
|
class _Value__data__union {
|
|
6418
6412
|
static $gtype: GType<_Value__data__union>;
|
|
6419
6413
|
|
|
6420
|
-
//
|
|
6414
|
+
// Fields
|
|
6421
6415
|
|
|
6422
6416
|
v_int: number;
|
|
6423
6417
|
v_uint: number;
|
|
@@ -6429,7 +6423,7 @@ export namespace GObject {
|
|
|
6429
6423
|
v_double: number;
|
|
6430
6424
|
v_pointer: any;
|
|
6431
6425
|
|
|
6432
|
-
// Constructors
|
|
6426
|
+
// Constructors
|
|
6433
6427
|
|
|
6434
6428
|
constructor(
|
|
6435
6429
|
properties?: Partial<{
|
|
@@ -6458,7 +6452,7 @@ export namespace GObject {
|
|
|
6458
6452
|
prototype: TypePlugin;
|
|
6459
6453
|
}
|
|
6460
6454
|
interface TypePlugin extends Object {
|
|
6461
|
-
//
|
|
6455
|
+
// Methods
|
|
6462
6456
|
|
|
6463
6457
|
/**
|
|
6464
6458
|
* Calls the `complete_interface_info` function from the
|
|
@@ -6498,7 +6492,7 @@ export namespace GObject {
|
|
|
6498
6492
|
type SignalCVaMarshaller = unknown;
|
|
6499
6493
|
type Type = number;
|
|
6500
6494
|
interface SignalMatch {
|
|
6501
|
-
//
|
|
6495
|
+
// Fields
|
|
6502
6496
|
|
|
6503
6497
|
signalId: string;
|
|
6504
6498
|
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.13",
|
|
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.13",
|
|
35
|
+
"@girs/glib-2.0": "^2.80.3-4.0.0-beta.13"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "*"
|