@girs/dbusmenugtk3-0.4 0.4.0-3.2.5 → 0.4.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/dbusmenugtk3-0.4.d.cts +11 -7
- package/dbusmenugtk3-0.4.d.ts +11 -7
- package/package.json +16 -16
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.7.
|
|
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
|
|
|
@@ -229,6 +229,8 @@ export module Menu {
|
|
|
229
229
|
|
|
230
230
|
dbus_name?: string | null
|
|
231
231
|
dbus_object?: string | null
|
|
232
|
+
dbusName?: string | null
|
|
233
|
+
dbusObject?: string | null
|
|
232
234
|
}
|
|
233
235
|
|
|
234
236
|
}
|
|
@@ -238,7 +240,9 @@ export interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
238
240
|
// Own properties of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
239
241
|
|
|
240
242
|
readonly dbus_name: string | null
|
|
243
|
+
readonly dbusName: string | null
|
|
241
244
|
readonly dbus_object: string | null
|
|
245
|
+
readonly dbusObject: string | null
|
|
242
246
|
|
|
243
247
|
// Own fields of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
244
248
|
|
|
@@ -347,7 +351,7 @@ export interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
347
351
|
* @param child the child widget
|
|
348
352
|
* @param child_property the name of a child property installed on the class of `container`
|
|
349
353
|
*/
|
|
350
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
354
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
351
355
|
|
|
352
356
|
// Overloads of child_notify
|
|
353
357
|
|
|
@@ -361,7 +365,7 @@ export interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
361
365
|
* Also see gtk_container_child_notify().
|
|
362
366
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
363
367
|
*/
|
|
364
|
-
child_notify(child_property: string
|
|
368
|
+
child_notify(child_property: string): void
|
|
365
369
|
/**
|
|
366
370
|
* Emits a #GtkWidget::child-notify signal for the
|
|
367
371
|
* [child property][child-properties] `child_property`
|
|
@@ -372,7 +376,7 @@ export interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
372
376
|
* Also see gtk_container_child_notify().
|
|
373
377
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
374
378
|
*/
|
|
375
|
-
child_notify(child_property: string
|
|
379
|
+
child_notify(child_property: string): void
|
|
376
380
|
|
|
377
381
|
// Class property signals of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
378
382
|
|
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
|
|
|
@@ -231,6 +231,8 @@ module Menu {
|
|
|
231
231
|
|
|
232
232
|
dbus_name?: string | null
|
|
233
233
|
dbus_object?: string | null
|
|
234
|
+
dbusName?: string | null
|
|
235
|
+
dbusObject?: string | null
|
|
234
236
|
}
|
|
235
237
|
|
|
236
238
|
}
|
|
@@ -240,7 +242,9 @@ interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
240
242
|
// Own properties of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
241
243
|
|
|
242
244
|
readonly dbus_name: string | null
|
|
245
|
+
readonly dbusName: string | null
|
|
243
246
|
readonly dbus_object: string | null
|
|
247
|
+
readonly dbusObject: string | null
|
|
244
248
|
|
|
245
249
|
// Own fields of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
246
250
|
|
|
@@ -349,7 +353,7 @@ interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
349
353
|
* @param child the child widget
|
|
350
354
|
* @param child_property the name of a child property installed on the class of `container`
|
|
351
355
|
*/
|
|
352
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
356
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
353
357
|
|
|
354
358
|
// Overloads of child_notify
|
|
355
359
|
|
|
@@ -363,7 +367,7 @@ interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
363
367
|
* Also see gtk_container_child_notify().
|
|
364
368
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
365
369
|
*/
|
|
366
|
-
child_notify(child_property: string
|
|
370
|
+
child_notify(child_property: string): void
|
|
367
371
|
/**
|
|
368
372
|
* Emits a #GtkWidget::child-notify signal for the
|
|
369
373
|
* [child property][child-properties] `child_property`
|
|
@@ -374,7 +378,7 @@ interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
374
378
|
* Also see gtk_container_child_notify().
|
|
375
379
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
376
380
|
*/
|
|
377
|
-
child_notify(child_property: string
|
|
381
|
+
child_notify(child_property: string): void
|
|
378
382
|
|
|
379
383
|
// Class property signals of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
380
384
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/dbusmenugtk3-0.4",
|
|
3
|
-
"version": "0.4.0-3.2.
|
|
3
|
+
"version": "0.4.0-3.2.7",
|
|
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",
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit dbusmenugtk3-0.4.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/atk-1.0": "^2.50.0-3.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.38-3.2.
|
|
33
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
34
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
35
|
-
"@girs/gjs": "^3.2.
|
|
36
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
37
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
38
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
39
|
-
"@girs/gtk-3.0": "^3.24.38-3.2.
|
|
40
|
-
"@girs/harfbuzz-0.0": "^8.2.1-3.2.
|
|
41
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
42
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
28
|
+
"@girs/atk-1.0": "^2.50.0-3.2.7",
|
|
29
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.7",
|
|
30
|
+
"@girs/dbusmenu-0.4": "^0.4.0-3.2.7",
|
|
31
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.7",
|
|
32
|
+
"@girs/gdk-3.0": "^3.24.38-3.2.7",
|
|
33
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
|
|
34
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
35
|
+
"@girs/gjs": "^3.2.7",
|
|
36
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
37
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.7",
|
|
38
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7",
|
|
39
|
+
"@girs/gtk-3.0": "^3.24.38-3.2.7",
|
|
40
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
|
|
41
|
+
"@girs/pango-1.0": "^1.51.0-3.2.7",
|
|
42
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.7"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "*"
|