@girs/gtksource-4 5.0.0 → 5.2.0
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/gtksource-4-vocabulary.d.ts +658 -12
- package/gtksource-4-vocabulary.js +162 -13
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for GtkSource-4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.
|
|
7
|
+
GJS TypeScript type definitions for GtkSource-4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.2.0.
|
|
8
8
|
|
|
9
9
|
This package contains type declarations only. It ships no runtime code, so it adds
|
|
10
10
|
nothing to your program and works with any bundler or none at all.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The GIR-derived widget VOCABULARY for GtkSource-4.
|
|
3
3
|
*
|
|
4
|
-
* GENERATED — do not edit. Provenance: GtkSource-4 — dropped empty base(s): GObject.
|
|
4
|
+
* GENERATED — do not edit. Provenance: GtkSource-4 — dropped empty base(s): GObject.Object GObject.InitiallyUnowned Atk.ImplementorIface
|
|
5
5
|
*
|
|
6
|
-
* 5 concrete widgets,
|
|
6
|
+
* 29 instantiable GTypes (of which 5 concrete widgets), 33 declarations, 9 enum nick unions, 1 slot candidates.
|
|
7
7
|
*
|
|
8
8
|
* Module-scoped exports only. There is no `JSX` namespace here, no tag spelling and
|
|
9
9
|
* no `on<Signal>` prop name: those are DIALECT, and every framework answers them
|
|
@@ -24,9 +24,14 @@
|
|
|
24
24
|
* and the `notify::` keys folded in, is what `Widgets[G]['signals']` points at.
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
|
+
import type GLib from '@girs/glib-2.0';
|
|
28
|
+
import type Gdk from '@girs/gdk-3.0';
|
|
29
|
+
import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
|
|
30
|
+
import type Gio from '@girs/gio-2.0';
|
|
31
|
+
import type Gtk from '@girs/gtk-3.0';
|
|
27
32
|
import type GtkSource from './gtksource-4.js';
|
|
28
33
|
import type Pango from '@girs/pango-1.0';
|
|
29
|
-
import type { GtkActionableConstructOnly, GtkActionableProps, GtkActivatableConstructOnly, GtkActivatableProps, GtkBinConstructOnly, GtkBinProps, GtkBuildableConstructOnly, GtkBuildableProps, GtkButtonConstructOnly, GtkButtonProps, GtkContainerConstructOnly, GtkContainerProps, GtkScrollableConstructOnly, GtkScrollableProps, GtkTextViewConstructOnly, GtkTextViewProps, GtkWidgetConstructOnly, GtkWidgetProps, GtkWindowConstructOnly, GtkWindowProps } from '@girs/gtk-3.0/vocabulary';
|
|
34
|
+
import type { GtkActionableConstructOnly, GtkActionableProps, GtkActivatableConstructOnly, GtkActivatableProps, GtkBinConstructOnly, GtkBinProps, GtkBuildableConstructOnly, GtkBuildableProps, GtkButtonConstructOnly, GtkButtonProps, GtkContainerConstructOnly, GtkContainerProps, GtkScrollableConstructOnly, GtkScrollableProps, GtkTextBufferConstructOnly, GtkTextBufferProps, GtkTextMarkConstructOnly, GtkTextMarkProps, GtkTextTagConstructOnly, GtkTextTagProps, GtkTextViewConstructOnly, GtkTextViewProps, GtkTextWindowTypeNick, GtkWidgetConstructOnly, GtkWidgetProps, GtkWindowConstructOnly, GtkWindowProps, GtkWrapModeNick } from '@girs/gtk-3.0/vocabulary';
|
|
30
35
|
|
|
31
36
|
// ---------------------------------------------------------------------------
|
|
32
37
|
// Enum nicks — the string vocabulary GObject registered, from GIR's `glib:nick`.
|
|
@@ -46,6 +51,7 @@ export type GtkSourceGutterRendererAlignmentModeNick = 'cell' | 'first' | 'last'
|
|
|
46
51
|
export type GtkSourceNewlineTypeNick = 'lf' | 'cr' | 'cr-lf';
|
|
47
52
|
export type GtkSourceSmartHomeEndTypeNick = 'disabled' | 'before' | 'after' | 'always';
|
|
48
53
|
export type GtkSourceViewGutterPositionNick = 'lines' | 'marks';
|
|
54
|
+
export type PangoUnderlineNick = 'none' | 'single' | 'double' | 'low' | 'error' | 'single-line' | 'double-line' | 'error-line';
|
|
49
55
|
|
|
50
56
|
// ---------------------------------------------------------------------------
|
|
51
57
|
// Property surfaces — one interface per GIR DECLARATION, mirroring GIR's own
|
|
@@ -57,11 +63,333 @@ export type GtkSourceViewGutterPositionNick = 'lines' | 'marks';
|
|
|
57
63
|
// GIR keeps them once, on the interface.
|
|
58
64
|
// ---------------------------------------------------------------------------
|
|
59
65
|
|
|
66
|
+
export interface GtkSourceBufferProps extends GtkTextBufferProps {
|
|
67
|
+
/**
|
|
68
|
+
* Whether to highlight matching brackets in the buffer.
|
|
69
|
+
* @default TRUE
|
|
70
|
+
*/
|
|
71
|
+
'highlight-matching-brackets'?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Whether to highlight syntax in the buffer.
|
|
74
|
+
* @default TRUE
|
|
75
|
+
*/
|
|
76
|
+
'highlight-syntax'?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Whether the buffer has an implicit trailing newline.
|
|
79
|
+
* @since 3.14
|
|
80
|
+
* @default TRUE
|
|
81
|
+
*/
|
|
82
|
+
'implicit-trailing-newline'?: boolean;
|
|
83
|
+
language?: GtkSource.Language | null;
|
|
84
|
+
/**
|
|
85
|
+
* Number of undo levels for the buffer.
|
|
86
|
+
* @default -1
|
|
87
|
+
*/
|
|
88
|
+
'max-undo-levels'?: number;
|
|
89
|
+
/** Style scheme. */
|
|
90
|
+
'style-scheme'?: GtkSource.StyleScheme | null;
|
|
91
|
+
'undo-manager'?: GtkSource.UndoManager | null;
|
|
92
|
+
}
|
|
93
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
94
|
+
export type GtkSourceBufferConstructOnly = GtkTextBufferConstructOnly;
|
|
95
|
+
|
|
96
|
+
export interface GtkSourceCompletionProps extends GtkBuildableProps {
|
|
97
|
+
/**
|
|
98
|
+
* Number of keyboard accelerators to show for the first proposals.
|
|
99
|
+
* @default 5
|
|
100
|
+
*/
|
|
101
|
+
accelerators?: number;
|
|
102
|
+
/**
|
|
103
|
+
* Determines the popup delay (in milliseconds) at which the completion will be shown for interactive completion.
|
|
104
|
+
* @default 250
|
|
105
|
+
*/
|
|
106
|
+
'auto-complete-delay'?: number;
|
|
107
|
+
/**
|
|
108
|
+
* The scroll page size of the proposals in the completion window.
|
|
109
|
+
* @default 5
|
|
110
|
+
*/
|
|
111
|
+
'proposal-page-size'?: number;
|
|
112
|
+
/**
|
|
113
|
+
* The scroll page size of the provider pages in the completion window.
|
|
114
|
+
* @default 5
|
|
115
|
+
*/
|
|
116
|
+
'provider-page-size'?: number;
|
|
117
|
+
/**
|
|
118
|
+
* Determines whether the visibility of the info window should be saved when the completion is hidden, and restored when the completion is shown again.
|
|
119
|
+
* @default FALSE
|
|
120
|
+
*/
|
|
121
|
+
'remember-info-visibility'?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Determines whether the first proposal should be selected when the completion is first shown.
|
|
124
|
+
* @default TRUE
|
|
125
|
+
*/
|
|
126
|
+
'select-on-show'?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Determines whether provider headers should be shown in the proposal list.
|
|
129
|
+
* @default TRUE
|
|
130
|
+
*/
|
|
131
|
+
'show-headers'?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Determines whether provider and proposal icons should be shown in the completion popup.
|
|
134
|
+
* @default TRUE
|
|
135
|
+
*/
|
|
136
|
+
'show-icons'?: boolean;
|
|
137
|
+
/** The #GtkSourceView bound to the completion object. */
|
|
138
|
+
view?: GtkSource.View | null;
|
|
139
|
+
}
|
|
140
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
141
|
+
export type GtkSourceCompletionConstructOnly = GtkBuildableConstructOnly | 'view';
|
|
142
|
+
|
|
143
|
+
export interface GtkSourceCompletionContextProps {
|
|
144
|
+
/**
|
|
145
|
+
* The completion activation
|
|
146
|
+
* @default GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED
|
|
147
|
+
*/
|
|
148
|
+
activation?: number;
|
|
149
|
+
/** The #GtkSourceCompletion associated with the context. */
|
|
150
|
+
completion?: GtkSource.Completion;
|
|
151
|
+
/** The #GtkTextIter at which the completion is invoked. */
|
|
152
|
+
iter?: Gtk.TextIter;
|
|
153
|
+
}
|
|
154
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
155
|
+
export type GtkSourceCompletionContextConstructOnly = 'completion';
|
|
156
|
+
|
|
60
157
|
export interface GtkSourceCompletionInfoProps extends GtkWindowProps, GtkBuildableProps {
|
|
61
158
|
}
|
|
62
159
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
63
160
|
export type GtkSourceCompletionInfoConstructOnly = GtkWindowConstructOnly | GtkBuildableConstructOnly;
|
|
64
161
|
|
|
162
|
+
export interface GtkSourceCompletionItemProps extends GtkSourceCompletionProposalProps {
|
|
163
|
+
/**
|
|
164
|
+
* The #GIcon for the icon to be shown for this proposal.
|
|
165
|
+
* @since 3.18
|
|
166
|
+
*/
|
|
167
|
+
gicon?: Gio.Icon;
|
|
168
|
+
/** The #GdkPixbuf for the icon to be shown for this proposal. */
|
|
169
|
+
icon?: GdkPixbuf.Pixbuf;
|
|
170
|
+
/**
|
|
171
|
+
* The icon name for the icon to be shown for this proposal.
|
|
172
|
+
* @since 3.18
|
|
173
|
+
* @default NULL
|
|
174
|
+
*/
|
|
175
|
+
'icon-name'?: string;
|
|
176
|
+
/**
|
|
177
|
+
* Optional extra information to be shown for this proposal.
|
|
178
|
+
* @default NULL
|
|
179
|
+
*/
|
|
180
|
+
info?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Label to be shown for this proposal.
|
|
183
|
+
* @default NULL
|
|
184
|
+
*/
|
|
185
|
+
label?: string;
|
|
186
|
+
/**
|
|
187
|
+
* Label with markup to be shown for this proposal.
|
|
188
|
+
* @default NULL
|
|
189
|
+
*/
|
|
190
|
+
markup?: string;
|
|
191
|
+
/**
|
|
192
|
+
* Proposal text.
|
|
193
|
+
* @default NULL
|
|
194
|
+
*/
|
|
195
|
+
text?: string;
|
|
196
|
+
}
|
|
197
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
198
|
+
export type GtkSourceCompletionItemConstructOnly = GtkSourceCompletionProposalConstructOnly;
|
|
199
|
+
|
|
200
|
+
export interface GtkSourceCompletionProposalProps {
|
|
201
|
+
}
|
|
202
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
203
|
+
export type GtkSourceCompletionProposalConstructOnly = never;
|
|
204
|
+
|
|
205
|
+
export interface GtkSourceCompletionProviderProps {
|
|
206
|
+
}
|
|
207
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
208
|
+
export type GtkSourceCompletionProviderConstructOnly = never;
|
|
209
|
+
|
|
210
|
+
export interface GtkSourceCompletionWordsProps extends GtkSourceCompletionProviderProps {
|
|
211
|
+
/**
|
|
212
|
+
* The type of activation.
|
|
213
|
+
* @since 3.10
|
|
214
|
+
* @default GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE | GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED
|
|
215
|
+
*/
|
|
216
|
+
activation?: number;
|
|
217
|
+
icon?: GdkPixbuf.Pixbuf;
|
|
218
|
+
/** @default 50 */
|
|
219
|
+
'interactive-delay'?: number;
|
|
220
|
+
/** @default 2 */
|
|
221
|
+
'minimum-word-size'?: number;
|
|
222
|
+
/** @default NULL */
|
|
223
|
+
name?: string;
|
|
224
|
+
/** @default 0 */
|
|
225
|
+
priority?: number;
|
|
226
|
+
/** @default 300 */
|
|
227
|
+
'proposals-batch-size'?: number;
|
|
228
|
+
/** @default 50 */
|
|
229
|
+
'scan-batch-size'?: number;
|
|
230
|
+
}
|
|
231
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
232
|
+
export type GtkSourceCompletionWordsConstructOnly = GtkSourceCompletionProviderConstructOnly;
|
|
233
|
+
|
|
234
|
+
export interface GtkSourceFileProps {
|
|
235
|
+
/**
|
|
236
|
+
* The location.
|
|
237
|
+
* @since 3.14
|
|
238
|
+
*/
|
|
239
|
+
location?: Gio.File;
|
|
240
|
+
}
|
|
241
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
242
|
+
export type GtkSourceFileConstructOnly = never;
|
|
243
|
+
|
|
244
|
+
export interface GtkSourceFileLoaderProps {
|
|
245
|
+
/**
|
|
246
|
+
* The #GtkSourceBuffer to load the contents into.
|
|
247
|
+
* @since 3.14
|
|
248
|
+
*/
|
|
249
|
+
buffer?: GtkSource.Buffer;
|
|
250
|
+
/**
|
|
251
|
+
* The #GtkSourceFile.
|
|
252
|
+
* @since 3.14
|
|
253
|
+
*/
|
|
254
|
+
file?: GtkSource.File;
|
|
255
|
+
/**
|
|
256
|
+
* The #GInputStream to load.
|
|
257
|
+
* @since 3.14
|
|
258
|
+
*/
|
|
259
|
+
'input-stream'?: Gio.InputStream | null;
|
|
260
|
+
/**
|
|
261
|
+
* The #GFile to load.
|
|
262
|
+
* @since 3.14
|
|
263
|
+
*/
|
|
264
|
+
location?: Gio.File | null;
|
|
265
|
+
}
|
|
266
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
267
|
+
export type GtkSourceFileLoaderConstructOnly = 'buffer' | 'file' | 'input-stream' | 'location';
|
|
268
|
+
|
|
269
|
+
export interface GtkSourceFileSaverProps {
|
|
270
|
+
/**
|
|
271
|
+
* The #GtkSourceBuffer to save.
|
|
272
|
+
* @since 3.14
|
|
273
|
+
*/
|
|
274
|
+
buffer?: GtkSource.Buffer;
|
|
275
|
+
/**
|
|
276
|
+
* The compression type.
|
|
277
|
+
* @since 3.14
|
|
278
|
+
* @default GTK_SOURCE_COMPRESSION_TYPE_NONE
|
|
279
|
+
*/
|
|
280
|
+
'compression-type'?: GtkSourceCompressionTypeNick | GtkSource.CompressionType;
|
|
281
|
+
/**
|
|
282
|
+
* The file's encoding.
|
|
283
|
+
* @since 3.14
|
|
284
|
+
*/
|
|
285
|
+
encoding?: GtkSource.Encoding;
|
|
286
|
+
/**
|
|
287
|
+
* The #GtkSourceFile.
|
|
288
|
+
* @since 3.14
|
|
289
|
+
*/
|
|
290
|
+
file?: GtkSource.File;
|
|
291
|
+
/**
|
|
292
|
+
* File saving flags.
|
|
293
|
+
* @since 3.14
|
|
294
|
+
* @default GTK_SOURCE_FILE_SAVER_FLAGS_NONE
|
|
295
|
+
*/
|
|
296
|
+
flags?: number;
|
|
297
|
+
/**
|
|
298
|
+
* The #GFile where to save the buffer.
|
|
299
|
+
* @since 3.14
|
|
300
|
+
*/
|
|
301
|
+
location?: Gio.File;
|
|
302
|
+
/**
|
|
303
|
+
* The newline type.
|
|
304
|
+
* @since 3.14
|
|
305
|
+
* @default GTK_SOURCE_NEWLINE_TYPE_LF
|
|
306
|
+
*/
|
|
307
|
+
'newline-type'?: GtkSourceNewlineTypeNick | GtkSource.NewlineType;
|
|
308
|
+
}
|
|
309
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
310
|
+
export type GtkSourceFileSaverConstructOnly = 'buffer' | 'file' | 'location';
|
|
311
|
+
|
|
312
|
+
export interface GtkSourceGutterProps {
|
|
313
|
+
/** The #GtkSourceView of the gutter. */
|
|
314
|
+
view?: GtkSource.View;
|
|
315
|
+
/**
|
|
316
|
+
* The text window type on which the window is placed.
|
|
317
|
+
* @default GTK_TEXT_WINDOW_PRIVATE
|
|
318
|
+
*/
|
|
319
|
+
'window-type'?: GtkTextWindowTypeNick | Gtk.TextWindowType;
|
|
320
|
+
}
|
|
321
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
322
|
+
export type GtkSourceGutterConstructOnly = 'view' | 'window-type';
|
|
323
|
+
|
|
324
|
+
export interface GtkSourceGutterRendererProps {
|
|
325
|
+
/**
|
|
326
|
+
* The alignment mode of the renderer.
|
|
327
|
+
* @default GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL
|
|
328
|
+
*/
|
|
329
|
+
'alignment-mode'?: GtkSourceGutterRendererAlignmentModeNick | GtkSource.GutterRendererAlignmentMode;
|
|
330
|
+
'background-rgba'?: Gdk.RGBA;
|
|
331
|
+
/** @default FALSE */
|
|
332
|
+
'background-set'?: boolean;
|
|
333
|
+
/** @default 0 */
|
|
334
|
+
size?: number;
|
|
335
|
+
/**
|
|
336
|
+
* The visibility of the renderer.
|
|
337
|
+
* @default TRUE
|
|
338
|
+
*/
|
|
339
|
+
visible?: boolean;
|
|
340
|
+
/**
|
|
341
|
+
* The horizontal alignment of the renderer.
|
|
342
|
+
* @default 0.000000
|
|
343
|
+
*/
|
|
344
|
+
xalign?: number;
|
|
345
|
+
/**
|
|
346
|
+
* The left and right padding of the renderer.
|
|
347
|
+
* @default 0
|
|
348
|
+
*/
|
|
349
|
+
xpad?: number;
|
|
350
|
+
/**
|
|
351
|
+
* The vertical alignment of the renderer.
|
|
352
|
+
* @default 0.000000
|
|
353
|
+
*/
|
|
354
|
+
yalign?: number;
|
|
355
|
+
/**
|
|
356
|
+
* The top and bottom padding of the renderer.
|
|
357
|
+
* @default 0
|
|
358
|
+
*/
|
|
359
|
+
ypad?: number;
|
|
360
|
+
}
|
|
361
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
362
|
+
export type GtkSourceGutterRendererConstructOnly = never;
|
|
363
|
+
|
|
364
|
+
export interface GtkSourceGutterRendererPixbufProps extends GtkSourceGutterRendererProps {
|
|
365
|
+
gicon?: Gio.Icon;
|
|
366
|
+
/** @default NULL */
|
|
367
|
+
'icon-name'?: string;
|
|
368
|
+
pixbuf?: GdkPixbuf.Pixbuf;
|
|
369
|
+
}
|
|
370
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
371
|
+
export type GtkSourceGutterRendererPixbufConstructOnly = GtkSourceGutterRendererConstructOnly;
|
|
372
|
+
|
|
373
|
+
export interface GtkSourceGutterRendererTextProps extends GtkSourceGutterRendererProps {
|
|
374
|
+
/** @default NULL */
|
|
375
|
+
markup?: string;
|
|
376
|
+
/** @default NULL */
|
|
377
|
+
text?: string;
|
|
378
|
+
}
|
|
379
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
380
|
+
export type GtkSourceGutterRendererTextConstructOnly = GtkSourceGutterRendererConstructOnly;
|
|
381
|
+
|
|
382
|
+
export interface GtkSourceLanguageProps {
|
|
383
|
+
}
|
|
384
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
385
|
+
export type GtkSourceLanguageConstructOnly = never;
|
|
386
|
+
|
|
387
|
+
export interface GtkSourceLanguageManagerProps {
|
|
388
|
+
'search-path'?: string[];
|
|
389
|
+
}
|
|
390
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
391
|
+
export type GtkSourceLanguageManagerConstructOnly = never;
|
|
392
|
+
|
|
65
393
|
export interface GtkSourceMapProps extends GtkSourceViewProps, GtkBuildableProps, GtkScrollableProps {
|
|
66
394
|
'font-desc'?: Pango.FontDescription;
|
|
67
395
|
view?: GtkSource.View | null;
|
|
@@ -69,6 +397,240 @@ export interface GtkSourceMapProps extends GtkSourceViewProps, GtkBuildableProps
|
|
|
69
397
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
70
398
|
export type GtkSourceMapConstructOnly = GtkSourceViewConstructOnly | GtkBuildableConstructOnly | GtkScrollableConstructOnly;
|
|
71
399
|
|
|
400
|
+
export interface GtkSourceMarkProps extends GtkTextMarkProps {
|
|
401
|
+
/**
|
|
402
|
+
* The category of the #GtkSourceMark, classifies the mark and controls which pixbuf is used and with which priority it is drawn.
|
|
403
|
+
* @default NULL
|
|
404
|
+
*/
|
|
405
|
+
category?: string;
|
|
406
|
+
}
|
|
407
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
408
|
+
export type GtkSourceMarkConstructOnly = GtkTextMarkConstructOnly | 'category';
|
|
409
|
+
|
|
410
|
+
export interface GtkSourceMarkAttributesProps {
|
|
411
|
+
/** A color used for background of a line. */
|
|
412
|
+
background?: Gdk.RGBA;
|
|
413
|
+
/** A #GIcon that may be a base of a rendered icon. */
|
|
414
|
+
gicon?: Gio.Icon;
|
|
415
|
+
/**
|
|
416
|
+
* An icon name that may be a base of a rendered icon.
|
|
417
|
+
* @default NULL
|
|
418
|
+
*/
|
|
419
|
+
'icon-name'?: string;
|
|
420
|
+
/** A #GdkPixbuf that may be a base of a rendered icon. */
|
|
421
|
+
pixbuf?: GdkPixbuf.Pixbuf;
|
|
422
|
+
}
|
|
423
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
424
|
+
export type GtkSourceMarkAttributesConstructOnly = never;
|
|
425
|
+
|
|
426
|
+
export interface GtkSourcePrintCompositorProps {
|
|
427
|
+
/**
|
|
428
|
+
* Name of the font used for the text body.
|
|
429
|
+
* @since 2.2
|
|
430
|
+
* @default NULL
|
|
431
|
+
*/
|
|
432
|
+
'body-font-name'?: string;
|
|
433
|
+
/**
|
|
434
|
+
* The GtkSourceBuffer object to print.
|
|
435
|
+
* @since 2.2
|
|
436
|
+
*/
|
|
437
|
+
buffer?: GtkSource.Buffer;
|
|
438
|
+
/**
|
|
439
|
+
* Name of the font used to print page footer.
|
|
440
|
+
* @since 2.2
|
|
441
|
+
* @default NULL
|
|
442
|
+
*/
|
|
443
|
+
'footer-font-name'?: string;
|
|
444
|
+
/**
|
|
445
|
+
* Name of the font used to print page header.
|
|
446
|
+
* @since 2.2
|
|
447
|
+
* @default NULL
|
|
448
|
+
*/
|
|
449
|
+
'header-font-name'?: string;
|
|
450
|
+
/**
|
|
451
|
+
* Whether to print the document with highlighted syntax.
|
|
452
|
+
* @since 2.2
|
|
453
|
+
* @default TRUE
|
|
454
|
+
*/
|
|
455
|
+
'highlight-syntax'?: boolean;
|
|
456
|
+
/**
|
|
457
|
+
* Name of the font used to print line numbers on the left margin.
|
|
458
|
+
* @since 2.2
|
|
459
|
+
* @default NULL
|
|
460
|
+
*/
|
|
461
|
+
'line-numbers-font-name'?: string;
|
|
462
|
+
/**
|
|
463
|
+
* Whether to print a footer in each page.
|
|
464
|
+
* @since 2.2
|
|
465
|
+
* @default FALSE
|
|
466
|
+
*/
|
|
467
|
+
'print-footer'?: boolean;
|
|
468
|
+
/**
|
|
469
|
+
* Whether to print a header in each page.
|
|
470
|
+
* @since 2.2
|
|
471
|
+
* @default FALSE
|
|
472
|
+
*/
|
|
473
|
+
'print-header'?: boolean;
|
|
474
|
+
/**
|
|
475
|
+
* Interval of printed line numbers.
|
|
476
|
+
* @since 2.2
|
|
477
|
+
* @default 1
|
|
478
|
+
*/
|
|
479
|
+
'print-line-numbers'?: number;
|
|
480
|
+
/**
|
|
481
|
+
* Width of a tab character expressed in spaces.
|
|
482
|
+
* @since 2.2
|
|
483
|
+
* @default 8
|
|
484
|
+
*/
|
|
485
|
+
'tab-width'?: number;
|
|
486
|
+
/**
|
|
487
|
+
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
488
|
+
* @since 2.2
|
|
489
|
+
* @default GTK_WRAP_NONE
|
|
490
|
+
*/
|
|
491
|
+
'wrap-mode'?: GtkWrapModeNick | Gtk.WrapMode;
|
|
492
|
+
}
|
|
493
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
494
|
+
export type GtkSourcePrintCompositorConstructOnly = 'buffer';
|
|
495
|
+
|
|
496
|
+
export interface GtkSourceRegionProps {
|
|
497
|
+
/**
|
|
498
|
+
* The #GtkTextBuffer.
|
|
499
|
+
* @since 3.22
|
|
500
|
+
*/
|
|
501
|
+
buffer?: Gtk.TextBuffer | null;
|
|
502
|
+
}
|
|
503
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
504
|
+
export type GtkSourceRegionConstructOnly = 'buffer';
|
|
505
|
+
|
|
506
|
+
export interface GtkSourceSearchContextProps {
|
|
507
|
+
/**
|
|
508
|
+
* The #GtkSourceBuffer associated to the search context.
|
|
509
|
+
* @since 3.10
|
|
510
|
+
*/
|
|
511
|
+
buffer?: GtkSource.Buffer;
|
|
512
|
+
/**
|
|
513
|
+
* Highlight the search occurrences.
|
|
514
|
+
* @since 3.10
|
|
515
|
+
* @default TRUE
|
|
516
|
+
*/
|
|
517
|
+
highlight?: boolean;
|
|
518
|
+
/**
|
|
519
|
+
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
520
|
+
* @since 3.16
|
|
521
|
+
*/
|
|
522
|
+
'match-style'?: GtkSource.Style;
|
|
523
|
+
/**
|
|
524
|
+
* The #GtkSourceSearchSettings associated to the search context.
|
|
525
|
+
* @since 3.10
|
|
526
|
+
*/
|
|
527
|
+
settings?: GtkSource.SearchSettings;
|
|
528
|
+
}
|
|
529
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
530
|
+
export type GtkSourceSearchContextConstructOnly = 'buffer' | 'settings';
|
|
531
|
+
|
|
532
|
+
export interface GtkSourceSearchSettingsProps {
|
|
533
|
+
/**
|
|
534
|
+
* If %TRUE, a search match must start and end a word.
|
|
535
|
+
* @since 3.10
|
|
536
|
+
* @default FALSE
|
|
537
|
+
*/
|
|
538
|
+
'at-word-boundaries'?: boolean;
|
|
539
|
+
/**
|
|
540
|
+
* Whether the search is case sensitive.
|
|
541
|
+
* @since 3.10
|
|
542
|
+
* @default FALSE
|
|
543
|
+
*/
|
|
544
|
+
'case-sensitive'?: boolean;
|
|
545
|
+
/**
|
|
546
|
+
* Search by regular expressions with #GtkSourceSearchSettings:search-text as the pattern.
|
|
547
|
+
* @since 3.10
|
|
548
|
+
* @default FALSE
|
|
549
|
+
*/
|
|
550
|
+
'regex-enabled'?: boolean;
|
|
551
|
+
/**
|
|
552
|
+
* A search string, or %NULL if the search is disabled.
|
|
553
|
+
* @since 3.10
|
|
554
|
+
* @default NULL
|
|
555
|
+
*/
|
|
556
|
+
'search-text'?: string | null;
|
|
557
|
+
/**
|
|
558
|
+
* For a forward search, continue at the beginning of the buffer if no search occurrence is found.
|
|
559
|
+
* @since 3.10
|
|
560
|
+
* @default FALSE
|
|
561
|
+
*/
|
|
562
|
+
'wrap-around'?: boolean;
|
|
563
|
+
}
|
|
564
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
565
|
+
export type GtkSourceSearchSettingsConstructOnly = never;
|
|
566
|
+
|
|
567
|
+
export interface GtkSourceSpaceDrawerProps {
|
|
568
|
+
/**
|
|
569
|
+
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
570
|
+
* @since 3.24
|
|
571
|
+
* @default FALSE
|
|
572
|
+
*/
|
|
573
|
+
'enable-matrix'?: boolean;
|
|
574
|
+
/**
|
|
575
|
+
* The :matrix property is a #GVariant property to specify where and what kind of white spaces to draw.
|
|
576
|
+
* @since 3.24
|
|
577
|
+
*/
|
|
578
|
+
matrix?: GLib.Variant;
|
|
579
|
+
}
|
|
580
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
581
|
+
export type GtkSourceSpaceDrawerConstructOnly = never;
|
|
582
|
+
|
|
583
|
+
export interface GtkSourceStyleProps {
|
|
584
|
+
/** @default NULL */
|
|
585
|
+
background?: string;
|
|
586
|
+
/** @default FALSE */
|
|
587
|
+
'background-set'?: boolean;
|
|
588
|
+
/** @default FALSE */
|
|
589
|
+
bold?: boolean;
|
|
590
|
+
/** @default FALSE */
|
|
591
|
+
'bold-set'?: boolean;
|
|
592
|
+
/** @default NULL */
|
|
593
|
+
foreground?: string;
|
|
594
|
+
/** @default FALSE */
|
|
595
|
+
'foreground-set'?: boolean;
|
|
596
|
+
/** @default FALSE */
|
|
597
|
+
italic?: boolean;
|
|
598
|
+
/** @default FALSE */
|
|
599
|
+
'italic-set'?: boolean;
|
|
600
|
+
/** @default NULL */
|
|
601
|
+
'line-background'?: string;
|
|
602
|
+
/** @default FALSE */
|
|
603
|
+
'line-background-set'?: boolean;
|
|
604
|
+
/** @default PANGO_UNDERLINE_NONE */
|
|
605
|
+
'pango-underline'?: PangoUnderlineNick | Pango.Underline;
|
|
606
|
+
/** @default NULL */
|
|
607
|
+
scale?: string;
|
|
608
|
+
/** @default FALSE */
|
|
609
|
+
'scale-set'?: boolean;
|
|
610
|
+
/** @default FALSE */
|
|
611
|
+
strikethrough?: boolean;
|
|
612
|
+
/** @default FALSE */
|
|
613
|
+
'strikethrough-set'?: boolean;
|
|
614
|
+
/** @default NULL */
|
|
615
|
+
'underline-color'?: string;
|
|
616
|
+
/** @default FALSE */
|
|
617
|
+
'underline-color-set'?: boolean;
|
|
618
|
+
/** @default FALSE */
|
|
619
|
+
'underline-set'?: boolean;
|
|
620
|
+
}
|
|
621
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
622
|
+
export type GtkSourceStyleConstructOnly = 'background' | 'background-set' | 'bold' | 'bold-set' | 'foreground' | 'foreground-set' | 'italic' | 'italic-set' | 'line-background' | 'line-background-set' | 'pango-underline' | 'scale' | 'scale-set' | 'strikethrough' | 'strikethrough-set' | 'underline-color' | 'underline-color-set' | 'underline-set';
|
|
623
|
+
|
|
624
|
+
export interface GtkSourceStyleSchemeProps {
|
|
625
|
+
/**
|
|
626
|
+
* Style scheme id, a unique string used to identify the style scheme in #GtkSourceStyleSchemeManager.
|
|
627
|
+
* @default NULL
|
|
628
|
+
*/
|
|
629
|
+
id?: string;
|
|
630
|
+
}
|
|
631
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
632
|
+
export type GtkSourceStyleSchemeConstructOnly = 'id';
|
|
633
|
+
|
|
72
634
|
export interface GtkSourceStyleSchemeChooserProps {
|
|
73
635
|
/**
|
|
74
636
|
* The :style-scheme property contains the currently selected style scheme.
|
|
@@ -89,6 +651,29 @@ export interface GtkSourceStyleSchemeChooserWidgetProps extends GtkBinProps, Gtk
|
|
|
89
651
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
90
652
|
export type GtkSourceStyleSchemeChooserWidgetConstructOnly = GtkBinConstructOnly | GtkBuildableConstructOnly | GtkSourceStyleSchemeChooserConstructOnly;
|
|
91
653
|
|
|
654
|
+
export interface GtkSourceStyleSchemeManagerProps {
|
|
655
|
+
'search-path'?: string[];
|
|
656
|
+
}
|
|
657
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
658
|
+
export type GtkSourceStyleSchemeManagerConstructOnly = never;
|
|
659
|
+
|
|
660
|
+
export interface GtkSourceTagProps extends GtkTextTagProps {
|
|
661
|
+
/**
|
|
662
|
+
* Whether to draw white spaces.
|
|
663
|
+
* @since 3.20
|
|
664
|
+
* @default FALSE
|
|
665
|
+
*/
|
|
666
|
+
'draw-spaces'?: boolean;
|
|
667
|
+
/**
|
|
668
|
+
* Whether the #GtkSourceTag:draw-spaces property is set and must be taken into account.
|
|
669
|
+
* @since 3.20
|
|
670
|
+
* @default FALSE
|
|
671
|
+
*/
|
|
672
|
+
'draw-spaces-set'?: boolean;
|
|
673
|
+
}
|
|
674
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
675
|
+
export type GtkSourceTagConstructOnly = GtkTextTagConstructOnly;
|
|
676
|
+
|
|
92
677
|
export interface GtkSourceViewProps extends GtkTextViewProps, GtkBuildableProps, GtkScrollableProps {
|
|
93
678
|
/** @default FALSE */
|
|
94
679
|
'auto-indent'?: boolean;
|
|
@@ -205,7 +790,11 @@ export interface Widgets {
|
|
|
205
790
|
};
|
|
206
791
|
}
|
|
207
792
|
|
|
208
|
-
/**
|
|
793
|
+
/**
|
|
794
|
+
* Every GType this namespace can create AND put on screen. A consumer derives its own
|
|
795
|
+
* tag map. For everything a UI file can instantiate — layout managers, event
|
|
796
|
+
* controllers, cell renderers, `GtkSizeGroup` — read `DECLS` below.
|
|
797
|
+
*/
|
|
209
798
|
export type WidgetGType = keyof Widgets;
|
|
210
799
|
|
|
211
800
|
// ---------------------------------------------------------------------------
|
|
@@ -257,7 +846,14 @@ export const PROVENANCE: {
|
|
|
257
846
|
readonly childHolders: number;
|
|
258
847
|
readonly droppedBases: readonly string[];
|
|
259
848
|
readonly inlinedBases: readonly string[];
|
|
849
|
+
/** `<decl>.<prop>` for every property printed `never` because TypeScript has no value for it. */
|
|
260
850
|
readonly unsettableProps: readonly string[];
|
|
851
|
+
/**
|
|
852
|
+
* `<decl>.<prop>: <Ns>.<Name>` for every property printed `never` because the model
|
|
853
|
+
* could not resolve its type across a namespace boundary — two independently released
|
|
854
|
+
* GIRs disagreeing, which is what the main emitter answers `never` for as well.
|
|
855
|
+
*/
|
|
856
|
+
readonly unresolvedProps: readonly string[];
|
|
261
857
|
};
|
|
262
858
|
|
|
263
859
|
/** Declaration GType -> its own settable properties, as GObject registered them. */
|
|
@@ -271,7 +867,17 @@ export const OWN_PROPS: Readonly<Record<string, readonly string[]>>;
|
|
|
271
867
|
*/
|
|
272
868
|
export const OWN_SIGNALS: Readonly<Record<string, readonly string[]>>;
|
|
273
869
|
|
|
274
|
-
/**
|
|
870
|
+
/**
|
|
871
|
+
* Instantiable GType -> every declaration its members come from, self first.
|
|
872
|
+
*
|
|
873
|
+
* The key set is what a UI description file can NAME: every registered, non-abstract
|
|
874
|
+
* class this namespace declares. GtkBuilder resolves a `<object class="…">` through
|
|
875
|
+
* `g_type_from_name`, which knows nothing about widgets, so this is wider than
|
|
876
|
+
* `Widgets` by design — `GtkSizeGroup`, `GtkTextTag`, every `GtkEventController`
|
|
877
|
+
* and every `GtkCellRenderer` are here and are not widgets.
|
|
878
|
+
*
|
|
879
|
+
* `Widgets` and `CHILD_HOLDERS` are the narrower questions and answer them unchanged.
|
|
880
|
+
*/
|
|
275
881
|
export const DECLS: Readonly<Record<string, readonly string[]>>;
|
|
276
882
|
|
|
277
883
|
/** The GTypes in `DECLS` that hold a widget without being one — see `ChildHolders`. */
|
|
@@ -283,8 +889,8 @@ export const ENUM_NICKS: Readonly<Record<string, readonly string[]>>;
|
|
|
283
889
|
/**
|
|
284
890
|
* `<enum GType>.<nick>` -> the integer GObject registers for it, from GIR's `value`.
|
|
285
891
|
*
|
|
286
|
-
* Position in `ENUM_NICKS` is NOT this number. Counting is wrong on 6 of the
|
|
287
|
-
* GTK 4 vocabulary carries --
|
|
892
|
+
* Position in `ENUM_NICKS` is NOT this number. Counting is wrong on 6 of the 137 enums a
|
|
893
|
+
* GTK 4 vocabulary carries -- 112 in Gtk-4.0 and 25 in Adw-1: `GtkResponseType` runs -1 to -11, `GtkTextWindowType` starts
|
|
288
894
|
* at 1, `GtkOrdering` and `GtkConstraintRelation` are -1/0/1, `GtkAlign` has two names
|
|
289
895
|
* on one value, and `GtkConstraintStrength.required` is 1001001000 where counting says 0.
|
|
290
896
|
*
|
|
@@ -322,10 +928,11 @@ export const ENUM_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
322
928
|
*
|
|
323
929
|
* `ENUM_NICKS` carries no bitfield, because GObject cannot resolve a nick SET; that says
|
|
324
930
|
* nothing about a single member's number, and the number is what a host without GI needs.
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
* among them. Counting is worst here:
|
|
328
|
-
*
|
|
931
|
+
* 23 settable properties in Gtk-4.0 and Adw-1 are bitfield-typed and are declared bare
|
|
932
|
+
* `number` -- `GtkEntry:input-hints`, `GtkPopoverMenu:flags`, `AdwTabView:shortcuts`,
|
|
933
|
+
* `GtkDropTarget:actions` among them. Counting is worst here: 119 of the 156 Gtk-4.0
|
|
934
|
+
* bitfield members this vocabulary carries disagree with their declaration position,
|
|
935
|
+
* against 29 of 672 enumeration members.
|
|
329
936
|
*
|
|
330
937
|
* Combine with `|` as GObject does. There is no nick table to pair this with, so a name
|
|
331
938
|
* here is resolvable and a SET still is not.
|
|
@@ -349,13 +956,52 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
349
956
|
*
|
|
350
957
|
* The GType named here is not always one THIS module gives numbers for. A nick vocabulary is
|
|
351
958
|
* emitted once, by the namespace that owns the enum, so `AdwComboRow.search-match-mode` names
|
|
352
|
-
* `GtkStringFilterMatchMode` and its rows are in `@girs/gtk-4.0/vocabulary` —
|
|
959
|
+
* `GtkStringFilterMatchMode` and its rows are in `@girs/gtk-4.0/vocabulary` — 83 of the 909
|
|
353
960
|
* entries in a full run resolve only with the owner's vocabulary loaded beside this one. An
|
|
354
961
|
* owner with no vocabulary of its own (Gdk, Pango) is inlined here instead, so every entry
|
|
355
962
|
* resolves against SOME module.
|
|
356
963
|
*/
|
|
357
964
|
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
358
965
|
|
|
966
|
+
/**
|
|
967
|
+
* The kinds of value a GTK accessible property, relation or state takes.
|
|
968
|
+
*
|
|
969
|
+
* `enum` is the one that needs a second lookup: `ARIA_VALUE_ENUMS` names the enum GType,
|
|
970
|
+
* and `ENUM_NICKS` and `ENUM_VALUES` answer from there.
|
|
971
|
+
*/
|
|
972
|
+
export type AriaValueType = 'string' | 'integer' | 'double' | 'boolean' | 'reference' | 'enum';
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
976
|
+
*
|
|
977
|
+
* The one table in this file that is not a fact about a ParamSpec. A GtkBuilder or
|
|
978
|
+
* Blueprint `accessibility { … }` block is typed by GTK's ARIA table, not by the widget,
|
|
979
|
+
* and the two disagree where it costs most: `orientation` is settable on a `GtkLabel`
|
|
980
|
+
* that implements no `GtkOrientable`, and `checked` is a `GtkAccessibleTristate`, so
|
|
981
|
+
* `checked: true` is the number 1 rather than a boolean. Typing those slots from the
|
|
982
|
+
* widget's properties gets both wrong and raises nothing.
|
|
983
|
+
*
|
|
984
|
+
* Keyed like `ENUM_VALUES` because the ARIA names ARE enum members — of
|
|
985
|
+
* `GtkAccessibleProperty`, `GtkAccessibleRelation` and `GtkAccessibleState` — so
|
|
986
|
+
* `ENUM_NICKS` already lists them and one key parser reads both.
|
|
987
|
+
*
|
|
988
|
+
* Read from each member's own GIR documentation. `gtk_accessible_property_init_value()`
|
|
989
|
+
* is the C half of this table and is not introspectable; the doc sentence is, and states
|
|
990
|
+
* the type for 52 of the 53 members in gtk4 4.23.3. Complete or absent, never partial: a
|
|
991
|
+
* member the generator cannot answer for fails the build and names itself.
|
|
992
|
+
*/
|
|
993
|
+
export const ARIA_VALUE_TYPES: Readonly<Record<string, AriaValueType>>;
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* The same keys, for the `'enum'` rows only -> the GType of that enum.
|
|
997
|
+
*
|
|
998
|
+
* A table of its own for the reason `PROP_ENUMS` is one: folded in, the values of
|
|
999
|
+
* `ARIA_VALUE_TYPES` would be six reserved words mixed with arbitrary GTypes and telling
|
|
1000
|
+
* them apart would be the consumer's problem. Apart, `ARIA_VALUE_TYPES[k] === 'enum'` is
|
|
1001
|
+
* the whole test and `ENUM_NICKS[ARIA_VALUE_ENUMS[k]]` is the nick list.
|
|
1002
|
+
*/
|
|
1003
|
+
export const ARIA_VALUE_ENUMS: Readonly<Record<string, string>>;
|
|
1004
|
+
|
|
359
1005
|
/** Widget GType -> slot name -> the method that may adopt a child there. */
|
|
360
1006
|
export const SLOT_CANDIDATES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
361
1007
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// The widget vocabulary of GtkSource-4 as runtime data.
|
|
2
2
|
//
|
|
3
|
-
// GENERATED — do not edit. Provenance: GtkSource-4 — dropped empty base(s): GObject.
|
|
3
|
+
// GENERATED — do not edit. Provenance: GtkSource-4 — dropped empty base(s): GObject.Object GObject.InitiallyUnowned Atk.ImplementorIface
|
|
4
4
|
//
|
|
5
5
|
// The type half of this subpath is the sibling `.d.ts`. This file exists because
|
|
6
6
|
// types are erased: a consumer that wants to ask the installed library whether every
|
|
@@ -11,33 +11,96 @@ export const PROVENANCE = {
|
|
|
11
11
|
version: '4',
|
|
12
12
|
libraryVersion: null,
|
|
13
13
|
childHolders: 0,
|
|
14
|
-
droppedBases: ['GObject.
|
|
14
|
+
droppedBases: ['GObject.Object', 'GObject.InitiallyUnowned', 'Atk.ImplementorIface'],
|
|
15
15
|
inlinedBases: [],
|
|
16
16
|
unsettableProps: [],
|
|
17
|
+
unresolvedProps: [],
|
|
17
18
|
};
|
|
18
19
|
|
|
19
20
|
export const OWN_PROPS = {
|
|
21
|
+
GtkSourceBuffer: ['highlight-matching-brackets', 'highlight-syntax', 'implicit-trailing-newline', 'language', 'max-undo-levels', 'style-scheme', 'undo-manager'],
|
|
22
|
+
GtkSourceCompletion: ['accelerators', 'auto-complete-delay', 'proposal-page-size', 'provider-page-size', 'remember-info-visibility', 'select-on-show', 'show-headers', 'show-icons', 'view'],
|
|
23
|
+
GtkSourceCompletionContext: ['activation', 'completion', 'iter'],
|
|
24
|
+
GtkSourceCompletionItem: ['gicon', 'icon', 'icon-name', 'info', 'label', 'markup', 'text'],
|
|
25
|
+
GtkSourceCompletionWords: ['activation', 'icon', 'interactive-delay', 'minimum-word-size', 'name', 'priority', 'proposals-batch-size', 'scan-batch-size'],
|
|
26
|
+
GtkSourceFile: ['location'],
|
|
27
|
+
GtkSourceFileLoader: ['buffer', 'file', 'input-stream', 'location'],
|
|
28
|
+
GtkSourceFileSaver: ['buffer', 'compression-type', 'encoding', 'file', 'flags', 'location', 'newline-type'],
|
|
29
|
+
GtkSourceGutter: ['view', 'window-type'],
|
|
30
|
+
GtkSourceGutterRenderer: ['alignment-mode', 'background-rgba', 'background-set', 'size', 'visible', 'xalign', 'xpad', 'yalign', 'ypad'],
|
|
31
|
+
GtkSourceGutterRendererPixbuf: ['gicon', 'icon-name', 'pixbuf'],
|
|
32
|
+
GtkSourceGutterRendererText: ['markup', 'text'],
|
|
33
|
+
GtkSourceLanguageManager: ['search-path'],
|
|
20
34
|
GtkSourceMap: ['font-desc', 'view'],
|
|
35
|
+
GtkSourceMark: ['category'],
|
|
36
|
+
GtkSourceMarkAttributes: ['background', 'gicon', 'icon-name', 'pixbuf'],
|
|
37
|
+
GtkSourcePrintCompositor: ['body-font-name', 'buffer', 'footer-font-name', 'header-font-name', 'highlight-syntax', 'line-numbers-font-name', 'print-footer', 'print-header', 'print-line-numbers', 'tab-width', 'wrap-mode'],
|
|
38
|
+
GtkSourceRegion: ['buffer'],
|
|
39
|
+
GtkSourceSearchContext: ['buffer', 'highlight', 'match-style', 'settings'],
|
|
40
|
+
GtkSourceSearchSettings: ['at-word-boundaries', 'case-sensitive', 'regex-enabled', 'search-text', 'wrap-around'],
|
|
41
|
+
GtkSourceSpaceDrawer: ['enable-matrix', 'matrix'],
|
|
42
|
+
GtkSourceStyle: ['background', 'background-set', 'bold', 'bold-set', 'foreground', 'foreground-set', 'italic', 'italic-set', 'line-background', 'line-background-set', 'pango-underline', 'scale', 'scale-set', 'strikethrough', 'strikethrough-set', 'underline-color', 'underline-color-set', 'underline-set'],
|
|
43
|
+
GtkSourceStyleScheme: ['id'],
|
|
21
44
|
GtkSourceStyleSchemeChooser: ['style-scheme'],
|
|
45
|
+
GtkSourceStyleSchemeManager: ['search-path'],
|
|
46
|
+
GtkSourceTag: ['draw-spaces', 'draw-spaces-set'],
|
|
22
47
|
GtkSourceView: ['auto-indent', 'background-pattern', 'highlight-current-line', 'indent-on-tab', 'indent-width', 'insert-spaces-instead-of-tabs', 'right-margin-position', 'show-line-marks', 'show-line-numbers', 'show-right-margin', 'smart-backspace', 'smart-home-end', 'tab-width'],
|
|
23
48
|
};
|
|
24
49
|
|
|
25
50
|
export const OWN_SIGNALS = {
|
|
51
|
+
GtkSourceBuffer: ['bracket-matched', 'highlight-updated', 'redo', 'source-mark-updated', 'undo'],
|
|
52
|
+
GtkSourceCompletion: ['activate-proposal', 'hide', 'move-cursor', 'move-page', 'populate-context', 'show'],
|
|
53
|
+
GtkSourceCompletionContext: ['cancelled'],
|
|
54
|
+
GtkSourceCompletionProposal: ['changed'],
|
|
55
|
+
GtkSourceGutterRenderer: ['activate', 'query-activatable', 'query-data', 'query-tooltip', 'queue-draw'],
|
|
56
|
+
GtkSourceMarkAttributes: ['query-tooltip-markup', 'query-tooltip-text'],
|
|
26
57
|
GtkSourceView: ['change-case', 'change-number', 'join-lines', 'line-mark-activated', 'move-lines', 'move-to-matching-bracket', 'move-words', 'redo', 'show-completion', 'smart-home-end', 'undo'],
|
|
27
58
|
};
|
|
28
59
|
|
|
60
|
+
// Every GType this namespace can INSTANTIATE -> the declarations its members come from.
|
|
61
|
+
//
|
|
62
|
+
// The key set is what a UI description file can name: a registered, non-abstract class.
|
|
63
|
+
// Not "every widget" — GtkBuilder resolves a name through `g_type_from_name`, which knows
|
|
64
|
+
// nothing about widgets, and a `.ui` file is full of `GtkSizeGroup`, `GtkTextTag`,
|
|
65
|
+
// `GtkEventController*` and `GtkCellRenderer*`. Use `Widgets` and `CHILD_HOLDERS`
|
|
66
|
+
// below for the narrower questions; they did not move.
|
|
29
67
|
export const DECLS = {
|
|
68
|
+
GtkSourceBuffer: ['GtkSourceBuffer', 'GtkTextBuffer'],
|
|
69
|
+
GtkSourceCompletion: ['GtkSourceCompletion', 'GtkBuildable'],
|
|
70
|
+
GtkSourceCompletionContext: ['GtkSourceCompletionContext'],
|
|
30
71
|
GtkSourceCompletionInfo: ['GtkSourceCompletionInfo', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
|
|
72
|
+
GtkSourceCompletionItem: ['GtkSourceCompletionItem', 'GtkSourceCompletionProposal'],
|
|
73
|
+
GtkSourceCompletionWords: ['GtkSourceCompletionWords', 'GtkSourceCompletionProvider'],
|
|
74
|
+
GtkSourceFile: ['GtkSourceFile'],
|
|
75
|
+
GtkSourceFileLoader: ['GtkSourceFileLoader'],
|
|
76
|
+
GtkSourceFileSaver: ['GtkSourceFileSaver'],
|
|
77
|
+
GtkSourceGutter: ['GtkSourceGutter'],
|
|
78
|
+
GtkSourceGutterRendererPixbuf: ['GtkSourceGutterRendererPixbuf', 'GtkSourceGutterRenderer'],
|
|
79
|
+
GtkSourceGutterRendererText: ['GtkSourceGutterRendererText', 'GtkSourceGutterRenderer'],
|
|
80
|
+
GtkSourceLanguage: ['GtkSourceLanguage'],
|
|
81
|
+
GtkSourceLanguageManager: ['GtkSourceLanguageManager'],
|
|
31
82
|
GtkSourceMap: ['GtkSourceMap', 'GtkSourceView', 'GtkTextView', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkScrollable'],
|
|
83
|
+
GtkSourceMark: ['GtkSourceMark', 'GtkTextMark'],
|
|
84
|
+
GtkSourceMarkAttributes: ['GtkSourceMarkAttributes'],
|
|
85
|
+
GtkSourcePrintCompositor: ['GtkSourcePrintCompositor'],
|
|
86
|
+
GtkSourceRegion: ['GtkSourceRegion'],
|
|
87
|
+
GtkSourceSearchContext: ['GtkSourceSearchContext'],
|
|
88
|
+
GtkSourceSearchSettings: ['GtkSourceSearchSettings'],
|
|
89
|
+
GtkSourceSpaceDrawer: ['GtkSourceSpaceDrawer'],
|
|
90
|
+
GtkSourceStyle: ['GtkSourceStyle'],
|
|
91
|
+
GtkSourceStyleScheme: ['GtkSourceStyleScheme'],
|
|
32
92
|
GtkSourceStyleSchemeChooserButton: ['GtkSourceStyleSchemeChooserButton', 'GtkButton', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkActionable', 'GtkActivatable', 'GtkBuildable', 'GtkSourceStyleSchemeChooser'],
|
|
33
93
|
GtkSourceStyleSchemeChooserWidget: ['GtkSourceStyleSchemeChooserWidget', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkSourceStyleSchemeChooser'],
|
|
94
|
+
GtkSourceStyleSchemeManager: ['GtkSourceStyleSchemeManager'],
|
|
95
|
+
GtkSourceTag: ['GtkSourceTag', 'GtkTextTag'],
|
|
34
96
|
GtkSourceView: ['GtkSourceView', 'GtkTextView', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkScrollable'],
|
|
35
97
|
};
|
|
36
98
|
|
|
37
|
-
// The GTypes above that are
|
|
38
|
-
//
|
|
39
|
-
//
|
|
40
|
-
//
|
|
99
|
+
// The GTypes above that ARE widgets are the `Widgets` map in the sibling `.d.ts`; these
|
|
100
|
+
// are the ones that merely HOLD one, through `set_child`/`get_child`, descending from
|
|
101
|
+
// `GObject.Object`. A renderer places them like a container; a check asking "is this a
|
|
102
|
+
// widget" must not count them. Derived from the accessor pair, never from a list — the
|
|
103
|
+
// count is in the provenance line above.
|
|
41
104
|
export const CHILD_HOLDERS = [];
|
|
42
105
|
|
|
43
106
|
export const ENUM_NICKS = {
|
|
@@ -49,6 +112,7 @@ export const ENUM_NICKS = {
|
|
|
49
112
|
GtkSourceNewlineType: ['lf', 'cr', 'cr-lf'],
|
|
50
113
|
GtkSourceSmartHomeEndType: ['disabled', 'before', 'after', 'always'],
|
|
51
114
|
GtkSourceViewGutterPosition: ['lines', 'marks'],
|
|
115
|
+
PangoUnderline: ['none', 'single', 'double', 'low', 'error', 'single-line', 'double-line', 'error-line'],
|
|
52
116
|
};
|
|
53
117
|
|
|
54
118
|
// The number behind each of those nicks, read from GIR's own `value` attribute.
|
|
@@ -56,7 +120,7 @@ export const ENUM_NICKS = {
|
|
|
56
120
|
// It ships because position in `ENUM_NICKS` is not the value and a consumer with no
|
|
57
121
|
// typelib has no other way to learn it: a surface without GI still has to hand GObject an
|
|
58
122
|
// integer. The alternative a consumer reaches for first is counting, and counting is wrong
|
|
59
|
-
// on 6 of the
|
|
123
|
+
// on 6 of the 137 enums a GTK 4 vocabulary carries (112 in Gtk-4.0, 25 in Adw-1) --
|
|
60
124
|
// `GtkResponseType` runs -1 down to
|
|
61
125
|
// -11, `GtkTextWindowType` starts at 1, and `GtkConstraintStrength.required` is
|
|
62
126
|
// 1001001000 where counting answers 0.
|
|
@@ -90,6 +154,14 @@ export const ENUM_VALUES = {
|
|
|
90
154
|
'GtkSourceSmartHomeEndType.disabled': 0,
|
|
91
155
|
'GtkSourceViewGutterPosition.lines': -30,
|
|
92
156
|
'GtkSourceViewGutterPosition.marks': -20,
|
|
157
|
+
'PangoUnderline.double': 2,
|
|
158
|
+
'PangoUnderline.double-line': 6,
|
|
159
|
+
'PangoUnderline.error': 4,
|
|
160
|
+
'PangoUnderline.error-line': 7,
|
|
161
|
+
'PangoUnderline.low': 3,
|
|
162
|
+
'PangoUnderline.none': 0,
|
|
163
|
+
'PangoUnderline.single': 1,
|
|
164
|
+
'PangoUnderline.single-line': 5,
|
|
93
165
|
};
|
|
94
166
|
|
|
95
167
|
// The nicks GIR marks `deprecated="1"`.
|
|
@@ -118,11 +190,12 @@ export const ENUM_VALUES_UNREADABLE = {};
|
|
|
118
190
|
// The number behind each member of a registered BITFIELD, keyed the same way.
|
|
119
191
|
//
|
|
120
192
|
// `ENUM_NICKS` refuses a bitfield because GObject cannot resolve a nick SET, and that
|
|
121
|
-
// reason says nothing about one member's number.
|
|
122
|
-
//
|
|
123
|
-
// `AdwTabView:shortcuts`, ... -- and they are typed bare
|
|
124
|
-
// has nothing to compute one from. Counting is worst
|
|
125
|
-
//
|
|
193
|
+
// reason says nothing about one member's number. 23 settable properties in Gtk-4.0 and
|
|
194
|
+
// Adw-1 are bitfield-typed -- `GtkEntry:input-hints`, `GtkPopoverMenu:flags`,
|
|
195
|
+
// `AdwTabView:shortcuts`, `GtkDropTarget:actions`, ... -- and they are typed bare
|
|
196
|
+
// `number`, so a host without GI has nothing to compute one from. Counting is worst
|
|
197
|
+
// exactly here: 119 of the 156 Gtk-4.0 bitfield members this vocabulary carries disagree
|
|
198
|
+
// with their declaration position, against 29 of 672 enumeration members.
|
|
126
199
|
//
|
|
127
200
|
// A table of its own rather than more rows in `ENUM_VALUES`, so that "every nick in
|
|
128
201
|
// `ENUM_NICKS` has a number or a declared reason" stays a claim about one set.
|
|
@@ -172,13 +245,47 @@ export const FLAG_VALUES_UNREADABLE = {};
|
|
|
172
245
|
// one are both entries a consumer would resolve wrongly, so neither is written.
|
|
173
246
|
//
|
|
174
247
|
// A GType named here has numbers in SOME vocabulary, not necessarily this one: the namespace
|
|
175
|
-
// that OWNS an enum publishes it, so
|
|
248
|
+
// that OWNS an enum publishes it, so 83 of the 909 entries a full run emits want the owner's
|
|
176
249
|
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
177
250
|
export const PROP_ENUMS = {
|
|
251
|
+
'GtkSourceCompletionContext.activation': 'GtkSourceCompletionActivation',
|
|
252
|
+
'GtkSourceCompletionWords.activation': 'GtkSourceCompletionActivation',
|
|
253
|
+
'GtkSourceFileSaver.compression-type': 'GtkSourceCompressionType',
|
|
254
|
+
'GtkSourceFileSaver.flags': 'GtkSourceFileSaverFlags',
|
|
255
|
+
'GtkSourceFileSaver.newline-type': 'GtkSourceNewlineType',
|
|
256
|
+
'GtkSourceGutter.window-type': 'GtkTextWindowType',
|
|
257
|
+
'GtkSourceGutterRenderer.alignment-mode': 'GtkSourceGutterRendererAlignmentMode',
|
|
258
|
+
'GtkSourcePrintCompositor.wrap-mode': 'GtkWrapMode',
|
|
259
|
+
'GtkSourceStyle.pango-underline': 'PangoUnderline',
|
|
178
260
|
'GtkSourceView.background-pattern': 'GtkSourceBackgroundPatternType',
|
|
179
261
|
'GtkSourceView.smart-home-end': 'GtkSourceSmartHomeEndType',
|
|
180
262
|
};
|
|
181
263
|
|
|
264
|
+
// `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
265
|
+
//
|
|
266
|
+
// The one table here that is not about a ParamSpec. A GtkBuilder or Blueprint
|
|
267
|
+
// `accessibility { … }` block is typed by GTK's ARIA table instead, and the two disagree
|
|
268
|
+
// where it matters: `orientation` is settable on a `GtkLabel` that implements no
|
|
269
|
+
// `GtkOrientable` and has no such property, and `checked` is a `GtkAccessibleTristate`, so
|
|
270
|
+
// `checked: true` means the number 1 and not the boolean. A consumer typing those slots
|
|
271
|
+
// from the widget gets both wrong, silently.
|
|
272
|
+
//
|
|
273
|
+
// Read from each member's own documentation, which is where GTK keeps the table --
|
|
274
|
+
// `gtk_accessible_property_init_value()` is the C half and is not introspectable, the
|
|
275
|
+
// sentence is. Complete or absent, never partial: a member whose documentation states no
|
|
276
|
+
// value type fails generation and names itself, because a missing row is indistinguishable
|
|
277
|
+
// from "GTK has no such name" and the plausible fallback emits `true` where GTK means 1.
|
|
278
|
+
export const ARIA_VALUE_TYPES = {};
|
|
279
|
+
|
|
280
|
+
// The same keys, for the `'enum'` rows only -> the GType of the enum.
|
|
281
|
+
//
|
|
282
|
+
// The join on from a kind to a number, and a table of its own for the reason `PROP_ENUMS`
|
|
283
|
+
// is one: folding the GType into `ARIA_VALUE_TYPES` would make its values a mix of six
|
|
284
|
+
// reserved words and arbitrary GTypes, and telling them apart would be the consumer's
|
|
285
|
+
// problem. With this, `ARIA_VALUE_TYPES[k] === 'enum'` is the whole test, and
|
|
286
|
+
// `ENUM_NICKS[ARIA_VALUE_ENUMS[k]]` is the nick list.
|
|
287
|
+
export const ARIA_VALUE_ENUMS = {};
|
|
288
|
+
|
|
182
289
|
export const SLOT_CANDIDATES = {
|
|
183
290
|
GtkSourceMap: {
|
|
184
291
|
'view': 'set_view',
|
|
@@ -186,7 +293,49 @@ export const SLOT_CANDIDATES = {
|
|
|
186
293
|
};
|
|
187
294
|
|
|
188
295
|
export const SINCE = {
|
|
296
|
+
'GtkSourceBuffer.implicit-trailing-newline': '3.14',
|
|
297
|
+
'GtkSourceBuffer::bracket-matched': '2.12',
|
|
298
|
+
'GtkSourceCompletionItem.gicon': '3.18',
|
|
299
|
+
'GtkSourceCompletionItem.icon-name': '3.18',
|
|
300
|
+
'GtkSourceCompletionWords.activation': '3.10',
|
|
301
|
+
'GtkSourceFile.location': '3.14',
|
|
302
|
+
'GtkSourceFileLoader.buffer': '3.14',
|
|
303
|
+
'GtkSourceFileLoader.file': '3.14',
|
|
304
|
+
'GtkSourceFileLoader.input-stream': '3.14',
|
|
305
|
+
'GtkSourceFileLoader.location': '3.14',
|
|
306
|
+
'GtkSourceFileSaver.buffer': '3.14',
|
|
307
|
+
'GtkSourceFileSaver.compression-type': '3.14',
|
|
308
|
+
'GtkSourceFileSaver.encoding': '3.14',
|
|
309
|
+
'GtkSourceFileSaver.file': '3.14',
|
|
310
|
+
'GtkSourceFileSaver.flags': '3.14',
|
|
311
|
+
'GtkSourceFileSaver.location': '3.14',
|
|
312
|
+
'GtkSourceFileSaver.newline-type': '3.14',
|
|
313
|
+
'GtkSourcePrintCompositor.body-font-name': '2.2',
|
|
314
|
+
'GtkSourcePrintCompositor.buffer': '2.2',
|
|
315
|
+
'GtkSourcePrintCompositor.footer-font-name': '2.2',
|
|
316
|
+
'GtkSourcePrintCompositor.header-font-name': '2.2',
|
|
317
|
+
'GtkSourcePrintCompositor.highlight-syntax': '2.2',
|
|
318
|
+
'GtkSourcePrintCompositor.line-numbers-font-name': '2.2',
|
|
319
|
+
'GtkSourcePrintCompositor.print-footer': '2.2',
|
|
320
|
+
'GtkSourcePrintCompositor.print-header': '2.2',
|
|
321
|
+
'GtkSourcePrintCompositor.print-line-numbers': '2.2',
|
|
322
|
+
'GtkSourcePrintCompositor.tab-width': '2.2',
|
|
323
|
+
'GtkSourcePrintCompositor.wrap-mode': '2.2',
|
|
324
|
+
'GtkSourceRegion.buffer': '3.22',
|
|
325
|
+
'GtkSourceSearchContext.buffer': '3.10',
|
|
326
|
+
'GtkSourceSearchContext.highlight': '3.10',
|
|
327
|
+
'GtkSourceSearchContext.match-style': '3.16',
|
|
328
|
+
'GtkSourceSearchContext.settings': '3.10',
|
|
329
|
+
'GtkSourceSearchSettings.at-word-boundaries': '3.10',
|
|
330
|
+
'GtkSourceSearchSettings.case-sensitive': '3.10',
|
|
331
|
+
'GtkSourceSearchSettings.regex-enabled': '3.10',
|
|
332
|
+
'GtkSourceSearchSettings.search-text': '3.10',
|
|
333
|
+
'GtkSourceSearchSettings.wrap-around': '3.10',
|
|
334
|
+
'GtkSourceSpaceDrawer.enable-matrix': '3.24',
|
|
335
|
+
'GtkSourceSpaceDrawer.matrix': '3.24',
|
|
189
336
|
'GtkSourceStyleSchemeChooser.style-scheme': '3.16',
|
|
337
|
+
'GtkSourceTag.draw-spaces': '3.20',
|
|
338
|
+
'GtkSourceTag.draw-spaces-set': '3.20',
|
|
190
339
|
'GtkSourceView.background-pattern': '3.16',
|
|
191
340
|
'GtkSourceView.smart-backspace': '3.18',
|
|
192
341
|
'GtkSourceView.smart-home-end': '2.0',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gtksource-4",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GtkSource-4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gtksource-4.js",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
"test": "tsc --project tsconfig.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@girs/gjs": "^5.
|
|
40
|
-
"@girs/gtk-3.0": "^5.
|
|
41
|
-
"@girs/xlib-2.0": "^5.
|
|
42
|
-
"@girs/gdk-3.0": "^5.
|
|
43
|
-
"@girs/cairo-1.0": "^5.
|
|
44
|
-
"@girs/gobject-2.0": "^5.
|
|
45
|
-
"@girs/glib-2.0": "^5.
|
|
46
|
-
"@girs/pango-1.0": "^5.
|
|
47
|
-
"@girs/harfbuzz-0.0": "^5.
|
|
48
|
-
"@girs/freetype2-2.0": "^5.
|
|
49
|
-
"@girs/gio-2.0": "^5.
|
|
50
|
-
"@girs/gmodule-2.0": "^5.
|
|
51
|
-
"@girs/gdkpixbuf-2.0": "^5.
|
|
52
|
-
"@girs/atk-1.0": "^5.
|
|
39
|
+
"@girs/gjs": "^5.2.0",
|
|
40
|
+
"@girs/gtk-3.0": "^5.2.0",
|
|
41
|
+
"@girs/xlib-2.0": "^5.2.0",
|
|
42
|
+
"@girs/gdk-3.0": "^5.2.0",
|
|
43
|
+
"@girs/cairo-1.0": "^5.2.0",
|
|
44
|
+
"@girs/gobject-2.0": "^5.2.0",
|
|
45
|
+
"@girs/glib-2.0": "^5.2.0",
|
|
46
|
+
"@girs/pango-1.0": "^5.2.0",
|
|
47
|
+
"@girs/harfbuzz-0.0": "^5.2.0",
|
|
48
|
+
"@girs/freetype2-2.0": "^5.2.0",
|
|
49
|
+
"@girs/gio-2.0": "^5.2.0",
|
|
50
|
+
"@girs/gmodule-2.0": "^5.2.0",
|
|
51
|
+
"@girs/gdkpixbuf-2.0": "^5.2.0",
|
|
52
|
+
"@girs/atk-1.0": "^5.2.0" },
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"typescript": "*"
|
|
55
55
|
},
|