@girs/clutter-16 16.0.0-4.0.0-beta.35 → 16.0.0-4.0.0-beta.37
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/clutter-16-import.d.ts +1 -9
- package/clutter-16.d.ts +25 -22
- package/index.d.ts +0 -2
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Clutter-16, generated from library version 16.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for Clutter-16, generated from library version 16.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.37.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
package/clutter-16-import.d.ts
CHANGED
|
@@ -1,9 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
export interface GjsGiImports {
|
|
5
|
-
Clutter: typeof Clutter16;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export default GjsGiImports;
|
|
1
|
+
// Module import type definition not generated, otherwise this would cause a type conflict, this is because several GIR modules were generated with the same namespace: "Clutter"
|
package/clutter-16.d.ts
CHANGED
|
@@ -5105,7 +5105,7 @@ export namespace Clutter {
|
|
|
5105
5105
|
|
|
5106
5106
|
// Constructor properties interface
|
|
5107
5107
|
|
|
5108
|
-
interface ConstructorProps
|
|
5108
|
+
interface ConstructorProps<A extends LayoutManager = LayoutManager, B extends Content = Content>
|
|
5109
5109
|
extends GObject.InitiallyUnowned.ConstructorProps,
|
|
5110
5110
|
Atk.ImplementorIface.ConstructorProps,
|
|
5111
5111
|
Animatable.ConstructorProps {
|
|
@@ -5130,7 +5130,7 @@ export namespace Clutter {
|
|
|
5130
5130
|
color_state: ColorState;
|
|
5131
5131
|
colorState: ColorState;
|
|
5132
5132
|
constraints: Constraint;
|
|
5133
|
-
content:
|
|
5133
|
+
content: B;
|
|
5134
5134
|
content_box: ActorBox;
|
|
5135
5135
|
contentBox: ActorBox;
|
|
5136
5136
|
content_gravity: ContentGravity;
|
|
@@ -5154,8 +5154,8 @@ export namespace Clutter {
|
|
|
5154
5154
|
height: number;
|
|
5155
5155
|
last_child: Actor;
|
|
5156
5156
|
lastChild: Actor;
|
|
5157
|
-
layout_manager:
|
|
5158
|
-
layoutManager:
|
|
5157
|
+
layout_manager: A;
|
|
5158
|
+
layoutManager: A;
|
|
5159
5159
|
magnification_filter: ScalingFilter;
|
|
5160
5160
|
magnificationFilter: ScalingFilter;
|
|
5161
5161
|
mapped: boolean;
|
|
@@ -5693,7 +5693,10 @@ export namespace Clutter {
|
|
|
5693
5693
|
* }
|
|
5694
5694
|
* ```
|
|
5695
5695
|
*/
|
|
5696
|
-
class Actor extends
|
|
5696
|
+
class Actor<A extends LayoutManager = LayoutManager, B extends Content = Content>
|
|
5697
|
+
extends GObject.InitiallyUnowned
|
|
5698
|
+
implements Atk.ImplementorIface, Animatable
|
|
5699
|
+
{
|
|
5697
5700
|
static $gtype: GObject.GType<Actor>;
|
|
5698
5701
|
|
|
5699
5702
|
// Properties
|
|
@@ -5845,8 +5848,8 @@ export namespace Clutter {
|
|
|
5845
5848
|
* The #ClutterContent implementation that controls the content
|
|
5846
5849
|
* of the actor.
|
|
5847
5850
|
*/
|
|
5848
|
-
get content():
|
|
5849
|
-
set content(val:
|
|
5851
|
+
get content(): B;
|
|
5852
|
+
set content(val: B);
|
|
5850
5853
|
/**
|
|
5851
5854
|
* The bounding box for the #ClutterContent used by the actor.
|
|
5852
5855
|
*
|
|
@@ -6010,14 +6013,14 @@ export namespace Clutter {
|
|
|
6010
6013
|
* A delegate object for controlling the layout of the children of
|
|
6011
6014
|
* an actor.
|
|
6012
6015
|
*/
|
|
6013
|
-
get layout_manager():
|
|
6014
|
-
set layout_manager(val:
|
|
6016
|
+
get layout_manager(): A;
|
|
6017
|
+
set layout_manager(val: A);
|
|
6015
6018
|
/**
|
|
6016
6019
|
* A delegate object for controlling the layout of the children of
|
|
6017
6020
|
* an actor.
|
|
6018
6021
|
*/
|
|
6019
|
-
get layoutManager():
|
|
6020
|
-
set layoutManager(val:
|
|
6022
|
+
get layoutManager(): A;
|
|
6023
|
+
set layoutManager(val: A);
|
|
6021
6024
|
get magnification_filter(): ScalingFilter;
|
|
6022
6025
|
set magnification_filter(val: ScalingFilter);
|
|
6023
6026
|
get magnificationFilter(): ScalingFilter;
|
|
@@ -7633,7 +7636,7 @@ export namespace Clutter {
|
|
|
7633
7636
|
* Retrieves the contents of `self`.
|
|
7634
7637
|
* @returns a pointer to the #ClutterContent instance, or %NULL if none was set
|
|
7635
7638
|
*/
|
|
7636
|
-
get_content():
|
|
7639
|
+
get_content(): B | null;
|
|
7637
7640
|
/**
|
|
7638
7641
|
* Retrieves the bounding box for the #ClutterContent of `self`.
|
|
7639
7642
|
*
|
|
@@ -7754,7 +7757,7 @@ export namespace Clutter {
|
|
|
7754
7757
|
* Retrieves the #ClutterLayoutManager used by `self`.
|
|
7755
7758
|
* @returns a pointer to the #ClutterLayoutManager, or %NULL
|
|
7756
7759
|
*/
|
|
7757
|
-
get_layout_manager():
|
|
7760
|
+
get_layout_manager(): A | null;
|
|
7758
7761
|
/**
|
|
7759
7762
|
* Retrieves all the components of the margin of a #ClutterActor.
|
|
7760
7763
|
*/
|
|
@@ -8796,7 +8799,7 @@ export namespace Clutter {
|
|
|
8796
8799
|
* Sets the contents of a #ClutterActor.
|
|
8797
8800
|
* @param content a #ClutterContent, or %NULL
|
|
8798
8801
|
*/
|
|
8799
|
-
set_content(content?:
|
|
8802
|
+
set_content(content?: B | null): void;
|
|
8800
8803
|
/**
|
|
8801
8804
|
* Sets the gravity of the #ClutterContent used by `self`.
|
|
8802
8805
|
*
|
|
@@ -8869,7 +8872,7 @@ export namespace Clutter {
|
|
|
8869
8872
|
* the actor is destroyed.
|
|
8870
8873
|
* @param manager a #ClutterLayoutManager, or %NULL to unset it
|
|
8871
8874
|
*/
|
|
8872
|
-
set_layout_manager(manager?:
|
|
8875
|
+
set_layout_manager(manager?: A | null): void;
|
|
8873
8876
|
/**
|
|
8874
8877
|
* Sets all the components of the margin of a #ClutterActor.
|
|
8875
8878
|
* @param margin a #ClutterMargin
|
|
@@ -12267,11 +12270,11 @@ export namespace Clutter {
|
|
|
12267
12270
|
|
|
12268
12271
|
// Constructor properties interface
|
|
12269
12272
|
|
|
12270
|
-
interface ConstructorProps
|
|
12273
|
+
interface ConstructorProps<A extends Actor = Actor>
|
|
12271
12274
|
extends Actor.ConstructorProps,
|
|
12272
12275
|
Atk.ImplementorIface.ConstructorProps,
|
|
12273
12276
|
Animatable.ConstructorProps {
|
|
12274
|
-
source:
|
|
12277
|
+
source: A;
|
|
12275
12278
|
}
|
|
12276
12279
|
}
|
|
12277
12280
|
|
|
@@ -12286,7 +12289,7 @@ export namespace Clutter {
|
|
|
12286
12289
|
* #ClutterClone does not require the presence of support for FBOs
|
|
12287
12290
|
* in the underlying GL or GLES implementation.
|
|
12288
12291
|
*/
|
|
12289
|
-
class Clone extends Actor implements Atk.ImplementorIface, Animatable {
|
|
12292
|
+
class Clone<A extends Actor = Actor> extends Actor implements Atk.ImplementorIface, Animatable {
|
|
12290
12293
|
static $gtype: GObject.GType<Clone>;
|
|
12291
12294
|
|
|
12292
12295
|
// Properties
|
|
@@ -12294,8 +12297,8 @@ export namespace Clutter {
|
|
|
12294
12297
|
/**
|
|
12295
12298
|
* This property specifies the source actor being cloned.
|
|
12296
12299
|
*/
|
|
12297
|
-
get source():
|
|
12298
|
-
set source(val:
|
|
12300
|
+
get source(): A;
|
|
12301
|
+
set source(val: A);
|
|
12299
12302
|
|
|
12300
12303
|
/**
|
|
12301
12304
|
* Compile-time signal type information.
|
|
@@ -12341,12 +12344,12 @@ export namespace Clutter {
|
|
|
12341
12344
|
* Retrieves the source #ClutterActor being cloned by `self`.
|
|
12342
12345
|
* @returns the actor source for the clone
|
|
12343
12346
|
*/
|
|
12344
|
-
get_source():
|
|
12347
|
+
get_source(): A;
|
|
12345
12348
|
/**
|
|
12346
12349
|
* Sets `source` as the source actor to be cloned by `self`.
|
|
12347
12350
|
* @param source a #ClutterActor, or %NULL
|
|
12348
12351
|
*/
|
|
12349
|
-
set_source(source?:
|
|
12352
|
+
set_source(source?: A | null): void;
|
|
12350
12353
|
|
|
12351
12354
|
// Inherited methods
|
|
12352
12355
|
/**
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/clutter-16",
|
|
3
|
-
"version": "16.0.0-4.0.0-beta.
|
|
3
|
+
"version": "16.0.0-4.0.0-beta.37",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Clutter-16, generated from library version 16.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "clutter-16.js",
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "4.0.0-beta.
|
|
35
|
-
"@girs/pango-1.0": "1.
|
|
36
|
-
"@girs/cairo-1.0": "1.0.0-4.0.0-beta.
|
|
37
|
-
"@girs/gobject-2.0": "2.
|
|
38
|
-
"@girs/glib-2.0": "2.
|
|
39
|
-
"@girs/harfbuzz-0.0": "
|
|
40
|
-
"@girs/freetype2-2.0": "2.0.0-4.0.0-beta.
|
|
41
|
-
"@girs/gio-2.0": "2.
|
|
42
|
-
"@girs/gmodule-2.0": "2.0.0-4.0.0-beta.
|
|
43
|
-
"@girs/mtk-16": "16.0.0-4.0.0-beta.
|
|
44
|
-
"@girs/graphene-1.0": "1.0.0-4.0.0-beta.
|
|
45
|
-
"@girs/gl-1.0": "1.0.0-4.0.0-beta.
|
|
46
|
-
"@girs/cogl-16": "16.0.0-4.0.0-beta.
|
|
47
|
-
"@girs/xlib-2.0": "2.0.0-4.0.0-beta.
|
|
48
|
-
"@girs/atk-1.0": "2.
|
|
34
|
+
"@girs/gjs": "4.0.0-beta.37",
|
|
35
|
+
"@girs/pango-1.0": "1.57.0-4.0.0-beta.37",
|
|
36
|
+
"@girs/cairo-1.0": "1.0.0-4.0.0-beta.37",
|
|
37
|
+
"@girs/gobject-2.0": "2.86.0-4.0.0-beta.37",
|
|
38
|
+
"@girs/glib-2.0": "2.86.0-4.0.0-beta.37",
|
|
39
|
+
"@girs/harfbuzz-0.0": "11.5.0-4.0.0-beta.37",
|
|
40
|
+
"@girs/freetype2-2.0": "2.0.0-4.0.0-beta.37",
|
|
41
|
+
"@girs/gio-2.0": "2.86.0-4.0.0-beta.37",
|
|
42
|
+
"@girs/gmodule-2.0": "2.0.0-4.0.0-beta.37",
|
|
43
|
+
"@girs/mtk-16": "16.0.0-4.0.0-beta.37",
|
|
44
|
+
"@girs/graphene-1.0": "1.0.0-4.0.0-beta.37",
|
|
45
|
+
"@girs/gl-1.0": "1.0.0-4.0.0-beta.37",
|
|
46
|
+
"@girs/cogl-16": "16.0.0-4.0.0-beta.37",
|
|
47
|
+
"@girs/xlib-2.0": "2.0.0-4.0.0-beta.37",
|
|
48
|
+
"@girs/atk-1.0": "2.58.0-4.0.0-beta.37" },
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"typescript": "*"
|
|
51
51
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"license": "MIT",
|
|
55
55
|
"repository": {
|
|
56
56
|
"type": "git",
|
|
57
|
-
"url": "https://github.com/gjsify/types.git"
|
|
57
|
+
"url": "git+https://github.com/gjsify/types.git"
|
|
58
58
|
},
|
|
59
59
|
"bugs": {
|
|
60
60
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|