@girs/gdkpixbuf-2.0 2.0.0-4.0.0-beta.21 → 2.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/gdkpixbuf-2.0.d.ts +270 -43
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GdkPixbuf-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for GdkPixbuf-2.0, generated from library version 2.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/gdkpixbuf-2.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 Gio from '@girs/gio-2.0';
|
|
12
14
|
import type GObject from '@girs/gobject-2.0';
|
|
@@ -328,6 +330,19 @@ export namespace GdkPixbuf {
|
|
|
328
330
|
THREADSAFE,
|
|
329
331
|
}
|
|
330
332
|
namespace Pixbuf {
|
|
333
|
+
// Signal signatures
|
|
334
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
335
|
+
'notify::bits-per-sample': (pspec: GObject.ParamSpec) => void;
|
|
336
|
+
'notify::colorspace': (pspec: GObject.ParamSpec) => void;
|
|
337
|
+
'notify::has-alpha': (pspec: GObject.ParamSpec) => void;
|
|
338
|
+
'notify::height': (pspec: GObject.ParamSpec) => void;
|
|
339
|
+
'notify::n-channels': (pspec: GObject.ParamSpec) => void;
|
|
340
|
+
'notify::pixel-bytes': (pspec: GObject.ParamSpec) => void;
|
|
341
|
+
'notify::pixels': (pspec: GObject.ParamSpec) => void;
|
|
342
|
+
'notify::rowstride': (pspec: GObject.ParamSpec) => void;
|
|
343
|
+
'notify::width': (pspec: GObject.ParamSpec) => void;
|
|
344
|
+
}
|
|
345
|
+
|
|
331
346
|
// Constructor properties interface
|
|
332
347
|
|
|
333
348
|
interface ConstructorProps
|
|
@@ -553,6 +568,15 @@ export namespace GdkPixbuf {
|
|
|
553
568
|
*/
|
|
554
569
|
get width(): number;
|
|
555
570
|
|
|
571
|
+
/**
|
|
572
|
+
* Compile-time signal type information.
|
|
573
|
+
*
|
|
574
|
+
* This instance property is generated only for TypeScript type checking.
|
|
575
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
576
|
+
* @internal
|
|
577
|
+
*/
|
|
578
|
+
$signals: Pixbuf.SignalSignatures;
|
|
579
|
+
|
|
556
580
|
// Constructors
|
|
557
581
|
|
|
558
582
|
constructor(properties?: Partial<Pixbuf.ConstructorProps>, ...args: any[]);
|
|
@@ -624,6 +648,24 @@ export namespace GdkPixbuf {
|
|
|
624
648
|
|
|
625
649
|
static new_from_xpm_data(data: string[]): Pixbuf;
|
|
626
650
|
|
|
651
|
+
// Signals
|
|
652
|
+
|
|
653
|
+
connect<K extends keyof Pixbuf.SignalSignatures>(
|
|
654
|
+
signal: K,
|
|
655
|
+
callback: GObject.SignalCallback<this, Pixbuf.SignalSignatures[K]>,
|
|
656
|
+
): number;
|
|
657
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
658
|
+
connect_after<K extends keyof Pixbuf.SignalSignatures>(
|
|
659
|
+
signal: K,
|
|
660
|
+
callback: GObject.SignalCallback<this, Pixbuf.SignalSignatures[K]>,
|
|
661
|
+
): number;
|
|
662
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
663
|
+
emit<K extends keyof Pixbuf.SignalSignatures>(
|
|
664
|
+
signal: K,
|
|
665
|
+
...args: GObject.GjsParameters<Pixbuf.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
666
|
+
): void;
|
|
667
|
+
emit(signal: string, ...args: any[]): void;
|
|
668
|
+
|
|
627
669
|
// Static methods
|
|
628
670
|
|
|
629
671
|
/**
|
|
@@ -1536,7 +1578,21 @@ export namespace GdkPixbuf {
|
|
|
1536
1578
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1537
1579
|
*/
|
|
1538
1580
|
get_data(key: string): any | null;
|
|
1539
|
-
|
|
1581
|
+
/**
|
|
1582
|
+
* Gets a property of an object.
|
|
1583
|
+
*
|
|
1584
|
+
* The value can be:
|
|
1585
|
+
* - 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)
|
|
1586
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
1587
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
1588
|
+
*
|
|
1589
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
1590
|
+
*
|
|
1591
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
1592
|
+
* @param property_name The name of the property to get
|
|
1593
|
+
* @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
|
|
1594
|
+
*/
|
|
1595
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
1540
1596
|
/**
|
|
1541
1597
|
* This function gets back user data pointers stored via
|
|
1542
1598
|
* g_object_set_qdata().
|
|
@@ -1664,7 +1720,12 @@ export namespace GdkPixbuf {
|
|
|
1664
1720
|
* @param data data to associate with that key
|
|
1665
1721
|
*/
|
|
1666
1722
|
set_data(key: string, data?: any | null): void;
|
|
1667
|
-
|
|
1723
|
+
/**
|
|
1724
|
+
* Sets a property on an object.
|
|
1725
|
+
* @param property_name The name of the property to set
|
|
1726
|
+
* @param value The value to set the property to
|
|
1727
|
+
*/
|
|
1728
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
1668
1729
|
/**
|
|
1669
1730
|
* Remove a specified datum from the object's data associations,
|
|
1670
1731
|
* without invoking the association's destroy handler.
|
|
@@ -1814,14 +1875,37 @@ export namespace GdkPixbuf {
|
|
|
1814
1875
|
* @param pspec
|
|
1815
1876
|
*/
|
|
1816
1877
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
1878
|
+
/**
|
|
1879
|
+
* 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.
|
|
1880
|
+
* @param id Handler ID of the handler to be disconnected
|
|
1881
|
+
*/
|
|
1817
1882
|
disconnect(id: number): void;
|
|
1883
|
+
/**
|
|
1884
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
1885
|
+
* @param properties Object containing the properties to set
|
|
1886
|
+
*/
|
|
1818
1887
|
set(properties: { [key: string]: any }): void;
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1888
|
+
/**
|
|
1889
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
1890
|
+
* @param id Handler ID of the handler to be blocked
|
|
1891
|
+
*/
|
|
1892
|
+
block_signal_handler(id: number): void;
|
|
1893
|
+
/**
|
|
1894
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
1895
|
+
* @param id Handler ID of the handler to be unblocked
|
|
1896
|
+
*/
|
|
1897
|
+
unblock_signal_handler(id: number): void;
|
|
1898
|
+
/**
|
|
1899
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
1900
|
+
* @param detailedName Name of the signal to stop emission of
|
|
1901
|
+
*/
|
|
1902
|
+
stop_emission_by_name(detailedName: string): void;
|
|
1822
1903
|
}
|
|
1823
1904
|
|
|
1824
1905
|
namespace PixbufAnimation {
|
|
1906
|
+
// Signal signatures
|
|
1907
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
1908
|
+
|
|
1825
1909
|
// Constructor properties interface
|
|
1826
1910
|
|
|
1827
1911
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -1845,6 +1929,15 @@ export namespace GdkPixbuf {
|
|
|
1845
1929
|
class PixbufAnimation extends GObject.Object {
|
|
1846
1930
|
static $gtype: GObject.GType<PixbufAnimation>;
|
|
1847
1931
|
|
|
1932
|
+
/**
|
|
1933
|
+
* Compile-time signal type information.
|
|
1934
|
+
*
|
|
1935
|
+
* This instance property is generated only for TypeScript type checking.
|
|
1936
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
1937
|
+
* @internal
|
|
1938
|
+
*/
|
|
1939
|
+
$signals: PixbufAnimation.SignalSignatures;
|
|
1940
|
+
|
|
1848
1941
|
// Constructors
|
|
1849
1942
|
|
|
1850
1943
|
constructor(properties?: Partial<PixbufAnimation.ConstructorProps>, ...args: any[]);
|
|
@@ -1859,6 +1952,24 @@ export namespace GdkPixbuf {
|
|
|
1859
1952
|
|
|
1860
1953
|
static new_from_stream_finish(async_result: Gio.AsyncResult): PixbufAnimation;
|
|
1861
1954
|
|
|
1955
|
+
// Signals
|
|
1956
|
+
|
|
1957
|
+
connect<K extends keyof PixbufAnimation.SignalSignatures>(
|
|
1958
|
+
signal: K,
|
|
1959
|
+
callback: GObject.SignalCallback<this, PixbufAnimation.SignalSignatures[K]>,
|
|
1960
|
+
): number;
|
|
1961
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1962
|
+
connect_after<K extends keyof PixbufAnimation.SignalSignatures>(
|
|
1963
|
+
signal: K,
|
|
1964
|
+
callback: GObject.SignalCallback<this, PixbufAnimation.SignalSignatures[K]>,
|
|
1965
|
+
): number;
|
|
1966
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1967
|
+
emit<K extends keyof PixbufAnimation.SignalSignatures>(
|
|
1968
|
+
signal: K,
|
|
1969
|
+
...args: GObject.GjsParameters<PixbufAnimation.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
1970
|
+
): void;
|
|
1971
|
+
emit(signal: string, ...args: any[]): void;
|
|
1972
|
+
|
|
1862
1973
|
// Static methods
|
|
1863
1974
|
|
|
1864
1975
|
/**
|
|
@@ -2029,6 +2140,9 @@ export namespace GdkPixbuf {
|
|
|
2029
2140
|
}
|
|
2030
2141
|
|
|
2031
2142
|
namespace PixbufAnimationIter {
|
|
2143
|
+
// Signal signatures
|
|
2144
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
2145
|
+
|
|
2032
2146
|
// Constructor properties interface
|
|
2033
2147
|
|
|
2034
2148
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -2041,12 +2155,41 @@ export namespace GdkPixbuf {
|
|
|
2041
2155
|
class PixbufAnimationIter extends GObject.Object {
|
|
2042
2156
|
static $gtype: GObject.GType<PixbufAnimationIter>;
|
|
2043
2157
|
|
|
2158
|
+
/**
|
|
2159
|
+
* Compile-time signal type information.
|
|
2160
|
+
*
|
|
2161
|
+
* This instance property is generated only for TypeScript type checking.
|
|
2162
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
2163
|
+
* @internal
|
|
2164
|
+
*/
|
|
2165
|
+
$signals: PixbufAnimationIter.SignalSignatures;
|
|
2166
|
+
|
|
2044
2167
|
// Constructors
|
|
2045
2168
|
|
|
2046
2169
|
constructor(properties?: Partial<PixbufAnimationIter.ConstructorProps>, ...args: any[]);
|
|
2047
2170
|
|
|
2048
2171
|
_init(...args: any[]): void;
|
|
2049
2172
|
|
|
2173
|
+
// Signals
|
|
2174
|
+
|
|
2175
|
+
connect<K extends keyof PixbufAnimationIter.SignalSignatures>(
|
|
2176
|
+
signal: K,
|
|
2177
|
+
callback: GObject.SignalCallback<this, PixbufAnimationIter.SignalSignatures[K]>,
|
|
2178
|
+
): number;
|
|
2179
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2180
|
+
connect_after<K extends keyof PixbufAnimationIter.SignalSignatures>(
|
|
2181
|
+
signal: K,
|
|
2182
|
+
callback: GObject.SignalCallback<this, PixbufAnimationIter.SignalSignatures[K]>,
|
|
2183
|
+
): number;
|
|
2184
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2185
|
+
emit<K extends keyof PixbufAnimationIter.SignalSignatures>(
|
|
2186
|
+
signal: K,
|
|
2187
|
+
...args: GObject.GjsParameters<PixbufAnimationIter.SignalSignatures[K]> extends [any, ...infer Q]
|
|
2188
|
+
? Q
|
|
2189
|
+
: never
|
|
2190
|
+
): void;
|
|
2191
|
+
emit(signal: string, ...args: any[]): void;
|
|
2192
|
+
|
|
2050
2193
|
// Virtual methods
|
|
2051
2194
|
|
|
2052
2195
|
/**
|
|
@@ -2187,22 +2330,12 @@ export namespace GdkPixbuf {
|
|
|
2187
2330
|
}
|
|
2188
2331
|
|
|
2189
2332
|
namespace PixbufLoader {
|
|
2190
|
-
// Signal
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
(
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
interface AreaUpdated {
|
|
2197
|
-
(x: number, y: number, width: number, height: number): void;
|
|
2198
|
-
}
|
|
2199
|
-
|
|
2200
|
-
interface Closed {
|
|
2201
|
-
(): void;
|
|
2202
|
-
}
|
|
2203
|
-
|
|
2204
|
-
interface SizePrepared {
|
|
2205
|
-
(width: number, height: number): void;
|
|
2333
|
+
// Signal signatures
|
|
2334
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
2335
|
+
'area-prepared': () => void;
|
|
2336
|
+
'area-updated': (arg0: number, arg1: number, arg2: number, arg3: number) => void;
|
|
2337
|
+
closed: () => void;
|
|
2338
|
+
'size-prepared': (arg0: number, arg1: number) => void;
|
|
2206
2339
|
}
|
|
2207
2340
|
|
|
2208
2341
|
// Constructor properties interface
|
|
@@ -2260,6 +2393,15 @@ export namespace GdkPixbuf {
|
|
|
2260
2393
|
class PixbufLoader extends GObject.Object {
|
|
2261
2394
|
static $gtype: GObject.GType<PixbufLoader>;
|
|
2262
2395
|
|
|
2396
|
+
/**
|
|
2397
|
+
* Compile-time signal type information.
|
|
2398
|
+
*
|
|
2399
|
+
* This instance property is generated only for TypeScript type checking.
|
|
2400
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
2401
|
+
* @internal
|
|
2402
|
+
*/
|
|
2403
|
+
$signals: PixbufLoader.SignalSignatures;
|
|
2404
|
+
|
|
2263
2405
|
// Constructors
|
|
2264
2406
|
|
|
2265
2407
|
constructor(properties?: Partial<PixbufLoader.ConstructorProps>, ...args: any[]);
|
|
@@ -2274,30 +2416,21 @@ export namespace GdkPixbuf {
|
|
|
2274
2416
|
|
|
2275
2417
|
// Signals
|
|
2276
2418
|
|
|
2277
|
-
connect
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
connect(signal: 'area-prepared', callback: (_source: this) => void): number;
|
|
2281
|
-
connect_after(signal: 'area-prepared', callback: (_source: this) => void): number;
|
|
2282
|
-
emit(signal: 'area-prepared'): void;
|
|
2283
|
-
connect(
|
|
2284
|
-
signal: 'area-updated',
|
|
2285
|
-
callback: (_source: this, x: number, y: number, width: number, height: number) => void,
|
|
2419
|
+
connect<K extends keyof PixbufLoader.SignalSignatures>(
|
|
2420
|
+
signal: K,
|
|
2421
|
+
callback: GObject.SignalCallback<this, PixbufLoader.SignalSignatures[K]>,
|
|
2286
2422
|
): number;
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2423
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2424
|
+
connect_after<K extends keyof PixbufLoader.SignalSignatures>(
|
|
2425
|
+
signal: K,
|
|
2426
|
+
callback: GObject.SignalCallback<this, PixbufLoader.SignalSignatures[K]>,
|
|
2290
2427
|
): number;
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
signal: 'size-prepared',
|
|
2298
|
-
callback: (_source: this, width: number, height: number) => void,
|
|
2299
|
-
): number;
|
|
2300
|
-
emit(signal: 'size-prepared', width: number, height: number): void;
|
|
2428
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2429
|
+
emit<K extends keyof PixbufLoader.SignalSignatures>(
|
|
2430
|
+
signal: K,
|
|
2431
|
+
...args: GObject.GjsParameters<PixbufLoader.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
2432
|
+
): void;
|
|
2433
|
+
emit(signal: string, ...args: any[]): void;
|
|
2301
2434
|
|
|
2302
2435
|
// Virtual methods
|
|
2303
2436
|
|
|
@@ -2392,6 +2525,9 @@ export namespace GdkPixbuf {
|
|
|
2392
2525
|
}
|
|
2393
2526
|
|
|
2394
2527
|
namespace PixbufNonAnim {
|
|
2528
|
+
// Signal signatures
|
|
2529
|
+
interface SignalSignatures extends PixbufAnimation.SignalSignatures {}
|
|
2530
|
+
|
|
2395
2531
|
// Constructor properties interface
|
|
2396
2532
|
|
|
2397
2533
|
interface ConstructorProps extends PixbufAnimation.ConstructorProps {}
|
|
@@ -2400,6 +2536,15 @@ export namespace GdkPixbuf {
|
|
|
2400
2536
|
class PixbufNonAnim extends PixbufAnimation {
|
|
2401
2537
|
static $gtype: GObject.GType<PixbufNonAnim>;
|
|
2402
2538
|
|
|
2539
|
+
/**
|
|
2540
|
+
* Compile-time signal type information.
|
|
2541
|
+
*
|
|
2542
|
+
* This instance property is generated only for TypeScript type checking.
|
|
2543
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
2544
|
+
* @internal
|
|
2545
|
+
*/
|
|
2546
|
+
$signals: PixbufNonAnim.SignalSignatures;
|
|
2547
|
+
|
|
2403
2548
|
// Constructors
|
|
2404
2549
|
|
|
2405
2550
|
constructor(properties?: Partial<PixbufNonAnim.ConstructorProps>, ...args: any[]);
|
|
@@ -2407,9 +2552,32 @@ export namespace GdkPixbuf {
|
|
|
2407
2552
|
_init(...args: any[]): void;
|
|
2408
2553
|
|
|
2409
2554
|
static ['new'](pixbuf: Pixbuf): PixbufNonAnim;
|
|
2555
|
+
|
|
2556
|
+
// Signals
|
|
2557
|
+
|
|
2558
|
+
connect<K extends keyof PixbufNonAnim.SignalSignatures>(
|
|
2559
|
+
signal: K,
|
|
2560
|
+
callback: GObject.SignalCallback<this, PixbufNonAnim.SignalSignatures[K]>,
|
|
2561
|
+
): number;
|
|
2562
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2563
|
+
connect_after<K extends keyof PixbufNonAnim.SignalSignatures>(
|
|
2564
|
+
signal: K,
|
|
2565
|
+
callback: GObject.SignalCallback<this, PixbufNonAnim.SignalSignatures[K]>,
|
|
2566
|
+
): number;
|
|
2567
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2568
|
+
emit<K extends keyof PixbufNonAnim.SignalSignatures>(
|
|
2569
|
+
signal: K,
|
|
2570
|
+
...args: GObject.GjsParameters<PixbufNonAnim.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
2571
|
+
): void;
|
|
2572
|
+
emit(signal: string, ...args: any[]): void;
|
|
2410
2573
|
}
|
|
2411
2574
|
|
|
2412
2575
|
namespace PixbufSimpleAnim {
|
|
2576
|
+
// Signal signatures
|
|
2577
|
+
interface SignalSignatures extends PixbufAnimation.SignalSignatures {
|
|
2578
|
+
'notify::loop': (pspec: GObject.ParamSpec) => void;
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2413
2581
|
// Constructor properties interface
|
|
2414
2582
|
|
|
2415
2583
|
interface ConstructorProps extends PixbufAnimation.ConstructorProps {
|
|
@@ -2431,6 +2599,15 @@ export namespace GdkPixbuf {
|
|
|
2431
2599
|
get loop(): boolean;
|
|
2432
2600
|
set loop(val: boolean);
|
|
2433
2601
|
|
|
2602
|
+
/**
|
|
2603
|
+
* Compile-time signal type information.
|
|
2604
|
+
*
|
|
2605
|
+
* This instance property is generated only for TypeScript type checking.
|
|
2606
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
2607
|
+
* @internal
|
|
2608
|
+
*/
|
|
2609
|
+
$signals: PixbufSimpleAnim.SignalSignatures;
|
|
2610
|
+
|
|
2434
2611
|
// Constructors
|
|
2435
2612
|
|
|
2436
2613
|
constructor(properties?: Partial<PixbufSimpleAnim.ConstructorProps>, ...args: any[]);
|
|
@@ -2439,6 +2616,24 @@ export namespace GdkPixbuf {
|
|
|
2439
2616
|
|
|
2440
2617
|
static ['new'](width: number, height: number, rate: number): PixbufSimpleAnim;
|
|
2441
2618
|
|
|
2619
|
+
// Signals
|
|
2620
|
+
|
|
2621
|
+
connect<K extends keyof PixbufSimpleAnim.SignalSignatures>(
|
|
2622
|
+
signal: K,
|
|
2623
|
+
callback: GObject.SignalCallback<this, PixbufSimpleAnim.SignalSignatures[K]>,
|
|
2624
|
+
): number;
|
|
2625
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2626
|
+
connect_after<K extends keyof PixbufSimpleAnim.SignalSignatures>(
|
|
2627
|
+
signal: K,
|
|
2628
|
+
callback: GObject.SignalCallback<this, PixbufSimpleAnim.SignalSignatures[K]>,
|
|
2629
|
+
): number;
|
|
2630
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2631
|
+
emit<K extends keyof PixbufSimpleAnim.SignalSignatures>(
|
|
2632
|
+
signal: K,
|
|
2633
|
+
...args: GObject.GjsParameters<PixbufSimpleAnim.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
2634
|
+
): void;
|
|
2635
|
+
emit(signal: string, ...args: any[]): void;
|
|
2636
|
+
|
|
2442
2637
|
// Methods
|
|
2443
2638
|
|
|
2444
2639
|
/**
|
|
@@ -2461,6 +2656,9 @@ export namespace GdkPixbuf {
|
|
|
2461
2656
|
}
|
|
2462
2657
|
|
|
2463
2658
|
namespace PixbufSimpleAnimIter {
|
|
2659
|
+
// Signal signatures
|
|
2660
|
+
interface SignalSignatures extends PixbufAnimationIter.SignalSignatures {}
|
|
2661
|
+
|
|
2464
2662
|
// Constructor properties interface
|
|
2465
2663
|
|
|
2466
2664
|
interface ConstructorProps extends PixbufAnimationIter.ConstructorProps {}
|
|
@@ -2469,11 +2667,40 @@ export namespace GdkPixbuf {
|
|
|
2469
2667
|
class PixbufSimpleAnimIter extends PixbufAnimationIter {
|
|
2470
2668
|
static $gtype: GObject.GType<PixbufSimpleAnimIter>;
|
|
2471
2669
|
|
|
2670
|
+
/**
|
|
2671
|
+
* Compile-time signal type information.
|
|
2672
|
+
*
|
|
2673
|
+
* This instance property is generated only for TypeScript type checking.
|
|
2674
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
2675
|
+
* @internal
|
|
2676
|
+
*/
|
|
2677
|
+
$signals: PixbufSimpleAnimIter.SignalSignatures;
|
|
2678
|
+
|
|
2472
2679
|
// Constructors
|
|
2473
2680
|
|
|
2474
2681
|
constructor(properties?: Partial<PixbufSimpleAnimIter.ConstructorProps>, ...args: any[]);
|
|
2475
2682
|
|
|
2476
2683
|
_init(...args: any[]): void;
|
|
2684
|
+
|
|
2685
|
+
// Signals
|
|
2686
|
+
|
|
2687
|
+
connect<K extends keyof PixbufSimpleAnimIter.SignalSignatures>(
|
|
2688
|
+
signal: K,
|
|
2689
|
+
callback: GObject.SignalCallback<this, PixbufSimpleAnimIter.SignalSignatures[K]>,
|
|
2690
|
+
): number;
|
|
2691
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2692
|
+
connect_after<K extends keyof PixbufSimpleAnimIter.SignalSignatures>(
|
|
2693
|
+
signal: K,
|
|
2694
|
+
callback: GObject.SignalCallback<this, PixbufSimpleAnimIter.SignalSignatures[K]>,
|
|
2695
|
+
): number;
|
|
2696
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2697
|
+
emit<K extends keyof PixbufSimpleAnimIter.SignalSignatures>(
|
|
2698
|
+
signal: K,
|
|
2699
|
+
...args: GObject.GjsParameters<PixbufSimpleAnimIter.SignalSignatures[K]> extends [any, ...infer Q]
|
|
2700
|
+
? Q
|
|
2701
|
+
: never
|
|
2702
|
+
): void;
|
|
2703
|
+
emit(signal: string, ...args: any[]): void;
|
|
2477
2704
|
}
|
|
2478
2705
|
|
|
2479
2706
|
type PixbufAnimationClass = typeof PixbufAnimation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gdkpixbuf-2.0",
|
|
3
|
-
"version": "2.0.0-4.0.0-beta.
|
|
3
|
+
"version": "2.0.0-4.0.0-beta.24",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GdkPixbuf-2.0, generated from library version 2.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gdkpixbuf-2.0.js",
|
|
@@ -31,11 +31,11 @@
|
|
|
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/gobject-2.0": "^2.
|
|
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/gobject-2.0": "^2.84.2-4.0.0-beta.24"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"typescript": "*"
|