@girs/gnomebg-4.0 4.0.0-3.2.6 → 4.0.0-3.2.8
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/gnomebg-4.0-ambient.js +2 -0
- package/gnomebg-4.0-import.js +3 -0
- package/gnomebg-4.0.d.cts +6 -9
- package/gnomebg-4.0.d.ts +6 -9
- package/package.json +24 -18
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GnomeBG-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for GnomeBG-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gnomebg-4.0.d.cts
CHANGED
|
@@ -79,7 +79,7 @@ export interface BG {
|
|
|
79
79
|
create_surface(window: Gdk.Surface, width: number, height: number): cairo.Surface
|
|
80
80
|
create_thumbnail(factory: GnomeDesktop.DesktopThumbnailFactory, screen_area: cairo.RectangleInt, dest_width: number, dest_height: number): GdkPixbuf.Pixbuf
|
|
81
81
|
draw(dest: GdkPixbuf.Pixbuf): void
|
|
82
|
-
get_filename(): string
|
|
82
|
+
get_filename(): string
|
|
83
83
|
get_image_size(factory: GnomeDesktop.DesktopThumbnailFactory, best_width: number, best_height: number, width: number, height: number): boolean
|
|
84
84
|
get_placement(): GDesktopEnums.BackgroundStyle
|
|
85
85
|
get_rgba(type: GDesktopEnums.BackgroundShading, primary: Gdk.RGBA, secondary: Gdk.RGBA): void
|
|
@@ -87,7 +87,7 @@ export interface BG {
|
|
|
87
87
|
is_dark(dest_width: number, dest_height: number): boolean
|
|
88
88
|
load_from_preferences(settings: Gio.Settings): void
|
|
89
89
|
save_to_preferences(settings: Gio.Settings): void
|
|
90
|
-
set_filename(filename: string
|
|
90
|
+
set_filename(filename: string): void
|
|
91
91
|
set_placement(placement: GDesktopEnums.BackgroundStyle): void
|
|
92
92
|
set_rgba(type: GDesktopEnums.BackgroundShading, primary: Gdk.RGBA, secondary: Gdk.RGBA): void
|
|
93
93
|
|
|
@@ -141,11 +141,8 @@ export interface BGSlideShow {
|
|
|
141
141
|
// Own properties of GnomeBG-4.0.GnomeBG.BGSlideShow
|
|
142
142
|
|
|
143
143
|
readonly file: Gio.File
|
|
144
|
-
readonly has_multiple_sizes: boolean
|
|
145
144
|
readonly hasMultipleSizes: boolean
|
|
146
|
-
readonly start_time: number
|
|
147
145
|
readonly startTime: number
|
|
148
|
-
readonly total_duration: number
|
|
149
146
|
readonly totalDuration: number
|
|
150
147
|
|
|
151
148
|
// Own fields of GnomeBG-4.0.GnomeBG.BGSlideShow
|
|
@@ -160,7 +157,7 @@ export interface BGSlideShow {
|
|
|
160
157
|
* @param width monitor width
|
|
161
158
|
* @param height monitor height
|
|
162
159
|
*/
|
|
163
|
-
get_current_slide(width: number, height: number): [ /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string
|
|
160
|
+
get_current_slide(width: number, height: number): [ /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string, /* file2 */ string ]
|
|
164
161
|
/**
|
|
165
162
|
* gets whether or not the slide show has multiple sizes for different monitors
|
|
166
163
|
* @returns %TRUE if multiple sizes
|
|
@@ -177,7 +174,7 @@ export interface BGSlideShow {
|
|
|
177
174
|
* @param height monitor height
|
|
178
175
|
* @returns %TRUE if successful
|
|
179
176
|
*/
|
|
180
|
-
get_slide(frame_number: number, width: number, height: number): [ /* returnType */ boolean, /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string
|
|
177
|
+
get_slide(frame_number: number, width: number, height: number): [ /* returnType */ boolean, /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string, /* file2 */ string ]
|
|
181
178
|
/**
|
|
182
179
|
* gets the start time of the slide show
|
|
183
180
|
* @returns a timestamp
|
|
@@ -237,7 +234,7 @@ export class BGSlideShow extends GObject.Object {
|
|
|
237
234
|
* @param filename The filename of the slide show
|
|
238
235
|
* @returns the new #GnomeBGSlideShow
|
|
239
236
|
*/
|
|
240
|
-
constructor(filename: string
|
|
237
|
+
constructor(filename: string)
|
|
241
238
|
/**
|
|
242
239
|
* Creates a new object to manage a slide show.
|
|
243
240
|
* window background between two #cairo_surface_ts.
|
|
@@ -245,7 +242,7 @@ export class BGSlideShow extends GObject.Object {
|
|
|
245
242
|
* @param filename The filename of the slide show
|
|
246
243
|
* @returns the new #GnomeBGSlideShow
|
|
247
244
|
*/
|
|
248
|
-
static new(filename: string
|
|
245
|
+
static new(filename: string): BGSlideShow
|
|
249
246
|
_init(config?: BGSlideShow.ConstructorProperties): void
|
|
250
247
|
}
|
|
251
248
|
|
package/gnomebg-4.0.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ interface BG {
|
|
|
81
81
|
create_surface(window: Gdk.Surface, width: number, height: number): cairo.Surface
|
|
82
82
|
create_thumbnail(factory: GnomeDesktop.DesktopThumbnailFactory, screen_area: cairo.RectangleInt, dest_width: number, dest_height: number): GdkPixbuf.Pixbuf
|
|
83
83
|
draw(dest: GdkPixbuf.Pixbuf): void
|
|
84
|
-
get_filename(): string
|
|
84
|
+
get_filename(): string
|
|
85
85
|
get_image_size(factory: GnomeDesktop.DesktopThumbnailFactory, best_width: number, best_height: number, width: number, height: number): boolean
|
|
86
86
|
get_placement(): GDesktopEnums.BackgroundStyle
|
|
87
87
|
get_rgba(type: GDesktopEnums.BackgroundShading, primary: Gdk.RGBA, secondary: Gdk.RGBA): void
|
|
@@ -89,7 +89,7 @@ interface BG {
|
|
|
89
89
|
is_dark(dest_width: number, dest_height: number): boolean
|
|
90
90
|
load_from_preferences(settings: Gio.Settings): void
|
|
91
91
|
save_to_preferences(settings: Gio.Settings): void
|
|
92
|
-
set_filename(filename: string
|
|
92
|
+
set_filename(filename: string): void
|
|
93
93
|
set_placement(placement: GDesktopEnums.BackgroundStyle): void
|
|
94
94
|
set_rgba(type: GDesktopEnums.BackgroundShading, primary: Gdk.RGBA, secondary: Gdk.RGBA): void
|
|
95
95
|
|
|
@@ -143,11 +143,8 @@ interface BGSlideShow {
|
|
|
143
143
|
// Own properties of GnomeBG-4.0.GnomeBG.BGSlideShow
|
|
144
144
|
|
|
145
145
|
readonly file: Gio.File
|
|
146
|
-
readonly has_multiple_sizes: boolean
|
|
147
146
|
readonly hasMultipleSizes: boolean
|
|
148
|
-
readonly start_time: number
|
|
149
147
|
readonly startTime: number
|
|
150
|
-
readonly total_duration: number
|
|
151
148
|
readonly totalDuration: number
|
|
152
149
|
|
|
153
150
|
// Own fields of GnomeBG-4.0.GnomeBG.BGSlideShow
|
|
@@ -162,7 +159,7 @@ interface BGSlideShow {
|
|
|
162
159
|
* @param width monitor width
|
|
163
160
|
* @param height monitor height
|
|
164
161
|
*/
|
|
165
|
-
get_current_slide(width: number, height: number): [ /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string
|
|
162
|
+
get_current_slide(width: number, height: number): [ /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string, /* file2 */ string ]
|
|
166
163
|
/**
|
|
167
164
|
* gets whether or not the slide show has multiple sizes for different monitors
|
|
168
165
|
* @returns %TRUE if multiple sizes
|
|
@@ -179,7 +176,7 @@ interface BGSlideShow {
|
|
|
179
176
|
* @param height monitor height
|
|
180
177
|
* @returns %TRUE if successful
|
|
181
178
|
*/
|
|
182
|
-
get_slide(frame_number: number, width: number, height: number): [ /* returnType */ boolean, /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string
|
|
179
|
+
get_slide(frame_number: number, width: number, height: number): [ /* returnType */ boolean, /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string, /* file2 */ string ]
|
|
183
180
|
/**
|
|
184
181
|
* gets the start time of the slide show
|
|
185
182
|
* @returns a timestamp
|
|
@@ -239,7 +236,7 @@ class BGSlideShow extends GObject.Object {
|
|
|
239
236
|
* @param filename The filename of the slide show
|
|
240
237
|
* @returns the new #GnomeBGSlideShow
|
|
241
238
|
*/
|
|
242
|
-
constructor(filename: string
|
|
239
|
+
constructor(filename: string)
|
|
243
240
|
/**
|
|
244
241
|
* Creates a new object to manage a slide show.
|
|
245
242
|
* window background between two #cairo_surface_ts.
|
|
@@ -247,7 +244,7 @@ class BGSlideShow extends GObject.Object {
|
|
|
247
244
|
* @param filename The filename of the slide show
|
|
248
245
|
* @returns the new #GnomeBGSlideShow
|
|
249
246
|
*/
|
|
250
|
-
static new(filename: string
|
|
247
|
+
static new(filename: string): BGSlideShow
|
|
251
248
|
_init(config?: BGSlideShow.ConstructorProperties): void
|
|
252
249
|
}
|
|
253
250
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gnomebg-4.0",
|
|
3
|
-
"version": "4.0.0-3.2.
|
|
3
|
+
"version": "4.0.0-3.2.8",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GnomeBG-4.0, generated from library version 4.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gnomebg-4.0.js",
|
|
7
7
|
"main": "gnomebg-4.0.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./gnomebg-4.0-ambient.d.ts",
|
|
11
|
+
"default": "./gnomebg-4.0-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./gnomebg-4.0-import.d.ts",
|
|
15
|
+
"default": "./gnomebg-4.0-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./gnomebg-4.0.d.ts",
|
|
@@ -25,20 +31,20 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gnomebg-4.0.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
29
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
30
|
-
"@girs/gdesktopenums-3.0": "^3.0.0-3.2.
|
|
31
|
-
"@girs/gdk-4.0": "^4.0.0-3.2.
|
|
32
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
33
|
-
"@girs/gio-2.0": "^2.
|
|
34
|
-
"@girs/gjs": "^3.2.
|
|
35
|
-
"@girs/glib-2.0": "^2.
|
|
36
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
37
|
-
"@girs/gnomedesktop-4.0": "^4.0.0-3.2.
|
|
38
|
-
"@girs/gobject-2.0": "^2.
|
|
39
|
-
"@girs/harfbuzz-0.0": "^8.
|
|
40
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
41
|
-
"@girs/pangocairo-1.0": "^1.0.0-3.2.
|
|
34
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.8",
|
|
35
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.8",
|
|
36
|
+
"@girs/gdesktopenums-3.0": "^3.0.0-3.2.8",
|
|
37
|
+
"@girs/gdk-4.0": "^4.0.0-3.2.8",
|
|
38
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
|
|
39
|
+
"@girs/gio-2.0": "^2.77.0-3.2.8",
|
|
40
|
+
"@girs/gjs": "^3.2.8",
|
|
41
|
+
"@girs/glib-2.0": "^2.77.0-3.2.8",
|
|
42
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.8",
|
|
43
|
+
"@girs/gnomedesktop-4.0": "^4.0.0-3.2.8",
|
|
44
|
+
"@girs/gobject-2.0": "^2.77.0-3.2.8",
|
|
45
|
+
"@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
|
|
46
|
+
"@girs/pango-1.0": "^1.51.0-3.2.8",
|
|
47
|
+
"@girs/pangocairo-1.0": "^1.0.0-3.2.8"
|
|
42
48
|
},
|
|
43
49
|
"devDependencies": {
|
|
44
50
|
"typescript": "*"
|
|
@@ -55,7 +61,7 @@
|
|
|
55
61
|
"license": "MIT",
|
|
56
62
|
"repository": {
|
|
57
63
|
"type": "git",
|
|
58
|
-
"url": "git+https://github.com/gjsify/
|
|
64
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
59
65
|
},
|
|
60
66
|
"bugs": {
|
|
61
67
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|