@girs/geglgtk3-0.1 0.1.0-3.0.0-beta.12

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 ADDED
@@ -0,0 +1,33 @@
1
+
2
+ # GeglGtk3-0.1
3
+
4
+ GJS TypeScript type definitions for GeglGtk3-0.1, generated from library version 0.1.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gjs) v3.0.0-beta.12.
5
+
6
+ Utility library for using GEGL in GTK+ 3 based applications
7
+
8
+ ## Install
9
+
10
+ To use this type definitions, install them with NPM like this:
11
+ ```bash
12
+ npm install @girs/geglgtk3-0.1
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ You can import this package into your project like this:
18
+ ```ts
19
+ import GeglGtk3 from '@girs/geglgtk3-0.1';
20
+ ```
21
+
22
+ Or if you prefer CommonJS, you can also use this:
23
+ ```ts
24
+ const GeglGtk3 = require('@girs/geglgtk3-0.1');
25
+ ```
26
+
27
+ If you use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules), you can also import this module like you would do this in JavaScript:
28
+
29
+ ```ts
30
+ import GeglGtk3 from 'gi://GeglGtk3?version=0.1';
31
+ ```
32
+
33
+ Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
@@ -0,0 +1,9 @@
1
+
2
+
3
+ imports.gi.versions.GeglGtk3 = '0.1'
4
+ const GeglGtk3 = imports.gi.GeglGtk3;
5
+
6
+ module.exports = GeglGtk3;
7
+
8
+
9
+
@@ -0,0 +1,374 @@
1
+
2
+ /*
3
+ * Type Definitions for Gjs (https://gjs.guide/)
4
+ *
5
+ * These type definitions are automatically generated, do not edit them by hand.
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
7
+ */
8
+ /**
9
+ * GeglGtk3-0.1
10
+ */
11
+
12
+ import type Gtk from '@girs/gtk-3.0';
13
+ import type xlib from '@girs/xlib-2.0';
14
+ import type Gdk from '@girs/gdk-3.0';
15
+ import type cairo from '@girs/cairo-1.0';
16
+ import type Pango from '@girs/pango-1.0';
17
+ import type HarfBuzz from '@girs/harfbuzz-0.0';
18
+ import type freetype2 from '@girs/freetype2-2.0';
19
+ import type GObject from '@girs/gobject-2.0';
20
+ import type GLib from '@girs/glib-2.0';
21
+ import type Gio from '@girs/gio-2.0';
22
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
23
+ import type GModule from '@girs/gmodule-2.0';
24
+ import type Atk from '@girs/atk-1.0';
25
+ import type Gegl from '@girs/gegl-0.4';
26
+ import type Babl from '@girs/babl-0.1';
27
+
28
+ /**
29
+ * Specifies the autoscaling behavior of #GeglGtkView.
30
+ */
31
+ export enum ViewAutoscale {
32
+ /**
33
+ * Do not autoscale
34
+ */
35
+ DISABLED,
36
+ /**
37
+ * Automatically scale the widget size
38
+ */
39
+ WIDGET,
40
+ /**
41
+ * Automatically scale content to fit widget
42
+ */
43
+ CONTENT,
44
+ }
45
+ export module View {
46
+
47
+ // Signal callback interfaces
48
+
49
+ /**
50
+ * Signal callback interface for `draw-background`
51
+ */
52
+ export interface DrawBackgroundSignalCallback {
53
+ ($obj: View, cr: cairo.Context, rect: Gdk.Rectangle): void
54
+ }
55
+
56
+ /**
57
+ * Signal callback interface for `draw-overlay`
58
+ */
59
+ export interface DrawOverlaySignalCallback {
60
+ ($obj: View, cr: cairo.Context, rect: Gdk.Rectangle): void
61
+ }
62
+
63
+
64
+ // Constructor properties interface
65
+
66
+ export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.DrawingArea.ConstructorProperties {
67
+
68
+ // Own constructor properties of GeglGtk3-0.1.GeglGtk3.View
69
+
70
+ autoscale_policy?: ViewAutoscale | null
71
+ block?: boolean | null
72
+ node?: GObject.Object | null
73
+ scale?: number | null
74
+ x?: number | null
75
+ y?: number | null
76
+ }
77
+
78
+ }
79
+
80
+ export interface View extends Atk.ImplementorIface, Gtk.Buildable {
81
+
82
+ // Own properties of GeglGtk3-0.1.GeglGtk3.View
83
+
84
+ autoscale_policy: ViewAutoscale
85
+ block: boolean
86
+ node: GObject.Object
87
+ scale: number
88
+ x: number
89
+ y: number
90
+
91
+ // Owm methods of GeglGtk3-0.1.GeglGtk3.View
92
+
93
+ /**
94
+ * Get the autoscaling policy
95
+ * @returns Current #GeglGtkViewAutoscale policy in use
96
+ */
97
+ get_autoscale_policy(): ViewAutoscale
98
+ /**
99
+ * Get the displayed #GeglNode
100
+ * @returns The #GeglNode this widget displays
101
+ */
102
+ get_node(): Gegl.Node
103
+ /**
104
+ * Getter for the :scale property
105
+ */
106
+ get_scale(): number
107
+ /**
108
+ * Get the model->view transformation
109
+ *
110
+ * The transformation matrix describes the transformation between the
111
+ * model (the output of the GeglNode) and the view (the display in the widget).
112
+ * To transform coordinates use gegl_matrix3_transform_point().
113
+ * To get a matrix representing the view->model space transformation, use gegl_matrix3_invert()
114
+ */
115
+ get_transformation(): /* matrix */ Gegl.Matrix3
116
+ /**
117
+ * Getter for the :x property
118
+ */
119
+ get_x(): number
120
+ /**
121
+ * Getter for the :y property
122
+ */
123
+ get_y(): number
124
+ /**
125
+ * Set the autoscaling policy
126
+ * @param autoscale #GeglGtkViewAutoscale policy to use
127
+ */
128
+ set_autoscale_policy(autoscale: ViewAutoscale): void
129
+ /**
130
+ * Change the #GeglNode to display
131
+ * @param node a #GeglNode instance or %NULL
132
+ */
133
+ set_node(node: Gegl.Node | null): void
134
+ /**
135
+ * Setter for the :scale property
136
+ * @param scale
137
+ */
138
+ set_scale(scale: number): void
139
+ /**
140
+ * Setter for the :x property
141
+ * @param x
142
+ */
143
+ set_x(x: number): void
144
+ /**
145
+ * Setter for the :y property
146
+ * @param y
147
+ */
148
+ set_y(y: number): void
149
+
150
+ // Own signals of GeglGtk3-0.1.GeglGtk3.View
151
+
152
+ connect(sigName: "draw-background", callback: View.DrawBackgroundSignalCallback): number
153
+ connect_after(sigName: "draw-background", callback: View.DrawBackgroundSignalCallback): number
154
+ emit(sigName: "draw-background", cr: cairo.Context, rect: Gdk.Rectangle, ...args: any[]): void
155
+ connect(sigName: "draw-overlay", callback: View.DrawOverlaySignalCallback): number
156
+ connect_after(sigName: "draw-overlay", callback: View.DrawOverlaySignalCallback): number
157
+ emit(sigName: "draw-overlay", cr: cairo.Context, rect: Gdk.Rectangle, ...args: any[]): void
158
+
159
+ // Class property signals of GeglGtk3-0.1.GeglGtk3.View
160
+
161
+ connect(sigName: "notify::autoscale-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
162
+ connect_after(sigName: "notify::autoscale-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
163
+ emit(sigName: "notify::autoscale-policy", ...args: any[]): void
164
+ connect(sigName: "notify::block", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
165
+ connect_after(sigName: "notify::block", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
166
+ emit(sigName: "notify::block", ...args: any[]): void
167
+ connect(sigName: "notify::node", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
168
+ connect_after(sigName: "notify::node", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
169
+ emit(sigName: "notify::node", ...args: any[]): void
170
+ connect(sigName: "notify::scale", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
171
+ connect_after(sigName: "notify::scale", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
172
+ emit(sigName: "notify::scale", ...args: any[]): void
173
+ connect(sigName: "notify::x", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
174
+ connect_after(sigName: "notify::x", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
175
+ emit(sigName: "notify::x", ...args: any[]): void
176
+ connect(sigName: "notify::y", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
177
+ connect_after(sigName: "notify::y", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
178
+ emit(sigName: "notify::y", ...args: any[]): void
179
+ connect(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
180
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
181
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
182
+ connect(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
183
+ connect_after(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
184
+ emit(sigName: "notify::can-default", ...args: any[]): void
185
+ connect(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
186
+ connect_after(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
187
+ emit(sigName: "notify::can-focus", ...args: any[]): void
188
+ connect(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
189
+ connect_after(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
190
+ emit(sigName: "notify::composite-child", ...args: any[]): void
191
+ connect(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
192
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
193
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
194
+ connect(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
195
+ connect_after(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
196
+ emit(sigName: "notify::events", ...args: any[]): void
197
+ connect(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
198
+ connect_after(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
199
+ emit(sigName: "notify::expand", ...args: any[]): void
200
+ connect(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
201
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
202
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
203
+ connect(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
204
+ connect_after(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
205
+ emit(sigName: "notify::halign", ...args: any[]): void
206
+ connect(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
207
+ connect_after(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
208
+ emit(sigName: "notify::has-default", ...args: any[]): void
209
+ connect(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
210
+ connect_after(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
211
+ emit(sigName: "notify::has-focus", ...args: any[]): void
212
+ connect(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
213
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
214
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
215
+ connect(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
216
+ connect_after(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
217
+ emit(sigName: "notify::height-request", ...args: any[]): void
218
+ connect(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
219
+ connect_after(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
220
+ emit(sigName: "notify::hexpand", ...args: any[]): void
221
+ connect(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
222
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
223
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
224
+ connect(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
225
+ connect_after(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
226
+ emit(sigName: "notify::is-focus", ...args: any[]): void
227
+ connect(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
228
+ connect_after(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
229
+ emit(sigName: "notify::margin", ...args: any[]): void
230
+ connect(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
231
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
232
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
233
+ connect(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
234
+ connect_after(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
235
+ emit(sigName: "notify::margin-end", ...args: any[]): void
236
+ connect(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
237
+ connect_after(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
238
+ emit(sigName: "notify::margin-left", ...args: any[]): void
239
+ connect(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
240
+ connect_after(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
241
+ emit(sigName: "notify::margin-right", ...args: any[]): void
242
+ connect(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
243
+ connect_after(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
244
+ emit(sigName: "notify::margin-start", ...args: any[]): void
245
+ connect(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
246
+ connect_after(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
247
+ emit(sigName: "notify::margin-top", ...args: any[]): void
248
+ connect(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
249
+ connect_after(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
250
+ emit(sigName: "notify::name", ...args: any[]): void
251
+ connect(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
252
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
253
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
254
+ connect(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
255
+ connect_after(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
256
+ emit(sigName: "notify::opacity", ...args: any[]): void
257
+ connect(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
258
+ connect_after(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
259
+ emit(sigName: "notify::parent", ...args: any[]): void
260
+ connect(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
261
+ connect_after(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
262
+ emit(sigName: "notify::receives-default", ...args: any[]): void
263
+ connect(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
264
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
265
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
266
+ connect(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
267
+ connect_after(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
268
+ emit(sigName: "notify::sensitive", ...args: any[]): void
269
+ connect(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
270
+ connect_after(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
271
+ emit(sigName: "notify::style", ...args: any[]): void
272
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
273
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
274
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
275
+ connect(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
276
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
277
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
278
+ connect(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
279
+ connect_after(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
280
+ emit(sigName: "notify::valign", ...args: any[]): void
281
+ connect(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
282
+ connect_after(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
283
+ emit(sigName: "notify::vexpand", ...args: any[]): void
284
+ connect(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
285
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
286
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
287
+ connect(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
288
+ connect_after(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
289
+ emit(sigName: "notify::visible", ...args: any[]): void
290
+ connect(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
291
+ connect_after(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
292
+ emit(sigName: "notify::width-request", ...args: any[]): void
293
+ connect(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
294
+ connect_after(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
295
+ emit(sigName: "notify::window", ...args: any[]): void
296
+ connect(sigName: string, callback: (...args: any[]) => void): number
297
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
298
+ emit(sigName: string, ...args: any[]): void
299
+ disconnect(id: number): void
300
+ }
301
+
302
+ export class View extends Gtk.DrawingArea {
303
+
304
+ // Own properties of GeglGtk3-0.1.GeglGtk3.View
305
+
306
+ static name: string
307
+ static $gtype: GObject.GType<View>
308
+
309
+ // Constructors of GeglGtk3-0.1.GeglGtk3.View
310
+
311
+ constructor(config?: View.ConstructorProperties)
312
+ /**
313
+ * Create a new #GeglGtkView
314
+ * @constructor
315
+ * @returns New #GeglGtkView
316
+ */
317
+ constructor()
318
+ /**
319
+ * Create a new #GeglGtkView
320
+ * @constructor
321
+ * @returns New #GeglGtkView
322
+ */
323
+ static new(): View
324
+
325
+ // Overloads of new
326
+
327
+ /**
328
+ * Creates a new drawing area.
329
+ * @constructor
330
+ * @returns a new #GtkDrawingArea
331
+ */
332
+ static new(): Gtk.DrawingArea
333
+ static new_for_buffer(buffer: Gegl.Buffer): View
334
+ /**
335
+ * Create a new #GeglGtkView for a given #GeglNode
336
+ * @constructor
337
+ * @param node The #GeglNode to display
338
+ * @returns New #GeglGtkView displaying @node
339
+ */
340
+ static new_for_node(node: Gegl.Node): View
341
+ _init(config?: View.ConstructorProperties): void
342
+ }
343
+
344
+ export interface ViewClass {
345
+ }
346
+
347
+ export abstract class ViewClass {
348
+
349
+ // Own properties of GeglGtk3-0.1.GeglGtk3.ViewClass
350
+
351
+ static name: string
352
+ }
353
+
354
+ export interface ViewPrivate {
355
+ }
356
+
357
+ export class ViewPrivate {
358
+
359
+ // Own properties of GeglGtk3-0.1.GeglGtk3.ViewPrivate
360
+
361
+ static name: string
362
+ }
363
+
364
+ /**
365
+ * Name of the imported GIR library
366
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
367
+ */
368
+ export const __name__: string
369
+ /**
370
+ * Version of the imported GIR library
371
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
372
+ */
373
+ export const __version__: string
374
+ // END
@@ -0,0 +1,379 @@
1
+
2
+ /*
3
+ * Type Definitions for Gjs (https://gjs.guide/)
4
+ *
5
+ * These type definitions are automatically generated, do not edit them by hand.
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
7
+ */
8
+ /**
9
+ * GeglGtk3-0.1
10
+ */
11
+
12
+ import type Gtk from '@girs/gtk-3.0';
13
+ import type xlib from '@girs/xlib-2.0';
14
+ import type Gdk from '@girs/gdk-3.0';
15
+ import type cairo from '@girs/cairo-1.0';
16
+ import type Pango from '@girs/pango-1.0';
17
+ import type HarfBuzz from '@girs/harfbuzz-0.0';
18
+ import type freetype2 from '@girs/freetype2-2.0';
19
+ import type GObject from '@girs/gobject-2.0';
20
+ import type GLib from '@girs/glib-2.0';
21
+ import type Gio from '@girs/gio-2.0';
22
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
23
+ import type GModule from '@girs/gmodule-2.0';
24
+ import type Atk from '@girs/atk-1.0';
25
+ import type Gegl from '@girs/gegl-0.4';
26
+ import type Babl from '@girs/babl-0.1';
27
+
28
+ export namespace GeglGtk3 {
29
+
30
+ /**
31
+ * Specifies the autoscaling behavior of #GeglGtkView.
32
+ */
33
+ enum ViewAutoscale {
34
+ /**
35
+ * Do not autoscale
36
+ */
37
+ DISABLED,
38
+ /**
39
+ * Automatically scale the widget size
40
+ */
41
+ WIDGET,
42
+ /**
43
+ * Automatically scale content to fit widget
44
+ */
45
+ CONTENT,
46
+ }
47
+ module View {
48
+
49
+ // Signal callback interfaces
50
+
51
+ /**
52
+ * Signal callback interface for `draw-background`
53
+ */
54
+ interface DrawBackgroundSignalCallback {
55
+ ($obj: View, cr: cairo.Context, rect: Gdk.Rectangle): void
56
+ }
57
+
58
+ /**
59
+ * Signal callback interface for `draw-overlay`
60
+ */
61
+ interface DrawOverlaySignalCallback {
62
+ ($obj: View, cr: cairo.Context, rect: Gdk.Rectangle): void
63
+ }
64
+
65
+
66
+ // Constructor properties interface
67
+
68
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.DrawingArea.ConstructorProperties {
69
+
70
+ // Own constructor properties of GeglGtk3-0.1.GeglGtk3.View
71
+
72
+ autoscale_policy?: ViewAutoscale | null
73
+ block?: boolean | null
74
+ node?: GObject.Object | null
75
+ scale?: number | null
76
+ x?: number | null
77
+ y?: number | null
78
+ }
79
+
80
+ }
81
+
82
+ interface View extends Atk.ImplementorIface, Gtk.Buildable {
83
+
84
+ // Own properties of GeglGtk3-0.1.GeglGtk3.View
85
+
86
+ autoscale_policy: ViewAutoscale
87
+ block: boolean
88
+ node: GObject.Object
89
+ scale: number
90
+ x: number
91
+ y: number
92
+
93
+ // Owm methods of GeglGtk3-0.1.GeglGtk3.View
94
+
95
+ /**
96
+ * Get the autoscaling policy
97
+ * @returns Current #GeglGtkViewAutoscale policy in use
98
+ */
99
+ get_autoscale_policy(): ViewAutoscale
100
+ /**
101
+ * Get the displayed #GeglNode
102
+ * @returns The #GeglNode this widget displays
103
+ */
104
+ get_node(): Gegl.Node
105
+ /**
106
+ * Getter for the :scale property
107
+ */
108
+ get_scale(): number
109
+ /**
110
+ * Get the model->view transformation
111
+ *
112
+ * The transformation matrix describes the transformation between the
113
+ * model (the output of the GeglNode) and the view (the display in the widget).
114
+ * To transform coordinates use gegl_matrix3_transform_point().
115
+ * To get a matrix representing the view->model space transformation, use gegl_matrix3_invert()
116
+ */
117
+ get_transformation(): /* matrix */ Gegl.Matrix3
118
+ /**
119
+ * Getter for the :x property
120
+ */
121
+ get_x(): number
122
+ /**
123
+ * Getter for the :y property
124
+ */
125
+ get_y(): number
126
+ /**
127
+ * Set the autoscaling policy
128
+ * @param autoscale #GeglGtkViewAutoscale policy to use
129
+ */
130
+ set_autoscale_policy(autoscale: ViewAutoscale): void
131
+ /**
132
+ * Change the #GeglNode to display
133
+ * @param node a #GeglNode instance or %NULL
134
+ */
135
+ set_node(node: Gegl.Node | null): void
136
+ /**
137
+ * Setter for the :scale property
138
+ * @param scale
139
+ */
140
+ set_scale(scale: number): void
141
+ /**
142
+ * Setter for the :x property
143
+ * @param x
144
+ */
145
+ set_x(x: number): void
146
+ /**
147
+ * Setter for the :y property
148
+ * @param y
149
+ */
150
+ set_y(y: number): void
151
+
152
+ // Own signals of GeglGtk3-0.1.GeglGtk3.View
153
+
154
+ connect(sigName: "draw-background", callback: View.DrawBackgroundSignalCallback): number
155
+ connect_after(sigName: "draw-background", callback: View.DrawBackgroundSignalCallback): number
156
+ emit(sigName: "draw-background", cr: cairo.Context, rect: Gdk.Rectangle, ...args: any[]): void
157
+ connect(sigName: "draw-overlay", callback: View.DrawOverlaySignalCallback): number
158
+ connect_after(sigName: "draw-overlay", callback: View.DrawOverlaySignalCallback): number
159
+ emit(sigName: "draw-overlay", cr: cairo.Context, rect: Gdk.Rectangle, ...args: any[]): void
160
+
161
+ // Class property signals of GeglGtk3-0.1.GeglGtk3.View
162
+
163
+ connect(sigName: "notify::autoscale-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
164
+ connect_after(sigName: "notify::autoscale-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
165
+ emit(sigName: "notify::autoscale-policy", ...args: any[]): void
166
+ connect(sigName: "notify::block", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
167
+ connect_after(sigName: "notify::block", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
168
+ emit(sigName: "notify::block", ...args: any[]): void
169
+ connect(sigName: "notify::node", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
170
+ connect_after(sigName: "notify::node", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
171
+ emit(sigName: "notify::node", ...args: any[]): void
172
+ connect(sigName: "notify::scale", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
173
+ connect_after(sigName: "notify::scale", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
174
+ emit(sigName: "notify::scale", ...args: any[]): void
175
+ connect(sigName: "notify::x", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
176
+ connect_after(sigName: "notify::x", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
177
+ emit(sigName: "notify::x", ...args: any[]): void
178
+ connect(sigName: "notify::y", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
179
+ connect_after(sigName: "notify::y", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
180
+ emit(sigName: "notify::y", ...args: any[]): void
181
+ connect(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
182
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
183
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
184
+ connect(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
185
+ connect_after(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
186
+ emit(sigName: "notify::can-default", ...args: any[]): void
187
+ connect(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
188
+ connect_after(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
189
+ emit(sigName: "notify::can-focus", ...args: any[]): void
190
+ connect(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
191
+ connect_after(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
192
+ emit(sigName: "notify::composite-child", ...args: any[]): void
193
+ connect(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
194
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
195
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
196
+ connect(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
197
+ connect_after(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
198
+ emit(sigName: "notify::events", ...args: any[]): void
199
+ connect(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
200
+ connect_after(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
201
+ emit(sigName: "notify::expand", ...args: any[]): void
202
+ connect(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
203
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
204
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
205
+ connect(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
206
+ connect_after(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
207
+ emit(sigName: "notify::halign", ...args: any[]): void
208
+ connect(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
209
+ connect_after(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
210
+ emit(sigName: "notify::has-default", ...args: any[]): void
211
+ connect(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
212
+ connect_after(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
213
+ emit(sigName: "notify::has-focus", ...args: any[]): void
214
+ connect(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
215
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
216
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
217
+ connect(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
218
+ connect_after(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
219
+ emit(sigName: "notify::height-request", ...args: any[]): void
220
+ connect(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
221
+ connect_after(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
222
+ emit(sigName: "notify::hexpand", ...args: any[]): void
223
+ connect(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
224
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
225
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
226
+ connect(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
227
+ connect_after(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
228
+ emit(sigName: "notify::is-focus", ...args: any[]): void
229
+ connect(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
230
+ connect_after(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
231
+ emit(sigName: "notify::margin", ...args: any[]): void
232
+ connect(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
233
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
234
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
235
+ connect(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
236
+ connect_after(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
237
+ emit(sigName: "notify::margin-end", ...args: any[]): void
238
+ connect(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
239
+ connect_after(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
240
+ emit(sigName: "notify::margin-left", ...args: any[]): void
241
+ connect(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
242
+ connect_after(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
243
+ emit(sigName: "notify::margin-right", ...args: any[]): void
244
+ connect(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
245
+ connect_after(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
246
+ emit(sigName: "notify::margin-start", ...args: any[]): void
247
+ connect(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
248
+ connect_after(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
249
+ emit(sigName: "notify::margin-top", ...args: any[]): void
250
+ connect(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
251
+ connect_after(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
252
+ emit(sigName: "notify::name", ...args: any[]): void
253
+ connect(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
254
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
255
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
256
+ connect(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
257
+ connect_after(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
258
+ emit(sigName: "notify::opacity", ...args: any[]): void
259
+ connect(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
260
+ connect_after(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
261
+ emit(sigName: "notify::parent", ...args: any[]): void
262
+ connect(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
263
+ connect_after(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
264
+ emit(sigName: "notify::receives-default", ...args: any[]): void
265
+ connect(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
266
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
267
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
268
+ connect(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
269
+ connect_after(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
270
+ emit(sigName: "notify::sensitive", ...args: any[]): void
271
+ connect(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
272
+ connect_after(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
273
+ emit(sigName: "notify::style", ...args: any[]): void
274
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
275
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
276
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
277
+ connect(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
278
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
279
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
280
+ connect(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
281
+ connect_after(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
282
+ emit(sigName: "notify::valign", ...args: any[]): void
283
+ connect(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
284
+ connect_after(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
285
+ emit(sigName: "notify::vexpand", ...args: any[]): void
286
+ connect(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
287
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
288
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
289
+ connect(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
290
+ connect_after(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
291
+ emit(sigName: "notify::visible", ...args: any[]): void
292
+ connect(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
293
+ connect_after(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
294
+ emit(sigName: "notify::width-request", ...args: any[]): void
295
+ connect(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
296
+ connect_after(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
297
+ emit(sigName: "notify::window", ...args: any[]): void
298
+ connect(sigName: string, callback: (...args: any[]) => void): number
299
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
300
+ emit(sigName: string, ...args: any[]): void
301
+ disconnect(id: number): void
302
+ }
303
+
304
+ class View extends Gtk.DrawingArea {
305
+
306
+ // Own properties of GeglGtk3-0.1.GeglGtk3.View
307
+
308
+ static name: string
309
+ static $gtype: GObject.GType<View>
310
+
311
+ // Constructors of GeglGtk3-0.1.GeglGtk3.View
312
+
313
+ constructor(config?: View.ConstructorProperties)
314
+ /**
315
+ * Create a new #GeglGtkView
316
+ * @constructor
317
+ * @returns New #GeglGtkView
318
+ */
319
+ constructor()
320
+ /**
321
+ * Create a new #GeglGtkView
322
+ * @constructor
323
+ * @returns New #GeglGtkView
324
+ */
325
+ static new(): View
326
+
327
+ // Overloads of new
328
+
329
+ /**
330
+ * Creates a new drawing area.
331
+ * @constructor
332
+ * @returns a new #GtkDrawingArea
333
+ */
334
+ static new(): Gtk.DrawingArea
335
+ static new_for_buffer(buffer: Gegl.Buffer): View
336
+ /**
337
+ * Create a new #GeglGtkView for a given #GeglNode
338
+ * @constructor
339
+ * @param node The #GeglNode to display
340
+ * @returns New #GeglGtkView displaying @node
341
+ */
342
+ static new_for_node(node: Gegl.Node): View
343
+ _init(config?: View.ConstructorProperties): void
344
+ }
345
+
346
+ interface ViewClass {
347
+ }
348
+
349
+ abstract class ViewClass {
350
+
351
+ // Own properties of GeglGtk3-0.1.GeglGtk3.ViewClass
352
+
353
+ static name: string
354
+ }
355
+
356
+ interface ViewPrivate {
357
+ }
358
+
359
+ class ViewPrivate {
360
+
361
+ // Own properties of GeglGtk3-0.1.GeglGtk3.ViewPrivate
362
+
363
+ static name: string
364
+ }
365
+
366
+ /**
367
+ * Name of the imported GIR library
368
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
369
+ */
370
+ const __name__: string
371
+ /**
372
+ * Version of the imported GIR library
373
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
374
+ */
375
+ const __version__: string
376
+ }
377
+
378
+ export default GeglGtk3;
379
+ // END
@@ -0,0 +1,8 @@
1
+
2
+
3
+ // @ts-expect-error
4
+ import GeglGtk3 from 'gi://GeglGtk3?version=0.1';
5
+ export { GeglGtk3 };
6
+ export default GeglGtk3;
7
+
8
+
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@girs/geglgtk3-0.1",
3
+ "version": "0.1.0-3.0.0-beta.12",
4
+ "description": "GJS TypeScript type definitions for GeglGtk3-0.1, generated from library version 0.1.0",
5
+ "type": "module",
6
+ "module": "geglgtk3-0.1.js",
7
+ "main": "geglgtk3-0.1.js",
8
+ "typedoc": {
9
+ "entryPoint": "./geglgtk3-0.1.d.ts",
10
+ "readmeFile": "./README.md",
11
+ "displayName": "GeglGtk3-0.1",
12
+ "tsconfig": "./tsconfig.doc.json"
13
+ },
14
+ "exports": {
15
+ ".": {
16
+ "import": {
17
+ "types": "./geglgtk3-0.1.d.ts",
18
+ "default": "./geglgtk3-0.1.js"
19
+ },
20
+ "require": {
21
+ "types": "./geglgtk3-0.1.d.cts",
22
+ "default": "./geglgtk3-0.1.cjs"
23
+ }
24
+ }
25
+ },
26
+ "scripts": {
27
+ "test": "yarn test:esm && yarn test:cjs",
28
+ "test:esm": "tsc --noEmit geglgtk3-0.1.d.ts",
29
+ "test:cjs": "tsc --noEmit geglgtk3-0.1.d.cts"
30
+ },
31
+ "dependencies": {
32
+ "@girs/atk-1.0": "^2.45.1-3.0.0-beta.12",
33
+ "@girs/babl-0.1": "^0.1.99-3.0.0-beta.12",
34
+ "@girs/cairo-1.0": "^1.0.0-3.0.0-beta.12",
35
+ "@girs/freetype2-2.0": "^2.0.0-3.0.0-beta.12",
36
+ "@girs/gdk-3.0": "^3.24.36-3.0.0-beta.12",
37
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.0.0-beta.12",
38
+ "@girs/gegl-0.4": "^0.4.41-3.0.0-beta.12",
39
+ "@girs/gio-2.0": "^2.75.1-3.0.0-beta.12",
40
+ "@girs/glib-2.0": "^2.75.1-3.0.0-beta.12",
41
+ "@girs/gmodule-2.0": "^2.0.0-3.0.0-beta.12",
42
+ "@girs/gobject-2.0": "^2.75.1-3.0.0-beta.12",
43
+ "@girs/gtk-3.0": "^3.24.36-3.0.0-beta.12",
44
+ "@girs/harfbuzz-0.0": "^6.0.0-3.0.0-beta.12",
45
+ "@girs/pango-1.0": "^1.50.13-3.0.0-beta.12",
46
+ "@girs/xlib-2.0": "^2.0.0-3.0.0-beta.12"
47
+ },
48
+ "devDependencies": {
49
+ "typescript": "^*"
50
+ },
51
+ "keywords": [
52
+ "Gir",
53
+ "TypeScript",
54
+ "GeglGtk3-0.1"
55
+ ],
56
+ "author": "ts-for-gir",
57
+ "license": "Apache-2.0",
58
+ "repository": {
59
+ "type": "git",
60
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
61
+ },
62
+ "bugs": {
63
+ "url": "https://github.com/gjsify/ts-for-gir/issues"
64
+ },
65
+ "homepage": "https://github.com/gjsify/ts-for-gir#readme"
66
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "compilerOptions": {
3
+ // General settings for code interpretation
4
+ "target": "ESNext",
5
+ "module": "ESNext",
6
+ "experimentalDecorators": true,
7
+ "moduleResolution": "node",
8
+ "noEmit": true,
9
+ "noEmitOnError": false,
10
+ "baseUrl": "./",
11
+ "rootDir": ".",
12
+ // General settings for code generation
13
+ "removeComments": false,
14
+ "inlineSourceMap": false,
15
+ "inlineSources": false,
16
+ "newLine": "LF"
17
+ },
18
+ "include": ["./geglgtk3-0.1.d.ts"]
19
+ }