@girs/msg-0 0.0.0-4.0.0-beta.21 → 0.0.0-4.0.0-beta.24
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/msg-0.d.ts +630 -15
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.24.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/msg-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';
|
|
@@ -87,6 +89,9 @@ export namespace Msg {
|
|
|
87
89
|
function error_quark(): GLib.Quark;
|
|
88
90
|
function json_object_get_string(object: Json.Object, name: string): string;
|
|
89
91
|
namespace Contact {
|
|
92
|
+
// Signal signatures
|
|
93
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
94
|
+
|
|
90
95
|
// Constructor properties interface
|
|
91
96
|
|
|
92
97
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -100,6 +105,15 @@ export namespace Msg {
|
|
|
100
105
|
class Contact extends GObject.Object {
|
|
101
106
|
static $gtype: GObject.GType<Contact>;
|
|
102
107
|
|
|
108
|
+
/**
|
|
109
|
+
* Compile-time signal type information.
|
|
110
|
+
*
|
|
111
|
+
* This instance property is generated only for TypeScript type checking.
|
|
112
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
$signals: Contact.SignalSignatures;
|
|
116
|
+
|
|
103
117
|
// Constructors
|
|
104
118
|
|
|
105
119
|
constructor(properties?: Partial<Contact.ConstructorProps>, ...args: any[]);
|
|
@@ -110,6 +124,24 @@ export namespace Msg {
|
|
|
110
124
|
|
|
111
125
|
static new_from_json(json_object: Json.Object): Contact;
|
|
112
126
|
|
|
127
|
+
// Signals
|
|
128
|
+
|
|
129
|
+
connect<K extends keyof Contact.SignalSignatures>(
|
|
130
|
+
signal: K,
|
|
131
|
+
callback: GObject.SignalCallback<this, Contact.SignalSignatures[K]>,
|
|
132
|
+
): number;
|
|
133
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
134
|
+
connect_after<K extends keyof Contact.SignalSignatures>(
|
|
135
|
+
signal: K,
|
|
136
|
+
callback: GObject.SignalCallback<this, Contact.SignalSignatures[K]>,
|
|
137
|
+
): number;
|
|
138
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
139
|
+
emit<K extends keyof Contact.SignalSignatures>(
|
|
140
|
+
signal: K,
|
|
141
|
+
...args: GObject.GjsParameters<Contact.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
142
|
+
): void;
|
|
143
|
+
emit(signal: string, ...args: any[]): void;
|
|
144
|
+
|
|
113
145
|
// Methods
|
|
114
146
|
|
|
115
147
|
/**
|
|
@@ -141,6 +173,11 @@ export namespace Msg {
|
|
|
141
173
|
}
|
|
142
174
|
|
|
143
175
|
namespace ContactService {
|
|
176
|
+
// Signal signatures
|
|
177
|
+
interface SignalSignatures extends Service.SignalSignatures {
|
|
178
|
+
'notify::authorizer': (pspec: GObject.ParamSpec) => void;
|
|
179
|
+
}
|
|
180
|
+
|
|
144
181
|
// Constructor properties interface
|
|
145
182
|
|
|
146
183
|
interface ConstructorProps extends Service.ConstructorProps {}
|
|
@@ -149,6 +186,15 @@ export namespace Msg {
|
|
|
149
186
|
class ContactService extends Service {
|
|
150
187
|
static $gtype: GObject.GType<ContactService>;
|
|
151
188
|
|
|
189
|
+
/**
|
|
190
|
+
* Compile-time signal type information.
|
|
191
|
+
*
|
|
192
|
+
* This instance property is generated only for TypeScript type checking.
|
|
193
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
194
|
+
* @internal
|
|
195
|
+
*/
|
|
196
|
+
$signals: ContactService.SignalSignatures;
|
|
197
|
+
|
|
152
198
|
// Constructors
|
|
153
199
|
|
|
154
200
|
constructor(properties?: Partial<ContactService.ConstructorProps>, ...args: any[]);
|
|
@@ -157,6 +203,24 @@ export namespace Msg {
|
|
|
157
203
|
|
|
158
204
|
static ['new'](authorizer: Authorizer): ContactService;
|
|
159
205
|
|
|
206
|
+
// Signals
|
|
207
|
+
|
|
208
|
+
connect<K extends keyof ContactService.SignalSignatures>(
|
|
209
|
+
signal: K,
|
|
210
|
+
callback: GObject.SignalCallback<this, ContactService.SignalSignatures[K]>,
|
|
211
|
+
): number;
|
|
212
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
213
|
+
connect_after<K extends keyof ContactService.SignalSignatures>(
|
|
214
|
+
signal: K,
|
|
215
|
+
callback: GObject.SignalCallback<this, ContactService.SignalSignatures[K]>,
|
|
216
|
+
): number;
|
|
217
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
218
|
+
emit<K extends keyof ContactService.SignalSignatures>(
|
|
219
|
+
signal: K,
|
|
220
|
+
...args: GObject.GjsParameters<ContactService.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
221
|
+
): void;
|
|
222
|
+
emit(signal: string, ...args: any[]): void;
|
|
223
|
+
|
|
160
224
|
// Methods
|
|
161
225
|
|
|
162
226
|
/**
|
|
@@ -182,6 +246,9 @@ export namespace Msg {
|
|
|
182
246
|
}
|
|
183
247
|
|
|
184
248
|
namespace Drive {
|
|
249
|
+
// Signal signatures
|
|
250
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
251
|
+
|
|
185
252
|
// Constructor properties interface
|
|
186
253
|
|
|
187
254
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -195,6 +262,15 @@ export namespace Msg {
|
|
|
195
262
|
class Drive extends GObject.Object {
|
|
196
263
|
static $gtype: GObject.GType<Drive>;
|
|
197
264
|
|
|
265
|
+
/**
|
|
266
|
+
* Compile-time signal type information.
|
|
267
|
+
*
|
|
268
|
+
* This instance property is generated only for TypeScript type checking.
|
|
269
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
270
|
+
* @internal
|
|
271
|
+
*/
|
|
272
|
+
$signals: Drive.SignalSignatures;
|
|
273
|
+
|
|
198
274
|
// Constructors
|
|
199
275
|
|
|
200
276
|
constructor(properties?: Partial<Drive.ConstructorProps>, ...args: any[]);
|
|
@@ -205,6 +281,24 @@ export namespace Msg {
|
|
|
205
281
|
|
|
206
282
|
static new_from_json(object: Json.Object): Drive;
|
|
207
283
|
|
|
284
|
+
// Signals
|
|
285
|
+
|
|
286
|
+
connect<K extends keyof Drive.SignalSignatures>(
|
|
287
|
+
signal: K,
|
|
288
|
+
callback: GObject.SignalCallback<this, Drive.SignalSignatures[K]>,
|
|
289
|
+
): number;
|
|
290
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
291
|
+
connect_after<K extends keyof Drive.SignalSignatures>(
|
|
292
|
+
signal: K,
|
|
293
|
+
callback: GObject.SignalCallback<this, Drive.SignalSignatures[K]>,
|
|
294
|
+
): number;
|
|
295
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
296
|
+
emit<K extends keyof Drive.SignalSignatures>(
|
|
297
|
+
signal: K,
|
|
298
|
+
...args: GObject.GjsParameters<Drive.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
299
|
+
): void;
|
|
300
|
+
emit(signal: string, ...args: any[]): void;
|
|
301
|
+
|
|
208
302
|
// Methods
|
|
209
303
|
|
|
210
304
|
/**
|
|
@@ -250,6 +344,9 @@ export namespace Msg {
|
|
|
250
344
|
}
|
|
251
345
|
|
|
252
346
|
namespace DriveItem {
|
|
347
|
+
// Signal signatures
|
|
348
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
349
|
+
|
|
253
350
|
// Constructor properties interface
|
|
254
351
|
|
|
255
352
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -258,6 +355,15 @@ export namespace Msg {
|
|
|
258
355
|
class DriveItem extends GObject.Object {
|
|
259
356
|
static $gtype: GObject.GType<DriveItem>;
|
|
260
357
|
|
|
358
|
+
/**
|
|
359
|
+
* Compile-time signal type information.
|
|
360
|
+
*
|
|
361
|
+
* This instance property is generated only for TypeScript type checking.
|
|
362
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
363
|
+
* @internal
|
|
364
|
+
*/
|
|
365
|
+
$signals: DriveItem.SignalSignatures;
|
|
366
|
+
|
|
261
367
|
// Constructors
|
|
262
368
|
|
|
263
369
|
constructor(properties?: Partial<DriveItem.ConstructorProps>, ...args: any[]);
|
|
@@ -266,6 +372,24 @@ export namespace Msg {
|
|
|
266
372
|
|
|
267
373
|
static new_from_json(object: Json.Object): DriveItem;
|
|
268
374
|
|
|
375
|
+
// Signals
|
|
376
|
+
|
|
377
|
+
connect<K extends keyof DriveItem.SignalSignatures>(
|
|
378
|
+
signal: K,
|
|
379
|
+
callback: GObject.SignalCallback<this, DriveItem.SignalSignatures[K]>,
|
|
380
|
+
): number;
|
|
381
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
382
|
+
connect_after<K extends keyof DriveItem.SignalSignatures>(
|
|
383
|
+
signal: K,
|
|
384
|
+
callback: GObject.SignalCallback<this, DriveItem.SignalSignatures[K]>,
|
|
385
|
+
): number;
|
|
386
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
387
|
+
emit<K extends keyof DriveItem.SignalSignatures>(
|
|
388
|
+
signal: K,
|
|
389
|
+
...args: GObject.GjsParameters<DriveItem.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
390
|
+
): void;
|
|
391
|
+
emit(signal: string, ...args: any[]): void;
|
|
392
|
+
|
|
269
393
|
// Methods
|
|
270
394
|
|
|
271
395
|
/**
|
|
@@ -336,6 +460,9 @@ export namespace Msg {
|
|
|
336
460
|
}
|
|
337
461
|
|
|
338
462
|
namespace DriveItemFile {
|
|
463
|
+
// Signal signatures
|
|
464
|
+
interface SignalSignatures extends DriveItem.SignalSignatures {}
|
|
465
|
+
|
|
339
466
|
// Constructor properties interface
|
|
340
467
|
|
|
341
468
|
interface ConstructorProps extends DriveItem.ConstructorProps {}
|
|
@@ -344,6 +471,15 @@ export namespace Msg {
|
|
|
344
471
|
class DriveItemFile extends DriveItem {
|
|
345
472
|
static $gtype: GObject.GType<DriveItemFile>;
|
|
346
473
|
|
|
474
|
+
/**
|
|
475
|
+
* Compile-time signal type information.
|
|
476
|
+
*
|
|
477
|
+
* This instance property is generated only for TypeScript type checking.
|
|
478
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
479
|
+
* @internal
|
|
480
|
+
*/
|
|
481
|
+
$signals: DriveItemFile.SignalSignatures;
|
|
482
|
+
|
|
347
483
|
// Constructors
|
|
348
484
|
|
|
349
485
|
constructor(properties?: Partial<DriveItemFile.ConstructorProps>, ...args: any[]);
|
|
@@ -354,6 +490,24 @@ export namespace Msg {
|
|
|
354
490
|
|
|
355
491
|
static new_from_json(object: Json.Object): DriveItemFile;
|
|
356
492
|
|
|
493
|
+
// Signals
|
|
494
|
+
|
|
495
|
+
connect<K extends keyof DriveItemFile.SignalSignatures>(
|
|
496
|
+
signal: K,
|
|
497
|
+
callback: GObject.SignalCallback<this, DriveItemFile.SignalSignatures[K]>,
|
|
498
|
+
): number;
|
|
499
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
500
|
+
connect_after<K extends keyof DriveItemFile.SignalSignatures>(
|
|
501
|
+
signal: K,
|
|
502
|
+
callback: GObject.SignalCallback<this, DriveItemFile.SignalSignatures[K]>,
|
|
503
|
+
): number;
|
|
504
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
505
|
+
emit<K extends keyof DriveItemFile.SignalSignatures>(
|
|
506
|
+
signal: K,
|
|
507
|
+
...args: GObject.GjsParameters<DriveItemFile.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
508
|
+
): void;
|
|
509
|
+
emit(signal: string, ...args: any[]): void;
|
|
510
|
+
|
|
357
511
|
// Methods
|
|
358
512
|
|
|
359
513
|
/**
|
|
@@ -369,6 +523,9 @@ export namespace Msg {
|
|
|
369
523
|
}
|
|
370
524
|
|
|
371
525
|
namespace DriveItemFolder {
|
|
526
|
+
// Signal signatures
|
|
527
|
+
interface SignalSignatures extends DriveItem.SignalSignatures {}
|
|
528
|
+
|
|
372
529
|
// Constructor properties interface
|
|
373
530
|
|
|
374
531
|
interface ConstructorProps extends DriveItem.ConstructorProps {}
|
|
@@ -377,6 +534,15 @@ export namespace Msg {
|
|
|
377
534
|
class DriveItemFolder extends DriveItem {
|
|
378
535
|
static $gtype: GObject.GType<DriveItemFolder>;
|
|
379
536
|
|
|
537
|
+
/**
|
|
538
|
+
* Compile-time signal type information.
|
|
539
|
+
*
|
|
540
|
+
* This instance property is generated only for TypeScript type checking.
|
|
541
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
542
|
+
* @internal
|
|
543
|
+
*/
|
|
544
|
+
$signals: DriveItemFolder.SignalSignatures;
|
|
545
|
+
|
|
380
546
|
// Constructors
|
|
381
547
|
|
|
382
548
|
constructor(properties?: Partial<DriveItemFolder.ConstructorProps>, ...args: any[]);
|
|
@@ -386,9 +552,32 @@ export namespace Msg {
|
|
|
386
552
|
static ['new'](): DriveItemFolder;
|
|
387
553
|
|
|
388
554
|
static new_from_json(object: Json.Object): DriveItemFolder;
|
|
555
|
+
|
|
556
|
+
// Signals
|
|
557
|
+
|
|
558
|
+
connect<K extends keyof DriveItemFolder.SignalSignatures>(
|
|
559
|
+
signal: K,
|
|
560
|
+
callback: GObject.SignalCallback<this, DriveItemFolder.SignalSignatures[K]>,
|
|
561
|
+
): number;
|
|
562
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
563
|
+
connect_after<K extends keyof DriveItemFolder.SignalSignatures>(
|
|
564
|
+
signal: K,
|
|
565
|
+
callback: GObject.SignalCallback<this, DriveItemFolder.SignalSignatures[K]>,
|
|
566
|
+
): number;
|
|
567
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
568
|
+
emit<K extends keyof DriveItemFolder.SignalSignatures>(
|
|
569
|
+
signal: K,
|
|
570
|
+
...args: GObject.GjsParameters<DriveItemFolder.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
571
|
+
): void;
|
|
572
|
+
emit(signal: string, ...args: any[]): void;
|
|
389
573
|
}
|
|
390
574
|
|
|
391
575
|
namespace DriveService {
|
|
576
|
+
// Signal signatures
|
|
577
|
+
interface SignalSignatures extends Service.SignalSignatures {
|
|
578
|
+
'notify::authorizer': (pspec: GObject.ParamSpec) => void;
|
|
579
|
+
}
|
|
580
|
+
|
|
392
581
|
// Constructor properties interface
|
|
393
582
|
|
|
394
583
|
interface ConstructorProps extends Service.ConstructorProps {}
|
|
@@ -397,6 +586,15 @@ export namespace Msg {
|
|
|
397
586
|
class DriveService extends Service {
|
|
398
587
|
static $gtype: GObject.GType<DriveService>;
|
|
399
588
|
|
|
589
|
+
/**
|
|
590
|
+
* Compile-time signal type information.
|
|
591
|
+
*
|
|
592
|
+
* This instance property is generated only for TypeScript type checking.
|
|
593
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
594
|
+
* @internal
|
|
595
|
+
*/
|
|
596
|
+
$signals: DriveService.SignalSignatures;
|
|
597
|
+
|
|
400
598
|
// Constructors
|
|
401
599
|
|
|
402
600
|
constructor(properties?: Partial<DriveService.ConstructorProps>, ...args: any[]);
|
|
@@ -405,6 +603,24 @@ export namespace Msg {
|
|
|
405
603
|
|
|
406
604
|
static ['new'](authorizer: Authorizer): DriveService;
|
|
407
605
|
|
|
606
|
+
// Signals
|
|
607
|
+
|
|
608
|
+
connect<K extends keyof DriveService.SignalSignatures>(
|
|
609
|
+
signal: K,
|
|
610
|
+
callback: GObject.SignalCallback<this, DriveService.SignalSignatures[K]>,
|
|
611
|
+
): number;
|
|
612
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
613
|
+
connect_after<K extends keyof DriveService.SignalSignatures>(
|
|
614
|
+
signal: K,
|
|
615
|
+
callback: GObject.SignalCallback<this, DriveService.SignalSignatures[K]>,
|
|
616
|
+
): number;
|
|
617
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
618
|
+
emit<K extends keyof DriveService.SignalSignatures>(
|
|
619
|
+
signal: K,
|
|
620
|
+
...args: GObject.GjsParameters<DriveService.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
621
|
+
): void;
|
|
622
|
+
emit(signal: string, ...args: any[]): void;
|
|
623
|
+
|
|
408
624
|
// Methods
|
|
409
625
|
|
|
410
626
|
/**
|
|
@@ -512,6 +728,11 @@ export namespace Msg {
|
|
|
512
728
|
}
|
|
513
729
|
|
|
514
730
|
namespace GoaAuthorizer {
|
|
731
|
+
// Signal signatures
|
|
732
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
733
|
+
'notify::goa-object': (pspec: GObject.ParamSpec) => void;
|
|
734
|
+
}
|
|
735
|
+
|
|
515
736
|
// Constructor properties interface
|
|
516
737
|
|
|
517
738
|
interface ConstructorProps extends GObject.Object.ConstructorProps, Authorizer.ConstructorProps {
|
|
@@ -532,6 +753,15 @@ export namespace Msg {
|
|
|
532
753
|
get goa_object(): Goa.Object;
|
|
533
754
|
get goaObject(): Goa.Object;
|
|
534
755
|
|
|
756
|
+
/**
|
|
757
|
+
* Compile-time signal type information.
|
|
758
|
+
*
|
|
759
|
+
* This instance property is generated only for TypeScript type checking.
|
|
760
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
761
|
+
* @internal
|
|
762
|
+
*/
|
|
763
|
+
$signals: GoaAuthorizer.SignalSignatures;
|
|
764
|
+
|
|
535
765
|
// Constructors
|
|
536
766
|
|
|
537
767
|
constructor(properties?: Partial<GoaAuthorizer.ConstructorProps>, ...args: any[]);
|
|
@@ -540,6 +770,24 @@ export namespace Msg {
|
|
|
540
770
|
|
|
541
771
|
static ['new'](goa_object: Goa.Object): GoaAuthorizer;
|
|
542
772
|
|
|
773
|
+
// Signals
|
|
774
|
+
|
|
775
|
+
connect<K extends keyof GoaAuthorizer.SignalSignatures>(
|
|
776
|
+
signal: K,
|
|
777
|
+
callback: GObject.SignalCallback<this, GoaAuthorizer.SignalSignatures[K]>,
|
|
778
|
+
): number;
|
|
779
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
780
|
+
connect_after<K extends keyof GoaAuthorizer.SignalSignatures>(
|
|
781
|
+
signal: K,
|
|
782
|
+
callback: GObject.SignalCallback<this, GoaAuthorizer.SignalSignatures[K]>,
|
|
783
|
+
): number;
|
|
784
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
785
|
+
emit<K extends keyof GoaAuthorizer.SignalSignatures>(
|
|
786
|
+
signal: K,
|
|
787
|
+
...args: GObject.GjsParameters<GoaAuthorizer.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
788
|
+
): void;
|
|
789
|
+
emit(signal: string, ...args: any[]): void;
|
|
790
|
+
|
|
543
791
|
// Methods
|
|
544
792
|
|
|
545
793
|
/**
|
|
@@ -701,7 +949,21 @@ export namespace Msg {
|
|
|
701
949
|
* @returns the data if found, or %NULL if no such data exists.
|
|
702
950
|
*/
|
|
703
951
|
get_data(key: string): any | null;
|
|
704
|
-
|
|
952
|
+
/**
|
|
953
|
+
* Gets a property of an object.
|
|
954
|
+
*
|
|
955
|
+
* The value can be:
|
|
956
|
+
* - 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)
|
|
957
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
958
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
959
|
+
*
|
|
960
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
961
|
+
*
|
|
962
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
963
|
+
* @param property_name The name of the property to get
|
|
964
|
+
* @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
|
|
965
|
+
*/
|
|
966
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
705
967
|
/**
|
|
706
968
|
* This function gets back user data pointers stored via
|
|
707
969
|
* g_object_set_qdata().
|
|
@@ -829,7 +1091,12 @@ export namespace Msg {
|
|
|
829
1091
|
* @param data data to associate with that key
|
|
830
1092
|
*/
|
|
831
1093
|
set_data(key: string, data?: any | null): void;
|
|
832
|
-
|
|
1094
|
+
/**
|
|
1095
|
+
* Sets a property on an object.
|
|
1096
|
+
* @param property_name The name of the property to set
|
|
1097
|
+
* @param value The value to set the property to
|
|
1098
|
+
*/
|
|
1099
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
833
1100
|
/**
|
|
834
1101
|
* Remove a specified datum from the object's data associations,
|
|
835
1102
|
* without invoking the association's destroy handler.
|
|
@@ -979,14 +1246,37 @@ export namespace Msg {
|
|
|
979
1246
|
* @param pspec
|
|
980
1247
|
*/
|
|
981
1248
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
1249
|
+
/**
|
|
1250
|
+
* 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.
|
|
1251
|
+
* @param id Handler ID of the handler to be disconnected
|
|
1252
|
+
*/
|
|
982
1253
|
disconnect(id: number): void;
|
|
1254
|
+
/**
|
|
1255
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
1256
|
+
* @param properties Object containing the properties to set
|
|
1257
|
+
*/
|
|
983
1258
|
set(properties: { [key: string]: any }): void;
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
1259
|
+
/**
|
|
1260
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
1261
|
+
* @param id Handler ID of the handler to be blocked
|
|
1262
|
+
*/
|
|
1263
|
+
block_signal_handler(id: number): void;
|
|
1264
|
+
/**
|
|
1265
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
1266
|
+
* @param id Handler ID of the handler to be unblocked
|
|
1267
|
+
*/
|
|
1268
|
+
unblock_signal_handler(id: number): void;
|
|
1269
|
+
/**
|
|
1270
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
1271
|
+
* @param detailedName Name of the signal to stop emission of
|
|
1272
|
+
*/
|
|
1273
|
+
stop_emission_by_name(detailedName: string): void;
|
|
987
1274
|
}
|
|
988
1275
|
|
|
989
1276
|
namespace InputStream {
|
|
1277
|
+
// Signal signatures
|
|
1278
|
+
interface SignalSignatures extends Gio.InputStream.SignalSignatures {}
|
|
1279
|
+
|
|
990
1280
|
// Constructor properties interface
|
|
991
1281
|
|
|
992
1282
|
interface ConstructorProps extends Gio.InputStream.ConstructorProps, Gio.Seekable.ConstructorProps {}
|
|
@@ -995,6 +1285,15 @@ export namespace Msg {
|
|
|
995
1285
|
class InputStream extends Gio.InputStream implements Gio.Seekable {
|
|
996
1286
|
static $gtype: GObject.GType<InputStream>;
|
|
997
1287
|
|
|
1288
|
+
/**
|
|
1289
|
+
* Compile-time signal type information.
|
|
1290
|
+
*
|
|
1291
|
+
* This instance property is generated only for TypeScript type checking.
|
|
1292
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
1293
|
+
* @internal
|
|
1294
|
+
*/
|
|
1295
|
+
$signals: InputStream.SignalSignatures;
|
|
1296
|
+
|
|
998
1297
|
// Constructors
|
|
999
1298
|
|
|
1000
1299
|
constructor(properties?: Partial<InputStream.ConstructorProps>, ...args: any[]);
|
|
@@ -1003,6 +1302,24 @@ export namespace Msg {
|
|
|
1003
1302
|
|
|
1004
1303
|
static ['new'](service: Service, uri: string): InputStream;
|
|
1005
1304
|
|
|
1305
|
+
// Signals
|
|
1306
|
+
|
|
1307
|
+
connect<K extends keyof InputStream.SignalSignatures>(
|
|
1308
|
+
signal: K,
|
|
1309
|
+
callback: GObject.SignalCallback<this, InputStream.SignalSignatures[K]>,
|
|
1310
|
+
): number;
|
|
1311
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1312
|
+
connect_after<K extends keyof InputStream.SignalSignatures>(
|
|
1313
|
+
signal: K,
|
|
1314
|
+
callback: GObject.SignalCallback<this, InputStream.SignalSignatures[K]>,
|
|
1315
|
+
): number;
|
|
1316
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1317
|
+
emit<K extends keyof InputStream.SignalSignatures>(
|
|
1318
|
+
signal: K,
|
|
1319
|
+
...args: GObject.GjsParameters<InputStream.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
1320
|
+
): void;
|
|
1321
|
+
emit(signal: string, ...args: any[]): void;
|
|
1322
|
+
|
|
1006
1323
|
// Static methods
|
|
1007
1324
|
|
|
1008
1325
|
/**
|
|
@@ -1235,7 +1552,21 @@ export namespace Msg {
|
|
|
1235
1552
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1236
1553
|
*/
|
|
1237
1554
|
get_data(key: string): any | null;
|
|
1238
|
-
|
|
1555
|
+
/**
|
|
1556
|
+
* Gets a property of an object.
|
|
1557
|
+
*
|
|
1558
|
+
* The value can be:
|
|
1559
|
+
* - 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)
|
|
1560
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
1561
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
1562
|
+
*
|
|
1563
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
1564
|
+
*
|
|
1565
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
1566
|
+
* @param property_name The name of the property to get
|
|
1567
|
+
* @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
|
|
1568
|
+
*/
|
|
1569
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
1239
1570
|
/**
|
|
1240
1571
|
* This function gets back user data pointers stored via
|
|
1241
1572
|
* g_object_set_qdata().
|
|
@@ -1363,7 +1694,12 @@ export namespace Msg {
|
|
|
1363
1694
|
* @param data data to associate with that key
|
|
1364
1695
|
*/
|
|
1365
1696
|
set_data(key: string, data?: any | null): void;
|
|
1366
|
-
|
|
1697
|
+
/**
|
|
1698
|
+
* Sets a property on an object.
|
|
1699
|
+
* @param property_name The name of the property to set
|
|
1700
|
+
* @param value The value to set the property to
|
|
1701
|
+
*/
|
|
1702
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
1367
1703
|
/**
|
|
1368
1704
|
* Remove a specified datum from the object's data associations,
|
|
1369
1705
|
* without invoking the association's destroy handler.
|
|
@@ -1513,14 +1849,37 @@ export namespace Msg {
|
|
|
1513
1849
|
* @param pspec
|
|
1514
1850
|
*/
|
|
1515
1851
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
1852
|
+
/**
|
|
1853
|
+
* 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.
|
|
1854
|
+
* @param id Handler ID of the handler to be disconnected
|
|
1855
|
+
*/
|
|
1516
1856
|
disconnect(id: number): void;
|
|
1857
|
+
/**
|
|
1858
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
1859
|
+
* @param properties Object containing the properties to set
|
|
1860
|
+
*/
|
|
1517
1861
|
set(properties: { [key: string]: any }): void;
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1862
|
+
/**
|
|
1863
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
1864
|
+
* @param id Handler ID of the handler to be blocked
|
|
1865
|
+
*/
|
|
1866
|
+
block_signal_handler(id: number): void;
|
|
1867
|
+
/**
|
|
1868
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
1869
|
+
* @param id Handler ID of the handler to be unblocked
|
|
1870
|
+
*/
|
|
1871
|
+
unblock_signal_handler(id: number): void;
|
|
1872
|
+
/**
|
|
1873
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
1874
|
+
* @param detailedName Name of the signal to stop emission of
|
|
1875
|
+
*/
|
|
1876
|
+
stop_emission_by_name(detailedName: string): void;
|
|
1521
1877
|
}
|
|
1522
1878
|
|
|
1523
1879
|
namespace MailFolder {
|
|
1880
|
+
// Signal signatures
|
|
1881
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
1882
|
+
|
|
1524
1883
|
// Constructor properties interface
|
|
1525
1884
|
|
|
1526
1885
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -1532,6 +1891,15 @@ export namespace Msg {
|
|
|
1532
1891
|
class MailFolder extends GObject.Object {
|
|
1533
1892
|
static $gtype: GObject.GType<MailFolder>;
|
|
1534
1893
|
|
|
1894
|
+
/**
|
|
1895
|
+
* Compile-time signal type information.
|
|
1896
|
+
*
|
|
1897
|
+
* This instance property is generated only for TypeScript type checking.
|
|
1898
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
1899
|
+
* @internal
|
|
1900
|
+
*/
|
|
1901
|
+
$signals: MailFolder.SignalSignatures;
|
|
1902
|
+
|
|
1535
1903
|
// Constructors
|
|
1536
1904
|
|
|
1537
1905
|
constructor(properties?: Partial<MailFolder.ConstructorProps>, ...args: any[]);
|
|
@@ -1542,6 +1910,24 @@ export namespace Msg {
|
|
|
1542
1910
|
|
|
1543
1911
|
static new_from_json(json_object: Json.Object): MailFolder;
|
|
1544
1912
|
|
|
1913
|
+
// Signals
|
|
1914
|
+
|
|
1915
|
+
connect<K extends keyof MailFolder.SignalSignatures>(
|
|
1916
|
+
signal: K,
|
|
1917
|
+
callback: GObject.SignalCallback<this, MailFolder.SignalSignatures[K]>,
|
|
1918
|
+
): number;
|
|
1919
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1920
|
+
connect_after<K extends keyof MailFolder.SignalSignatures>(
|
|
1921
|
+
signal: K,
|
|
1922
|
+
callback: GObject.SignalCallback<this, MailFolder.SignalSignatures[K]>,
|
|
1923
|
+
): number;
|
|
1924
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1925
|
+
emit<K extends keyof MailFolder.SignalSignatures>(
|
|
1926
|
+
signal: K,
|
|
1927
|
+
...args: GObject.GjsParameters<MailFolder.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
1928
|
+
): void;
|
|
1929
|
+
emit(signal: string, ...args: any[]): void;
|
|
1930
|
+
|
|
1545
1931
|
// Methods
|
|
1546
1932
|
|
|
1547
1933
|
get_display_name(): string;
|
|
@@ -1550,6 +1936,9 @@ export namespace Msg {
|
|
|
1550
1936
|
}
|
|
1551
1937
|
|
|
1552
1938
|
namespace Message {
|
|
1939
|
+
// Signal signatures
|
|
1940
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
1941
|
+
|
|
1553
1942
|
// Constructor properties interface
|
|
1554
1943
|
|
|
1555
1944
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -1563,6 +1952,15 @@ export namespace Msg {
|
|
|
1563
1952
|
class Message extends GObject.Object {
|
|
1564
1953
|
static $gtype: GObject.GType<Message>;
|
|
1565
1954
|
|
|
1955
|
+
/**
|
|
1956
|
+
* Compile-time signal type information.
|
|
1957
|
+
*
|
|
1958
|
+
* This instance property is generated only for TypeScript type checking.
|
|
1959
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
1960
|
+
* @internal
|
|
1961
|
+
*/
|
|
1962
|
+
$signals: Message.SignalSignatures;
|
|
1963
|
+
|
|
1566
1964
|
// Constructors
|
|
1567
1965
|
|
|
1568
1966
|
constructor(properties?: Partial<Message.ConstructorProps>, ...args: any[]);
|
|
@@ -1573,6 +1971,24 @@ export namespace Msg {
|
|
|
1573
1971
|
|
|
1574
1972
|
static new_from_json(json_object: Json.Object): Message;
|
|
1575
1973
|
|
|
1974
|
+
// Signals
|
|
1975
|
+
|
|
1976
|
+
connect<K extends keyof Message.SignalSignatures>(
|
|
1977
|
+
signal: K,
|
|
1978
|
+
callback: GObject.SignalCallback<this, Message.SignalSignatures[K]>,
|
|
1979
|
+
): number;
|
|
1980
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1981
|
+
connect_after<K extends keyof Message.SignalSignatures>(
|
|
1982
|
+
signal: K,
|
|
1983
|
+
callback: GObject.SignalCallback<this, Message.SignalSignatures[K]>,
|
|
1984
|
+
): number;
|
|
1985
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1986
|
+
emit<K extends keyof Message.SignalSignatures>(
|
|
1987
|
+
signal: K,
|
|
1988
|
+
...args: GObject.GjsParameters<Message.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
1989
|
+
): void;
|
|
1990
|
+
emit(signal: string, ...args: any[]): void;
|
|
1991
|
+
|
|
1576
1992
|
// Methods
|
|
1577
1993
|
|
|
1578
1994
|
get_body_preview(): string;
|
|
@@ -1583,6 +1999,11 @@ export namespace Msg {
|
|
|
1583
1999
|
}
|
|
1584
2000
|
|
|
1585
2001
|
namespace MessageService {
|
|
2002
|
+
// Signal signatures
|
|
2003
|
+
interface SignalSignatures extends Service.SignalSignatures {
|
|
2004
|
+
'notify::authorizer': (pspec: GObject.ParamSpec) => void;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
1586
2007
|
// Constructor properties interface
|
|
1587
2008
|
|
|
1588
2009
|
interface ConstructorProps extends Service.ConstructorProps {}
|
|
@@ -1591,6 +2012,15 @@ export namespace Msg {
|
|
|
1591
2012
|
class MessageService extends Service {
|
|
1592
2013
|
static $gtype: GObject.GType<MessageService>;
|
|
1593
2014
|
|
|
2015
|
+
/**
|
|
2016
|
+
* Compile-time signal type information.
|
|
2017
|
+
*
|
|
2018
|
+
* This instance property is generated only for TypeScript type checking.
|
|
2019
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
2020
|
+
* @internal
|
|
2021
|
+
*/
|
|
2022
|
+
$signals: MessageService.SignalSignatures;
|
|
2023
|
+
|
|
1594
2024
|
// Constructors
|
|
1595
2025
|
|
|
1596
2026
|
constructor(properties?: Partial<MessageService.ConstructorProps>, ...args: any[]);
|
|
@@ -1599,6 +2029,24 @@ export namespace Msg {
|
|
|
1599
2029
|
|
|
1600
2030
|
static ['new'](authorizer: Authorizer): MessageService;
|
|
1601
2031
|
|
|
2032
|
+
// Signals
|
|
2033
|
+
|
|
2034
|
+
connect<K extends keyof MessageService.SignalSignatures>(
|
|
2035
|
+
signal: K,
|
|
2036
|
+
callback: GObject.SignalCallback<this, MessageService.SignalSignatures[K]>,
|
|
2037
|
+
): number;
|
|
2038
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2039
|
+
connect_after<K extends keyof MessageService.SignalSignatures>(
|
|
2040
|
+
signal: K,
|
|
2041
|
+
callback: GObject.SignalCallback<this, MessageService.SignalSignatures[K]>,
|
|
2042
|
+
): number;
|
|
2043
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2044
|
+
emit<K extends keyof MessageService.SignalSignatures>(
|
|
2045
|
+
signal: K,
|
|
2046
|
+
...args: GObject.GjsParameters<MessageService.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
2047
|
+
): void;
|
|
2048
|
+
emit(signal: string, ...args: any[]): void;
|
|
2049
|
+
|
|
1602
2050
|
// Methods
|
|
1603
2051
|
|
|
1604
2052
|
/**
|
|
@@ -1637,6 +2085,13 @@ export namespace Msg {
|
|
|
1637
2085
|
}
|
|
1638
2086
|
|
|
1639
2087
|
namespace OAuth2Authorizer {
|
|
2088
|
+
// Signal signatures
|
|
2089
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
2090
|
+
'notify::client-id': (pspec: GObject.ParamSpec) => void;
|
|
2091
|
+
'notify::redirect-uri': (pspec: GObject.ParamSpec) => void;
|
|
2092
|
+
'notify::refresh-token': (pspec: GObject.ParamSpec) => void;
|
|
2093
|
+
}
|
|
2094
|
+
|
|
1640
2095
|
// Constructor properties interface
|
|
1641
2096
|
|
|
1642
2097
|
interface ConstructorProps extends GObject.Object.ConstructorProps, Authorizer.ConstructorProps {
|
|
@@ -1663,6 +2118,15 @@ export namespace Msg {
|
|
|
1663
2118
|
get refreshToken(): string;
|
|
1664
2119
|
set refreshToken(val: string);
|
|
1665
2120
|
|
|
2121
|
+
/**
|
|
2122
|
+
* Compile-time signal type information.
|
|
2123
|
+
*
|
|
2124
|
+
* This instance property is generated only for TypeScript type checking.
|
|
2125
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
2126
|
+
* @internal
|
|
2127
|
+
*/
|
|
2128
|
+
$signals: OAuth2Authorizer.SignalSignatures;
|
|
2129
|
+
|
|
1666
2130
|
// Constructors
|
|
1667
2131
|
|
|
1668
2132
|
constructor(properties?: Partial<OAuth2Authorizer.ConstructorProps>, ...args: any[]);
|
|
@@ -1671,6 +2135,24 @@ export namespace Msg {
|
|
|
1671
2135
|
|
|
1672
2136
|
static ['new'](client_id: string, redirect_uri: string): OAuth2Authorizer;
|
|
1673
2137
|
|
|
2138
|
+
// Signals
|
|
2139
|
+
|
|
2140
|
+
connect<K extends keyof OAuth2Authorizer.SignalSignatures>(
|
|
2141
|
+
signal: K,
|
|
2142
|
+
callback: GObject.SignalCallback<this, OAuth2Authorizer.SignalSignatures[K]>,
|
|
2143
|
+
): number;
|
|
2144
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2145
|
+
connect_after<K extends keyof OAuth2Authorizer.SignalSignatures>(
|
|
2146
|
+
signal: K,
|
|
2147
|
+
callback: GObject.SignalCallback<this, OAuth2Authorizer.SignalSignatures[K]>,
|
|
2148
|
+
): number;
|
|
2149
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2150
|
+
emit<K extends keyof OAuth2Authorizer.SignalSignatures>(
|
|
2151
|
+
signal: K,
|
|
2152
|
+
...args: GObject.GjsParameters<OAuth2Authorizer.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
2153
|
+
): void;
|
|
2154
|
+
emit(signal: string, ...args: any[]): void;
|
|
2155
|
+
|
|
1674
2156
|
// Static methods
|
|
1675
2157
|
|
|
1676
2158
|
static test_load_credentials(self: Authorizer): boolean;
|
|
@@ -1834,7 +2316,21 @@ export namespace Msg {
|
|
|
1834
2316
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1835
2317
|
*/
|
|
1836
2318
|
get_data(key: string): any | null;
|
|
1837
|
-
|
|
2319
|
+
/**
|
|
2320
|
+
* Gets a property of an object.
|
|
2321
|
+
*
|
|
2322
|
+
* The value can be:
|
|
2323
|
+
* - 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)
|
|
2324
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
2325
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
2326
|
+
*
|
|
2327
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
2328
|
+
*
|
|
2329
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
2330
|
+
* @param property_name The name of the property to get
|
|
2331
|
+
* @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
|
|
2332
|
+
*/
|
|
2333
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
1838
2334
|
/**
|
|
1839
2335
|
* This function gets back user data pointers stored via
|
|
1840
2336
|
* g_object_set_qdata().
|
|
@@ -1962,7 +2458,12 @@ export namespace Msg {
|
|
|
1962
2458
|
* @param data data to associate with that key
|
|
1963
2459
|
*/
|
|
1964
2460
|
set_data(key: string, data?: any | null): void;
|
|
1965
|
-
|
|
2461
|
+
/**
|
|
2462
|
+
* Sets a property on an object.
|
|
2463
|
+
* @param property_name The name of the property to set
|
|
2464
|
+
* @param value The value to set the property to
|
|
2465
|
+
*/
|
|
2466
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
1966
2467
|
/**
|
|
1967
2468
|
* Remove a specified datum from the object's data associations,
|
|
1968
2469
|
* without invoking the association's destroy handler.
|
|
@@ -2112,14 +2613,39 @@ export namespace Msg {
|
|
|
2112
2613
|
* @param pspec
|
|
2113
2614
|
*/
|
|
2114
2615
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
2616
|
+
/**
|
|
2617
|
+
* 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.
|
|
2618
|
+
* @param id Handler ID of the handler to be disconnected
|
|
2619
|
+
*/
|
|
2115
2620
|
disconnect(id: number): void;
|
|
2621
|
+
/**
|
|
2622
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
2623
|
+
* @param properties Object containing the properties to set
|
|
2624
|
+
*/
|
|
2116
2625
|
set(properties: { [key: string]: any }): void;
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2626
|
+
/**
|
|
2627
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
2628
|
+
* @param id Handler ID of the handler to be blocked
|
|
2629
|
+
*/
|
|
2630
|
+
block_signal_handler(id: number): void;
|
|
2631
|
+
/**
|
|
2632
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
2633
|
+
* @param id Handler ID of the handler to be unblocked
|
|
2634
|
+
*/
|
|
2635
|
+
unblock_signal_handler(id: number): void;
|
|
2636
|
+
/**
|
|
2637
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
2638
|
+
* @param detailedName Name of the signal to stop emission of
|
|
2639
|
+
*/
|
|
2640
|
+
stop_emission_by_name(detailedName: string): void;
|
|
2120
2641
|
}
|
|
2121
2642
|
|
|
2122
2643
|
namespace Service {
|
|
2644
|
+
// Signal signatures
|
|
2645
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
2646
|
+
'notify::authorizer': (pspec: GObject.ParamSpec) => void;
|
|
2647
|
+
}
|
|
2648
|
+
|
|
2123
2649
|
// Constructor properties interface
|
|
2124
2650
|
|
|
2125
2651
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -2134,12 +2660,39 @@ export namespace Msg {
|
|
|
2134
2660
|
|
|
2135
2661
|
set authorizer(val: Authorizer);
|
|
2136
2662
|
|
|
2663
|
+
/**
|
|
2664
|
+
* Compile-time signal type information.
|
|
2665
|
+
*
|
|
2666
|
+
* This instance property is generated only for TypeScript type checking.
|
|
2667
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
2668
|
+
* @internal
|
|
2669
|
+
*/
|
|
2670
|
+
$signals: Service.SignalSignatures;
|
|
2671
|
+
|
|
2137
2672
|
// Constructors
|
|
2138
2673
|
|
|
2139
2674
|
constructor(properties?: Partial<Service.ConstructorProps>, ...args: any[]);
|
|
2140
2675
|
|
|
2141
2676
|
_init(...args: any[]): void;
|
|
2142
2677
|
|
|
2678
|
+
// Signals
|
|
2679
|
+
|
|
2680
|
+
connect<K extends keyof Service.SignalSignatures>(
|
|
2681
|
+
signal: K,
|
|
2682
|
+
callback: GObject.SignalCallback<this, Service.SignalSignatures[K]>,
|
|
2683
|
+
): number;
|
|
2684
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2685
|
+
connect_after<K extends keyof Service.SignalSignatures>(
|
|
2686
|
+
signal: K,
|
|
2687
|
+
callback: GObject.SignalCallback<this, Service.SignalSignatures[K]>,
|
|
2688
|
+
): number;
|
|
2689
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2690
|
+
emit<K extends keyof Service.SignalSignatures>(
|
|
2691
|
+
signal: K,
|
|
2692
|
+
...args: GObject.GjsParameters<Service.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
2693
|
+
): void;
|
|
2694
|
+
emit(signal: string, ...args: any[]): void;
|
|
2695
|
+
|
|
2143
2696
|
// Static methods
|
|
2144
2697
|
|
|
2145
2698
|
static accept_certificate_cb(
|
|
@@ -2213,6 +2766,9 @@ export namespace Msg {
|
|
|
2213
2766
|
}
|
|
2214
2767
|
|
|
2215
2768
|
namespace User {
|
|
2769
|
+
// Signal signatures
|
|
2770
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
2771
|
+
|
|
2216
2772
|
// Constructor properties interface
|
|
2217
2773
|
|
|
2218
2774
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -2224,6 +2780,15 @@ export namespace Msg {
|
|
|
2224
2780
|
class User extends GObject.Object {
|
|
2225
2781
|
static $gtype: GObject.GType<User>;
|
|
2226
2782
|
|
|
2783
|
+
/**
|
|
2784
|
+
* Compile-time signal type information.
|
|
2785
|
+
*
|
|
2786
|
+
* This instance property is generated only for TypeScript type checking.
|
|
2787
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
2788
|
+
* @internal
|
|
2789
|
+
*/
|
|
2790
|
+
$signals: User.SignalSignatures;
|
|
2791
|
+
|
|
2227
2792
|
// Constructors
|
|
2228
2793
|
|
|
2229
2794
|
constructor(properties?: Partial<User.ConstructorProps>, ...args: any[]);
|
|
@@ -2234,12 +2799,35 @@ export namespace Msg {
|
|
|
2234
2799
|
|
|
2235
2800
|
static new_from_json(json_object: Json.Object): User;
|
|
2236
2801
|
|
|
2802
|
+
// Signals
|
|
2803
|
+
|
|
2804
|
+
connect<K extends keyof User.SignalSignatures>(
|
|
2805
|
+
signal: K,
|
|
2806
|
+
callback: GObject.SignalCallback<this, User.SignalSignatures[K]>,
|
|
2807
|
+
): number;
|
|
2808
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2809
|
+
connect_after<K extends keyof User.SignalSignatures>(
|
|
2810
|
+
signal: K,
|
|
2811
|
+
callback: GObject.SignalCallback<this, User.SignalSignatures[K]>,
|
|
2812
|
+
): number;
|
|
2813
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2814
|
+
emit<K extends keyof User.SignalSignatures>(
|
|
2815
|
+
signal: K,
|
|
2816
|
+
...args: GObject.GjsParameters<User.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
2817
|
+
): void;
|
|
2818
|
+
emit(signal: string, ...args: any[]): void;
|
|
2819
|
+
|
|
2237
2820
|
// Methods
|
|
2238
2821
|
|
|
2239
2822
|
get_mail(): string;
|
|
2240
2823
|
}
|
|
2241
2824
|
|
|
2242
2825
|
namespace UserService {
|
|
2826
|
+
// Signal signatures
|
|
2827
|
+
interface SignalSignatures extends Service.SignalSignatures {
|
|
2828
|
+
'notify::authorizer': (pspec: GObject.ParamSpec) => void;
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2243
2831
|
// Constructor properties interface
|
|
2244
2832
|
|
|
2245
2833
|
interface ConstructorProps extends Service.ConstructorProps {}
|
|
@@ -2248,6 +2836,15 @@ export namespace Msg {
|
|
|
2248
2836
|
class UserService extends Service {
|
|
2249
2837
|
static $gtype: GObject.GType<UserService>;
|
|
2250
2838
|
|
|
2839
|
+
/**
|
|
2840
|
+
* Compile-time signal type information.
|
|
2841
|
+
*
|
|
2842
|
+
* This instance property is generated only for TypeScript type checking.
|
|
2843
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
2844
|
+
* @internal
|
|
2845
|
+
*/
|
|
2846
|
+
$signals: UserService.SignalSignatures;
|
|
2847
|
+
|
|
2251
2848
|
// Constructors
|
|
2252
2849
|
|
|
2253
2850
|
constructor(properties?: Partial<UserService.ConstructorProps>, ...args: any[]);
|
|
@@ -2256,6 +2853,24 @@ export namespace Msg {
|
|
|
2256
2853
|
|
|
2257
2854
|
static ['new'](authorizer: Authorizer): UserService;
|
|
2258
2855
|
|
|
2856
|
+
// Signals
|
|
2857
|
+
|
|
2858
|
+
connect<K extends keyof UserService.SignalSignatures>(
|
|
2859
|
+
signal: K,
|
|
2860
|
+
callback: GObject.SignalCallback<this, UserService.SignalSignatures[K]>,
|
|
2861
|
+
): number;
|
|
2862
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2863
|
+
connect_after<K extends keyof UserService.SignalSignatures>(
|
|
2864
|
+
signal: K,
|
|
2865
|
+
callback: GObject.SignalCallback<this, UserService.SignalSignatures[K]>,
|
|
2866
|
+
): number;
|
|
2867
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2868
|
+
emit<K extends keyof UserService.SignalSignatures>(
|
|
2869
|
+
signal: K,
|
|
2870
|
+
...args: GObject.GjsParameters<UserService.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
2871
|
+
): void;
|
|
2872
|
+
emit(signal: string, ...args: any[]): void;
|
|
2873
|
+
|
|
2259
2874
|
// Methods
|
|
2260
2875
|
|
|
2261
2876
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/msg-0",
|
|
3
|
-
"version": "0.0.0-4.0.0-beta.
|
|
3
|
+
"version": "0.0.0-4.0.0-beta.24",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "msg-0.js",
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gio-2.0": "^2.
|
|
35
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
36
|
-
"@girs/glib-2.0": "^2.
|
|
37
|
-
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.
|
|
38
|
-
"@girs/goa-1.0": "^3.52.0-4.0.0-beta.
|
|
39
|
-
"@girs/gobject-2.0": "^2.
|
|
40
|
-
"@girs/json-1.0": "^1.10.7-4.0.0-beta.
|
|
41
|
-
"@girs/soup-3.0": "^3.6.
|
|
34
|
+
"@girs/gio-2.0": "^2.84.2-4.0.0-beta.24",
|
|
35
|
+
"@girs/gjs": "^4.0.0-beta.24",
|
|
36
|
+
"@girs/glib-2.0": "^2.84.2-4.0.0-beta.24",
|
|
37
|
+
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.24",
|
|
38
|
+
"@girs/goa-1.0": "^3.52.0-4.0.0-beta.24",
|
|
39
|
+
"@girs/gobject-2.0": "^2.84.2-4.0.0-beta.24",
|
|
40
|
+
"@girs/json-1.0": "^1.10.7-4.0.0-beta.24",
|
|
41
|
+
"@girs/soup-3.0": "^3.6.5-4.0.0-beta.24"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typescript": "*"
|