@girs/gspell-1 5.1.0 → 5.3.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/gspell-1-vocabulary.d.ts +138 -13
- package/gspell-1-vocabulary.js +50 -18
- 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 Gspell-1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.
|
|
7
|
+
GJS TypeScript type definitions for Gspell-1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.3.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.
|
package/gspell-1-vocabulary.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The GIR-derived widget VOCABULARY for Gspell-1.
|
|
3
3
|
*
|
|
4
|
-
* GENERATED — do not edit. Provenance: Gspell-1 — dropped empty base(s):
|
|
4
|
+
* GENERATED — do not edit. Provenance: Gspell-1 — dropped empty base(s): Atk.ImplementorIface
|
|
5
5
|
*
|
|
6
|
-
* 3 concrete widgets,
|
|
6
|
+
* 9 instantiable GTypes (of which 3 concrete widgets), 11 declarations, 0 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
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
import type Gspell from './gspell-1.js';
|
|
28
|
+
import type Gtk from '@girs/gtk-3.0';
|
|
29
|
+
import type { GInitiallyUnownedConstructOnly, GInitiallyUnownedProps, GObjectConstructOnly, GObjectProps } from '@girs/gobject-2.0/vocabulary';
|
|
28
30
|
import type { GtkActionableConstructOnly, GtkActionableProps, GtkActivatableConstructOnly, GtkActivatableProps, GtkBinConstructOnly, GtkBinProps, GtkBuildableConstructOnly, GtkBuildableProps, GtkButtonConstructOnly, GtkButtonProps, GtkContainerConstructOnly, GtkContainerProps, GtkDialogConstructOnly, GtkDialogProps, GtkWidgetConstructOnly, GtkWidgetProps, GtkWindowConstructOnly, GtkWindowProps } from '@girs/gtk-3.0/vocabulary';
|
|
29
31
|
|
|
30
32
|
// ---------------------------------------------------------------------------
|
|
@@ -49,6 +51,13 @@ import type { GtkActionableConstructOnly, GtkActionableProps, GtkActivatableCons
|
|
|
49
51
|
// GIR keeps them once, on the interface.
|
|
50
52
|
// ---------------------------------------------------------------------------
|
|
51
53
|
|
|
54
|
+
export interface GspellCheckerProps extends GObjectProps {
|
|
55
|
+
/** The #GspellLanguage used. */
|
|
56
|
+
language?: Gspell.Language | null;
|
|
57
|
+
}
|
|
58
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
59
|
+
export type GspellCheckerConstructOnly = GObjectConstructOnly;
|
|
60
|
+
|
|
52
61
|
export interface GspellCheckerDialogProps extends GtkDialogProps, GtkBuildableProps {
|
|
53
62
|
/** The #GspellNavigator to use. */
|
|
54
63
|
'spell-navigator'?: Gspell.Navigator;
|
|
@@ -56,14 +65,45 @@ export interface GspellCheckerDialogProps extends GtkDialogProps, GtkBuildablePr
|
|
|
56
65
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
57
66
|
export type GspellCheckerDialogConstructOnly = GtkDialogConstructOnly | GtkBuildableConstructOnly | 'spell-navigator';
|
|
58
67
|
|
|
59
|
-
export interface
|
|
68
|
+
export interface GspellEntryProps extends GObjectProps {
|
|
69
|
+
/**
|
|
70
|
+
* The #GtkEntry.
|
|
71
|
+
* @since 1.4
|
|
72
|
+
*/
|
|
73
|
+
entry?: Gtk.Entry;
|
|
74
|
+
/**
|
|
75
|
+
* Whether the inline spell checking is enabled.
|
|
76
|
+
* @since 1.4
|
|
77
|
+
* @default FALSE
|
|
78
|
+
*/
|
|
79
|
+
'inline-spell-checking'?: boolean;
|
|
80
|
+
}
|
|
81
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
82
|
+
export type GspellEntryConstructOnly = GObjectConstructOnly | 'entry';
|
|
83
|
+
|
|
84
|
+
export interface GspellEntryBufferProps extends GObjectProps {
|
|
85
|
+
/**
|
|
86
|
+
* The #GtkEntryBuffer.
|
|
87
|
+
* @since 1.4
|
|
88
|
+
*/
|
|
89
|
+
buffer?: Gtk.EntryBuffer;
|
|
90
|
+
/**
|
|
91
|
+
* The #GspellChecker.
|
|
92
|
+
* @since 1.4
|
|
93
|
+
*/
|
|
94
|
+
'spell-checker'?: Gspell.Checker | null;
|
|
95
|
+
}
|
|
96
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
97
|
+
export type GspellEntryBufferConstructOnly = GObjectConstructOnly | 'buffer';
|
|
98
|
+
|
|
99
|
+
export interface GspellLanguageChooserProps extends GObjectProps {
|
|
60
100
|
/** The selected #GspellLanguage. */
|
|
61
101
|
language?: Gspell.Language | null;
|
|
62
102
|
/** The empty string if the default language was set and the selection hasn't changed. */
|
|
63
103
|
'language-code'?: string;
|
|
64
104
|
}
|
|
65
105
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
66
|
-
export type GspellLanguageChooserConstructOnly =
|
|
106
|
+
export type GspellLanguageChooserConstructOnly = GObjectConstructOnly;
|
|
67
107
|
|
|
68
108
|
export interface GspellLanguageChooserButtonProps extends GtkButtonProps, GspellLanguageChooserProps, GtkActionableProps, GtkActivatableProps, GtkBuildableProps {
|
|
69
109
|
}
|
|
@@ -75,6 +115,45 @@ export interface GspellLanguageChooserDialogProps extends GtkDialogProps, Gspell
|
|
|
75
115
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
76
116
|
export type GspellLanguageChooserDialogConstructOnly = GtkDialogConstructOnly | GspellLanguageChooserConstructOnly | GtkBuildableConstructOnly;
|
|
77
117
|
|
|
118
|
+
export interface GspellNavigatorProps extends GInitiallyUnownedProps {
|
|
119
|
+
}
|
|
120
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
121
|
+
export type GspellNavigatorConstructOnly = GInitiallyUnownedConstructOnly;
|
|
122
|
+
|
|
123
|
+
export interface GspellNavigatorTextViewProps extends GInitiallyUnownedProps, GspellNavigatorProps {
|
|
124
|
+
/** The #GtkTextView. */
|
|
125
|
+
view?: Gtk.TextView;
|
|
126
|
+
}
|
|
127
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
128
|
+
export type GspellNavigatorTextViewConstructOnly = GInitiallyUnownedConstructOnly | GspellNavigatorConstructOnly | 'view';
|
|
129
|
+
|
|
130
|
+
export interface GspellTextBufferProps extends GObjectProps {
|
|
131
|
+
/** The #GtkTextBuffer. */
|
|
132
|
+
buffer?: Gtk.TextBuffer;
|
|
133
|
+
/** The #GspellChecker. */
|
|
134
|
+
'spell-checker'?: Gspell.Checker | null;
|
|
135
|
+
}
|
|
136
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
137
|
+
export type GspellTextBufferConstructOnly = GObjectConstructOnly | 'buffer';
|
|
138
|
+
|
|
139
|
+
export interface GspellTextViewProps extends GObjectProps {
|
|
140
|
+
/**
|
|
141
|
+
* When the context menu is shown, whether to add a sub-menu to select the language for the spell checking.
|
|
142
|
+
* @since 1.2
|
|
143
|
+
* @default FALSE
|
|
144
|
+
*/
|
|
145
|
+
'enable-language-menu'?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Whether the inline spell checking is enabled.
|
|
148
|
+
* @default FALSE
|
|
149
|
+
*/
|
|
150
|
+
'inline-spell-checking'?: boolean;
|
|
151
|
+
/** The #GtkTextView. */
|
|
152
|
+
view?: Gtk.TextView;
|
|
153
|
+
}
|
|
154
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
155
|
+
export type GspellTextViewConstructOnly = GObjectConstructOnly | 'view';
|
|
156
|
+
|
|
78
157
|
// ---------------------------------------------------------------------------
|
|
79
158
|
// The GType-keyed widget map.
|
|
80
159
|
//
|
|
@@ -114,7 +193,11 @@ export interface Widgets {
|
|
|
114
193
|
};
|
|
115
194
|
}
|
|
116
195
|
|
|
117
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* Every GType this namespace can create AND put on screen. A consumer derives its own
|
|
198
|
+
* tag map. For everything a UI file can instantiate — layout managers, event
|
|
199
|
+
* controllers, cell renderers, `GtkSizeGroup` — read `DECLS` below.
|
|
200
|
+
*/
|
|
118
201
|
export type WidgetGType = keyof Widgets;
|
|
119
202
|
|
|
120
203
|
// ---------------------------------------------------------------------------
|
|
@@ -166,7 +249,38 @@ export const PROVENANCE: {
|
|
|
166
249
|
readonly childHolders: number;
|
|
167
250
|
readonly droppedBases: readonly string[];
|
|
168
251
|
readonly inlinedBases: readonly string[];
|
|
252
|
+
/** `<decl>.<prop>` for every property printed `never` because TypeScript has no value for it. */
|
|
169
253
|
readonly unsettableProps: readonly string[];
|
|
254
|
+
/**
|
|
255
|
+
* `<decl>.<prop>: <Ns>.<Name>` for every property printed `never` because the model
|
|
256
|
+
* could not resolve its type across a namespace boundary — two independently released
|
|
257
|
+
* GIRs disagreeing, which is what the main emitter answers `never` for as well.
|
|
258
|
+
*/
|
|
259
|
+
readonly unresolvedProps: readonly string[];
|
|
260
|
+
/**
|
|
261
|
+
* `c:identifier-prefixes` from the GIR, verbatim and in order — `['G']` for Gio.
|
|
262
|
+
*
|
|
263
|
+
* The C prefix a type REFERENCE needs: resolving `Gio.Icon` means producing `GIcon`,
|
|
264
|
+
* and nothing else in this package states that `Gio` spells itself `G`. Carried rather
|
|
265
|
+
* than derived because GIR carries it, and a derivation over the `DECLS` keys is wrong
|
|
266
|
+
* wherever the C prefix is not a prefix of the type NAMES: gdkx11-4.0 and gdkwayland-4.0
|
|
267
|
+
* both state `Gdk` while every key they declare begins `GdkX11`/`GdkWayland`.
|
|
268
|
+
*
|
|
269
|
+
* Empty where the GIR states none — 17 of the 627 emitting namespaces — because
|
|
270
|
+
* inventing the namespace name there is a confident wrong answer in place of a missing
|
|
271
|
+
* one. A LIST because 20 of them state more than one, which no single string expresses.
|
|
272
|
+
*/
|
|
273
|
+
readonly identifierPrefixes: readonly string[];
|
|
274
|
+
/**
|
|
275
|
+
* Sibling vocabularies this one's DECLARATIONS come from, as import specifiers.
|
|
276
|
+
*
|
|
277
|
+
* A chain link with no `OWN_PROPS` row is ambiguous on its own — `GtkSeparator` has no
|
|
278
|
+
* settable property, `GApplication` has its properties in another package — and this
|
|
279
|
+
* list is what tells the two apart. Enum and bitfield NUMBERS are not here: those are
|
|
280
|
+
* carried in this file, because a `PROP_ENUMS` row naming a foreign GType gives a
|
|
281
|
+
* consumer nothing to load and a `.ui` file using the property never names its owner.
|
|
282
|
+
*/
|
|
283
|
+
readonly requiredVocabularies: readonly string[];
|
|
170
284
|
};
|
|
171
285
|
|
|
172
286
|
/** Declaration GType -> its own settable properties, as GObject registered them. */
|
|
@@ -180,7 +294,17 @@ export const OWN_PROPS: Readonly<Record<string, readonly string[]>>;
|
|
|
180
294
|
*/
|
|
181
295
|
export const OWN_SIGNALS: Readonly<Record<string, readonly string[]>>;
|
|
182
296
|
|
|
183
|
-
/**
|
|
297
|
+
/**
|
|
298
|
+
* Instantiable GType -> every declaration its members come from, self first.
|
|
299
|
+
*
|
|
300
|
+
* The key set is what a UI description file can NAME: every registered, non-abstract
|
|
301
|
+
* class this namespace declares. GtkBuilder resolves a `<object class="…">` through
|
|
302
|
+
* `g_type_from_name`, which knows nothing about widgets, so this is wider than
|
|
303
|
+
* `Widgets` by design — `GtkSizeGroup`, `GtkTextTag`, every `GtkEventController`
|
|
304
|
+
* and every `GtkCellRenderer` are here and are not widgets.
|
|
305
|
+
*
|
|
306
|
+
* `Widgets` and `CHILD_HOLDERS` are the narrower questions and answer them unchanged.
|
|
307
|
+
*/
|
|
184
308
|
export const DECLS: Readonly<Record<string, readonly string[]>>;
|
|
185
309
|
|
|
186
310
|
/** The GTypes in `DECLS` that hold a widget without being one — see `ChildHolders`. */
|
|
@@ -192,8 +316,8 @@ export const ENUM_NICKS: Readonly<Record<string, readonly string[]>>;
|
|
|
192
316
|
/**
|
|
193
317
|
* `<enum GType>.<nick>` -> the integer GObject registers for it, from GIR's `value`.
|
|
194
318
|
*
|
|
195
|
-
* Position in `ENUM_NICKS` is NOT this number. Counting is wrong on 6 of the
|
|
196
|
-
* GTK 4 vocabulary carries --
|
|
319
|
+
* Position in `ENUM_NICKS` is NOT this number. Counting is wrong on 6 of the 137 enums a
|
|
320
|
+
* GTK 4 vocabulary carries -- 112 in Gtk-4.0 and 25 in Adw-1: `GtkResponseType` runs -1 to -11, `GtkTextWindowType` starts
|
|
197
321
|
* at 1, `GtkOrdering` and `GtkConstraintRelation` are -1/0/1, `GtkAlign` has two names
|
|
198
322
|
* on one value, and `GtkConstraintStrength.required` is 1001001000 where counting says 0.
|
|
199
323
|
*
|
|
@@ -231,10 +355,11 @@ export const ENUM_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
231
355
|
*
|
|
232
356
|
* `ENUM_NICKS` carries no bitfield, because GObject cannot resolve a nick SET; that says
|
|
233
357
|
* nothing about a single member's number, and the number is what a host without GI needs.
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
* among them. Counting is worst here:
|
|
237
|
-
*
|
|
358
|
+
* 23 settable properties in Gtk-4.0 and Adw-1 are bitfield-typed and are declared bare
|
|
359
|
+
* `number` -- `GtkEntry:input-hints`, `GtkPopoverMenu:flags`, `AdwTabView:shortcuts`,
|
|
360
|
+
* `GtkDropTarget:actions` among them. Counting is worst here: 119 of the 156 Gtk-4.0
|
|
361
|
+
* bitfield members this vocabulary carries disagree with their declaration position,
|
|
362
|
+
* against 29 of 672 enumeration members.
|
|
238
363
|
*
|
|
239
364
|
* Combine with `|` as GObject does. There is no nick table to pair this with, so a name
|
|
240
365
|
* here is resolvable and a SET still is not.
|
|
@@ -258,7 +383,7 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
258
383
|
*
|
|
259
384
|
* The GType named here is not always one THIS module gives numbers for. A nick vocabulary is
|
|
260
385
|
* emitted once, by the namespace that owns the enum, so `AdwComboRow.search-match-mode` names
|
|
261
|
-
* `GtkStringFilterMatchMode` and its rows are in `@girs/gtk-4.0/vocabulary` —
|
|
386
|
+
* `GtkStringFilterMatchMode` and its rows are in `@girs/gtk-4.0/vocabulary` — 83 of the 909
|
|
262
387
|
* entries in a full run resolve only with the owner's vocabulary loaded beside this one. An
|
|
263
388
|
* owner with no vocabulary of its own (Gdk, Pango) is inlined here instead, so every entry
|
|
264
389
|
* resolves against SOME module.
|
package/gspell-1-vocabulary.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// The widget vocabulary of Gspell-1 as runtime data.
|
|
2
2
|
//
|
|
3
|
-
// GENERATED — do not edit. Provenance: Gspell-1 — dropped empty base(s):
|
|
3
|
+
// GENERATED — do not edit. Provenance: Gspell-1 — dropped empty base(s): 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,53 @@ export const PROVENANCE = {
|
|
|
11
11
|
version: '1',
|
|
12
12
|
libraryVersion: null,
|
|
13
13
|
childHolders: 0,
|
|
14
|
-
droppedBases: ['
|
|
14
|
+
droppedBases: ['Atk.ImplementorIface'],
|
|
15
15
|
inlinedBases: [],
|
|
16
16
|
unsettableProps: [],
|
|
17
|
+
unresolvedProps: [],
|
|
18
|
+
identifierPrefixes: ['Gspell'],
|
|
19
|
+
requiredVocabularies: ['@girs/gobject-2.0/vocabulary', '@girs/gtk-3.0/vocabulary'],
|
|
17
20
|
};
|
|
18
21
|
|
|
19
22
|
export const OWN_PROPS = {
|
|
23
|
+
GspellChecker: ['language'],
|
|
20
24
|
GspellCheckerDialog: ['spell-navigator'],
|
|
25
|
+
GspellEntry: ['entry', 'inline-spell-checking'],
|
|
26
|
+
GspellEntryBuffer: ['buffer', 'spell-checker'],
|
|
21
27
|
GspellLanguageChooser: ['language', 'language-code'],
|
|
28
|
+
GspellNavigatorTextView: ['view'],
|
|
29
|
+
GspellTextBuffer: ['buffer', 'spell-checker'],
|
|
30
|
+
GspellTextView: ['enable-language-menu', 'inline-spell-checking', 'view'],
|
|
22
31
|
};
|
|
23
32
|
|
|
24
|
-
export const OWN_SIGNALS = {
|
|
33
|
+
export const OWN_SIGNALS = {
|
|
34
|
+
GspellChecker: ['session-cleared', 'word-added-to-personal', 'word-added-to-session'],
|
|
35
|
+
};
|
|
25
36
|
|
|
37
|
+
// Every GType this namespace can INSTANTIATE -> the declarations its members come from.
|
|
38
|
+
//
|
|
39
|
+
// The key set is what a UI description file can name: a registered, non-abstract class.
|
|
40
|
+
// Not "every widget" — GtkBuilder resolves a name through `g_type_from_name`, which knows
|
|
41
|
+
// nothing about widgets, and a `.ui` file is full of `GtkSizeGroup`, `GtkTextTag`,
|
|
42
|
+
// `GtkEventController*` and `GtkCellRenderer*`. Use `Widgets` and `CHILD_HOLDERS`
|
|
43
|
+
// below for the narrower questions; they did not move.
|
|
26
44
|
export const DECLS = {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
45
|
+
GspellChecker: ['GspellChecker', 'GObject'],
|
|
46
|
+
GspellCheckerDialog: ['GspellCheckerDialog', 'GtkDialog', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
|
|
47
|
+
GspellEntry: ['GspellEntry', 'GObject'],
|
|
48
|
+
GspellEntryBuffer: ['GspellEntryBuffer', 'GObject'],
|
|
49
|
+
GspellLanguageChooserButton: ['GspellLanguageChooserButton', 'GtkButton', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GspellLanguageChooser', 'GtkActionable', 'GtkActivatable', 'GtkBuildable'],
|
|
50
|
+
GspellLanguageChooserDialog: ['GspellLanguageChooserDialog', 'GtkDialog', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GspellLanguageChooser', 'GtkBuildable'],
|
|
51
|
+
GspellNavigatorTextView: ['GspellNavigatorTextView', 'GInitiallyUnowned', 'GObject', 'GspellNavigator'],
|
|
52
|
+
GspellTextBuffer: ['GspellTextBuffer', 'GObject'],
|
|
53
|
+
GspellTextView: ['GspellTextView', 'GObject'],
|
|
30
54
|
};
|
|
31
55
|
|
|
32
|
-
// The GTypes above that are
|
|
33
|
-
//
|
|
34
|
-
//
|
|
35
|
-
//
|
|
56
|
+
// The GTypes above that ARE widgets are the `Widgets` map in the sibling `.d.ts`; these
|
|
57
|
+
// are the ones that merely HOLD one, through `set_child`/`get_child`, descending from
|
|
58
|
+
// `GObject.Object`. A renderer places them like a container; a check asking "is this a
|
|
59
|
+
// widget" must not count them. Derived from the accessor pair, never from a list — the
|
|
60
|
+
// count is in the provenance line above.
|
|
36
61
|
export const CHILD_HOLDERS = [];
|
|
37
62
|
|
|
38
63
|
export const ENUM_NICKS = {};
|
|
@@ -42,7 +67,7 @@ export const ENUM_NICKS = {};
|
|
|
42
67
|
// It ships because position in `ENUM_NICKS` is not the value and a consumer with no
|
|
43
68
|
// typelib has no other way to learn it: a surface without GI still has to hand GObject an
|
|
44
69
|
// integer. The alternative a consumer reaches for first is counting, and counting is wrong
|
|
45
|
-
// on 6 of the
|
|
70
|
+
// on 6 of the 137 enums a GTK 4 vocabulary carries (112 in Gtk-4.0, 25 in Adw-1) --
|
|
46
71
|
// `GtkResponseType` runs -1 down to
|
|
47
72
|
// -11, `GtkTextWindowType` starts at 1, and `GtkConstraintStrength.required` is
|
|
48
73
|
// 1001001000 where counting answers 0.
|
|
@@ -79,11 +104,12 @@ export const ENUM_VALUES_UNREADABLE = {};
|
|
|
79
104
|
// The number behind each member of a registered BITFIELD, keyed the same way.
|
|
80
105
|
//
|
|
81
106
|
// `ENUM_NICKS` refuses a bitfield because GObject cannot resolve a nick SET, and that
|
|
82
|
-
// reason says nothing about one member's number.
|
|
83
|
-
//
|
|
84
|
-
// `AdwTabView:shortcuts`, ... -- and they are typed bare
|
|
85
|
-
// has nothing to compute one from. Counting is worst
|
|
86
|
-
//
|
|
107
|
+
// reason says nothing about one member's number. 23 settable properties in Gtk-4.0 and
|
|
108
|
+
// Adw-1 are bitfield-typed -- `GtkEntry:input-hints`, `GtkPopoverMenu:flags`,
|
|
109
|
+
// `AdwTabView:shortcuts`, `GtkDropTarget:actions`, ... -- and they are typed bare
|
|
110
|
+
// `number`, so a host without GI has nothing to compute one from. Counting is worst
|
|
111
|
+
// exactly here: 119 of the 156 Gtk-4.0 bitfield members this vocabulary carries disagree
|
|
112
|
+
// with their declaration position, against 29 of 672 enumeration members.
|
|
87
113
|
//
|
|
88
114
|
// A table of its own rather than more rows in `ENUM_VALUES`, so that "every nick in
|
|
89
115
|
// `ENUM_NICKS` has a number or a declared reason" stays a claim about one set.
|
|
@@ -106,7 +132,7 @@ export const FLAG_VALUES_UNREADABLE = {};
|
|
|
106
132
|
// one are both entries a consumer would resolve wrongly, so neither is written.
|
|
107
133
|
//
|
|
108
134
|
// A GType named here has numbers in SOME vocabulary, not necessarily this one: the namespace
|
|
109
|
-
// that OWNS an enum publishes it, so
|
|
135
|
+
// that OWNS an enum publishes it, so 83 of the 909 entries a full run emits want the owner's
|
|
110
136
|
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
111
137
|
export const PROP_ENUMS = {};
|
|
112
138
|
|
|
@@ -137,4 +163,10 @@ export const ARIA_VALUE_ENUMS = {};
|
|
|
137
163
|
|
|
138
164
|
export const SLOT_CANDIDATES = {};
|
|
139
165
|
|
|
140
|
-
export const SINCE = {
|
|
166
|
+
export const SINCE = {
|
|
167
|
+
'GspellEntry.entry': '1.4',
|
|
168
|
+
'GspellEntry.inline-spell-checking': '1.4',
|
|
169
|
+
'GspellEntryBuffer.buffer': '1.4',
|
|
170
|
+
'GspellEntryBuffer.spell-checker': '1.4',
|
|
171
|
+
'GspellTextView.enable-language-menu': '1.2',
|
|
172
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gspell-1",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Gspell-1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gspell-1.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.3.0",
|
|
40
|
+
"@girs/gtk-3.0": "^5.3.0",
|
|
41
|
+
"@girs/xlib-2.0": "^5.3.0",
|
|
42
|
+
"@girs/gdk-3.0": "^5.3.0",
|
|
43
|
+
"@girs/cairo-1.0": "^5.3.0",
|
|
44
|
+
"@girs/gobject-2.0": "^5.3.0",
|
|
45
|
+
"@girs/glib-2.0": "^5.3.0",
|
|
46
|
+
"@girs/pango-1.0": "^5.3.0",
|
|
47
|
+
"@girs/harfbuzz-0.0": "^5.3.0",
|
|
48
|
+
"@girs/freetype2-2.0": "^5.3.0",
|
|
49
|
+
"@girs/gio-2.0": "^5.3.0",
|
|
50
|
+
"@girs/gmodule-2.0": "^5.3.0",
|
|
51
|
+
"@girs/gdkpixbuf-2.0": "^5.3.0",
|
|
52
|
+
"@girs/atk-1.0": "^5.3.0" },
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"typescript": "*"
|
|
55
55
|
},
|