@girs/mx-2.0 1.99.4-4.0.0-beta.9 → 1.99.4-4.0.0-beta.10

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/mx-2.0.d.ts +77 -34
  3. package/package.json +20 -20
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/mx-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Mx-2.0, generated from library version 1.99.4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.9.
8
+ GJS TypeScript type definitions for Mx-2.0, generated from library version 1.99.4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.10.
9
9
 
10
10
 
11
11
  ## Install
package/mx-2.0.d.ts CHANGED
@@ -42,13 +42,17 @@ export namespace Mx {
42
42
  CREATION_FAILED,
43
43
  UNKNOWN_OPERATION,
44
44
  }
45
- export namespace Align {
46
- export const $gtype: GObject.GType<Align>;
47
- }
45
+ /**
46
+ * Set the alignment of the item
47
+ */
48
48
 
49
49
  /**
50
50
  * Set the alignment of the item
51
51
  */
52
+ export namespace Align {
53
+ export const $gtype: GObject.GType<Align>;
54
+ }
55
+
52
56
  enum Align {
53
57
  /**
54
58
  * Align at the beginning of the axis
@@ -63,17 +67,22 @@ export namespace Mx {
63
67
  */
64
68
  END,
65
69
  }
66
- export namespace DisplayStyle {
67
- export const $gtype: GObject.GType<DisplayStyle>;
68
- }
70
+ /**
71
+ * Values for the "display" style property.
72
+ */
69
73
 
70
74
  /**
71
75
  * Values for the "display" style property.
72
76
  */
77
+ export namespace DisplayStyle {
78
+ export const $gtype: GObject.GType<DisplayStyle>;
79
+ }
80
+
73
81
  enum DisplayStyle {
74
82
  NONE,
75
83
  INLINE,
76
84
  }
85
+
77
86
  export namespace DragAxis {
78
87
  export const $gtype: GObject.GType<DragAxis>;
79
88
  }
@@ -83,6 +92,7 @@ export namespace Mx {
83
92
  X,
84
93
  Y,
85
94
  }
95
+
86
96
  export namespace FocusDirection {
87
97
  export const $gtype: GObject.GType<FocusDirection>;
88
98
  }
@@ -96,6 +106,7 @@ export namespace Mx {
96
106
  NEXT,
97
107
  PREVIOUS,
98
108
  }
109
+
99
110
  export namespace FocusHint {
100
111
  export const $gtype: GObject.GType<FocusHint>;
101
112
  }
@@ -109,13 +120,17 @@ export namespace Mx {
109
120
  FROM_LEFT,
110
121
  FROM_RIGHT,
111
122
  }
112
- export namespace FontWeight {
113
- export const $gtype: GObject.GType<FontWeight>;
114
- }
123
+ /**
124
+ * Support values of font weight
125
+ */
115
126
 
116
127
  /**
117
128
  * Support values of font weight
118
129
  */
