@girs/clutter-14 14.0.0-4.0.0-beta.39 → 14.0.0-4.0.0-beta.40

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/clutter-14.d.ts +143 -330
  3. package/package.json +18 -18
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/clutter-14)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Clutter-14, generated from library version 14.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.39.
8
+ GJS TypeScript type definitions for Clutter-14, generated from library version 14.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.40.
9
9
 
10
10
  ## Install
11
11
 
package/clutter-14.d.ts CHANGED
@@ -32,15 +32,9 @@ export namespace Clutter {
32
32
  * Clutter-14
33
33
  */
34
34
 
35
- /**
36
- * Controls how a #ClutterActor should align itself inside the extra space
37
- * assigned to it during the allocation.
38
- *
39
- * Alignment only matters if the allocated space given to an actor is
40
- * bigger than its natural size; for example, when
41
- * the [property`Clutter`.Actor:x-expand] or the [property`Clutter`.Actor:y-expand]
42
- * properties of #ClutterActor are set to %TRUE.
43
- */
35
+ export namespace ActorAlign {
36
+ export const $gtype: GObject.GType<ActorAlign>;
37
+ }
44
38
 
45
39
  /**
46
40
  * Controls how a #ClutterActor should align itself inside the extra space
@@ -51,10 +45,6 @@ export namespace Clutter {
51
45
  * the [property`Clutter`.Actor:x-expand] or the [property`Clutter`.Actor:y-expand]
52
46
  * properties of #ClutterActor are set to %TRUE.
53
47
  */
54
- export namespace ActorAlign {
55
- export const $gtype: GObject.GType<ActorAlign>;
56
- }
57
-
58
48
  enum ActorAlign {
59
49
  /**
60
50
  * Stretch to cover the whole allocated space
@@ -77,19 +67,15 @@ export namespace Clutter {
77
67
  */
78
68
  END,
79
69
  }
80
- /**
81
- * Specifies the axis on which #ClutterAlignConstraint should maintain
82
- * the alignment.
83
- */
84
70
 
85
- /**
86
- * Specifies the axis on which #ClutterAlignConstraint should maintain
87
- * the alignment.
88
- */
89
71
  export namespace AlignAxis {
90
72
  export const $gtype: GObject.GType<AlignAxis>;
91
73
  }
92
74
 
75
+ /**
76
+ * Specifies the axis on which #ClutterAlignConstraint should maintain
77
+ * the alignment.
78
+ */
93
79
  enum AlignAxis {
94
80
  /**
95
81
  * Maintain the alignment on the X axis
@@ -104,20 +90,10 @@ export namespace Clutter {
104
90
  */
105
91
  BOTH,
106
92
  }
107
- /**
108
- * The animation modes used by [iface`Animatable]`.
109
- *
110
- * This enumeration can be expanded in later versions of Clutter.
111
- *
112
- * <figure id="easing-modes">
113
- * <title>Easing modes provided by Clutter</title>
114
- * <graphic fileref="easing-modes.png" format="PNG"/>
115
- * </figure>
116
- *
117
- * Every global alpha function registered using clutter_alpha_register_func()
118
- * or clutter_alpha_register_closure() will have a logical id greater than
119
- * %CLUTTER_ANIMATION_LAST.
120
- */
93
+
94
+ export namespace AnimationMode {
95
+ export const $gtype: GObject.GType<AnimationMode>;
96
+ }
121
97
 
122
98
  /**
123
99
  * The animation modes used by [iface`Animatable]`.
@@ -133,10 +109,6 @@ export namespace Clutter {
133
109
  * or clutter_alpha_register_closure() will have a logical id greater than
134
110
  * %CLUTTER_ANIMATION_LAST.
135
111
  */
136
- export namespace AnimationMode {
137
- export const $gtype: GObject.GType<AnimationMode>;
138
- }
139
-
140
112
  enum AnimationMode {
141
113
  /**
142
114
  * custom progress function
@@ -332,17 +304,14 @@ export namespace Clutter {
332
304
  */
333
305
  ANIMATION_LAST,
334
306
  }
335
- /**
336
- * Specifies which property should be used in a binding
337
- */
338
307
 
339
- /**
340
- * Specifies which property should be used in a binding
341
- */
342
308
  export namespace BindCoordinate {
343
309
  export const $gtype: GObject.GType<BindCoordinate>;
344
310
  }
345
311
 
312
+ /**
313
+ * Specifies which property should be used in a binding
314
+ */
346
315
  enum BindCoordinate {
347
316
  /**
348
317
  * Bind the X coordinate
@@ -385,17 +354,14 @@ export namespace Clutter {
385
354
  RELEASED,
386
355
  PRESSED,
387
356
  }
388
- /**
389
- * Colorspace information.
390
- */
391
357
 
392
- /**
393
- * Colorspace information.
394
- */
395
358
  export namespace Colorspace {
396
359
  export const $gtype: GObject.GType<Colorspace>;
397
360
  }
398
361
 
362
+ /**
363
+ * Colorspace information.
364
+ */
399
365
  enum Colorspace {
400
366
  /**
401
367
  * Unknown colorspace
@@ -410,17 +376,14 @@ export namespace Clutter {
410
376
  */
411
377
  BT2020,
412
378
  }
413
- /**
414
- * Controls the alignment of the #ClutterContent inside a #ClutterActor.
415
- */
416
379
 
417
- /**
418
- * Controls the alignment of the #ClutterContent inside a #ClutterActor.
419
- */
420
380
  export namespace ContentGravity {
421
381
  export const $gtype: GObject.GType<ContentGravity>;
422
382
  }
423
383
 
384
+ /**
385
+ * Controls the alignment of the #ClutterContent inside a #ClutterActor.
386
+ */
424
387
  enum ContentGravity {
425
388
  /**
426
389
  * Align the content to the top left corner
@@ -477,17 +440,14 @@ export namespace Clutter {
477
440
  CAPTURE,
478
441
  BUBBLE,
479
442
  }
480
- /**
481
- * Types of events.
482
- */
483
443
 
484
- /**
485
- * Types of events.
486
- */
487
444
  export namespace EventType {
488
445
  export const $gtype: GObject.GType<EventType>;
489
446
  }
490
447
 
448
+ /**
449
+ * Types of events.
450
+ */
491
451
  enum EventType {
492
452
  /**
493
453
  * Empty event
@@ -611,19 +571,15 @@ export namespace Clutter {
611
571
  CANCELLED,
612
572
  CLUTTER_N_GESTURE_STATES,
613
573
  }
614
- /**
615
- * Enum passed to the [method`GestureAction`.set_threshold_trigger_edge]
616
- * function.
617
- */
618
574
 
619
- /**
620
- * Enum passed to the [method`GestureAction`.set_threshold_trigger_edge]
621
- * function.
622
- */
623
575
  export namespace GestureTriggerEdge {
624
576
  export const $gtype: GObject.GType<GestureTriggerEdge>;
625
577
  }
626
578
 
579
+ /**
580
+ * Enum passed to the [method`GestureAction`.set_threshold_trigger_edge]
581
+ * function.
582
+ */
627
583
  enum GestureTriggerEdge {
628
584
  /**
629
585
  * Tell #ClutterGestureAction that
@@ -644,17 +600,14 @@ export namespace Clutter {
644
600
  */
645
601
  BEFORE,
646
602
  }
647
- /**
648
- * Grid position modes.
649
- */
650
603
 
651
- /**
652
- * Grid position modes.
653
- */
654
604
  export namespace GridPosition {
655
605
  export const $gtype: GObject.GType<GridPosition>;
656
606
  }
657
607
 
608
+ /**
609
+ * Grid position modes.
610
+ */
658
611
  enum GridPosition {
659
612
  /**
660
613
  * left position
@@ -673,17 +626,14 @@ export namespace Clutter {
673
626
  */
674
627
  BOTTOM,
675
628
  }
676
- /**
677
- * The type of axes Clutter recognizes on a #ClutterInputDevice
678
- */
679
629
 
680
- /**
681
- * The type of axes Clutter recognizes on a #ClutterInputDevice
682
- */
683
630
  export namespace InputAxis {
684
631
  export const $gtype: GObject.GType<InputAxis>;
685
632
  }
686
633
 
634
+ /**
635
+ * The type of axes Clutter recognizes on a #ClutterInputDevice
636
+ */
687
637
  enum InputAxis {
688
638
  /**
689
639
  * Unused axis
@@ -770,17 +720,14 @@ export namespace Clutter {
770
720
  UNKNOWN,
771
721
  FINGER,
772
722
  }
773
- /**
774
- * Defines the type of tool that a #ClutterInputDeviceTool represents.8
775
- */
776
723
 
777
- /**
778
- * Defines the type of tool that a #ClutterInputDeviceTool represents.8
779
- */
780
724
  export namespace InputDeviceToolType {
781
725
  export const $gtype: GObject.GType<InputDeviceToolType>;
782
726
  }
783
727
 
728
+ /**
729
+ * Defines the type of tool that a #ClutterInputDeviceTool represents.8
730
+ */
784
731
  enum InputDeviceToolType {
785
732
  /**
786
733
  * No tool
@@ -815,12 +762,10 @@ export namespace Clutter {
815
762
  */
816
763
  LENS,
817
764
  }
818
- /**
819
- * The types of input devices available.
820
- *
821
- * The #ClutterInputDeviceType enumeration can be extended at later
822
- * date; not every platform supports every input device type.
823
- */
765
+
766
+ export namespace InputDeviceType {
767
+ export const $gtype: GObject.GType<InputDeviceType>;
768
+ }
824
769
 
825
770
  /**
826
771
  * The types of input devices available.
@@ -828,10 +773,6 @@ export namespace Clutter {
828
773
  * The #ClutterInputDeviceType enumeration can be extended at later
829
774
  * date; not every platform supports every input device type.
830
775
  */
831
- export namespace InputDeviceType {
832
- export const $gtype: GObject.GType<InputDeviceType>;
833
- }
834
-
835
776
  enum InputDeviceType {
836
777
  /**
837
778
  * A pointer device
@@ -882,17 +823,14 @@ export namespace Clutter {
882
823
  */
883
824
  N_DEVICE_TYPES,
884
825
  }
885
- /**
886
- * The mode for input devices available.
887
- */
888
826
 
889
- /**
890
- * The mode for input devices available.
891
- */
892
827
  export namespace InputMode {
893
828
  export const $gtype: GObject.GType<InputMode>;
894
829
  }
895
830
 
831
+ /**
832
+ * The mode for input devices available.
833
+ */
896
834
  enum InputMode {
897
835
  /**
898
836
  * A logical, virtual device
@@ -928,17 +866,14 @@ export namespace Clutter {
928
866
  RELEASED,
929
867
  PRESSED,
930
868
  }
931
- /**
932
- * The states for the #ClutterClickAction::long-press signal.
933
- */
934
869
 
935
- /**
936
- * The states for the #ClutterClickAction::long-press signal.
937
- */
938
870
  export namespace LongPressState {
939
871
  export const $gtype: GObject.GType<LongPressState>;
940
872
  }
941
873
 
874
+ /**
875
+ * The states for the #ClutterClickAction::long-press signal.
876
+ */
942
877
  enum LongPressState {
943
878
  /**
944
879
  * Queries the action whether it supports
@@ -954,17 +889,14 @@ export namespace Clutter {
954
889
  */
955
890
  CANCEL,
956
891
  }
957
- /**
958
- * Represents the orientation of actors or layout managers.
959
- */
960
892
 
961
- /**
962
- * Represents the orientation of actors or layout managers.
963
- */
964
893
  export namespace Orientation {
965
894
  export const $gtype: GObject.GType<Orientation>;
966
895
  }
967
896
 
897
+ /**
898
+ * Represents the orientation of actors or layout managers.
899
+ */
968
900
  enum Orientation {
969
901
  /**
970
902
  * An horizontal orientation
@@ -975,19 +907,15 @@ export namespace Clutter {
975
907
  */
976
908
  VERTICAL,
977
909
  }
978
- /**
979
- * The axis of the constraint that should be applied on the
980
- * panning action
981
- */
982
910
 
983
- /**
984
- * The axis of the constraint that should be applied on the
985
- * panning action
986
- */
987
911
  export namespace PanAxis {
988
912
  export const $gtype: GObject.GType<PanAxis>;
989
913
  }
990
914
 
915
+ /**
916
+ * The axis of the constraint that should be applied on the
917
+ * panning action
918
+ */
991
919
  enum PanAxis {
992
920
  /**
993
921
  * No constraint
@@ -1007,17 +935,14 @@ export namespace Clutter {
1007
935
  */
1008
936
  AXIS_AUTO,
1009
937
  }
1010
- /**
1011
- * Controls the paint cycle of the scene graph when in pick mode
1012
- */
1013
938
 
1014
- /**
1015
- * Controls the paint cycle of the scene graph when in pick mode
1016
- */
1017
939
  export namespace PickMode {
1018
940
  export const $gtype: GObject.GType<PickMode>;
1019
941
  }
1020
942
 
943
+ /**
944
+ * Controls the paint cycle of the scene graph when in pick mode
945
+ */
1021
946
  enum PickMode {
1022
947
  /**
1023
948
  * Do not paint any actor
@@ -1032,17 +957,14 @@ export namespace Clutter {
1032
957
  */
1033
958
  ALL,
1034
959
  }
1035
- /**
1036
- * Dwell click types.
1037
- */
1038
960
 
1039
- /**
1040
- * Dwell click types.
1041
- */
1042
961
  export namespace PointerA11yDwellClickType {
1043
962
  export const $gtype: GObject.GType<PointerA11yDwellClickType>;
1044
963
  }
1045
964
 
965
+ /**
966
+ * Dwell click types.
967
+ */
1046
968
  enum PointerA11yDwellClickType {
1047
969
  /**
1048
970
  * Internal use only
@@ -1054,17 +976,14 @@ export namespace Clutter {
1054
976
  DOUBLE,
1055
977
  DRAG,
1056
978
  }
1057
- /**
1058
- * Dwell gesture directions.
1059
- */
1060
979
 
1061
- /**
1062
- * Dwell gesture directions.
1063
- */
1064
980
  export namespace PointerA11yDwellDirection {
1065
981
  export const $gtype: GObject.GType<PointerA11yDwellDirection>;
1066
982
  }
1067
983
 
984
+ /**
985
+ * Dwell gesture directions.
986
+ */
1068
987
  enum PointerA11yDwellDirection {
1069
988
  NONE,
1070
989
  LEFT,
@@ -1072,32 +991,26 @@ export namespace Clutter {
1072
991
  UP,
1073
992
  DOWN,
1074
993
  }
1075
- /**
1076
- * Dwell mode.
1077
- */
1078
994
 
1079
- /**
1080
- * Dwell mode.
1081
- */
1082
995
  export namespace PointerA11yDwellMode {
1083
996
  export const $gtype: GObject.GType<PointerA11yDwellMode>;
1084
997
  }
1085
998
 
999
+ /**
1000
+ * Dwell mode.
1001
+ */
1086
1002
  enum PointerA11yDwellMode {
1087
1003
  WINDOW,
1088
1004
  GESTURE,
1089
1005
  }
1090
- /**
1091
- * Pointer accessibility timeout type.
1092
- */
1093
1006
 
1094
- /**
1095
- * Pointer accessibility timeout type.
1096
- */
1097
1007
  export namespace PointerA11yTimeoutType {
1098
1008
  export const $gtype: GObject.GType<PointerA11yTimeoutType>;
1099
1009
  }
1100
1010
 
1011
+ /**
1012
+ * Pointer accessibility timeout type.
1013
+ */
1101
1014
  enum PointerA11yTimeoutType {
1102
1015
  SECONDARY_CLICK,
1103
1016
  DWELL,
@@ -1112,17 +1025,14 @@ export namespace Clutter {
1112
1025
  CLEAR,
1113
1026
  COMMIT,
1114
1027
  }
1115
- /**
1116
- * Specifies the type of requests for a #ClutterActor.
1117
- */
1118
1028
 
1119
- /**
1120
- * Specifies the type of requests for a #ClutterActor.
1121
- */
1122
1029
  export namespace RequestMode {
1123
1030
  export const $gtype: GObject.GType<RequestMode>;
1124
1031
  }
1125
1032
 
1033
+ /**
1034
+ * Specifies the type of requests for a #ClutterActor.
1035
+ */
1126
1036
  enum RequestMode {
1127
1037
  /**
1128
1038
  * Height for width requests
@@ -1138,17 +1048,14 @@ export namespace Clutter {
1138
1048
  */
1139
1049
  CONTENT_SIZE,
1140
1050
  }
1141
- /**
1142
- * Axis of a rotation.
1143
- */
1144
1051
 
1145
- /**
1146
- * Axis of a rotation.
1147
- */
1148
1052
  export namespace RotateAxis {
1149
1053
  export const $gtype: GObject.GType<RotateAxis>;
1150
1054
  }
1151
1055
 
1056
+ /**
1057
+ * Axis of a rotation.
1058
+ */
1152
1059
  enum RotateAxis {
1153
1060
  /**
1154
1061
  * Rotate around the X axis
@@ -1163,19 +1070,15 @@ export namespace Clutter {
1163
1070
  */
1164
1071
  Z_AXIS,
1165
1072
  }
1166
- /**
1167
- * The scaling filters to be used with the [property`Actor:`minification-filter]
1168
- * and [property`Actor:`magnification-filter] properties.
1169
- */
1170
1073
 
1171
- /**
1172
- * The scaling filters to be used with the [property`Actor:`minification-filter]
1173
- * and [property`Actor:`magnification-filter] properties.
1174
- */
1175
1074
  export namespace ScalingFilter {
1176
1075
  export const $gtype: GObject.GType<ScalingFilter>;
1177
1076
  }
1178
1077
 
1078
+ /**
1079
+ * The scaling filters to be used with the [property`Actor:`minification-filter]
1080
+ * and [property`Actor:`magnification-filter] properties.
1081
+ */
1179
1082
  enum ScalingFilter {
1180
1083
  /**
1181
1084
  * Linear interpolation filter
@@ -1192,12 +1095,10 @@ export namespace Clutter {
1192
1095
  */
1193
1096
  TRILINEAR,
1194
1097
  }
1195
- /**
1196
- * Direction of a pointer scroll event.
1197
- *
1198
- * The %CLUTTER_SCROLL_SMOOTH value implies that the #ClutterScrollEvent
1199
- * has precise scrolling delta information.
1200
- */
1098
+
1099
+ export namespace ScrollDirection {
1100
+ export const $gtype: GObject.GType<ScrollDirection>;
1101
+ }
1201
1102
 
1202
1103
  /**
1203
1104
  * Direction of a pointer scroll event.
@@ -1205,10 +1106,6 @@ export namespace Clutter {
1205
1106
  * The %CLUTTER_SCROLL_SMOOTH value implies that the #ClutterScrollEvent
1206
1107
  * has precise scrolling delta information.
1207
1108
  */
1208
- export namespace ScrollDirection {
1209
- export const $gtype: GObject.GType<ScrollDirection>;
1210
- }
1211
-
1212
1109
  enum ScrollDirection {
1213
1110
  /**
1214
1111
  * Scroll up
@@ -1231,12 +1128,10 @@ export namespace Clutter {
1231
1128
  */
1232
1129
  SMOOTH,
1233
1130
  }
1234
- /**
1235
- * The scroll source determines the source of the scroll event.
1236
- *
1237
- * Keep in mind that the source device #ClutterInputDeviceType is not enough
1238
- * to infer the scroll source.6
1239
- */
1131
+
1132
+ export namespace ScrollSource {
1133
+ export const $gtype: GObject.GType<ScrollSource>;
1134
+ }
1240
1135
 
1241
1136
  /**
1242
1137
  * The scroll source determines the source of the scroll event.
@@ -1244,10 +1139,6 @@ export namespace Clutter {
1244
1139
  * Keep in mind that the source device #ClutterInputDeviceType is not enough
1245
1140
  * to infer the scroll source.6
1246
1141
  */
1247
- export namespace ScrollSource {
1248
- export const $gtype: GObject.GType<ScrollSource>;
1249
- }
1250
-
1251
1142
  enum ScrollSource {
1252
1143
  /**
1253
1144
  * Source of scroll events is unknown.
@@ -1268,17 +1159,14 @@ export namespace Clutter {
1268
1159
  */
1269
1160
  CONTINUOUS,
1270
1161
  }
1271
- /**
1272
- * The type of GLSL shader program
1273
- */
1274
1162
 
1275
- /**
1276
- * The type of GLSL shader program
1277
- */
1278
1163
  export namespace ShaderType {
1279
1164
  export const $gtype: GObject.GType<ShaderType>;
1280
1165
  }
1281
1166
 
1167
+ /**
1168
+ * The type of GLSL shader program
1169
+ */
1282
1170
  enum ShaderType {
1283
1171
  /**
1284
1172
  * a vertex shader
@@ -1289,17 +1177,14 @@ export namespace Clutter {
1289
1177
  */
1290
1178
  FRAGMENT_SHADER,
1291
1179
  }
1292
- /**
1293
- * The edge to snap
1294
- */
1295
1180
 
1296
- /**
1297
- * The edge to snap
1298
- */
1299
1181
  export namespace SnapEdge {
1300
1182
  export const $gtype: GObject.GType<SnapEdge>;
1301
1183
  }
1302
1184
 
1185
+ /**
1186
+ * The edge to snap
1187
+ */
1303
1188
  enum SnapEdge {
1304
1189
  /**
1305
1190
  * the top edge
@@ -1318,21 +1203,16 @@ export namespace Clutter {
1318
1203
  */
1319
1204
  LEFT,
1320
1205
  }
1321
- /**
1322
- * Change the value transition of a step function.
1323
- *
1324
- * See clutter_timeline_set_step_progress().
1325
- */
1206
+
1207
+ export namespace StepMode {
1208
+ export const $gtype: GObject.GType<StepMode>;
1209
+ }
1326
1210
 
1327
1211
  /**
1328
1212
  * Change the value transition of a step function.
1329
1213
  *
1330
1214
  * See clutter_timeline_set_step_progress().
1331
1215
  */
1332
- export namespace StepMode {
1333
- export const $gtype: GObject.GType<StepMode>;
1334
- }
1335
-
1336
1216
  enum StepMode {
1337
1217
  /**
1338
1218
  * The change in the value of a
@@ -1347,17 +1227,14 @@ export namespace Clutter {
1347
1227
  */
1348
1228
  END,
1349
1229
  }
1350
- /**
1351
- * The text direction to be used by [class`Actor]`s
1352
- */
1353
1230
 
1354
- /**
1355
- * The text direction to be used by [class`Actor]`s
1356
- */
1357
1231
  export namespace TextDirection {
1358
1232
  export const $gtype: GObject.GType<TextDirection>;
1359
1233
  }
1360
1234
 
1235
+ /**
1236
+ * The text direction to be used by [class`Actor]`s
1237
+ */
1361
1238
  enum TextDirection {
1362
1239
  /**
1363
1240
  * Use the default setting, as returned
@@ -1373,17 +1250,14 @@ export namespace Clutter {
1373
1250
  */
1374
1251
  RTL,
1375
1252
  }
1376
- /**
1377
- * The direction of a #ClutterTimeline
1378
- */
1379
1253
 
1380
- /**
1381
- * The direction of a #ClutterTimeline
1382
- */
1383
1254
  export namespace TimelineDirection {
1384
1255
  export const $gtype: GObject.GType<TimelineDirection>;
1385
1256
  }
1386
1257
 
1258
+ /**
1259
+ * The direction of a #ClutterTimeline
1260
+ */
1387
1261
  enum TimelineDirection {
1388
1262
  /**
1389
1263
  * forward direction for a timeline
@@ -1394,28 +1268,10 @@ export namespace Clutter {
1394
1268
  */
1395
1269
  BACKWARD,
1396
1270
  }
1397
- /**
1398
- * The phase of a touchpad gesture event.
1399
- *
1400
- * All gestures are guaranteed to begin with an event of type
1401
- * %CLUTTER_TOUCHPAD_GESTURE_PHASE_BEGIN, followed by a number
1402
- * of %CLUTTER_TOUCHPAD_GESTURE_PHASE_UPDATE (possibly 0).
1403
- *
1404
- * A finished gesture may have 2 possible outcomes, an event with phase
1405
- * %CLUTTER_TOUCHPAD_GESTURE_PHASE_END will be emitted when the gesture is
1406
- * considered successful, this should be used as the hint to perform any
1407
- * permanent changes.
1408
- *
1409
- * Cancelled gestures may be so for a variety of reasons, due to hardware,
1410
- * or due to the gesture recognition layers hinting the gesture did not
1411
- * finish resolutely (eg. a 3rd finger being added during a pinch gesture).
1412
- * In these cases, the last event with report the phase
1413
- * %CLUTTER_TOUCHPAD_GESTURE_PHASE_CANCEL, this should be used as a hint
1414
- * to undo any visible/permanent changes that were done throughout the
1415
- * progress of the gesture.
1416
- *
1417
- * See also #ClutterTouchpadPinchEvent and #ClutterTouchpadPinchEvent.4
1418
- */
1271
+
1272
+ export namespace TouchpadGesturePhase {
1273
+ export const $gtype: GObject.GType<TouchpadGesturePhase>;
1274
+ }
1419
1275
 
1420
1276
  /**
1421
1277
  * The phase of a touchpad gesture event.
@@ -1439,10 +1295,6 @@ export namespace Clutter {
1439
1295
  *
1440
1296
  * See also #ClutterTouchpadPinchEvent and #ClutterTouchpadPinchEvent.4
1441
1297
  */
1442
- export namespace TouchpadGesturePhase {
1443
- export const $gtype: GObject.GType<TouchpadGesturePhase>;
1444
- }
1445
-
1446
1298
  enum TouchpadGesturePhase {
1447
1299
  /**
1448
1300
  * The gesture has begun.
@@ -1463,6 +1315,7 @@ export namespace Clutter {
1463
1315
  */
1464
1316
  CANCEL,
1465
1317
  }
1318
+
1466
1319
  /**
1467
1320
  * The middle button of a pointer device.
1468
1321
  */
@@ -4206,17 +4059,13 @@ export namespace Clutter {
4206
4059
  interface TimelineProgressFunc {
4207
4060
  (timeline: Timeline, elapsed: number, total: number): number;
4208
4061
  }
4209
- /**
4210
- * Flags used to signal the state of an actor.
4211
- */
4212
-
4213
- /**
4214
- * Flags used to signal the state of an actor.
4215
- */
4216
4062
  export namespace ActorFlags {
4217
4063
  export const $gtype: GObject.GType<ActorFlags>;
4218
4064
  }
4219
4065
 
4066
+ /**
4067
+ * Flags used to signal the state of an actor.
4068
+ */
4220
4069
  enum ActorFlags {
4221
4070
  /**
4222
4071
  * the actor will be painted (is visible, and inside
@@ -4244,17 +4093,14 @@ export namespace Clutter {
4244
4093
  */
4245
4094
  NO_LAYOUT,
4246
4095
  }
4247
- /**
4248
- * Content repeat modes.
4249
- */
4250
4096
 
4251
- /**
4252
- * Content repeat modes.
4253
- */
4254
4097
  export namespace ContentRepeat {
4255
4098
  export const $gtype: GObject.GType<ContentRepeat>;
4256
4099
  }
4257
4100
 
4101
+ /**
4102
+ * Content repeat modes.
4103
+ */
4258
4104
  enum ContentRepeat {
4259
4105
  /**
4260
4106
  * No repeat
@@ -4329,17 +4175,14 @@ export namespace Clutter {
4329
4175
  DISABLE_DYNAMIC_MAX_RENDER_TIME,
4330
4176
  PAINT_MAX_RENDER_TIME,
4331
4177
  }
4332
- /**
4333
- * Flags passed to the ‘paint’ or ‘pick’ method of #ClutterEffect.
4334
- */
4335
4178
 
4336
- /**
4337
- * Flags passed to the ‘paint’ or ‘pick’ method of #ClutterEffect.
4338
- */
4339
4179
  export namespace EffectPaintFlags {
4340
4180
  export const $gtype: GObject.GType<EffectPaintFlags>;
4341
4181
  }
4342
4182
 
4183
+ /**
4184
+ * Flags passed to the ‘paint’ or ‘pick’ method of #ClutterEffect.
4185
+ */
4343
4186
  enum EffectPaintFlags {
4344
4187
  /**
4345
4188
  * The actor or one of its children
@@ -4354,17 +4197,14 @@ export namespace Clutter {
4354
4197
  */
4355
4198
  BYPASS_EFFECT,
4356
4199
  }
4357
- /**
4358
- * Flags for the #ClutterEvent
4359
- */
4360
4200
 
4361
- /**
4362
- * Flags for the #ClutterEvent
4363
- */
4364
4201
  export namespace EventFlags {
4365
4202
  export const $gtype: GObject.GType<EventFlags>;
4366
4203
  }
4367
4204
 
4205
+ /**
4206
+ * Flags for the #ClutterEvent
4207
+ */
4368
4208
  enum EventFlags {
4369
4209
  /**
4370
4210
  * No flag set
@@ -4455,14 +4295,10 @@ export namespace Clutter {
4455
4295
  LATIN,
4456
4296
  MULTILINE,
4457
4297
  }
4458
- /**
4459
- * Masks applied to a #ClutterEvent by modifiers.
4460
- *
4461
- * Note that Clutter may add internal values to events which include
4462
- * reserved values such as %CLUTTER_MODIFIER_RESERVED_13_MASK. Your code
4463
- * should preserve and ignore them. You can use %CLUTTER_MODIFIER_MASK to
4464
- * remove all reserved values.
4465
- */
4298
+
4299
+ export namespace ModifierType {
4300
+ export const $gtype: GObject.GType<ModifierType>;
4301
+ }
4466
4302
 
4467
4303
  /**
4468
4304
  * Masks applied to a #ClutterEvent by modifiers.
@@ -4472,10 +4308,6 @@ export namespace Clutter {
4472
4308
  * should preserve and ignore them. You can use %CLUTTER_MODIFIER_MASK to
4473
4309
  * remove all reserved values.
4474
4310
  */
4475
- export namespace ModifierType {
4476
- export const $gtype: GObject.GType<ModifierType>;
4477
- }
4478
-
4479
4311
  enum ModifierType {
4480
4312
  /**
4481
4313
  * Mask applied by the Shift key
@@ -4564,17 +4396,14 @@ export namespace Clutter {
4564
4396
  */
4565
4397
  MODIFIER_MASK,
4566
4398
  }
4567
- /**
4568
- * Possible flags to pass to clutter_actor_set_offscreen_redirect().
4569
- */
4570
4399
 
4571
- /**
4572
- * Possible flags to pass to clutter_actor_set_offscreen_redirect().
4573
- */
4574
4400
  export namespace OffscreenRedirect {
4575
4401
  export const $gtype: GObject.GType<OffscreenRedirect>;
4576
4402
  }
4577
4403
 
4404
+ /**
4405
+ * Possible flags to pass to clutter_actor_set_offscreen_redirect().
4406
+ */
4578
4407
  enum OffscreenRedirect {
4579
4408
  /**
4580
4409
  * Only redirect
@@ -4614,32 +4443,26 @@ export namespace Clutter {
4614
4443
  enum PickDebugFlag {
4615
4444
  PICKING,
4616
4445
  }
4617
- /**
4618
- * Pointer accessibility features applied to a ClutterInputDevice pointer.
4619
- */
4620
4446
 
4621
- /**
4622
- * Pointer accessibility features applied to a ClutterInputDevice pointer.
4623
- */
4624
4447
  export namespace PointerA11yFlags {
4625
4448
  export const $gtype: GObject.GType<PointerA11yFlags>;
4626
4449
  }
4627
4450
 
4451
+ /**
4452
+ * Pointer accessibility features applied to a ClutterInputDevice pointer.
4453
+ */
4628
4454
  enum PointerA11yFlags {
4629
4455
  SECONDARY_CLICK_ENABLED,
4630
4456
  DWELL_ENABLED,
4631
4457
  }
4632
- /**
4633
- * Flags to pass to clutter_threads_add_repaint_func_full().
4634
- */
4635
4458
 
4636
- /**
4637
- * Flags to pass to clutter_threads_add_repaint_func_full().
4638
- */
4639
4459
  export namespace RepaintFlags {
4640
4460
  export const $gtype: GObject.GType<RepaintFlags>;
4641
4461
  }
4642
4462
 
4463
+ /**
4464
+ * Flags to pass to clutter_threads_add_repaint_func_full().
4465
+ */
4643
4466
  enum RepaintFlags {
4644
4467
  /**
4645
4468
  * Run the repaint function prior to
@@ -4652,21 +4475,16 @@ export namespace Clutter {
4652
4475
  */
4653
4476
  POST_PAINT,
4654
4477
  }
4655
- /**
4656
- * Flags used to notify the axes that were stopped in a #ClutterScrollEvent.
4657
- *
4658
- * These can be used to trigger post-scroll effects like kinetic scrolling.6
4659
- */
4478
+
4479
+ export namespace ScrollFinishFlags {
4480
+ export const $gtype: GObject.GType<ScrollFinishFlags>;
4481
+ }
4660
4482
 
4661
4483
  /**
4662
4484
  * Flags used to notify the axes that were stopped in a #ClutterScrollEvent.
4663
4485
  *
4664
4486
  * These can be used to trigger post-scroll effects like kinetic scrolling.6
4665
4487
  */
4666
- export namespace ScrollFinishFlags {
4667
- export const $gtype: GObject.GType<ScrollFinishFlags>;
4668
- }
4669
-
4670
4488
  enum ScrollFinishFlags {
4671
4489
  /**
4672
4490
  * no axis was stopped.
@@ -4681,17 +4499,14 @@ export namespace Clutter {
4681
4499
  */
4682
4500
  VERTICAL,
4683
4501
  }
4684
- /**
4685
- * Scroll modes.
4686
- */
4687
4502
 
4688
- /**
4689
- * Scroll modes.
4690
- */
4691
4503
  export namespace ScrollMode {
4692
4504
  export const $gtype: GObject.GType<ScrollMode>;
4693
4505
  }
4694
4506
 
4507
+ /**
4508
+ * Scroll modes.
4509
+ */
4695
4510
  enum ScrollMode {
4696
4511
  /**
4697
4512
  * Ignore scrolling
@@ -4710,17 +4525,14 @@ export namespace Clutter {
4710
4525
  */
4711
4526
  BOTH,
4712
4527
  }
4713
- /**
4714
- * The main direction of the swipe gesture
4715
- */
4716
4528
 
4717
- /**
4718
- * The main direction of the swipe gesture
4719
- */
4720
4529
  export namespace SwipeDirection {
4721
4530
  export const $gtype: GObject.GType<SwipeDirection>;
4722
4531
  }
4723
4532
 
4533
+ /**
4534
+ * The main direction of the swipe gesture
4535
+ */
4724
4536
  enum SwipeDirection {
4725
4537
  /**
4726
4538
  * Upwards swipe gesture
@@ -4750,6 +4562,7 @@ export namespace Clutter {
4750
4562
  POINTER,
4751
4563
  TOUCHSCREEN,
4752
4564
  }
4565
+
4753
4566
  namespace Action {
4754
4567
  // Signal signatures
4755
4568
  interface SignalSignatures extends ActorMeta.SignalSignatures {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/clutter-14",
3
- "version": "14.0.0-4.0.0-beta.39",
3
+ "version": "14.0.0-4.0.0-beta.40",
4
4
  "description": "GJS TypeScript type definitions for Clutter-14, generated from library version 14.0.0",
5
5
  "type": "module",
6
6
  "module": "clutter-14.js",
@@ -31,23 +31,23 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "4.0.0-beta.39",
35
- "@girs/cairo-1.0": "1.0.0-4.0.0-beta.39",
36
- "@girs/gobject-2.0": "2.86.4-4.0.0-beta.39",
37
- "@girs/glib-2.0": "2.86.4-4.0.0-beta.39",
38
- "@girs/mtk-14": "14.0.0-4.0.0-beta.39",
39
- "@girs/graphene-1.0": "1.0.0-4.0.0-beta.39",
40
- "@girs/gio-2.0": "2.86.4-4.0.0-beta.39",
41
- "@girs/gmodule-2.0": "2.0.0-4.0.0-beta.39",
42
- "@girs/gl-1.0": "1.0.0-4.0.0-beta.39",
43
- "@girs/coglpango-14": "14.0.0-4.0.0-beta.39",
44
- "@girs/pangocairo-1.0": "1.0.0-4.0.0-beta.39",
45
- "@girs/pango-1.0": "1.57.0-4.0.0-beta.39",
46
- "@girs/harfbuzz-0.0": "11.5.1-4.0.0-beta.39",
47
- "@girs/freetype2-2.0": "2.0.0-4.0.0-beta.39",
48
- "@girs/cogl-14": "14.0.0-4.0.0-beta.39",
49
- "@girs/xlib-2.0": "2.0.0-4.0.0-beta.39",
50
- "@girs/atk-1.0": "2.58.3-4.0.0-beta.39" },
34
+ "@girs/gjs": "4.0.0-beta.40",
35
+ "@girs/cairo-1.0": "1.0.0-4.0.0-beta.40",
36
+ "@girs/gobject-2.0": "2.86.4-4.0.0-beta.40",
37
+ "@girs/glib-2.0": "2.86.4-4.0.0-beta.40",
38
+ "@girs/mtk-14": "14.0.0-4.0.0-beta.40",
39
+ "@girs/graphene-1.0": "1.0.0-4.0.0-beta.40",
40
+ "@girs/gio-2.0": "2.86.4-4.0.0-beta.40",
41
+ "@girs/gmodule-2.0": "2.0.0-4.0.0-beta.40",
42
+ "@girs/gl-1.0": "1.0.0-4.0.0-beta.40",
43
+ "@girs/coglpango-14": "14.0.0-4.0.0-beta.40",
44
+ "@girs/pangocairo-1.0": "1.0.0-4.0.0-beta.40",
45
+ "@girs/pango-1.0": "1.57.0-4.0.0-beta.40",
46
+ "@girs/harfbuzz-0.0": "11.5.1-4.0.0-beta.40",
47
+ "@girs/freetype2-2.0": "2.0.0-4.0.0-beta.40",
48
+ "@girs/cogl-14": "14.0.0-4.0.0-beta.40",
49
+ "@girs/xlib-2.0": "2.0.0-4.0.0-beta.40",
50
+ "@girs/atk-1.0": "2.58.3-4.0.0-beta.40" },
51
51
  "devDependencies": {
52
52
  "typescript": "*"
53
53
  },