@girs/meta-12 12.0.0-3.0.0-beta.13 → 12.0.0-3.0.0-beta.14
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 +6 -2
- package/meta-12.d.cts +15 -2
- package/meta-12.d.ts +15 -2
- package/package.json +19 -19
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
# Meta-12
|
|
3
3
|
|
|
4
|
-
GJS TypeScript type definitions for Meta-12, generated from library version 12.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-
|
|
4
|
+
GJS TypeScript type definitions for Meta-12, generated from library version 12.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.0.0-beta.14.
|
|
5
5
|
|
|
6
6
|
## Install
|
|
7
7
|
|
|
@@ -28,4 +28,8 @@ If you use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/pack
|
|
|
28
28
|
import Meta from 'gi://Meta?version=12';
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
|
|
31
|
+
Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
|
|
32
|
+
|
|
33
|
+
## Other packages
|
|
34
|
+
|
|
35
|
+
All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
|
package/meta-12.d.cts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Type Definitions for Gjs (https://gjs.guide/)
|
|
4
4
|
*
|
|
5
5
|
* These type definitions are automatically generated, do not edit them by hand.
|
|
6
|
-
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-
|
|
6
|
+
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Meta-12
|
|
@@ -3172,14 +3172,25 @@ export interface CursorTracker {
|
|
|
3172
3172
|
|
|
3173
3173
|
// Owm methods of Meta-12.Meta.CursorTracker
|
|
3174
3174
|
|
|
3175
|
+
/**
|
|
3176
|
+
* Get the hotspot of the current cursor sprite.
|
|
3177
|
+
*/
|
|
3175
3178
|
get_hot(): [ /* x */ number, /* y */ number ]
|
|
3176
3179
|
/**
|
|
3177
3180
|
* Get the current pointer position and state.
|
|
3178
3181
|
*/
|
|
3179
3182
|
get_pointer(): [ /* coords */ Graphene.Point, /* mods */ Clutter.ModifierType ]
|
|
3180
3183
|
get_pointer_visible(): boolean
|
|
3184
|
+
/**
|
|
3185
|
+
* Get the scale factor of the cursor sprite
|
|
3186
|
+
* @returns The scale factor of the cursor sprite
|
|
3187
|
+
*/
|
|
3181
3188
|
get_scale(): number
|
|
3182
|
-
|
|
3189
|
+
/**
|
|
3190
|
+
* Get the #CoglTexture of the cursor sprite
|
|
3191
|
+
* @returns the #CoglTexture of the cursor sprite
|
|
3192
|
+
*/
|
|
3193
|
+
get_sprite(): Cogl.Texture | null
|
|
3183
3194
|
set_pointer_visible(visible: boolean): void
|
|
3184
3195
|
|
|
3185
3196
|
// Own signals of Meta-12.Meta.CursorTracker
|
|
@@ -3219,6 +3230,7 @@ export class CursorTracker extends GObject.Object {
|
|
|
3219
3230
|
/**
|
|
3220
3231
|
* Retrieves the cursor tracker object for `display`.
|
|
3221
3232
|
* @param display the #MetaDisplay
|
|
3233
|
+
* @returns the cursor tracker object for @display.
|
|
3222
3234
|
*/
|
|
3223
3235
|
static get_for_display(display: Display): CursorTracker
|
|
3224
3236
|
}
|
|
@@ -5760,6 +5772,7 @@ export interface Window extends Gio.Initable {
|
|
|
5760
5772
|
*/
|
|
5761
5773
|
has_attached_dialogs(): boolean
|
|
5762
5774
|
has_focus(): boolean
|
|
5775
|
+
has_pointer(): boolean
|
|
5763
5776
|
is_above(): boolean
|
|
5764
5777
|
is_always_on_all_workspaces(): boolean
|
|
5765
5778
|
/**
|
package/meta-12.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Type Definitions for Gjs (https://gjs.guide/)
|
|
4
4
|
*
|
|
5
5
|
* These type definitions are automatically generated, do not edit them by hand.
|
|
6
|
-
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-
|
|
6
|
+
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Meta-12
|
|
@@ -3174,14 +3174,25 @@ interface CursorTracker {
|
|
|
3174
3174
|
|
|
3175
3175
|
// Owm methods of Meta-12.Meta.CursorTracker
|
|
3176
3176
|
|
|
3177
|
+
/**
|
|
3178
|
+
* Get the hotspot of the current cursor sprite.
|
|
3179
|
+
*/
|
|
3177
3180
|
get_hot(): [ /* x */ number, /* y */ number ]
|
|
3178
3181
|
/**
|
|
3179
3182
|
* Get the current pointer position and state.
|
|
3180
3183
|
*/
|
|
3181
3184
|
get_pointer(): [ /* coords */ Graphene.Point, /* mods */ Clutter.ModifierType ]
|
|
3182
3185
|
get_pointer_visible(): boolean
|
|
3186
|
+
/**
|
|
3187
|
+
* Get the scale factor of the cursor sprite
|
|
3188
|
+
* @returns The scale factor of the cursor sprite
|
|
3189
|
+
*/
|
|
3183
3190
|
get_scale(): number
|
|
3184
|
-
|
|
3191
|
+
/**
|
|
3192
|
+
* Get the #CoglTexture of the cursor sprite
|
|
3193
|
+
* @returns the #CoglTexture of the cursor sprite
|
|
3194
|
+
*/
|
|
3195
|
+
get_sprite(): Cogl.Texture | null
|
|
3185
3196
|
set_pointer_visible(visible: boolean): void
|
|
3186
3197
|
|
|
3187
3198
|
// Own signals of Meta-12.Meta.CursorTracker
|
|
@@ -3221,6 +3232,7 @@ class CursorTracker extends GObject.Object {
|
|
|
3221
3232
|
/**
|
|
3222
3233
|
* Retrieves the cursor tracker object for `display`.
|
|
3223
3234
|
* @param display the #MetaDisplay
|
|
3235
|
+
* @returns the cursor tracker object for @display.
|
|
3224
3236
|
*/
|
|
3225
3237
|
static get_for_display(display: Display): CursorTracker
|
|
3226
3238
|
}
|
|
@@ -5762,6 +5774,7 @@ interface Window extends Gio.Initable {
|
|
|
5762
5774
|
*/
|
|
5763
5775
|
has_attached_dialogs(): boolean
|
|
5764
5776
|
has_focus(): boolean
|
|
5777
|
+
has_pointer(): boolean
|
|
5765
5778
|
is_above(): boolean
|
|
5766
5779
|
is_always_on_all_workspaces(): boolean
|
|
5767
5780
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/meta-12",
|
|
3
|
-
"version": "12.0.0-3.0.0-beta.
|
|
3
|
+
"version": "12.0.0-3.0.0-beta.14",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Meta-12, generated from library version 12.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "meta-12.js",
|
|
@@ -29,24 +29,24 @@
|
|
|
29
29
|
"test:cjs": "tsc --noEmit meta-12.d.cts"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@girs/atk-1.0": "^2.45.1-3.0.0-beta.
|
|
33
|
-
"@girs/cairo-1.0": "^1.0.0-3.0.0-beta.
|
|
34
|
-
"@girs/clutter-12": "^12.0.0-3.0.0-beta.
|
|
35
|
-
"@girs/cogl-12": "^12.0.0-3.0.0-beta.
|
|
36
|
-
"@girs/coglpango-12": "^12.0.0-3.0.0-beta.
|
|
37
|
-
"@girs/freetype2-2.0": "^2.0.0-3.0.0-beta.
|
|
38
|
-
"@girs/gdesktopenums-3.0": "^3.0.0-3.0.0-beta.
|
|
39
|
-
"@girs/gio-2.0": "^2.76.1-3.0.0-beta.
|
|
40
|
-
"@girs/gl-1.0": "^1.0.0-3.0.0-beta.
|
|
41
|
-
"@girs/glib-2.0": "^2.76.1-3.0.0-beta.
|
|
42
|
-
"@girs/gobject-2.0": "^2.76.1-3.0.0-beta.
|
|
43
|
-
"@girs/graphene-1.0": "^1.0.0-3.0.0-beta.
|
|
44
|
-
"@girs/harfbuzz-0.0": "^6.0.0-3.0.0-beta.
|
|
45
|
-
"@girs/json-1.0": "^1.7.1-3.0.0-beta.
|
|
46
|
-
"@girs/pango-1.0": "^1.50.13-3.0.0-beta.
|
|
47
|
-
"@girs/pangocairo-1.0": "^1.0.0-3.0.0-beta.
|
|
48
|
-
"@girs/xfixes-4.0": "^4.0.0-3.0.0-beta.
|
|
49
|
-
"@girs/xlib-2.0": "^2.0.0-3.0.0-beta.
|
|
32
|
+
"@girs/atk-1.0": "^2.45.1-3.0.0-beta.14",
|
|
33
|
+
"@girs/cairo-1.0": "^1.0.0-3.0.0-beta.14",
|
|
34
|
+
"@girs/clutter-12": "^12.0.0-3.0.0-beta.14",
|
|
35
|
+
"@girs/cogl-12": "^12.0.0-3.0.0-beta.14",
|
|
36
|
+
"@girs/coglpango-12": "^12.0.0-3.0.0-beta.14",
|
|
37
|
+
"@girs/freetype2-2.0": "^2.0.0-3.0.0-beta.14",
|
|
38
|
+
"@girs/gdesktopenums-3.0": "^3.0.0-3.0.0-beta.14",
|
|
39
|
+
"@girs/gio-2.0": "^2.76.1-3.0.0-beta.14",
|
|
40
|
+
"@girs/gl-1.0": "^1.0.0-3.0.0-beta.14",
|
|
41
|
+
"@girs/glib-2.0": "^2.76.1-3.0.0-beta.14",
|
|
42
|
+
"@girs/gobject-2.0": "^2.76.1-3.0.0-beta.14",
|
|
43
|
+
"@girs/graphene-1.0": "^1.0.0-3.0.0-beta.14",
|
|
44
|
+
"@girs/harfbuzz-0.0": "^6.0.0-3.0.0-beta.14",
|
|
45
|
+
"@girs/json-1.0": "^1.7.1-3.0.0-beta.14",
|
|
46
|
+
"@girs/pango-1.0": "^1.50.13-3.0.0-beta.14",
|
|
47
|
+
"@girs/pangocairo-1.0": "^1.0.0-3.0.0-beta.14",
|
|
48
|
+
"@girs/xfixes-4.0": "^4.0.0-3.0.0-beta.14",
|
|
49
|
+
"@girs/xlib-2.0": "^2.0.0-3.0.0-beta.14"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"typescript": "^5.0.4"
|