130
+ export namespace FontWeight {
131
+ export const $gtype: GObject.GType<FontWeight>;
132
+ }
133
+
119
134
  enum FontWeight {
120
135
  /**
121
136
  * Normal font weight
@@ -154,13 +169,17 @@ export namespace Mx {
154
169
  static quark(): GLib.Quark;
155
170
  }
156
171
 
157
- export namespace ImageScaleMode {
158
- export const $gtype: GObject.GType<ImageScaleMode>;
159
- }
172
+ /**
173
+ * Defines the scaling mode of an image.
174
+ */
160
175
 
161
176
  /**
162
177
  * Defines the scaling mode of an image.
163
178
  */
179
+ export namespace ImageScaleMode {
180
+ export const $gtype: GObject.GType<ImageScaleMode>;
181
+ }
182
+
164
183
  enum ImageScaleMode {
165
184
  /**
166
185
  * Do not apply any scaling and center the image within the allocation
@@ -175,6 +194,7 @@ export namespace Mx {
175
194
  */
176
195
  CROP,
177
196
  }
197
+
178
198
  export namespace KineticScrollViewState {
179
199
  export const $gtype: GObject.GType<KineticScrollViewState>;
180
200
  }
@@ -185,6 +205,7 @@ export namespace Mx {
185
205
  SCROLLING,
186
206
  CLAMPING,
187
207
  }
208
+
188
209
  export namespace LongPressAction {
189
210
  export const $gtype: GObject.GType<LongPressAction>;
190
211
  }
@@ -194,13 +215,17 @@ export namespace Mx {
194
215
  ACTION,
195
216
  CANCEL,
196
217
  }
197
- export namespace Orientation {
198
- export const $gtype: GObject.GType<Orientation>;
199
- }
218
+ /**
219
+ * Defines the orientation of various layout widgets.
220
+ */
200
221
 
201
222
  /**
202
223
  * Defines the orientation of various layout widgets.
203
224
  */
225
+ export namespace Orientation {
226
+ export const $gtype: GObject.GType<Orientation>;
227
+ }
228
+
204
229
  enum Orientation {
205
230
  /**
206
231
  * horizontal orientation
@@ -211,13 +236,17 @@ export namespace Mx {
211
236
  */
212
237
  VERTICAL,
213
238
  }
214
- export namespace Position {
215
- export const $gtype: GObject.GType<Position>;
216
- }
239
+ /**
240
+ * Defines the position of an interface element.
241
+ */
217
242
 
218
243
  /**
219
244
  * Defines the position of an interface element.
220
245
  */
246
+ export namespace Position {
247
+ export const $gtype: GObject.GType<Position>;
248
+ }
249
+
221
250
  enum Position {
222
251
  /**
223
252
  * The top position
@@ -236,13 +265,17 @@ export namespace Mx {
236
265
  */
237
266
  LEFT,
238
267
  }
239
- export namespace ScrollPolicy {
240
- export const $gtype: GObject.GType<ScrollPolicy>;
241
- }
268
+ /**
269
+ * Defines the scrolling policy of scrollable widgets.
270
+ */
242
271
 
243
272
  /**
244
273
  * Defines the scrolling policy of scrollable widgets.
245
274
  */
275
+ export namespace ScrollPolicy {
276
+ export const $gtype: GObject.GType<ScrollPolicy>;
277
+ }
278
+
246
279
  enum ScrollPolicy {
247
280
  /**
248
281
  * Never scroll
@@ -265,6 +298,7 @@ export namespace Mx {
265
298
  */
266
299
  AUTOMATIC,
267
300
  }
301
+
268
302
  export namespace StyleError {
269
303
  export const $gtype: GObject.GType<StyleError>;
270
304
  }
@@ -273,26 +307,34 @@ export namespace Mx {
273
307
  INVALID_FILE,
274
308
  PARSE_ERROR,
275
309
  }
276
- export namespace TextAlign {
277
- export const $gtype: GObject.GType<TextAlign>;
278
- }
310
+ /**
311
+ * The horizontal alignment and layout of multiple lines of text.
312
+ */
279
313
 
280
314
  /**
281
315
  * The horizontal alignment and layout of multiple lines of text.
282
316
  */
317
+ export namespace TextAlign {
318
+ export const $gtype: GObject.GType<TextAlign>;
319
+ }
320
+
283
321
  enum TextAlign {
284
322
  LEFT,
285
323
  RIGHT,
286
324
  CENTER,
287
325
  JUSTIFY,
288
326
  }
289
- export namespace TooltipAnimation {
290
- export const $gtype: GObject.GType<TooltipAnimation>;
291
- }
327
+ /**
328
+ * Defines the animation when tooltips are shown and hidden.
329
+ */
292
330
 
293
331
  /**
294
332
  * Defines the animation when tooltips are shown and hidden.
295
333
  */
334
+ export namespace TooltipAnimation {
335
+ export const $gtype: GObject.GType<TooltipAnimation>;
336
+ }
337
+
296
338
  enum TooltipAnimation {
297
339
  /**
298
340
  * Bounce the tooltips when they appear
@@ -303,21 +345,21 @@ export namespace Mx {
303
345
  */
304
346
  FADE,
305
347
  }
306
- export namespace VisibilityStyle {
307
- export const $gtype: GObject.GType<VisibilityStyle>;
308
- }
348
+ /**
349
+ * Values for the "visibility" style property.
350
+ */
309
351
 
310
352
  /**
311
353
  * Values for the "visibility" style property.
312
354
  */
355
+ export namespace VisibilityStyle {
356
+ export const $gtype: GObject.GType<VisibilityStyle>;
357
+ }
358
+
313
359
  enum VisibilityStyle {
314
360
  VISIBLE,
315
361
  HIDDEN,
316
362
  }
317
- export namespace WindowRotation {
318
- export const $gtype: GObject.GType<WindowRotation>;
319
- }
320
-
321
363
  /**
322
364
  * Defines the clock-wise rotation angle of a window.
323
365
  */
@@ -423,6 +465,7 @@ export namespace Mx {
423
465
  interface ClipboardCallbackFunc {
424
466
  (clipboard: Clipboard, text: string): void;
425
467
  }
468
+
426
469
  export namespace StyleChangedFlags {
427
470
  export const $gtype: GObject.GType<StyleChangedFlags>;
428
471
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/mx-2.0",
3
- "version": "1.99.4-4.0.0-beta.9",
3
+ "version": "1.99.4-4.0.0-beta.10",
4
4
  "description": "GJS TypeScript type definitions for Mx-2.0, generated from library version 1.99.4",
5
5
  "type": "module",
6
6
  "module": "mx-2.0.js",
@@ -31,25 +31,25 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/atk-1.0": "^2.52.0-4.0.0-beta.9",
35
- "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.9",
36
- "@girs/clutter-1.0": "^1.26.5-4.0.0-beta.9",
37
- "@girs/cogl-1.0": "^1.0.0-4.0.0-beta.9",
38
- "@girs/coglpango-1.0": "^1.0.0-4.0.0-beta.9",
39
- "@girs/fontconfig-2.0": "^2.0.0-4.0.0-beta.9",
40
- "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.9",
41
- "@girs/gio-2.0": "^2.80.2-4.0.0-beta.9",
42
- "@girs/gjs": "^4.0.0-beta.9",
43
- "@girs/gl-1.0": "^1.0.0-4.0.0-beta.9",
44
- "@girs/glib-2.0": "^2.80.2-4.0.0-beta.9",
45
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.9",
46
- "@girs/gobject-2.0": "^2.80.2-4.0.0-beta.9",
47
- "@girs/harfbuzz-0.0": "^8.1.1-4.0.0-beta.9",
48
- "@girs/json-1.0": "^1.8.0-4.0.0-beta.9",
49
- "@girs/pango-1.0": "^1.52.2-4.0.0-beta.9",
50
- "@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.9",
51
- "@girs/pangofc-1.0": "^1.0.0-4.0.0-beta.9",
52
- "@girs/pangoft2-1.0": "^1.0.0-4.0.0-beta.9"
34
+ "@girs/atk-1.0": "^2.52.0-4.0.0-beta.10",
35
+ "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.10",
36
+ "@girs/clutter-1.0": "^1.26.5-4.0.0-beta.10",
37
+ "@girs/cogl-1.0": "^1.0.0-4.0.0-beta.10",
38
+ "@girs/coglpango-1.0": "^1.0.0-4.0.0-beta.10",
39
+ "@girs/fontconfig-2.0": "^2.0.0-4.0.0-beta.10",
40
+ "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.10",
41
+ "@girs/gio-2.0": "^2.80.2-4.0.0-beta.10",
42
+ "@girs/gjs": "^4.0.0-beta.10",
43
+ "@girs/gl-1.0": "^1.0.0-4.0.0-beta.10",
44
+ "@girs/glib-2.0": "^2.80.2-4.0.0-beta.10",
45
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.10",
46
+ "@girs/gobject-2.0": "^2.80.2-4.0.0-beta.10",
47
+ "@girs/harfbuzz-0.0": "^8.1.1-4.0.0-beta.10",
48
+ "@girs/json-1.0": "^1.8.0-4.0.0-beta.10",
49
+ "@girs/pango-1.0": "^1.52.2-4.0.0-beta.10",
50
+ "@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.10",
51
+ "@girs/pangofc-1.0": "^1.0.0-4.0.0-beta.10",
52
+ "@girs/pangoft2-1.0": "^1.0.0-4.0.0-beta.10"
53
53
  },
54
54
  "devDependencies": {
55
55
  "typescript": "*"