@gtkx/ffi 0.18.5 → 0.18.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/dist/generated/adw/breakpoint-condition.js +24 -24
- package/dist/generated/adw/breakpoint-condition.js.map +1 -1
- package/dist/generated/adw/constants.d.ts +2 -2
- package/dist/generated/adw/constants.js +2 -2
- package/dist/generated/adw/spring-params.js +30 -30
- package/dist/generated/adw/spring-params.js.map +1 -1
- package/dist/generated/gdkwayland/index.d.ts +9 -0
- package/dist/generated/gdkwayland/index.d.ts.map +1 -0
- package/dist/generated/gdkwayland/index.js +9 -0
- package/dist/generated/gdkwayland/index.js.map +1 -0
- package/dist/generated/gdkwayland/wayland-device.d.ts +29 -0
- package/dist/generated/gdkwayland/wayland-device.d.ts.map +1 -0
- package/dist/generated/gdkwayland/wayland-device.js +81 -0
- package/dist/generated/gdkwayland/wayland-device.js.map +1 -0
- package/dist/generated/gdkwayland/wayland-display.d.ts +44 -0
- package/dist/generated/gdkwayland/wayland-display.d.ts.map +1 -0
- package/dist/generated/gdkwayland/wayland-display.js +161 -0
- package/dist/generated/gdkwayland/wayland-display.js.map +1 -0
- package/dist/generated/gdkwayland/wayland-gl-context.d.ts +8 -0
- package/dist/generated/gdkwayland/wayland-gl-context.d.ts.map +1 -0
- package/dist/generated/gdkwayland/wayland-gl-context.js +33 -0
- package/dist/generated/gdkwayland/wayland-gl-context.js.map +1 -0
- package/dist/generated/gdkwayland/wayland-monitor.d.ts +14 -0
- package/dist/generated/gdkwayland/wayland-monitor.d.ts.map +1 -0
- package/dist/generated/gdkwayland/wayland-monitor.js +39 -0
- package/dist/generated/gdkwayland/wayland-monitor.js.map +1 -0
- package/dist/generated/gdkwayland/wayland-popup.d.ts +49 -0
- package/dist/generated/gdkwayland/wayland-popup.d.ts.map +1 -0
- package/dist/generated/gdkwayland/wayland-popup.js +199 -0
- package/dist/generated/gdkwayland/wayland-popup.js.map +1 -0
- package/dist/generated/gdkwayland/wayland-seat.d.ts +14 -0
- package/dist/generated/gdkwayland/wayland-seat.d.ts.map +1 -0
- package/dist/generated/gdkwayland/wayland-seat.js +39 -0
- package/dist/generated/gdkwayland/wayland-seat.js.map +1 -0
- package/dist/generated/gdkwayland/wayland-surface.d.ts +16 -0
- package/dist/generated/gdkwayland/wayland-surface.d.ts.map +1 -0
- package/dist/generated/gdkwayland/wayland-surface.js +53 -0
- package/dist/generated/gdkwayland/wayland-surface.js.map +1 -0
- package/dist/generated/gdkwayland/wayland-toplevel.d.ts +252 -0
- package/dist/generated/gdkwayland/wayland-toplevel.d.ts.map +1 -0
- package/dist/generated/gdkwayland/wayland-toplevel.js +1022 -0
- package/dist/generated/gdkwayland/wayland-toplevel.js.map +1 -0
- package/dist/generated/glib/bytes.js +46 -46
- package/dist/generated/glib/bytes.js.map +1 -1
- package/dist/generated/glib/variant.js +259 -259
- package/dist/generated/glib/variant.js.map +1 -1
- package/dist/generated/gst/constants.d.ts +1 -1
- package/dist/generated/gst/constants.d.ts.map +1 -1
- package/dist/generated/gst/constants.js +1 -1
- package/dist/generated/gst/constants.js.map +1 -1
- package/dist/generated/gtk4layershell/functions.d.ts +18 -7
- package/dist/generated/gtk4layershell/functions.d.ts.map +1 -1
- package/dist/generated/gtk4layershell/functions.js +50 -5
- package/dist/generated/gtk4layershell/functions.js.map +1 -1
- package/dist/generated/gtk4sessionlock/functions.d.ts +3 -0
- package/dist/generated/gtk4sessionlock/functions.d.ts.map +1 -0
- package/dist/generated/gtk4sessionlock/functions.js +8 -0
- package/dist/generated/gtk4sessionlock/functions.js.map +1 -0
- package/dist/generated/gtk4sessionlock/index.d.ts +3 -0
- package/dist/generated/gtk4sessionlock/index.d.ts.map +1 -0
- package/dist/generated/gtk4sessionlock/index.js +3 -0
- package/dist/generated/gtk4sessionlock/index.js.map +1 -0
- package/dist/generated/gtk4sessionlock/instance.d.ts +36 -0
- package/dist/generated/gtk4sessionlock/instance.d.ts.map +1 -0
- package/dist/generated/gtk4sessionlock/instance.js +215 -0
- package/dist/generated/gtk4sessionlock/instance.js.map +1 -0
- package/dist/generated/pango/attribute.js +52 -52
- package/dist/generated/pango/attribute.js.map +1 -1
- package/dist/generated/vte/constants.d.ts +1 -1
- package/dist/generated/vte/constants.js +1 -1
- package/package.json +3 -3
- package/src/generated/adw/breakpoint-condition.ts +24 -24
- package/src/generated/adw/constants.ts +2 -2
- package/src/generated/adw/spring-params.ts +30 -30
- package/src/generated/gdkwayland/index.ts +8 -0
- package/src/generated/gdkwayland/wayland-device.ts +99 -0
- package/src/generated/gdkwayland/wayland-display.ts +197 -0
- package/src/generated/gdkwayland/wayland-gl-context.ts +39 -0
- package/src/generated/gdkwayland/wayland-monitor.ts +45 -0
- package/src/generated/gdkwayland/wayland-popup.ts +247 -0
- package/src/generated/gdkwayland/wayland-seat.ts +45 -0
- package/src/generated/gdkwayland/wayland-surface.ts +65 -0
- package/src/generated/gdkwayland/wayland-toplevel.ts +1260 -0
- package/src/generated/glib/bytes.ts +46 -46
- package/src/generated/glib/variant.ts +259 -259
- package/src/generated/gst/constants.ts +1 -1
- package/src/generated/gtk4layershell/functions.ts +62 -8
- package/src/generated/gtk4sessionlock/functions.ts +8 -0
- package/src/generated/gtk4sessionlock/index.ts +2 -0
- package/src/generated/gtk4sessionlock/instance.ts +271 -0
- package/src/generated/pango/attribute.ts +52 -52
- package/src/generated/vte/constants.ts +1 -1
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { isInstantiating, setInstantiating } from "../../lifecycle.js";
|
|
2
|
+
import { call } from "../../native.js";
|
|
3
|
+
import { getNativeObject, registerNativeClass, registerNativeObject } from "../../registry.js";
|
|
4
|
+
import * as GObject from "../gobject/index.js";
|
|
5
|
+
/**
|
|
6
|
+
* An instance of the object used to control locking the screen.
|
|
7
|
+
* Multiple instances can exist at once, but only one can be locked at a time.
|
|
8
|
+
*/
|
|
9
|
+
export class Instance extends GObject.Object {
|
|
10
|
+
static glibTypeName = "GtkSessionLockInstance";
|
|
11
|
+
static objectType = "gobject";
|
|
12
|
+
constructor() {
|
|
13
|
+
if (!isInstantiating) {
|
|
14
|
+
setInstantiating(true);
|
|
15
|
+
// @ts-ignore
|
|
16
|
+
super();
|
|
17
|
+
setInstantiating(false);
|
|
18
|
+
this.handle = call("libgtk4-layer-shell.so.0", "gtk_session_lock_instance_new", [], {
|
|
19
|
+
type: "gobject",
|
|
20
|
+
ownership: "full",
|
|
21
|
+
});
|
|
22
|
+
registerNativeObject(this);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
super();
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* This must be called with a different unrealized window once for each monitor immediately after calling
|
|
31
|
+
* gtk_session_lock_lock(). Hiding a window that is active on a monitor or not letting a window be resized by the
|
|
32
|
+
* library is not allowed (may result in a Wayland protocol error). The window will be unmapped and gtk_window_destroy()
|
|
33
|
+
* called on it when the current lock ends.
|
|
34
|
+
*/
|
|
35
|
+
assignWindowToMonitor(window, monitor) {
|
|
36
|
+
call("libgtk4-layer-shell.so.0", "gtk_session_lock_instance_assign_window_to_monitor", [
|
|
37
|
+
{
|
|
38
|
+
type: {
|
|
39
|
+
type: "gobject",
|
|
40
|
+
ownership: "borrowed",
|
|
41
|
+
},
|
|
42
|
+
value: this.handle,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
type: {
|
|
46
|
+
type: "gobject",
|
|
47
|
+
ownership: "borrowed",
|
|
48
|
+
},
|
|
49
|
+
value: window.handle,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
type: {
|
|
53
|
+
type: "gobject",
|
|
54
|
+
ownership: "borrowed",
|
|
55
|
+
},
|
|
56
|
+
value: monitor.handle,
|
|
57
|
+
},
|
|
58
|
+
], {
|
|
59
|
+
type: "undefined",
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
/** Returns if this instance currently holds a lock. */
|
|
63
|
+
isLocked() {
|
|
64
|
+
return call("libgtk4-layer-shell.so.0", "gtk_session_lock_instance_is_locked", [
|
|
65
|
+
{
|
|
66
|
+
type: {
|
|
67
|
+
type: "gobject",
|
|
68
|
+
ownership: "borrowed",
|
|
69
|
+
},
|
|
70
|
+
value: this.handle,
|
|
71
|
+
},
|
|
72
|
+
], {
|
|
73
|
+
type: "boolean",
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Lock the screen. This should be called before assigning any windows to monitors. If this function fails the ::failed
|
|
78
|
+
* signal is emitted, if it succeeds the ::locked signal is emitted. The ::failed signal may be emitted before the
|
|
79
|
+
* function returns (for example, if another #GtkSessionLockInstance holds a lock) or later (if another process holds a
|
|
80
|
+
* lock). The only case where neither signal is triggered is if the instance is already locked.
|
|
81
|
+
*/
|
|
82
|
+
lock() {
|
|
83
|
+
return call("libgtk4-layer-shell.so.0", "gtk_session_lock_instance_lock", [
|
|
84
|
+
{
|
|
85
|
+
type: {
|
|
86
|
+
type: "gobject",
|
|
87
|
+
ownership: "borrowed",
|
|
88
|
+
},
|
|
89
|
+
value: this.handle,
|
|
90
|
+
},
|
|
91
|
+
], {
|
|
92
|
+
type: "boolean",
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
/** If the screen is locked by this instance unlocks it and fires ::unlocked. Otherwise has no effect */
|
|
96
|
+
unlock() {
|
|
97
|
+
call("libgtk4-layer-shell.so.0", "gtk_session_lock_instance_unlock", [
|
|
98
|
+
{
|
|
99
|
+
type: {
|
|
100
|
+
type: "gobject",
|
|
101
|
+
ownership: "borrowed",
|
|
102
|
+
},
|
|
103
|
+
value: this.handle,
|
|
104
|
+
},
|
|
105
|
+
], {
|
|
106
|
+
type: "undefined",
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Connects a handler to a signal on this Instance.
|
|
111
|
+
*
|
|
112
|
+
* @param signal - The signal name to connect to
|
|
113
|
+
* @param handler - Callback function invoked when signal is emitted
|
|
114
|
+
* @param after - If true, handler is called after default handler
|
|
115
|
+
* @returns Connection ID for disconnecting
|
|
116
|
+
*/
|
|
117
|
+
connect(signal, handler, after = false) {
|
|
118
|
+
switch (signal) {
|
|
119
|
+
case "failed": {
|
|
120
|
+
const wrappedHandler = (...args) => {
|
|
121
|
+
return handler(getNativeObject(args[0]));
|
|
122
|
+
};
|
|
123
|
+
return call("libgtk4-layer-shell.so.0", "g_signal_connect_closure", [
|
|
124
|
+
{ type: { type: "gobject", ownership: "borrowed" }, value: this.handle },
|
|
125
|
+
{ type: { type: "string", ownership: "borrowed" }, value: signal },
|
|
126
|
+
{
|
|
127
|
+
type: {
|
|
128
|
+
type: "callback",
|
|
129
|
+
argTypes: [{ type: "gobject", ownership: "borrowed" }],
|
|
130
|
+
returnType: {
|
|
131
|
+
type: "undefined",
|
|
132
|
+
},
|
|
133
|
+
kind: "closure",
|
|
134
|
+
},
|
|
135
|
+
value: wrappedHandler,
|
|
136
|
+
},
|
|
137
|
+
{ type: { type: "boolean" }, value: after },
|
|
138
|
+
], { type: "int", size: 64, unsigned: true });
|
|
139
|
+
}
|
|
140
|
+
case "locked": {
|
|
141
|
+
const wrappedHandler = (...args) => {
|
|
142
|
+
return handler(getNativeObject(args[0]));
|
|
143
|
+
};
|
|
144
|
+
return call("libgtk4-layer-shell.so.0", "g_signal_connect_closure", [
|
|
145
|
+
{ type: { type: "gobject", ownership: "borrowed" }, value: this.handle },
|
|
146
|
+
{ type: { type: "string", ownership: "borrowed" }, value: signal },
|
|
147
|
+
{
|
|
148
|
+
type: {
|
|
149
|
+
type: "callback",
|
|
150
|
+
argTypes: [{ type: "gobject", ownership: "borrowed" }],
|
|
151
|
+
returnType: {
|
|
152
|
+
type: "undefined",
|
|
153
|
+
},
|
|
154
|
+
kind: "closure",
|
|
155
|
+
},
|
|
156
|
+
value: wrappedHandler,
|
|
157
|
+
},
|
|
158
|
+
{ type: { type: "boolean" }, value: after },
|
|
159
|
+
], { type: "int", size: 64, unsigned: true });
|
|
160
|
+
}
|
|
161
|
+
case "monitor": {
|
|
162
|
+
const wrappedHandler = (...args) => {
|
|
163
|
+
return handler(getNativeObject(args[0]), getNativeObject(args[1]));
|
|
164
|
+
};
|
|
165
|
+
return call("libgtk4-layer-shell.so.0", "g_signal_connect_closure", [
|
|
166
|
+
{ type: { type: "gobject", ownership: "borrowed" }, value: this.handle },
|
|
167
|
+
{ type: { type: "string", ownership: "borrowed" }, value: signal },
|
|
168
|
+
{
|
|
169
|
+
type: {
|
|
170
|
+
type: "callback",
|
|
171
|
+
argTypes: [
|
|
172
|
+
{ type: "gobject", ownership: "borrowed" },
|
|
173
|
+
{
|
|
174
|
+
type: "gobject",
|
|
175
|
+
ownership: "borrowed",
|
|
176
|
+
},
|
|
177
|
+
],
|
|
178
|
+
returnType: {
|
|
179
|
+
type: "undefined",
|
|
180
|
+
},
|
|
181
|
+
kind: "closure",
|
|
182
|
+
},
|
|
183
|
+
value: wrappedHandler,
|
|
184
|
+
},
|
|
185
|
+
{ type: { type: "boolean" }, value: after },
|
|
186
|
+
], { type: "int", size: 64, unsigned: true });
|
|
187
|
+
}
|
|
188
|
+
case "unlocked": {
|
|
189
|
+
const wrappedHandler = (...args) => {
|
|
190
|
+
return handler(getNativeObject(args[0]));
|
|
191
|
+
};
|
|
192
|
+
return call("libgtk4-layer-shell.so.0", "g_signal_connect_closure", [
|
|
193
|
+
{ type: { type: "gobject", ownership: "borrowed" }, value: this.handle },
|
|
194
|
+
{ type: { type: "string", ownership: "borrowed" }, value: signal },
|
|
195
|
+
{
|
|
196
|
+
type: {
|
|
197
|
+
type: "callback",
|
|
198
|
+
argTypes: [{ type: "gobject", ownership: "borrowed" }],
|
|
199
|
+
returnType: {
|
|
200
|
+
type: "undefined",
|
|
201
|
+
},
|
|
202
|
+
kind: "closure",
|
|
203
|
+
},
|
|
204
|
+
value: wrappedHandler,
|
|
205
|
+
},
|
|
206
|
+
{ type: { type: "boolean" }, value: after },
|
|
207
|
+
], { type: "int", size: 64, unsigned: true });
|
|
208
|
+
}
|
|
209
|
+
default:
|
|
210
|
+
return super.connect(signal, handler, after);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
registerNativeClass(Instance);
|
|
215
|
+
//# sourceMappingURL=instance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../../src/generated/gtk4sessionlock/instance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEvE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC/F,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAI/C;;;GAGG;AACH,MAAM,OAAO,QAAS,SAAQ,OAAO,CAAC,MAAM;IACxC,MAAM,CAAmB,YAAY,GAAW,wBAAwB,CAAC;IACzE,MAAM,CAAmB,UAAU,GAAG,SAAkB,CAAC;IAEzD;QACI,IAAI,CAAC,eAAe,EAAE,CAAC;YACnB,gBAAgB,CAAC,IAAI,CAAC,CAAC;YACvB,aAAa;YACb,KAAK,EAAE,CAAC;YACR,gBAAgB,CAAC,KAAK,CAAC,CAAC;YACxB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,0BAA0B,EAAE,+BAA+B,EAAE,EAAE,EAAE;gBAChF,IAAI,EAAE,SAAS;gBACf,SAAS,EAAE,MAAM;aACpB,CAAiB,CAAC;YACnB,oBAAoB,CAAC,IAAI,CAAC,CAAC;QAC/B,CAAC;aAAM,CAAC;YACJ,aAAa;YACb,KAAK,EAAE,CAAC;QACZ,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,qBAAqB,CAAC,MAAkB,EAAE,OAAoB;QAC1D,IAAI,CACA,0BAA0B,EAC1B,oDAAoD,EACpD;YACI;gBACI,I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,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE;iBAC9C,EACD,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAClC,CAAC;YAChB,CAAC;YACD;gBACI,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;QACrD,CAAC;IACL,CAAC;;AAEL,mBAAmB,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -48,11 +48,11 @@ export class Attribute extends NativeObject {
|
|
|
48
48
|
const ptr = call("libpango-1.0.so.0", "pango_attribute_as_color", [
|
|
49
49
|
{
|
|
50
50
|
type: {
|
|
51
|
-
type: "
|
|
51
|
+
type: "fundamental",
|
|
52
52
|
ownership: "borrowed",
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
library: "",
|
|
54
|
+
refFn: "pango_attribute_copy",
|
|
55
|
+
unrefFn: "pango_attribute_destroy",
|
|
56
56
|
},
|
|
57
57
|
value: this.handle,
|
|
58
58
|
},
|
|
@@ -74,11 +74,11 @@ export class Attribute extends NativeObject {
|
|
|
74
74
|
const ptr = call("libpango-1.0.so.0", "pango_attribute_as_float", [
|
|
75
75
|
{
|
|
76
76
|
type: {
|
|
77
|
-
type: "
|
|
77
|
+
type: "fundamental",
|
|
78
78
|
ownership: "borrowed",
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
library: "",
|
|
80
|
+
refFn: "pango_attribute_copy",
|
|
81
|
+
unrefFn: "pango_attribute_destroy",
|
|
82
82
|
},
|
|
83
83
|
value: this.handle,
|
|
84
84
|
},
|
|
@@ -100,11 +100,11 @@ export class Attribute extends NativeObject {
|
|
|
100
100
|
const ptr = call("libpango-1.0.so.0", "pango_attribute_as_font_desc", [
|
|
101
101
|
{
|
|
102
102
|
type: {
|
|
103
|
-
type: "
|
|
103
|
+
type: "fundamental",
|
|
104
104
|
ownership: "borrowed",
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
library: "",
|
|
106
|
+
refFn: "pango_attribute_copy",
|
|
107
|
+
unrefFn: "pango_attribute_destroy",
|
|
108
108
|
},
|
|
109
109
|
value: this.handle,
|
|
110
110
|
},
|
|
@@ -126,11 +126,11 @@ export class Attribute extends NativeObject {
|
|
|
126
126
|
const ptr = call("libpango-1.0.so.0", "pango_attribute_as_font_features", [
|
|
127
127
|
{
|
|
128
128
|
type: {
|
|
129
|
-
type: "
|
|
129
|
+
type: "fundamental",
|
|
130
130
|
ownership: "borrowed",
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
library: "",
|
|
132
|
+
refFn: "pango_attribute_copy",
|
|
133
|
+
unrefFn: "pango_attribute_destroy",
|
|
134
134
|
},
|
|
135
135
|
value: this.handle,
|
|
136
136
|
},
|
|
@@ -152,11 +152,11 @@ export class Attribute extends NativeObject {
|
|
|
152
152
|
const ptr = call("libpango-1.0.so.0", "pango_attribute_as_int", [
|
|
153
153
|
{
|
|
154
154
|
type: {
|
|
155
|
-
type: "
|
|
155
|
+
type: "fundamental",
|
|
156
156
|
ownership: "borrowed",
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
library: "",
|
|
158
|
+
refFn: "pango_attribute_copy",
|
|
159
|
+
unrefFn: "pango_attribute_destroy",
|
|
160
160
|
},
|
|
161
161
|
value: this.handle,
|
|
162
162
|
},
|
|
@@ -178,11 +178,11 @@ export class Attribute extends NativeObject {
|
|
|
178
178
|
const ptr = call("libpango-1.0.so.0", "pango_attribute_as_language", [
|
|
179
179
|
{
|
|
180
180
|
type: {
|
|
181
|
-
type: "
|
|
181
|
+
type: "fundamental",
|
|
182
182
|
ownership: "borrowed",
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
library: "",
|
|
184
|
+
refFn: "pango_attribute_copy",
|
|
185
|
+
unrefFn: "pango_attribute_destroy",
|
|
186
186
|
},
|
|
187
187
|
value: this.handle,
|
|
188
188
|
},
|
|
@@ -204,11 +204,11 @@ export class Attribute extends NativeObject {
|
|
|
204
204
|
const ptr = call("libpango-1.0.so.0", "pango_attribute_as_shape", [
|
|
205
205
|
{
|
|
206
206
|
type: {
|
|
207
|
-
type: "
|
|
207
|
+
type: "fundamental",
|
|
208
208
|
ownership: "borrowed",
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
209
|
+
library: "",
|
|
210
|
+
refFn: "pango_attribute_copy",
|
|
211
|
+
unrefFn: "pango_attribute_destroy",
|
|
212
212
|
},
|
|
213
213
|
value: this.handle,
|
|
214
214
|
},
|
|
@@ -230,11 +230,11 @@ export class Attribute extends NativeObject {
|
|
|
230
230
|
const ptr = call("libpango-1.0.so.0", "pango_attribute_as_size", [
|
|
231
231
|
{
|
|
232
232
|
type: {
|
|
233
|
-
type: "
|
|
233
|
+
type: "fundamental",
|
|
234
234
|
ownership: "borrowed",
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
235
|
+
library: "",
|
|
236
|
+
refFn: "pango_attribute_copy",
|
|
237
|
+
unrefFn: "pango_attribute_destroy",
|
|
238
238
|
},
|
|
239
239
|
value: this.handle,
|
|
240
240
|
},
|
|
@@ -256,11 +256,11 @@ export class Attribute extends NativeObject {
|
|
|
256
256
|
const ptr = call("libpango-1.0.so.0", "pango_attribute_as_string", [
|
|
257
257
|
{
|
|
258
258
|
type: {
|
|
259
|
-
type: "
|
|
259
|
+
type: "fundamental",
|
|
260
260
|
ownership: "borrowed",
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
261
|
+
library: "",
|
|
262
|
+
refFn: "pango_attribute_copy",
|
|
263
|
+
unrefFn: "pango_attribute_destroy",
|
|
264
264
|
},
|
|
265
265
|
value: this.handle,
|
|
266
266
|
},
|
|
@@ -278,11 +278,11 @@ export class Attribute extends NativeObject {
|
|
|
278
278
|
const ptr = call("libpango-1.0.so.0", "pango_attribute_copy", [
|
|
279
279
|
{
|
|
280
280
|
type: {
|
|
281
|
-
type: "
|
|
281
|
+
type: "fundamental",
|
|
282
282
|
ownership: "borrowed",
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
283
|
+
library: "",
|
|
284
|
+
refFn: "pango_attribute_copy",
|
|
285
|
+
unrefFn: "pango_attribute_destroy",
|
|
286
286
|
},
|
|
287
287
|
value: this.handle,
|
|
288
288
|
},
|
|
@@ -300,11 +300,11 @@ export class Attribute extends NativeObject {
|
|
|
300
300
|
call("libpango-1.0.so.0", "pango_attribute_destroy", [
|
|
301
301
|
{
|
|
302
302
|
type: {
|
|
303
|
-
type: "
|
|
303
|
+
type: "fundamental",
|
|
304
304
|
ownership: "borrowed",
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
305
|
+
library: "",
|
|
306
|
+
refFn: "pango_attribute_copy",
|
|
307
|
+
unrefFn: "pango_attribute_destroy",
|
|
308
308
|
},
|
|
309
309
|
value: this.handle,
|
|
310
310
|
},
|
|
@@ -323,11 +323,11 @@ export class Attribute extends NativeObject {
|
|
|
323
323
|
return call("libpango-1.0.so.0", "pango_attribute_equal", [
|
|
324
324
|
{
|
|
325
325
|
type: {
|
|
326
|
-
type: "
|
|
326
|
+
type: "fundamental",
|
|
327
327
|
ownership: "borrowed",
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
328
|
+
library: "",
|
|
329
|
+
refFn: "pango_attribute_copy",
|
|
330
|
+
unrefFn: "pango_attribute_destroy",
|
|
331
331
|
},
|
|
332
332
|
value: this.handle,
|
|
333
333
|
},
|
|
@@ -355,11 +355,11 @@ export class Attribute extends NativeObject {
|
|
|
355
355
|
call("libpango-1.0.so.0", "pango_attribute_init", [
|
|
356
356
|
{
|
|
357
357
|
type: {
|
|
358
|
-
type: "
|
|
358
|
+
type: "fundamental",
|
|
359
359
|
ownership: "borrowed",
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
360
|
+
library: "",
|
|
361
|
+
refFn: "pango_attribute_copy",
|
|
362
|
+
unrefFn: "pango_attribute_destroy",
|
|
363
363
|
},
|
|
364
364
|
value: this.handle,
|
|
365
365
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attribute.js","sourceRoot":"","sources":["../../../src/generated/pango/attribute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAI9C;;;;;;;;;GASG;AACH,MAAM,OAAO,SAAU,SAAQ,YAAY;IACvC,MAAM,CAAU,YAAY,GAAW,gBAAgB,CAAC;IACxD,MAAM,CAAU,UAAU,GAAG,aAAsB,CAAC;IAEpD,YAAY,OAAsB,EAAE;QAChC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,EAAE,EAAE,gBAAgB,EAAE,mBAAmB,CAAiB,CAAC;QAC/E,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS;YAC7B,KA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X,IAAI,EAAE,EAAE;YACR,QAAQ,EAAE,IAAI;SACjB,EACD,CAAC,CACM,CAAC;IAChB,CAAC;IAED,aAAa,CAAC,KAAa;QACvB,KAAK,CACD,IAAI,CAAC,MAAM,EACX;YACI,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,EAAE;YACR,QAAQ,EAAE,IAAI;SACjB,EACD,CAAC,EACD,KAAK,CACR,CAAC;IACN,CAAC;IAED;;;OAGG;IACH,WAAW;QACP,OAAO,IAAI,CACP,IAAI,CAAC,MAAM,EACX;YACI,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,EAAE;YACR,QAAQ,EAAE,IAAI;SACjB,EACD,EAAE,CACK,CAAC;IAChB,CAAC;IAED,WAAW,CAAC,KAAa;QACrB,KAAK,CACD,IAAI,CAAC,MAAM,EACX;YACI,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,EAAE;YACR,QAAQ,EAAE,IAAI;SACjB,EACD,EAAE,EACF,KAAK,CACR,CAAC;IACN,CAAC;;AAGL,mBAAmB,CAAC,SAAS,CAAC,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare const MAJOR_VERSION = 0;
|
|
|
7
7
|
* The micro version number of the VTE library
|
|
8
8
|
* (e.g. in version 3.1.4 this is 4).
|
|
9
9
|
*/
|
|
10
|
-
export declare const MICRO_VERSION =
|
|
10
|
+
export declare const MICRO_VERSION = 3;
|
|
11
11
|
/**
|
|
12
12
|
* The minor version number of the VTE library
|
|
13
13
|
* (e.g. in version 3.1.4 this is 1).
|
|
@@ -7,7 +7,7 @@ export const MAJOR_VERSION = 0;
|
|
|
7
7
|
* The micro version number of the VTE library
|
|
8
8
|
* (e.g. in version 3.1.4 this is 4).
|
|
9
9
|
*/
|
|
10
|
-
export const MICRO_VERSION =
|
|
10
|
+
export const MICRO_VERSION = 3;
|
|
11
11
|
/**
|
|
12
12
|
* The minor version number of the VTE library
|
|
13
13
|
* (e.g. in version 3.1.4 this is 1).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gtkx/ffi",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.7",
|
|
4
4
|
"description": "Generated TypeScript FFI bindings for GTKX",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gtkx",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"src"
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@gtkx/native": "0.18.
|
|
55
|
+
"@gtkx/native": "0.18.7"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@gtkx/vitest": "0.18.
|
|
58
|
+
"@gtkx/vitest": "0.18.7"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "tsc -b && cp ../../README.md .",
|
|
@@ -42,11 +42,11 @@ export class BreakpointCondition extends NativeObject {
|
|
|
42
42
|
},
|
|
43
43
|
],
|
|
44
44
|
{
|
|
45
|
-
type: "
|
|
45
|
+
type: "fundamental",
|
|
46
46
|
ownership: "full",
|
|
47
|
-
innerType: "AdwBreakpointCondition",
|
|
48
47
|
library: "libadwaita-1.so.0",
|
|
49
|
-
|
|
48
|
+
refFn: "adw_breakpoint_condition_copy",
|
|
49
|
+
unrefFn: "adw_breakpoint_condition_free",
|
|
50
50
|
},
|
|
51
51
|
) as NativeHandle;
|
|
52
52
|
}
|
|
@@ -89,11 +89,11 @@ export class BreakpointCondition extends NativeObject {
|
|
|
89
89
|
},
|
|
90
90
|
],
|
|
91
91
|
{
|
|
92
|
-
type: "
|
|
92
|
+
type: "fundamental",
|
|
93
93
|
ownership: "full",
|
|
94
|
-
innerType: "AdwBreakpointCondition",
|
|
95
94
|
library: "libadwaita-1.so.0",
|
|
96
|
-
|
|
95
|
+
refFn: "adw_breakpoint_condition_copy",
|
|
96
|
+
unrefFn: "adw_breakpoint_condition_free",
|
|
97
97
|
},
|
|
98
98
|
);
|
|
99
99
|
return getNativeObject(ptr as NativeHandle, BreakpointCondition);
|
|
@@ -132,11 +132,11 @@ export class BreakpointCondition extends NativeObject {
|
|
|
132
132
|
},
|
|
133
133
|
],
|
|
134
134
|
{
|
|
135
|
-
type: "
|
|
135
|
+
type: "fundamental",
|
|
136
136
|
ownership: "full",
|
|
137
|
-
innerType: "AdwBreakpointCondition",
|
|
138
137
|
library: "libadwaita-1.so.0",
|
|
139
|
-
|
|
138
|
+
refFn: "adw_breakpoint_condition_copy",
|
|
139
|
+
unrefFn: "adw_breakpoint_condition_free",
|
|
140
140
|
},
|
|
141
141
|
);
|
|
142
142
|
return getNativeObject(ptr as NativeHandle, BreakpointCondition);
|
|
@@ -183,11 +183,11 @@ export class BreakpointCondition extends NativeObject {
|
|
|
183
183
|
},
|
|
184
184
|
],
|
|
185
185
|
{
|
|
186
|
-
type: "
|
|
186
|
+
type: "fundamental",
|
|
187
187
|
ownership: "full",
|
|
188
|
-
innerType: "AdwBreakpointCondition",
|
|
189
188
|
library: "libadwaita-1.so.0",
|
|
190
|
-
|
|
189
|
+
refFn: "adw_breakpoint_condition_copy",
|
|
190
|
+
unrefFn: "adw_breakpoint_condition_free",
|
|
191
191
|
},
|
|
192
192
|
);
|
|
193
193
|
return getNativeObject(ptr as NativeHandle, BreakpointCondition);
|
|
@@ -282,11 +282,11 @@ export class BreakpointCondition extends NativeObject {
|
|
|
282
282
|
[
|
|
283
283
|
{
|
|
284
284
|
type: {
|
|
285
|
-
type: "
|
|
285
|
+
type: "fundamental",
|
|
286
286
|
ownership: "borrowed",
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
287
|
+
library: "",
|
|
288
|
+
refFn: "adw_breakpoint_condition_copy",
|
|
289
|
+
unrefFn: "adw_breakpoint_condition_free",
|
|
290
290
|
},
|
|
291
291
|
value: this.handle,
|
|
292
292
|
},
|
|
@@ -310,11 +310,11 @@ export class BreakpointCondition extends NativeObject {
|
|
|
310
310
|
[
|
|
311
311
|
{
|
|
312
312
|
type: {
|
|
313
|
-
type: "
|
|
313
|
+
type: "fundamental",
|
|
314
314
|
ownership: "borrowed",
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
315
|
+
library: "",
|
|
316
|
+
refFn: "adw_breakpoint_condition_copy",
|
|
317
|
+
unrefFn: "adw_breakpoint_condition_free",
|
|
318
318
|
},
|
|
319
319
|
value: this.handle,
|
|
320
320
|
},
|
|
@@ -337,11 +337,11 @@ export class BreakpointCondition extends NativeObject {
|
|
|
337
337
|
[
|
|
338
338
|
{
|
|
339
339
|
type: {
|
|
340
|
-
type: "
|
|
340
|
+
type: "fundamental",
|
|
341
341
|
ownership: "borrowed",
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
342
|
+
library: "",
|
|
343
|
+
refFn: "adw_breakpoint_condition_copy",
|
|
344
|
+
unrefFn: "adw_breakpoint_condition_free",
|
|
345
345
|
},
|
|
346
346
|
value: this.handle,
|
|
347
347
|
},
|
|
@@ -7,11 +7,11 @@ export const DURATION_INFINITE = 4294967295;
|
|
|
7
7
|
/** Adwaita major version component (e.g. 1 if the version is 1.2.3). */
|
|
8
8
|
export const MAJOR_VERSION = 1;
|
|
9
9
|
/** Adwaita micro version component (e.g. 3 if the version is 1.2.3). */
|
|
10
|
-
export const MICRO_VERSION =
|
|
10
|
+
export const MICRO_VERSION = 3;
|
|
11
11
|
/** Adwaita minor version component (e.g. 2 if the version is 1.2.3). */
|
|
12
12
|
export const MINOR_VERSION = 8;
|
|
13
13
|
/**
|
|
14
14
|
* Adwaita version, encoded as a string, useful for printing and
|
|
15
15
|
* concatenation.
|
|
16
16
|
*/
|
|
17
|
-
export const VERSION_S = "1.8.
|
|
17
|
+
export const VERSION_S = "1.8.3";
|