@girs/gtksource-300 5.1.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-300-vocabulary.d.ts +515 -12
- package/gtksource-300-vocabulary.js +119 -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-300 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.
|
|
7
|
+
GJS TypeScript type definitions for GtkSource-300 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-300.
|
|
3
3
|
*
|
|
4
|
-
* GENERATED — do not edit. Provenance: GtkSource-300 — dropped empty base(s): GObject.
|
|
4
|
+
* GENERATED — do not edit. Provenance: GtkSource-300 — dropped empty base(s): GObject.Object GObject.InitiallyUnowned Atk.ImplementorIface
|
|
5
5
|
*
|
|
6
|
-
* 2 concrete widgets,
|
|
6
|
+
* 24 instantiable GTypes (of which 2 concrete widgets), 26 declarations, 9 enum nick unions, 0 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,8 +24,13 @@
|
|
|
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-300.js';
|
|
28
|
-
import type { GtkBinConstructOnly, GtkBinProps, GtkBuildableConstructOnly, GtkBuildableProps, GtkContainerConstructOnly, GtkContainerProps, GtkScrollableConstructOnly, GtkScrollableProps, GtkTextViewConstructOnly, GtkTextViewProps, GtkWidgetConstructOnly, GtkWidgetProps, GtkWindowConstructOnly, GtkWindowProps } from '@girs/gtk-3.0/vocabulary';
|
|
33
|
+
import type { GtkBinConstructOnly, GtkBinProps, GtkBuildableConstructOnly, GtkBuildableProps, GtkContainerConstructOnly, GtkContainerProps, GtkScrollableConstructOnly, GtkScrollableProps, GtkTextBufferConstructOnly, GtkTextBufferProps, GtkTextMarkConstructOnly, GtkTextMarkProps, GtkTextTagConstructOnly, GtkTextTagProps, GtkTextViewConstructOnly, GtkTextViewProps, GtkTextWindowTypeNick, GtkWidgetConstructOnly, GtkWidgetProps, GtkWindowConstructOnly, GtkWindowProps, GtkWrapModeNick } from '@girs/gtk-3.0/vocabulary';
|
|
29
34
|
|
|
30
35
|
// ---------------------------------------------------------------------------
|
|
31
36
|
// Enum nicks — the string vocabulary GObject registered, from GIR's `glib:nick`.
|
|
@@ -57,11 +62,487 @@ export type GtkSourceViewGutterPositionNick = 'lines' | 'marks';
|
|
|
57
62
|
// GIR keeps them once, on the interface.
|
|
58
63
|
// ---------------------------------------------------------------------------
|
|
59
64
|
|
|
65
|
+
export interface GtkSourceBufferProps extends GtkTextBufferProps {
|
|
66
|
+
/**
|
|
67
|
+
* Whether to highlight matching brackets in the buffer.
|
|
68
|
+
* @default TRUE
|
|
69
|
+
*/
|
|
70
|
+
'highlight-matching-brackets'?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Whether to highlight syntax in the buffer.
|
|
73
|
+
* @default TRUE
|
|
74
|
+
*/
|
|
75
|
+
'highlight-syntax'?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Whether the buffer has an implicit trailing newline.
|
|
78
|
+
* @since 3.14
|
|
79
|
+
* @default TRUE
|
|
80
|
+
*/
|
|
81
|
+
'implicit-trailing-newline'?: boolean;
|
|
82
|
+
language?: GtkSource.Language | null;
|
|
83
|
+
/**
|
|
84
|
+
* Number of undo levels for the buffer.
|
|
85
|
+
* @default -1
|
|
86
|
+
*/
|
|
87
|
+
'max-undo-levels'?: number;
|
|
88
|
+
/** Style scheme. */
|
|
89
|
+
'style-scheme'?: GtkSource.StyleScheme | null;
|
|
90
|
+
'undo-manager'?: GtkSource.UndoManager | null;
|
|
91
|
+
}
|
|
92
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
93
|
+
export type GtkSourceBufferConstructOnly = GtkTextBufferConstructOnly;
|
|
94
|
+
|
|
95
|
+
export interface GtkSourceCompletionProps {
|
|
96
|
+
/**
|
|
97
|
+
* Number of keyboard accelerators to show for the first proposals.
|
|
98
|
+
* @default 5
|
|
99
|
+
*/
|
|
100
|
+
accelerators?: number;
|
|
101
|
+
/**
|
|
102
|
+
* Determines the popup delay (in milliseconds) at which the completion will be shown for interactive completion.
|
|
103
|
+
* @default 250
|
|
104
|
+
*/
|
|
105
|
+
'auto-complete-delay'?: number;
|
|
106
|
+
/**
|
|
107
|
+
* The scroll page size of the proposals in the completion window.
|
|
108
|
+
* @default 5
|
|
109
|
+
*/
|
|
110
|
+
'proposal-page-size'?: number;
|
|
111
|
+
/**
|
|
112
|
+
* The scroll page size of the provider pages in the completion window.
|
|
113
|
+
* @default 5
|
|
114
|
+
*/
|
|
115
|
+
'provider-page-size'?: number;
|
|
116
|
+
/**
|
|
117
|
+
* Determines whether the visibility of the info window should be saved when the completion is hidden, and restored when the completion is shown again.
|
|
118
|
+
* @default FALSE
|
|
119
|
+
*/
|
|
120
|
+
'remember-info-visibility'?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Determines whether the first proposal should be selected when the completion is first shown.
|
|
123
|
+
* @default TRUE
|
|
124
|
+
*/
|
|
125
|
+
'select-on-show'?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Determines whether provider headers should be shown in the proposal list.
|
|
128
|
+
* @default TRUE
|
|
129
|
+
*/
|
|
130
|
+
'show-headers'?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Determines whether provider and proposal icons should be shown in the completion popup.
|
|
133
|
+
* @default TRUE
|
|
134
|
+
*/
|
|
135
|
+
'show-icons'?: boolean;
|
|
136
|
+
/** The #GtkSourceView bound to the completion object. */
|
|
137
|
+
view?: GtkSource.View | null;
|
|
138
|
+
}
|
|
139
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
140
|
+
export type GtkSourceCompletionConstructOnly = 'view';
|
|
141
|
+
|
|
142
|
+
export interface GtkSourceCompletionContextProps {
|
|
143
|
+
/**
|
|
144
|
+
* The completion activation
|
|
145
|
+
* @default GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED
|
|
146
|
+
*/
|
|
147
|
+
activation?: number;
|
|
148
|
+
/** The #GtkSourceCompletion associated with the context. */
|
|
149
|
+
completion?: GtkSource.Completion;
|
|
150
|
+
/** The #GtkTextIter at which the completion is invoked. */
|
|
151
|
+
iter?: Gtk.TextIter;
|
|
152
|
+
}
|
|
153
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
154
|
+
export type GtkSourceCompletionContextConstructOnly = 'completion';
|
|
155
|
+
|
|
60
156
|
export interface GtkSourceCompletionInfoProps extends GtkWindowProps, GtkBuildableProps {
|
|
61
157
|
}
|
|
62
158
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
63
159
|
export type GtkSourceCompletionInfoConstructOnly = GtkWindowConstructOnly | GtkBuildableConstructOnly;
|
|
64
160
|
|
|
161
|
+
export interface GtkSourceCompletionItemProps extends GtkSourceCompletionProposalProps {
|
|
162
|
+
}
|
|
163
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
164
|
+
export type GtkSourceCompletionItemConstructOnly = GtkSourceCompletionProposalConstructOnly;
|
|
165
|
+
|
|
166
|
+
export interface GtkSourceCompletionProposalProps {
|
|
167
|
+
}
|
|
168
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
169
|
+
export type GtkSourceCompletionProposalConstructOnly = never;
|
|
170
|
+
|
|
171
|
+
export interface GtkSourceFileProps {
|
|
172
|
+
/**
|
|
173
|
+
* The #GFile.
|
|
174
|
+
* @since 3.14
|
|
175
|
+
*/
|
|
176
|
+
location?: Gio.File | null;
|
|
177
|
+
}
|
|
178
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
179
|
+
export type GtkSourceFileConstructOnly = never;
|
|
180
|
+
|
|
181
|
+
export interface GtkSourceFileLoaderProps {
|
|
182
|
+
/**
|
|
183
|
+
* The #GtkSourceBuffer to load the contents into.
|
|
184
|
+
* @since 3.14
|
|
185
|
+
*/
|
|
186
|
+
buffer?: GtkSource.Buffer | null;
|
|
187
|
+
/**
|
|
188
|
+
* The #GtkSourceFile.
|
|
189
|
+
* @since 3.14
|
|
190
|
+
*/
|
|
191
|
+
file?: GtkSource.File | null;
|
|
192
|
+
/**
|
|
193
|
+
* The #GInputStream to load.
|
|
194
|
+
* @since 3.14
|
|
195
|
+
*/
|
|
196
|
+
'input-stream'?: Gio.InputStream | null;
|
|
197
|
+
/**
|
|
198
|
+
* The #GFile to load, or %NULL to load the contents from the #GtkSourceFileLoader:input-stream.
|
|
199
|
+
* @since 3.14
|
|
200
|
+
*/
|
|
201
|
+
location?: Gio.File | null;
|
|
202
|
+
/**
|
|
203
|
+
* The maximum number of bytes to read.
|
|
204
|
+
* @since 299.6
|
|
205
|
+
* @default 200000000
|
|
206
|
+
*/
|
|
207
|
+
'max-size'?: bigint | number;
|
|
208
|
+
}
|
|
209
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
210
|
+
export type GtkSourceFileLoaderConstructOnly = 'buffer' | 'file' | 'input-stream' | 'location';
|
|
211
|
+
|
|
212
|
+
export interface GtkSourceFileSaverProps {
|
|
213
|
+
/**
|
|
214
|
+
* The #GtkSourceBuffer to save.
|
|
215
|
+
* @since 3.14
|
|
216
|
+
*/
|
|
217
|
+
buffer?: GtkSource.Buffer;
|
|
218
|
+
/**
|
|
219
|
+
* The compression type.
|
|
220
|
+
* @since 3.14
|
|
221
|
+
* @default GTK_SOURCE_COMPRESSION_TYPE_NONE
|
|
222
|
+
*/
|
|
223
|
+
'compression-type'?: GtkSourceCompressionTypeNick | GtkSource.CompressionType;
|
|
224
|
+
/**
|
|
225
|
+
* The file's encoding.
|
|
226
|
+
* @since 3.14
|
|
227
|
+
*/
|
|
228
|
+
encoding?: GtkSource.Encoding;
|
|
229
|
+
/**
|
|
230
|
+
* The #GtkSourceFile.
|
|
231
|
+
* @since 3.14
|
|
232
|
+
*/
|
|
233
|
+
file?: GtkSource.File;
|
|
234
|
+
/**
|
|
235
|
+
* File saving flags.
|
|
236
|
+
* @since 3.14
|
|
237
|
+
* @default GTK_SOURCE_FILE_SAVER_FLAGS_NONE
|
|
238
|
+
*/
|
|
239
|
+
flags?: number;
|
|
240
|
+
/**
|
|
241
|
+
* The #GFile where to save the buffer.
|
|
242
|
+
* @since 3.14
|
|
243
|
+
*/
|
|
244
|
+
location?: Gio.File;
|
|
245
|
+
/**
|
|
246
|
+
* The newline type.
|
|
247
|
+
* @since 3.14
|
|
248
|
+
* @default GTK_SOURCE_NEWLINE_TYPE_LF
|
|
249
|
+
*/
|
|
250
|
+
'newline-type'?: GtkSourceNewlineTypeNick | GtkSource.NewlineType;
|
|
251
|
+
}
|
|
252
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
253
|
+
export type GtkSourceFileSaverConstructOnly = 'buffer' | 'file' | 'location';
|
|
254
|
+
|
|
255
|
+
export interface GtkSourceGutterProps {
|
|
256
|
+
/** The #GtkSourceView of the gutter. */
|
|
257
|
+
view?: GtkSource.View;
|
|
258
|
+
/**
|
|
259
|
+
* The text window type on which the window is placed.
|
|
260
|
+
* @default GTK_TEXT_WINDOW_PRIVATE
|
|
261
|
+
*/
|
|
262
|
+
'window-type'?: GtkTextWindowTypeNick | Gtk.TextWindowType;
|
|
263
|
+
}
|
|
264
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
265
|
+
export type GtkSourceGutterConstructOnly = 'view' | 'window-type';
|
|
266
|
+
|
|
267
|
+
export interface GtkSourceGutterRendererProps {
|
|
268
|
+
/**
|
|
269
|
+
* The alignment mode of the renderer.
|
|
270
|
+
* @default GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL
|
|
271
|
+
*/
|
|
272
|
+
'alignment-mode'?: GtkSourceGutterRendererAlignmentModeNick | GtkSource.GutterRendererAlignmentMode;
|
|
273
|
+
'background-rgba'?: Gdk.RGBA;
|
|
274
|
+
/** @default FALSE */
|
|
275
|
+
'background-set'?: boolean;
|
|
276
|
+
/** @default 0 */
|
|
277
|
+
size?: number;
|
|
278
|
+
/**
|
|
279
|
+
* The visibility of the renderer.
|
|
280
|
+
* @default TRUE
|
|
281
|
+
*/
|
|
282
|
+
visible?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* The horizontal alignment of the renderer.
|
|
285
|
+
* @default 0.000000
|
|
286
|
+
*/
|
|
287
|
+
xalign?: number;
|
|
288
|
+
/**
|
|
289
|
+
* The left and right padding of the renderer.
|
|
290
|
+
* @default 0
|
|
291
|
+
*/
|
|
292
|
+
xpad?: number;
|
|
293
|
+
/**
|
|
294
|
+
* The vertical alignment of the renderer.
|
|
295
|
+
* @default 0.000000
|
|
296
|
+
*/
|
|
297
|
+
yalign?: number;
|
|
298
|
+
/**
|
|
299
|
+
* The top and bottom padding of the renderer.
|
|
300
|
+
* @default 0
|
|
301
|
+
*/
|
|
302
|
+
ypad?: number;
|
|
303
|
+
}
|
|
304
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
305
|
+
export type GtkSourceGutterRendererConstructOnly = never;
|
|
306
|
+
|
|
307
|
+
export interface GtkSourceGutterRendererPixbufProps extends GtkSourceGutterRendererProps {
|
|
308
|
+
gicon?: Gio.Icon;
|
|
309
|
+
/** @default NULL */
|
|
310
|
+
'icon-name'?: string;
|
|
311
|
+
pixbuf?: GdkPixbuf.Pixbuf;
|
|
312
|
+
}
|
|
313
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
314
|
+
export type GtkSourceGutterRendererPixbufConstructOnly = GtkSourceGutterRendererConstructOnly;
|
|
315
|
+
|
|
316
|
+
export interface GtkSourceGutterRendererTextProps extends GtkSourceGutterRendererProps {
|
|
317
|
+
/** @default NULL */
|
|
318
|
+
markup?: string;
|
|
319
|
+
/** @default NULL */
|
|
320
|
+
text?: string;
|
|
321
|
+
}
|
|
322
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
323
|
+
export type GtkSourceGutterRendererTextConstructOnly = GtkSourceGutterRendererConstructOnly;
|
|
324
|
+
|
|
325
|
+
export interface GtkSourceLanguageProps {
|
|
326
|
+
}
|
|
327
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
328
|
+
export type GtkSourceLanguageConstructOnly = never;
|
|
329
|
+
|
|
330
|
+
export interface GtkSourceLanguageManagerProps {
|
|
331
|
+
'search-path'?: string[];
|
|
332
|
+
}
|
|
333
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
334
|
+
export type GtkSourceLanguageManagerConstructOnly = never;
|
|
335
|
+
|
|
336
|
+
export interface GtkSourceMarkProps extends GtkTextMarkProps {
|
|
337
|
+
/**
|
|
338
|
+
* The category of the #GtkSourceMark, classifies the mark and controls which pixbuf is used and with which priority it is drawn.
|
|
339
|
+
* @default NULL
|
|
340
|
+
*/
|
|
341
|
+
category?: string;
|
|
342
|
+
}
|
|
343
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
344
|
+
export type GtkSourceMarkConstructOnly = GtkTextMarkConstructOnly | 'category';
|
|
345
|
+
|
|
346
|
+
export interface GtkSourceMarkAttributesProps {
|
|
347
|
+
/** A color used for background of a line. */
|
|
348
|
+
background?: Gdk.RGBA;
|
|
349
|
+
/** A #GIcon that may be a base of a rendered icon. */
|
|
350
|
+
gicon?: Gio.Icon;
|
|
351
|
+
/**
|
|
352
|
+
* An icon name that may be a base of a rendered icon.
|
|
353
|
+
* @default NULL
|
|
354
|
+
*/
|
|
355
|
+
'icon-name'?: string;
|
|
356
|
+
/** A #GdkPixbuf that may be a base of a rendered icon. */
|
|
357
|
+
pixbuf?: GdkPixbuf.Pixbuf;
|
|
358
|
+
}
|
|
359
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
360
|
+
export type GtkSourceMarkAttributesConstructOnly = never;
|
|
361
|
+
|
|
362
|
+
export interface GtkSourcePrintCompositorProps {
|
|
363
|
+
/**
|
|
364
|
+
* Name of the font used for the text body.
|
|
365
|
+
* @since 2.2
|
|
366
|
+
* @default NULL
|
|
367
|
+
*/
|
|
368
|
+
'body-font-name'?: string;
|
|
369
|
+
/**
|
|
370
|
+
* The GtkSourceBuffer object to print.
|
|
371
|
+
* @since 2.2
|
|
372
|
+
*/
|
|
373
|
+
buffer?: GtkSource.Buffer;
|
|
374
|
+
/**
|
|
375
|
+
* Name of the font used to print page footer.
|
|
376
|
+
* @since 2.2
|
|
377
|
+
* @default NULL
|
|
378
|
+
*/
|
|
379
|
+
'footer-font-name'?: string;
|
|
380
|
+
/**
|
|
381
|
+
* Name of the font used to print page header.
|
|
382
|
+
* @since 2.2
|
|
383
|
+
* @default NULL
|
|
384
|
+
*/
|
|
385
|
+
'header-font-name'?: string;
|
|
386
|
+
/**
|
|
387
|
+
* Whether to print the document with highlighted syntax.
|
|
388
|
+
* @since 2.2
|
|
389
|
+
* @default TRUE
|
|
390
|
+
*/
|
|
391
|
+
'highlight-syntax'?: boolean;
|
|
392
|
+
/**
|
|
393
|
+
* Name of the font used to print line numbers on the left margin.
|
|
394
|
+
* @since 2.2
|
|
395
|
+
* @default NULL
|
|
396
|
+
*/
|
|
397
|
+
'line-numbers-font-name'?: string;
|
|
398
|
+
/**
|
|
399
|
+
* Whether to print a footer in each page.
|
|
400
|
+
* @since 2.2
|
|
401
|
+
* @default FALSE
|
|
402
|
+
*/
|
|
403
|
+
'print-footer'?: boolean;
|
|
404
|
+
/**
|
|
405
|
+
* Whether to print a header in each page.
|
|
406
|
+
* @since 2.2
|
|
407
|
+
* @default FALSE
|
|
408
|
+
*/
|
|
409
|
+
'print-header'?: boolean;
|
|
410
|
+
/**
|
|
411
|
+
* Interval of printed line numbers.
|
|
412
|
+
* @since 2.2
|
|
413
|
+
* @default 1
|
|
414
|
+
*/
|
|
415
|
+
'print-line-numbers'?: number;
|
|
416
|
+
/**
|
|
417
|
+
* Width of a tab character expressed in spaces.
|
|
418
|
+
* @since 2.2
|
|
419
|
+
* @default 8
|
|
420
|
+
*/
|
|
421
|
+
'tab-width'?: number;
|
|
422
|
+
/**
|
|
423
|
+
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
424
|
+
* @since 2.2
|
|
425
|
+
* @default GTK_WRAP_NONE
|
|
426
|
+
*/
|
|
427
|
+
'wrap-mode'?: GtkWrapModeNick | Gtk.WrapMode;
|
|
428
|
+
}
|
|
429
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
430
|
+
export type GtkSourcePrintCompositorConstructOnly = 'buffer';
|
|
431
|
+
|
|
432
|
+
export interface GtkSourceRegionProps {
|
|
433
|
+
/**
|
|
434
|
+
* The #GtkTextBuffer.
|
|
435
|
+
* @since 3.22
|
|
436
|
+
*/
|
|
437
|
+
buffer?: Gtk.TextBuffer | null;
|
|
438
|
+
}
|
|
439
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
440
|
+
export type GtkSourceRegionConstructOnly = 'buffer';
|
|
441
|
+
|
|
442
|
+
export interface GtkSourceSearchContextProps {
|
|
443
|
+
/**
|
|
444
|
+
* The #GtkSourceBuffer associated to the search context.
|
|
445
|
+
* @since 3.10
|
|
446
|
+
*/
|
|
447
|
+
buffer?: GtkSource.Buffer;
|
|
448
|
+
/**
|
|
449
|
+
* Highlight the search occurrences.
|
|
450
|
+
* @since 3.10
|
|
451
|
+
* @default TRUE
|
|
452
|
+
*/
|
|
453
|
+
highlight?: boolean;
|
|
454
|
+
/**
|
|
455
|
+
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
456
|
+
* @since 299.2
|
|
457
|
+
*/
|
|
458
|
+
'match-style'?: GtkSource.Style;
|
|
459
|
+
/**
|
|
460
|
+
* The #GtkSourceSearchSettings associated to the search context.
|
|
461
|
+
* @since 3.10
|
|
462
|
+
*/
|
|
463
|
+
settings?: GtkSource.SearchSettings;
|
|
464
|
+
}
|
|
465
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
466
|
+
export type GtkSourceSearchContextConstructOnly = 'buffer' | 'settings';
|
|
467
|
+
|
|
468
|
+
export interface GtkSourceSearchSettingsProps {
|
|
469
|
+
/**
|
|
470
|
+
* If %TRUE, a search match must start and end a word.
|
|
471
|
+
* @since 3.10
|
|
472
|
+
* @default FALSE
|
|
473
|
+
*/
|
|
474
|
+
'at-word-boundaries'?: boolean;
|
|
475
|
+
/**
|
|
476
|
+
* Whether the search is case sensitive.
|
|
477
|
+
* @since 3.10
|
|
478
|
+
* @default FALSE
|
|
479
|
+
*/
|
|
480
|
+
'case-sensitive'?: boolean;
|
|
481
|
+
/**
|
|
482
|
+
* Search by regular expressions with #GtkSourceSearchSettings:search-text as the pattern.
|
|
483
|
+
* @since 3.10
|
|
484
|
+
* @default FALSE
|
|
485
|
+
*/
|
|
486
|
+
'regex-enabled'?: boolean;
|
|
487
|
+
/**
|
|
488
|
+
* A search string, or %NULL if the search is disabled.
|
|
489
|
+
* @since 3.10
|
|
490
|
+
* @default NULL
|
|
491
|
+
*/
|
|
492
|
+
'search-text'?: string | null;
|
|
493
|
+
/**
|
|
494
|
+
* For a forward search, continue at the beginning of the buffer if no search occurrence is found.
|
|
495
|
+
* @since 3.10
|
|
496
|
+
* @default FALSE
|
|
497
|
+
*/
|
|
498
|
+
'wrap-around'?: boolean;
|
|
499
|
+
}
|
|
500
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
501
|
+
export type GtkSourceSearchSettingsConstructOnly = never;
|
|
502
|
+
|
|
503
|
+
export interface GtkSourceSpaceDrawerProps {
|
|
504
|
+
/**
|
|
505
|
+
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
506
|
+
* @since 3.24
|
|
507
|
+
* @default FALSE
|
|
508
|
+
*/
|
|
509
|
+
'enable-matrix'?: boolean;
|
|
510
|
+
/**
|
|
511
|
+
* The :matrix property is a #GVariant property to specify where and what kind of white spaces to draw.
|
|
512
|
+
* @since 3.24
|
|
513
|
+
*/
|
|
514
|
+
matrix?: GLib.Variant;
|
|
515
|
+
}
|
|
516
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
517
|
+
export type GtkSourceSpaceDrawerConstructOnly = never;
|
|
518
|
+
|
|
519
|
+
export interface GtkSourceStyleSchemeProps {
|
|
520
|
+
}
|
|
521
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
522
|
+
export type GtkSourceStyleSchemeConstructOnly = never;
|
|
523
|
+
|
|
524
|
+
export interface GtkSourceStyleSchemeManagerProps {
|
|
525
|
+
}
|
|
526
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
527
|
+
export type GtkSourceStyleSchemeManagerConstructOnly = never;
|
|
528
|
+
|
|
529
|
+
export interface GtkSourceTagProps extends GtkTextTagProps {
|
|
530
|
+
/**
|
|
531
|
+
* Whether to draw white spaces.
|
|
532
|
+
* @since 3.20
|
|
533
|
+
* @default FALSE
|
|
534
|
+
*/
|
|
535
|
+
'draw-spaces'?: boolean;
|
|
536
|
+
/**
|
|
537
|
+
* Whether the #GtkSourceTag:draw-spaces property is set and must be taken into account.
|
|
538
|
+
* @since 3.20
|
|
539
|
+
* @default FALSE
|
|
540
|
+
*/
|
|
541
|
+
'draw-spaces-set'?: boolean;
|
|
542
|
+
}
|
|
543
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
544
|
+
export type GtkSourceTagConstructOnly = GtkTextTagConstructOnly;
|
|
545
|
+
|
|
65
546
|
export interface GtkSourceViewProps extends GtkTextViewProps, GtkBuildableProps, GtkScrollableProps {
|
|
66
547
|
/**
|
|
67
548
|
* Whether to enable auto indentation.
|
|
@@ -161,7 +642,11 @@ export interface Widgets {
|
|
|
161
642
|
};
|
|
162
643
|
}
|
|
163
644
|
|
|
164
|
-
/**
|
|
645
|
+
/**
|
|
646
|
+
* Every GType this namespace can create AND put on screen. A consumer derives its own
|
|
647
|
+
* tag map. For everything a UI file can instantiate — layout managers, event
|
|
648
|
+
* controllers, cell renderers, `GtkSizeGroup` — read `DECLS` below.
|
|
649
|
+
*/
|
|
165
650
|
export type WidgetGType = keyof Widgets;
|
|
166
651
|
|
|
167
652
|
// ---------------------------------------------------------------------------
|
|
@@ -213,7 +698,14 @@ export const PROVENANCE: {
|
|
|
213
698
|
readonly childHolders: number;
|
|
214
699
|
readonly droppedBases: readonly string[];
|
|
215
700
|
readonly inlinedBases: readonly string[];
|
|
701
|
+
/** `<decl>.<prop>` for every property printed `never` because TypeScript has no value for it. */
|
|
216
702
|
readonly unsettableProps: readonly string[];
|
|
703
|
+
/**
|
|
704
|
+
* `<decl>.<prop>: <Ns>.<Name>` for every property printed `never` because the model
|
|
705
|
+
* could not resolve its type across a namespace boundary — two independently released
|
|
706
|
+
* GIRs disagreeing, which is what the main emitter answers `never` for as well.
|
|
707
|
+
*/
|
|
708
|
+
readonly unresolvedProps: readonly string[];
|
|
217
709
|
};
|
|
218
710
|
|
|
219
711
|
/** Declaration GType -> its own settable properties, as GObject registered them. */
|
|
@@ -227,7 +719,17 @@ export const OWN_PROPS: Readonly<Record<string, readonly string[]>>;
|
|
|
227
719
|
*/
|
|
228
720
|
export const OWN_SIGNALS: Readonly<Record<string, readonly string[]>>;
|
|
229
721
|
|
|
230
|
-
/**
|
|
722
|
+
/**
|
|
723
|
+
* Instantiable GType -> every declaration its members come from, self first.
|
|
724
|
+
*
|
|
725
|
+
* The key set is what a UI description file can NAME: every registered, non-abstract
|
|
726
|
+
* class this namespace declares. GtkBuilder resolves a `<object class="…">` through
|
|
727
|
+
* `g_type_from_name`, which knows nothing about widgets, so this is wider than
|
|
728
|
+
* `Widgets` by design — `GtkSizeGroup`, `GtkTextTag`, every `GtkEventController`
|
|
729
|
+
* and every `GtkCellRenderer` are here and are not widgets.
|
|
730
|
+
*
|
|
731
|
+
* `Widgets` and `CHILD_HOLDERS` are the narrower questions and answer them unchanged.
|
|
732
|
+
*/
|
|
231
733
|
export const DECLS: Readonly<Record<string, readonly string[]>>;
|
|
232
734
|
|
|
233
735
|
/** The GTypes in `DECLS` that hold a widget without being one — see `ChildHolders`. */
|
|
@@ -239,8 +741,8 @@ export const ENUM_NICKS: Readonly<Record<string, readonly string[]>>;
|
|
|
239
741
|
/**
|
|
240
742
|
* `<enum GType>.<nick>` -> the integer GObject registers for it, from GIR's `value`.
|
|
241
743
|
*
|
|
242
|
-
* Position in `ENUM_NICKS` is NOT this number. Counting is wrong on 6 of the
|
|
243
|
-
* GTK 4 vocabulary carries --
|
|
744
|
+
* Position in `ENUM_NICKS` is NOT this number. Counting is wrong on 6 of the 137 enums a
|
|
745
|
+
* GTK 4 vocabulary carries -- 112 in Gtk-4.0 and 25 in Adw-1: `GtkResponseType` runs -1 to -11, `GtkTextWindowType` starts
|
|
244
746
|
* at 1, `GtkOrdering` and `GtkConstraintRelation` are -1/0/1, `GtkAlign` has two names
|
|
245
747
|
* on one value, and `GtkConstraintStrength.required` is 1001001000 where counting says 0.
|
|
246
748
|
*
|
|
@@ -278,10 +780,11 @@ export const ENUM_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
278
780
|
*
|
|
279
781
|
* `ENUM_NICKS` carries no bitfield, because GObject cannot resolve a nick SET; that says
|
|
280
782
|
* nothing about a single member's number, and the number is what a host without GI needs.
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* among them. Counting is worst here:
|
|
284
|
-
*
|
|
783
|
+
* 23 settable properties in Gtk-4.0 and Adw-1 are bitfield-typed and are declared bare
|
|
784
|
+
* `number` -- `GtkEntry:input-hints`, `GtkPopoverMenu:flags`, `AdwTabView:shortcuts`,
|
|
785
|
+
* `GtkDropTarget:actions` among them. Counting is worst here: 119 of the 156 Gtk-4.0
|
|
786
|
+
* bitfield members this vocabulary carries disagree with their declaration position,
|
|
787
|
+
* against 29 of 672 enumeration members.
|
|
285
788
|
*
|
|
286
789
|
* Combine with `|` as GObject does. There is no nick table to pair this with, so a name
|
|
287
790
|
* here is resolvable and a SET still is not.
|
|
@@ -305,7 +808,7 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
305
808
|
*
|
|
306
809
|
* The GType named here is not always one THIS module gives numbers for. A nick vocabulary is
|
|
307
810
|
* emitted once, by the namespace that owns the enum, so `AdwComboRow.search-match-mode` names
|
|
308
|
-
* `GtkStringFilterMatchMode` and its rows are in `@girs/gtk-4.0/vocabulary` —
|
|
811
|
+
* `GtkStringFilterMatchMode` and its rows are in `@girs/gtk-4.0/vocabulary` — 83 of the 909
|
|
309
812
|
* entries in a full run resolve only with the owner's vocabulary loaded beside this one. An
|
|
310
813
|
* owner with no vocabulary of its own (Gdk, Pango) is inlined here instead, so every entry
|
|
311
814
|
* resolves against SOME module.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// The widget vocabulary of GtkSource-300 as runtime data.
|
|
2
2
|
//
|
|
3
|
-
// GENERATED — do not edit. Provenance: GtkSource-300 — dropped empty base(s): GObject.
|
|
3
|
+
// GENERATED — do not edit. Provenance: GtkSource-300 — 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,28 +11,85 @@ export const PROVENANCE = {
|
|
|
11
11
|
version: '300',
|
|
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
|
+
GtkSourceFile: ['location'],
|
|
25
|
+
GtkSourceFileLoader: ['buffer', 'file', 'input-stream', 'location', 'max-size'],
|
|
26
|
+
GtkSourceFileSaver: ['buffer', 'compression-type', 'encoding', 'file', 'flags', 'location', 'newline-type'],
|
|
27
|
+
GtkSourceGutter: ['view', 'window-type'],
|
|
28
|
+
GtkSourceGutterRenderer: ['alignment-mode', 'background-rgba', 'background-set', 'size', 'visible', 'xalign', 'xpad', 'yalign', 'ypad'],
|
|
29
|
+
GtkSourceGutterRendererPixbuf: ['gicon', 'icon-name', 'pixbuf'],
|
|
30
|
+
GtkSourceGutterRendererText: ['markup', 'text'],
|
|
31
|
+
GtkSourceLanguageManager: ['search-path'],
|
|
32
|
+
GtkSourceMark: ['category'],
|
|
33
|
+
GtkSourceMarkAttributes: ['background', 'gicon', 'icon-name', 'pixbuf'],
|
|
34
|
+
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'],
|
|
35
|
+
GtkSourceRegion: ['buffer'],
|
|
36
|
+
GtkSourceSearchContext: ['buffer', 'highlight', 'match-style', 'settings'],
|
|
37
|
+
GtkSourceSearchSettings: ['at-word-boundaries', 'case-sensitive', 'regex-enabled', 'search-text', 'wrap-around'],
|
|
38
|
+
GtkSourceSpaceDrawer: ['enable-matrix', 'matrix'],
|
|
39
|
+
GtkSourceTag: ['draw-spaces', 'draw-spaces-set'],
|
|
20
40
|
GtkSourceView: ['auto-indent', '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'],
|
|
21
41
|
};
|
|
22
42
|
|
|
23
43
|
export const OWN_SIGNALS = {
|
|
44
|
+
GtkSourceBuffer: ['bracket-matched', 'highlight-updated', 'redo', 'source-mark-updated', 'undo'],
|
|
45
|
+
GtkSourceCompletion: ['activate-proposal', 'hide', 'move-cursor', 'move-page', 'populate-context', 'show'],
|
|
46
|
+
GtkSourceCompletionContext: ['cancelled'],
|
|
47
|
+
GtkSourceCompletionProposal: ['changed'],
|
|
48
|
+
GtkSourceGutterRenderer: ['activate', 'query-activatable', 'query-data', 'query-tooltip', 'queue-draw'],
|
|
49
|
+
GtkSourceMarkAttributes: ['query-tooltip-markup', 'query-tooltip-text'],
|
|
50
|
+
GtkSourceStyleSchemeManager: ['changed'],
|
|
24
51
|
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'],
|
|
25
52
|
};
|
|
26
53
|
|
|
54
|
+
// Every GType this namespace can INSTANTIATE -> the declarations its members come from.
|
|
55
|
+
//
|
|
56
|
+
// The key set is what a UI description file can name: a registered, non-abstract class.
|
|
57
|
+
// Not "every widget" — GtkBuilder resolves a name through `g_type_from_name`, which knows
|
|
58
|
+
// nothing about widgets, and a `.ui` file is full of `GtkSizeGroup`, `GtkTextTag`,
|
|
59
|
+
// `GtkEventController*` and `GtkCellRenderer*`. Use `Widgets` and `CHILD_HOLDERS`
|
|
60
|
+
// below for the narrower questions; they did not move.
|
|
27
61
|
export const DECLS = {
|
|
62
|
+
GtkSourceBuffer: ['GtkSourceBuffer', 'GtkTextBuffer'],
|
|
63
|
+
GtkSourceCompletion: ['GtkSourceCompletion'],
|
|
64
|
+
GtkSourceCompletionContext: ['GtkSourceCompletionContext'],
|
|
28
65
|
GtkSourceCompletionInfo: ['GtkSourceCompletionInfo', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
|
|
66
|
+
GtkSourceCompletionItem: ['GtkSourceCompletionItem', 'GtkSourceCompletionProposal'],
|
|
67
|
+
GtkSourceFile: ['GtkSourceFile'],
|
|
68
|
+
GtkSourceFileLoader: ['GtkSourceFileLoader'],
|
|
69
|
+
GtkSourceFileSaver: ['GtkSourceFileSaver'],
|
|
70
|
+
GtkSourceGutter: ['GtkSourceGutter'],
|
|
71
|
+
GtkSourceGutterRendererPixbuf: ['GtkSourceGutterRendererPixbuf', 'GtkSourceGutterRenderer'],
|
|
72
|
+
GtkSourceGutterRendererText: ['GtkSourceGutterRendererText', 'GtkSourceGutterRenderer'],
|
|
73
|
+
GtkSourceLanguage: ['GtkSourceLanguage'],
|
|
74
|
+
GtkSourceLanguageManager: ['GtkSourceLanguageManager'],
|
|
75
|
+
GtkSourceMark: ['GtkSourceMark', 'GtkTextMark'],
|
|
76
|
+
GtkSourceMarkAttributes: ['GtkSourceMarkAttributes'],
|
|
77
|
+
GtkSourcePrintCompositor: ['GtkSourcePrintCompositor'],
|
|
78
|
+
GtkSourceRegion: ['GtkSourceRegion'],
|
|
79
|
+
GtkSourceSearchContext: ['GtkSourceSearchContext'],
|
|
80
|
+
GtkSourceSearchSettings: ['GtkSourceSearchSettings'],
|
|
81
|
+
GtkSourceSpaceDrawer: ['GtkSourceSpaceDrawer'],
|
|
82
|
+
GtkSourceStyleScheme: ['GtkSourceStyleScheme'],
|
|
83
|
+
GtkSourceStyleSchemeManager: ['GtkSourceStyleSchemeManager'],
|
|
84
|
+
GtkSourceTag: ['GtkSourceTag', 'GtkTextTag'],
|
|
29
85
|
GtkSourceView: ['GtkSourceView', 'GtkTextView', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkScrollable'],
|
|
30
86
|
};
|
|
31
87
|
|
|
32
|
-
// The GTypes above that are
|
|
33
|
-
//
|
|
34
|
-
//
|
|
35
|
-
//
|
|
88
|
+
// The GTypes above that ARE widgets are the `Widgets` map in the sibling `.d.ts`; these
|
|
89
|
+
// are the ones that merely HOLD one, through `set_child`/`get_child`, descending from
|
|
90
|
+
// `GObject.Object`. A renderer places them like a container; a check asking "is this a
|
|
91
|
+
// widget" must not count them. Derived from the accessor pair, never from a list — the
|
|
92
|
+
// count is in the provenance line above.
|
|
36
93
|
export const CHILD_HOLDERS = [];
|
|
37
94
|
|
|
38
95
|
export const ENUM_NICKS = {
|
|
@@ -52,7 +109,7 @@ export const ENUM_NICKS = {
|
|
|
52
109
|
// It ships because position in `ENUM_NICKS` is not the value and a consumer with no
|
|
53
110
|
// typelib has no other way to learn it: a surface without GI still has to hand GObject an
|
|
54
111
|
// integer. The alternative a consumer reaches for first is counting, and counting is wrong
|
|
55
|
-
// on 6 of the
|
|
112
|
+
// on 6 of the 137 enums a GTK 4 vocabulary carries (112 in Gtk-4.0, 25 in Adw-1) --
|
|
56
113
|
// `GtkResponseType` runs -1 down to
|
|
57
114
|
// -11, `GtkTextWindowType` starts at 1, and `GtkConstraintStrength.required` is
|
|
58
115
|
// 1001001000 where counting answers 0.
|
|
@@ -118,11 +175,12 @@ export const ENUM_VALUES_UNREADABLE = {};
|
|
|
118
175
|
// The number behind each member of a registered BITFIELD, keyed the same way.
|
|
119
176
|
//
|
|
120
177
|
// `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
|
-
//
|
|
178
|
+
// reason says nothing about one member's number. 23 settable properties in Gtk-4.0 and
|
|
179
|
+
// Adw-1 are bitfield-typed -- `GtkEntry:input-hints`, `GtkPopoverMenu:flags`,
|
|
180
|
+
// `AdwTabView:shortcuts`, `GtkDropTarget:actions`, ... -- and they are typed bare
|
|
181
|
+
// `number`, so a host without GI has nothing to compute one from. Counting is worst
|
|
182
|
+
// exactly here: 119 of the 156 Gtk-4.0 bitfield members this vocabulary carries disagree
|
|
183
|
+
// with their declaration position, against 29 of 672 enumeration members.
|
|
126
184
|
//
|
|
127
185
|
// A table of its own rather than more rows in `ENUM_VALUES`, so that "every nick in
|
|
128
186
|
// `ENUM_NICKS` has a number or a declared reason" stays a claim about one set.
|
|
@@ -172,9 +230,16 @@ export const FLAG_VALUES_UNREADABLE = {};
|
|
|
172
230
|
// one are both entries a consumer would resolve wrongly, so neither is written.
|
|
173
231
|
//
|
|
174
232
|
// A GType named here has numbers in SOME vocabulary, not necessarily this one: the namespace
|
|
175
|
-
// that OWNS an enum publishes it, so
|
|
233
|
+
// that OWNS an enum publishes it, so 83 of the 909 entries a full run emits want the owner's
|
|
176
234
|
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
177
235
|
export const PROP_ENUMS = {
|
|
236
|
+
'GtkSourceCompletionContext.activation': 'GtkSourceCompletionActivation',
|
|
237
|
+
'GtkSourceFileSaver.compression-type': 'GtkSourceCompressionType',
|
|
238
|
+
'GtkSourceFileSaver.flags': 'GtkSourceFileSaverFlags',
|
|
239
|
+
'GtkSourceFileSaver.newline-type': 'GtkSourceNewlineType',
|
|
240
|
+
'GtkSourceGutter.window-type': 'GtkTextWindowType',
|
|
241
|
+
'GtkSourceGutterRenderer.alignment-mode': 'GtkSourceGutterRendererAlignmentMode',
|
|
242
|
+
'GtkSourcePrintCompositor.wrap-mode': 'GtkWrapMode',
|
|
178
243
|
'GtkSourceView.smart-home-end': 'GtkSourceSmartHomeEndType',
|
|
179
244
|
};
|
|
180
245
|
|
|
@@ -206,6 +271,47 @@ export const ARIA_VALUE_ENUMS = {};
|
|
|
206
271
|
export const SLOT_CANDIDATES = {};
|
|
207
272
|
|
|
208
273
|
export const SINCE = {
|
|
274
|
+
'GtkSourceBuffer.implicit-trailing-newline': '3.14',
|
|
275
|
+
'GtkSourceBuffer::bracket-matched': '2.12',
|
|
276
|
+
'GtkSourceFile.location': '3.14',
|
|
277
|
+
'GtkSourceFileLoader.buffer': '3.14',
|
|
278
|
+
'GtkSourceFileLoader.file': '3.14',
|
|
279
|
+
'GtkSourceFileLoader.input-stream': '3.14',
|
|
280
|
+
'GtkSourceFileLoader.location': '3.14',
|
|
281
|
+
'GtkSourceFileLoader.max-size': '299.6',
|
|
282
|
+
'GtkSourceFileSaver.buffer': '3.14',
|
|
283
|
+
'GtkSourceFileSaver.compression-type': '3.14',
|
|
284
|
+
'GtkSourceFileSaver.encoding': '3.14',
|
|
285
|
+
'GtkSourceFileSaver.file': '3.14',
|
|
286
|
+
'GtkSourceFileSaver.flags': '3.14',
|
|
287
|
+
'GtkSourceFileSaver.location': '3.14',
|
|
288
|
+
'GtkSourceFileSaver.newline-type': '3.14',
|
|
289
|
+
'GtkSourcePrintCompositor.body-font-name': '2.2',
|
|
290
|
+
'GtkSourcePrintCompositor.buffer': '2.2',
|
|
291
|
+
'GtkSourcePrintCompositor.footer-font-name': '2.2',
|
|
292
|
+
'GtkSourcePrintCompositor.header-font-name': '2.2',
|
|
293
|
+
'GtkSourcePrintCompositor.highlight-syntax': '2.2',
|
|
294
|
+
'GtkSourcePrintCompositor.line-numbers-font-name': '2.2',
|
|
295
|
+
'GtkSourcePrintCompositor.print-footer': '2.2',
|
|
296
|
+
'GtkSourcePrintCompositor.print-header': '2.2',
|
|
297
|
+
'GtkSourcePrintCompositor.print-line-numbers': '2.2',
|
|
298
|
+
'GtkSourcePrintCompositor.tab-width': '2.2',
|
|
299
|
+
'GtkSourcePrintCompositor.wrap-mode': '2.2',
|
|
300
|
+
'GtkSourceRegion.buffer': '3.22',
|
|
301
|
+
'GtkSourceSearchContext.buffer': '3.10',
|
|
302
|
+
'GtkSourceSearchContext.highlight': '3.10',
|
|
303
|
+
'GtkSourceSearchContext.match-style': '299.2',
|
|
304
|
+
'GtkSourceSearchContext.settings': '3.10',
|
|
305
|
+
'GtkSourceSearchSettings.at-word-boundaries': '3.10',
|
|
306
|
+
'GtkSourceSearchSettings.case-sensitive': '3.10',
|
|
307
|
+
'GtkSourceSearchSettings.regex-enabled': '3.10',
|
|
308
|
+
'GtkSourceSearchSettings.search-text': '3.10',
|
|
309
|
+
'GtkSourceSearchSettings.wrap-around': '3.10',
|
|
310
|
+
'GtkSourceSpaceDrawer.enable-matrix': '3.24',
|
|
311
|
+
'GtkSourceSpaceDrawer.matrix': '3.24',
|
|
312
|
+
'GtkSourceStyleSchemeManager::changed': '299.0',
|
|
313
|
+
'GtkSourceTag.draw-spaces': '3.20',
|
|
314
|
+
'GtkSourceTag.draw-spaces-set': '3.20',
|
|
209
315
|
'GtkSourceView.smart-backspace': '3.18',
|
|
210
316
|
'GtkSourceView.smart-home-end': '2.0',
|
|
211
317
|
'GtkSourceView::change-case': '3.16',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gtksource-300",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GtkSource-300",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gtksource-300.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
|
},
|