@girs/gnomebg-4.0 4.0.0-3.2.5 → 4.0.0-3.2.7
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.d.cts +9 -6
- package/gnomebg-4.0.d.ts +9 -6
- package/package.json +15 -15
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.7.
|
|
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
|
|
|
@@ -142,8 +142,11 @@ export interface BGSlideShow {
|
|
|
142
142
|
|
|
143
143
|
readonly file: Gio.File
|
|
144
144
|
readonly has_multiple_sizes: boolean
|
|
145
|
+
readonly hasMultipleSizes: boolean
|
|
145
146
|
readonly start_time: number
|
|
147
|
+
readonly startTime: number
|
|
146
148
|
readonly total_duration: number
|
|
149
|
+
readonly totalDuration: number
|
|
147
150
|
|
|
148
151
|
// Own fields of GnomeBG-4.0.GnomeBG.BGSlideShow
|
|
149
152
|
|
|
@@ -157,7 +160,7 @@ export interface BGSlideShow {
|
|
|
157
160
|
* @param width monitor width
|
|
158
161
|
* @param height monitor height
|
|
159
162
|
*/
|
|
160
|
-
get_current_slide(width: number, height: number): [ /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string
|
|
163
|
+
get_current_slide(width: number, height: number): [ /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string, /* file2 */ string ]
|
|
161
164
|
/**
|
|
162
165
|
* gets whether or not the slide show has multiple sizes for different monitors
|
|
163
166
|
* @returns %TRUE if multiple sizes
|
|
@@ -174,7 +177,7 @@ export interface BGSlideShow {
|
|
|
174
177
|
* @param height monitor height
|
|
175
178
|
* @returns %TRUE if successful
|
|
176
179
|
*/
|
|
177
|
-
get_slide(frame_number: number, width: number, height: number): [ /* returnType */ boolean, /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string
|
|
180
|
+
get_slide(frame_number: number, width: number, height: number): [ /* returnType */ boolean, /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string, /* file2 */ string ]
|
|
178
181
|
/**
|
|
179
182
|
* gets the start time of the slide show
|
|
180
183
|
* @returns a timestamp
|
|
@@ -234,7 +237,7 @@ export class BGSlideShow extends GObject.Object {
|
|
|
234
237
|
* @param filename The filename of the slide show
|
|
235
238
|
* @returns the new #GnomeBGSlideShow
|
|
236
239
|
*/
|
|
237
|
-
constructor(filename: string
|
|
240
|
+
constructor(filename: string)
|
|
238
241
|
/**
|
|
239
242
|
* Creates a new object to manage a slide show.
|
|
240
243
|
* window background between two #cairo_surface_ts.
|
|
@@ -242,7 +245,7 @@ export class BGSlideShow extends GObject.Object {
|
|
|
242
245
|
* @param filename The filename of the slide show
|
|
243
246
|
* @returns the new #GnomeBGSlideShow
|
|
244
247
|
*/
|
|
245
|
-
static new(filename: string
|
|
248
|
+
static new(filename: string): BGSlideShow
|
|
246
249
|
_init(config?: BGSlideShow.ConstructorProperties): void
|
|
247
250
|
}
|
|
248
251
|
|
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
|
|
|
@@ -144,8 +144,11 @@ interface BGSlideShow {
|
|
|
144
144
|
|
|
145
145
|
readonly file: Gio.File
|
|
146
146
|
readonly has_multiple_sizes: boolean
|
|
147
|
+
readonly hasMultipleSizes: boolean
|
|
147
148
|
readonly start_time: number
|
|
149
|
+
readonly startTime: number
|
|
148
150
|
readonly total_duration: number
|
|
151
|
+
readonly totalDuration: number
|
|
149
152
|
|
|
150
153
|
// Own fields of GnomeBG-4.0.GnomeBG.BGSlideShow
|
|
151
154
|
|
|
@@ -159,7 +162,7 @@ interface BGSlideShow {
|
|
|
159
162
|
* @param width monitor width
|
|
160
163
|
* @param height monitor height
|
|
161
164
|
*/
|
|
162
|
-
get_current_slide(width: number, height: number): [ /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string
|
|
165
|
+
get_current_slide(width: number, height: number): [ /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string, /* file2 */ string ]
|
|
163
166
|
/**
|
|
164
167
|
* gets whether or not the slide show has multiple sizes for different monitors
|
|
165
168
|
* @returns %TRUE if multiple sizes
|
|
@@ -176,7 +179,7 @@ interface BGSlideShow {
|
|
|
176
179
|
* @param height monitor height
|
|
177
180
|
* @returns %TRUE if successful
|
|
178
181
|
*/
|
|
179
|
-
get_slide(frame_number: number, width: number, height: number): [ /* returnType */ boolean, /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string
|
|
182
|
+
get_slide(frame_number: number, width: number, height: number): [ /* returnType */ boolean, /* progress */ number, /* duration */ number, /* is_fixed */ boolean, /* file1 */ string, /* file2 */ string ]
|
|
180
183
|
/**
|
|
181
184
|
* gets the start time of the slide show
|
|
182
185
|
* @returns a timestamp
|
|
@@ -236,7 +239,7 @@ class BGSlideShow extends GObject.Object {
|
|
|
236
239
|
* @param filename The filename of the slide show
|
|
237
240
|
* @returns the new #GnomeBGSlideShow
|
|
238
241
|
*/
|
|
239
|
-
constructor(filename: string
|
|
242
|
+
constructor(filename: string)
|
|
240
243
|
/**
|
|
241
244
|
* Creates a new object to manage a slide show.
|
|
242
245
|
* window background between two #cairo_surface_ts.
|
|
@@ -244,7 +247,7 @@ class BGSlideShow extends GObject.Object {
|
|
|
244
247
|
* @param filename The filename of the slide show
|
|
245
248
|
* @returns the new #GnomeBGSlideShow
|
|
246
249
|
*/
|
|
247
|
-
static new(filename: string
|
|
250
|
+
static new(filename: string): BGSlideShow
|
|
248
251
|
_init(config?: BGSlideShow.ConstructorProperties): void
|
|
249
252
|
}
|
|
250
253
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gnomebg-4.0",
|
|
3
|
-
"version": "4.0.0-3.2.
|
|
3
|
+
"version": "4.0.0-3.2.7",
|
|
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",
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gnomebg-4.0.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"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.78.0-3.2.
|
|
34
|
-
"@girs/gjs": "^3.2.
|
|
35
|
-
"@girs/glib-2.0": "^2.78.0-3.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.78.0-3.2.
|
|
39
|
-
"@girs/harfbuzz-0.0": "^8.2.1-3.2.
|
|
40
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
41
|
-
"@girs/pangocairo-1.0": "^1.0.0-3.2.
|
|
28
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.7",
|
|
29
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.7",
|
|
30
|
+
"@girs/gdesktopenums-3.0": "^3.0.0-3.2.7",
|
|
31
|
+
"@girs/gdk-4.0": "^4.0.0-3.2.7",
|
|
32
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
|
|
33
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
34
|
+
"@girs/gjs": "^3.2.7",
|
|
35
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
36
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.7",
|
|
37
|
+
"@girs/gnomedesktop-4.0": "^4.0.0-3.2.7",
|
|
38
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7",
|
|
39
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
|
|
40
|
+
"@girs/pango-1.0": "^1.51.0-3.2.7",
|
|
41
|
+
"@girs/pangocairo-1.0": "^1.0.0-3.2.7"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typescript": "*"
|