@girs/dbusmenugtk3-0.4 0.4.0-3.2.6 → 0.4.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/dbusmenugtk3-0.4-ambient.js +2 -0
- package/dbusmenugtk3-0.4-import.js +3 -0
- package/dbusmenugtk3-0.4.d.cts +7 -11
- package/dbusmenugtk3-0.4.d.ts +7 -11
- package/package.json +25 -19
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for DbusmenuGtk3-0.4, generated from library version 0.4.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for DbusmenuGtk3-0.4, generated from library version 0.4.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
|
|
9
9
|
|
|
10
10
|
A small little library that was created by pulling out some comon code out of indicator-applet. It passes a menu structure across DBus so that a program can create a menu simply without worrying about how it is displayed on the other side of the bus.
|
|
11
11
|
|
package/dbusmenugtk3-0.4.d.cts
CHANGED
|
@@ -55,7 +55,7 @@ export function gtk_parse_menu_structure(widget: Gtk.Widget): Dbusmenu.Menuitem
|
|
|
55
55
|
* @param property The name of the property to look for.
|
|
56
56
|
* @returns A pixbuf or #NULL to signal error.
|
|
57
57
|
*/
|
|
58
|
-
export function menuitem_property_get_image(menuitem: Dbusmenu.Menuitem, property: string
|
|
58
|
+
export function menuitem_property_get_image(menuitem: Dbusmenu.Menuitem, property: string): GdkPixbuf.Pixbuf
|
|
59
59
|
/**
|
|
60
60
|
* This function gets a GTK shortcut as a key and a mask
|
|
61
61
|
* for use to set the accelerators.
|
|
@@ -71,7 +71,7 @@ export function menuitem_property_get_shortcut(menuitem: Dbusmenu.Menuitem): [ /
|
|
|
71
71
|
* @param data The image to place on the property.
|
|
72
72
|
* @returns Whether the function was able to set the property or not.
|
|
73
73
|
*/
|
|
74
|
-
export function menuitem_property_set_image(menuitem: Dbusmenu.Menuitem, property: string
|
|
74
|
+
export function menuitem_property_set_image(menuitem: Dbusmenu.Menuitem, property: string, data: GdkPixbuf.Pixbuf): boolean
|
|
75
75
|
/**
|
|
76
76
|
* Takes the modifer described by `key` and `modifier` and places that into
|
|
77
77
|
* the format sending across Dbus for shortcuts.
|
|
@@ -98,7 +98,7 @@ export function menuitem_property_set_shortcut_menuitem(menuitem: Dbusmenu.Menui
|
|
|
98
98
|
* @param shortcut String describing the shortcut
|
|
99
99
|
* @returns Whether it was successful at setting the property.
|
|
100
100
|
*/
|
|
101
|
-
export function menuitem_property_set_shortcut_string(menuitem: Dbusmenu.Menuitem, shortcut: string
|
|
101
|
+
export function menuitem_property_set_shortcut_string(menuitem: Dbusmenu.Menuitem, shortcut: string): boolean
|
|
102
102
|
export module Client {
|
|
103
103
|
|
|
104
104
|
// Constructor properties interface
|
|
@@ -215,7 +215,7 @@ export class Client extends Dbusmenu.Client {
|
|
|
215
215
|
* @param object The object on the server to monitor
|
|
216
216
|
* @returns A brand new #DbusmenuClient
|
|
217
217
|
*/
|
|
218
|
-
static new(name: string
|
|
218
|
+
static new(name: string, object: string): Dbusmenu.Client
|
|
219
219
|
_init(config?: Client.ConstructorProperties): void
|
|
220
220
|
}
|
|
221
221
|
|
|
@@ -227,8 +227,6 @@ export module Menu {
|
|
|
227
227
|
|
|
228
228
|
// Own constructor properties of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
229
229
|
|
|
230
|
-
dbus_name?: string | null
|
|
231
|
-
dbus_object?: string | null
|
|
232
230
|
dbusName?: string | null
|
|
233
231
|
dbusObject?: string | null
|
|
234
232
|
}
|
|
@@ -239,9 +237,7 @@ export interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
239
237
|
|
|
240
238
|
// Own properties of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
241
239
|
|
|
242
|
-
readonly dbus_name: string | null
|
|
243
240
|
readonly dbusName: string | null
|
|
244
|
-
readonly dbus_object: string | null
|
|
245
241
|
readonly dbusObject: string | null
|
|
246
242
|
|
|
247
243
|
// Own fields of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
@@ -351,7 +347,7 @@ export interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
351
347
|
* @param child the child widget
|
|
352
348
|
* @param child_property the name of a child property installed on the class of `container`
|
|
353
349
|
*/
|
|
354
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
350
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
355
351
|
|
|
356
352
|
// Overloads of child_notify
|
|
357
353
|
|
|
@@ -365,7 +361,7 @@ export interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
365
361
|
* Also see gtk_container_child_notify().
|
|
366
362
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
367
363
|
*/
|
|
368
|
-
child_notify(child_property: string
|
|
364
|
+
child_notify(child_property: string): void
|
|
369
365
|
/**
|
|
370
366
|
* Emits a #GtkWidget::child-notify signal for the
|
|
371
367
|
* [child property][child-properties] `child_property`
|
|
@@ -376,7 +372,7 @@ export interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
376
372
|
* Also see gtk_container_child_notify().
|
|
377
373
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
378
374
|
*/
|
|
379
|
-
child_notify(child_property: string
|
|
375
|
+
child_notify(child_property: string): void
|
|
380
376
|
|
|
381
377
|
// Class property signals of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
382
378
|
|
package/dbusmenugtk3-0.4.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ function gtk_parse_menu_structure(widget: Gtk.Widget): Dbusmenu.Menuitem
|
|
|
57
57
|
* @param property The name of the property to look for.
|
|
58
58
|
* @returns A pixbuf or #NULL to signal error.
|
|
59
59
|
*/
|
|
60
|
-
function menuitem_property_get_image(menuitem: Dbusmenu.Menuitem, property: string
|
|
60
|
+
function menuitem_property_get_image(menuitem: Dbusmenu.Menuitem, property: string): GdkPixbuf.Pixbuf
|
|
61
61
|
/**
|
|
62
62
|
* This function gets a GTK shortcut as a key and a mask
|
|
63
63
|
* for use to set the accelerators.
|
|
@@ -73,7 +73,7 @@ function menuitem_property_get_shortcut(menuitem: Dbusmenu.Menuitem): [ /* key *
|
|
|
73
73
|
* @param data The image to place on the property.
|
|
74
74
|
* @returns Whether the function was able to set the property or not.
|
|
75
75
|
*/
|
|
76
|
-
function menuitem_property_set_image(menuitem: Dbusmenu.Menuitem, property: string
|
|
76
|
+
function menuitem_property_set_image(menuitem: Dbusmenu.Menuitem, property: string, data: GdkPixbuf.Pixbuf): boolean
|
|
77
77
|
/**
|
|
78
78
|
* Takes the modifer described by `key` and `modifier` and places that into
|
|
79
79
|
* the format sending across Dbus for shortcuts.
|
|
@@ -100,7 +100,7 @@ function menuitem_property_set_shortcut_menuitem(menuitem: Dbusmenu.Menuitem, gm
|
|
|
100
100
|
* @param shortcut String describing the shortcut
|
|
101
101
|
* @returns Whether it was successful at setting the property.
|
|
102
102
|
*/
|
|
103
|
-
function menuitem_property_set_shortcut_string(menuitem: Dbusmenu.Menuitem, shortcut: string
|
|
103
|
+
function menuitem_property_set_shortcut_string(menuitem: Dbusmenu.Menuitem, shortcut: string): boolean
|
|
104
104
|
module Client {
|
|
105
105
|
|
|
106
106
|
// Constructor properties interface
|
|
@@ -217,7 +217,7 @@ class Client extends Dbusmenu.Client {
|
|
|
217
217
|
* @param object The object on the server to monitor
|
|
218
218
|
* @returns A brand new #DbusmenuClient
|
|
219
219
|
*/
|
|
220
|
-
static new(name: string
|
|
220
|
+
static new(name: string, object: string): Dbusmenu.Client
|
|
221
221
|
_init(config?: Client.ConstructorProperties): void
|
|
222
222
|
}
|
|
223
223
|
|
|
@@ -229,8 +229,6 @@ module Menu {
|
|
|
229
229
|
|
|
230
230
|
// Own constructor properties of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
231
231
|
|
|
232
|
-
dbus_name?: string | null
|
|
233
|
-
dbus_object?: string | null
|
|
234
232
|
dbusName?: string | null
|
|
235
233
|
dbusObject?: string | null
|
|
236
234
|
}
|
|
@@ -241,9 +239,7 @@ interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
241
239
|
|
|
242
240
|
// Own properties of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
243
241
|
|
|
244
|
-
readonly dbus_name: string | null
|
|
245
242
|
readonly dbusName: string | null
|
|
246
|
-
readonly dbus_object: string | null
|
|
247
243
|
readonly dbusObject: string | null
|
|
248
244
|
|
|
249
245
|
// Own fields of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
@@ -353,7 +349,7 @@ interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
353
349
|
* @param child the child widget
|
|
354
350
|
* @param child_property the name of a child property installed on the class of `container`
|
|
355
351
|
*/
|
|
356
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
352
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
357
353
|
|
|
358
354
|
// Overloads of child_notify
|
|
359
355
|
|
|
@@ -367,7 +363,7 @@ interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
367
363
|
* Also see gtk_container_child_notify().
|
|
368
364
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
369
365
|
*/
|
|
370
|
-
child_notify(child_property: string
|
|
366
|
+
child_notify(child_property: string): void
|
|
371
367
|
/**
|
|
372
368
|
* Emits a #GtkWidget::child-notify signal for the
|
|
373
369
|
* [child property][child-properties] `child_property`
|
|
@@ -378,7 +374,7 @@ interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
378
374
|
* Also see gtk_container_child_notify().
|
|
379
375
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
380
376
|
*/
|
|
381
|
-
child_notify(child_property: string
|
|
377
|
+
child_notify(child_property: string): void
|
|
382
378
|
|
|
383
379
|
// Class property signals of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
384
380
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/dbusmenugtk3-0.4",
|
|
3
|
-
"version": "0.4.0-3.2.
|
|
3
|
+
"version": "0.4.0-3.2.8",
|
|
4
4
|
"description": "GJS TypeScript type definitions for DbusmenuGtk3-0.4, generated from library version 0.4.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dbusmenugtk3-0.4.js",
|
|
7
7
|
"main": "dbusmenugtk3-0.4.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./dbusmenugtk3-0.4-ambient.d.ts",
|
|
11
|
+
"default": "./dbusmenugtk3-0.4-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./dbusmenugtk3-0.4-import.d.ts",
|
|
15
|
+
"default": "./dbusmenugtk3-0.4-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./dbusmenugtk3-0.4.d.ts",
|
|
@@ -25,21 +31,21 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit dbusmenugtk3-0.4.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/atk-1.0": "^2.
|
|
29
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
30
|
-
"@girs/dbusmenu-0.4": "^0.4.0-3.2.
|
|
31
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
32
|
-
"@girs/gdk-3.0": "^3.24.
|
|
33
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
34
|
-
"@girs/gio-2.0": "^2.
|
|
35
|
-
"@girs/gjs": "^3.2.
|
|
36
|
-
"@girs/glib-2.0": "^2.
|
|
37
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
38
|
-
"@girs/gobject-2.0": "^2.
|
|
39
|
-
"@girs/gtk-3.0": "^3.24.
|
|
40
|
-
"@girs/harfbuzz-0.0": "^8.
|
|
41
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
42
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
34
|
+
"@girs/atk-1.0": "^2.45.1-3.2.8",
|
|
35
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.8",
|
|
36
|
+
"@girs/dbusmenu-0.4": "^0.4.0-3.2.8",
|
|
37
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.8",
|
|
38
|
+
"@girs/gdk-3.0": "^3.24.39-3.2.8",
|
|
39
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
|
|
40
|
+
"@girs/gio-2.0": "^2.77.0-3.2.8",
|
|
41
|
+
"@girs/gjs": "^3.2.8",
|
|
42
|
+
"@girs/glib-2.0": "^2.77.0-3.2.8",
|
|
43
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.8",
|
|
44
|
+
"@girs/gobject-2.0": "^2.77.0-3.2.8",
|
|
45
|
+
"@girs/gtk-3.0": "^3.24.39-3.2.8",
|
|
46
|
+
"@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
|
|
47
|
+
"@girs/pango-1.0": "^1.51.0-3.2.8",
|
|
48
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.8"
|
|
43
49
|
},
|
|
44
50
|
"devDependencies": {
|
|
45
51
|
"typescript": "*"
|
|
@@ -56,7 +62,7 @@
|
|
|
56
62
|
"license": "MIT",
|
|
57
63
|
"repository": {
|
|
58
64
|
"type": "git",
|
|
59
|
-
"url": "git+https://github.com/gjsify/
|
|
65
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
60
66
|
},
|
|
61
67
|
"bugs": {
|
|
62
68
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|