@girs/dbusmenugtk3-0.4 0.4.0-3.2.6 → 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 +7 -7
- package/dbusmenugtk3-0.4.d.ts +7 -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
|
|
|
@@ -351,7 +351,7 @@ export interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
351
351
|
* @param child the child widget
|
|
352
352
|
* @param child_property the name of a child property installed on the class of `container`
|
|
353
353
|
*/
|
|
354
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
354
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
355
355
|
|
|
356
356
|
// Overloads of child_notify
|
|
357
357
|
|
|
@@ -365,7 +365,7 @@ export interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
365
365
|
* Also see gtk_container_child_notify().
|
|
366
366
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
367
367
|
*/
|
|
368
|
-
child_notify(child_property: string
|
|
368
|
+
child_notify(child_property: string): void
|
|
369
369
|
/**
|
|
370
370
|
* Emits a #GtkWidget::child-notify signal for the
|
|
371
371
|
* [child property][child-properties] `child_property`
|
|
@@ -376,7 +376,7 @@ export interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
376
376
|
* Also see gtk_container_child_notify().
|
|
377
377
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
378
378
|
*/
|
|
379
|
-
child_notify(child_property: string
|
|
379
|
+
child_notify(child_property: string): void
|
|
380
380
|
|
|
381
381
|
// Class property signals of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
382
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
|
|
|
@@ -353,7 +353,7 @@ interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
353
353
|
* @param child the child widget
|
|
354
354
|
* @param child_property the name of a child property installed on the class of `container`
|
|
355
355
|
*/
|
|
356
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
356
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
357
357
|
|
|
358
358
|
// Overloads of child_notify
|
|
359
359
|
|
|
@@ -367,7 +367,7 @@ interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
367
367
|
* Also see gtk_container_child_notify().
|
|
368
368
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
369
369
|
*/
|
|
370
|
-
child_notify(child_property: string
|
|
370
|
+
child_notify(child_property: string): void
|
|
371
371
|
/**
|
|
372
372
|
* Emits a #GtkWidget::child-notify signal for the
|
|
373
373
|
* [child property][child-properties] `child_property`
|
|
@@ -378,7 +378,7 @@ interface Menu extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
378
378
|
* Also see gtk_container_child_notify().
|
|
379
379
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
380
380
|
*/
|
|
381
|
-
child_notify(child_property: string
|
|
381
|
+
child_notify(child_property: string): void
|
|
382
382
|
|
|
383
383
|
// Class property signals of DbusmenuGtk3-0.4.DbusmenuGtk3.Menu
|
|
384
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": "*"
|