@girs/foundrygtk-1 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/foundrygtk-1-vocabulary.d.ts +99 -13
- package/foundrygtk-1-vocabulary.js +40 -15
- package/package.json +22 -22
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for FoundryGtk-1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.
|
|
7
|
+
GJS TypeScript type definitions for FoundryGtk-1 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 FoundryGtk-1.
|
|
3
3
|
*
|
|
4
|
-
* GENERATED — do not edit. Provenance: FoundryGtk-1 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object
|
|
4
|
+
* GENERATED — do not edit. Provenance: FoundryGtk-1 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Gio.MenuModel Gio.ListModel Foundry.Service Json.Serializable — inlined base(s) their owner's vocabulary does not emit: Foundry.Contextual Foundry.TextBuffer
|
|
5
5
|
*
|
|
6
|
-
* 6 concrete widgets,
|
|
6
|
+
* 14 instantiable GTypes (of which 6 concrete widgets), 16 declarations (2 inlined from a namespace whose vocabulary does not emit them), 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
|
|
@@ -26,9 +26,10 @@
|
|
|
26
26
|
|
|
27
27
|
import type Foundry from '@girs/foundry-1';
|
|
28
28
|
import type FoundryGtk from './foundrygtk-1.js';
|
|
29
|
+
import type Gio from '@girs/gio-2.0';
|
|
29
30
|
import type Pango from '@girs/pango-1.0';
|
|
30
|
-
import type { GtkAccessibleConstructOnly, GtkAccessibleProps, GtkAccessibleTextConstructOnly, GtkAccessibleTextProps, GtkBuildableConstructOnly, GtkBuildableProps, GtkConstraintTargetConstructOnly, GtkConstraintTargetProps, GtkScrollableConstructOnly, GtkScrollableProps, GtkTextViewConstructOnly, GtkTextViewProps, GtkWidgetConstructOnly, GtkWidgetProps } from '@girs/gtk-4.0/vocabulary';
|
|
31
|
-
import type { GtkSourceGutterRendererConstructOnly, GtkSourceGutterRendererProps, GtkSourceViewConstructOnly, GtkSourceViewProps } from '@girs/gtksource-5/vocabulary';
|
|
31
|
+
import type { GtkAccessibleConstructOnly, GtkAccessibleProps, GtkAccessibleTextConstructOnly, GtkAccessibleTextProps, GtkBuildableConstructOnly, GtkBuildableProps, GtkConstraintTargetConstructOnly, GtkConstraintTargetProps, GtkScrollableConstructOnly, GtkScrollableProps, GtkTextBufferConstructOnly, GtkTextBufferProps, GtkTextViewConstructOnly, GtkTextViewProps, GtkWidgetConstructOnly, GtkWidgetProps } from '@girs/gtk-4.0/vocabulary';
|
|
32
|
+
import type { GtkSourceBufferConstructOnly, GtkSourceBufferProps, GtkSourceGutterRendererConstructOnly, GtkSourceGutterRendererProps, GtkSourceViewConstructOnly, GtkSourceViewProps } from '@girs/gtksource-5/vocabulary';
|
|
32
33
|
|
|
33
34
|
// ---------------------------------------------------------------------------
|
|
34
35
|
// Enum nicks — the string vocabulary GObject registered, from GIR's `glib:nick`.
|
|
@@ -59,6 +60,13 @@ export interface FoundryChangesGutterRendererProps extends GtkSourceGutterRender
|
|
|
59
60
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
60
61
|
export type FoundryChangesGutterRendererConstructOnly = GtkSourceGutterRendererConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly;
|
|
61
62
|
|
|
63
|
+
/** Abstract base class for objects that are associated with a Foundry context. */
|
|
64
|
+
export interface FoundryContextualProps {
|
|
65
|
+
context?: Foundry.Context;
|
|
66
|
+
}
|
|
67
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
68
|
+
export type FoundryContextualConstructOnly = 'context';
|
|
69
|
+
|
|
62
70
|
export interface FoundryDiagnosticsGutterRendererProps extends GtkSourceGutterRendererProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps {
|
|
63
71
|
diagnostics?: Foundry.OnTypeDiagnostics;
|
|
64
72
|
}
|
|
@@ -81,6 +89,46 @@ export interface FoundryMarkupViewProps extends GtkWidgetProps, GtkAccessiblePro
|
|
|
81
89
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
82
90
|
export type FoundryMarkupViewConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly;
|
|
83
91
|
|
|
92
|
+
/** The goal of #FoundryMenuManager is to simplify the process of merging multiple GtkBuilder .ui files containing menus into a single representation of the application menus. */
|
|
93
|
+
export interface FoundryMenuManagerProps {
|
|
94
|
+
}
|
|
95
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
96
|
+
export type FoundryMenuManagerConstructOnly = never;
|
|
97
|
+
|
|
98
|
+
export interface FoundryMenuProxyProps {
|
|
99
|
+
/** @default NULL */
|
|
100
|
+
'menu-id'?: string;
|
|
101
|
+
}
|
|
102
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
103
|
+
export type FoundryMenuProxyConstructOnly = never;
|
|
104
|
+
|
|
105
|
+
export interface FoundryShortcutBundleProps {
|
|
106
|
+
}
|
|
107
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
108
|
+
export type FoundryShortcutBundleConstructOnly = never;
|
|
109
|
+
|
|
110
|
+
export interface FoundryShortcutManagerProps {
|
|
111
|
+
}
|
|
112
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
113
|
+
export type FoundryShortcutManagerConstructOnly = never;
|
|
114
|
+
|
|
115
|
+
export interface FoundryShortcutObserverProps {
|
|
116
|
+
model?: Gio.ListModel;
|
|
117
|
+
}
|
|
118
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
119
|
+
export type FoundryShortcutObserverConstructOnly = 'model';
|
|
120
|
+
|
|
121
|
+
export interface FoundrySourceBufferProps extends GtkSourceBufferProps, FoundryTextBufferProps {
|
|
122
|
+
context?: Foundry.Context;
|
|
123
|
+
/**
|
|
124
|
+
* The GtkSourceLanguage identifier of the syntax to use, ignoring any guessed language.
|
|
125
|
+
* @default NULL
|
|
126
|
+
*/
|
|
127
|
+
'override-syntax'?: string;
|
|
128
|
+
}
|
|
129
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
130
|
+
export type FoundrySourceBufferConstructOnly = GtkSourceBufferConstructOnly | FoundryTextBufferConstructOnly | 'context';
|
|
131
|
+
|
|
84
132
|
export interface FoundrySourceViewProps extends GtkSourceViewProps, GtkAccessibleProps, GtkAccessibleTextProps, GtkBuildableProps, GtkConstraintTargetProps, GtkScrollableProps {
|
|
85
133
|
document?: Foundry.TextDocument;
|
|
86
134
|
/** @default TRUE */
|
|
@@ -118,6 +166,22 @@ export interface FoundryTerminalProps extends GtkWidgetProps, GtkAccessibleProps
|
|
|
118
166
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
119
167
|
export type FoundryTerminalConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkAccessibleTextConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly | GtkScrollableConstructOnly;
|
|
120
168
|
|
|
169
|
+
export interface FoundryTerminalPaletteProps {
|
|
170
|
+
}
|
|
171
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
172
|
+
export type FoundryTerminalPaletteConstructOnly = never;
|
|
173
|
+
|
|
174
|
+
export interface FoundryTerminalPaletteSetProps {
|
|
175
|
+
}
|
|
176
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
177
|
+
export type FoundryTerminalPaletteSetConstructOnly = never;
|
|
178
|
+
|
|
179
|
+
export interface FoundryTextBufferProps {
|
|
180
|
+
context?: Foundry.Context;
|
|
181
|
+
}
|
|
182
|
+
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
183
|
+
export type FoundryTextBufferConstructOnly = 'context';
|
|
184
|
+
|
|
121
185
|
// ---------------------------------------------------------------------------
|
|
122
186
|
// The GType-keyed widget map.
|
|
123
187
|
//
|
|
@@ -178,7 +242,11 @@ export interface Widgets {
|
|
|
178
242
|
};
|
|
179
243
|
}
|
|
180
244
|
|
|
181
|
-
/**
|
|
245
|
+
/**
|
|
246
|
+
* Every GType this namespace can create AND put on screen. A consumer derives its own
|
|
247
|
+
* tag map. For everything a UI file can instantiate — layout managers, event
|
|
248
|
+
* controllers, cell renderers, `GtkSizeGroup` — read `DECLS` below.
|
|
249
|
+
*/
|
|
182
250
|
export type WidgetGType = keyof Widgets;
|
|
183
251
|
|
|
184
252
|
// ---------------------------------------------------------------------------
|
|
@@ -230,7 +298,14 @@ export const PROVENANCE: {
|
|
|
230
298
|
readonly childHolders: number;
|
|
231
299
|
readonly droppedBases: readonly string[];
|
|
232
300
|
readonly inlinedBases: readonly string[];
|
|
301
|
+
/** `<decl>.<prop>` for every property printed `never` because TypeScript has no value for it. */
|
|
233
302
|
readonly unsettableProps: readonly string[];
|
|
303
|
+
/**
|
|
304
|
+
* `<decl>.<prop>: <Ns>.<Name>` for every property printed `never` because the model
|
|
305
|
+
* could not resolve its type across a namespace boundary — two independently released
|
|
306
|
+
* GIRs disagreeing, which is what the main emitter answers `never` for as well.
|
|
307
|
+
*/
|
|
308
|
+
readonly unresolvedProps: readonly string[];
|
|
234
309
|
};
|
|
235
310
|
|
|
236
311
|
/** Declaration GType -> its own settable properties, as GObject registered them. */
|
|
@@ -244,7 +319,17 @@ export const OWN_PROPS: Readonly<Record<string, readonly string[]>>;
|
|
|
244
319
|
*/
|
|
245
320
|
export const OWN_SIGNALS: Readonly<Record<string, readonly string[]>>;
|
|
246
321
|
|
|
247
|
-
/**
|
|
322
|
+
/**
|
|
323
|
+
* Instantiable GType -> every declaration its members come from, self first.
|
|
324
|
+
*
|
|
325
|
+
* The key set is what a UI description file can NAME: every registered, non-abstract
|
|
326
|
+
* class this namespace declares. GtkBuilder resolves a `<object class="…">` through
|
|
327
|
+
* `g_type_from_name`, which knows nothing about widgets, so this is wider than
|
|
328
|
+
* `Widgets` by design — `GtkSizeGroup`, `GtkTextTag`, every `GtkEventController`
|
|
329
|
+
* and every `GtkCellRenderer` are here and are not widgets.
|
|
330
|
+
*
|
|
331
|
+
* `Widgets` and `CHILD_HOLDERS` are the narrower questions and answer them unchanged.
|
|
332
|
+
*/
|
|
248
333
|
export const DECLS: Readonly<Record<string, readonly string[]>>;
|
|
249
334
|
|
|
250
335
|
/** The GTypes in `DECLS` that hold a widget without being one — see `ChildHolders`. */
|
|
@@ -256,8 +341,8 @@ export const ENUM_NICKS: Readonly<Record<string, readonly string[]>>;
|
|
|
256
341
|
/**
|
|
257
342
|
* `<enum GType>.<nick>` -> the integer GObject registers for it, from GIR's `value`.
|
|
258
343
|
*
|
|
259
|
-
* Position in `ENUM_NICKS` is NOT this number. Counting is wrong on 6 of the
|
|
260
|
-
* GTK 4 vocabulary carries --
|
|
344
|
+
* Position in `ENUM_NICKS` is NOT this number. Counting is wrong on 6 of the 137 enums a
|
|
345
|
+
* GTK 4 vocabulary carries -- 112 in Gtk-4.0 and 25 in Adw-1: `GtkResponseType` runs -1 to -11, `GtkTextWindowType` starts
|
|
261
346
|
* at 1, `GtkOrdering` and `GtkConstraintRelation` are -1/0/1, `GtkAlign` has two names
|
|
262
347
|
* on one value, and `GtkConstraintStrength.required` is 1001001000 where counting says 0.
|
|
263
348
|
*
|
|
@@ -295,10 +380,11 @@ export const ENUM_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
295
380
|
*
|
|
296
381
|
* `ENUM_NICKS` carries no bitfield, because GObject cannot resolve a nick SET; that says
|
|
297
382
|
* nothing about a single member's number, and the number is what a host without GI needs.
|
|
298
|
-
*
|
|
299
|
-
*
|
|
300
|
-
* among them. Counting is worst here:
|
|
301
|
-
*
|
|
383
|
+
* 23 settable properties in Gtk-4.0 and Adw-1 are bitfield-typed and are declared bare
|
|
384
|
+
* `number` -- `GtkEntry:input-hints`, `GtkPopoverMenu:flags`, `AdwTabView:shortcuts`,
|
|
385
|
+
* `GtkDropTarget:actions` among them. Counting is worst here: 119 of the 156 Gtk-4.0
|
|
386
|
+
* bitfield members this vocabulary carries disagree with their declaration position,
|
|
387
|
+
* against 29 of 672 enumeration members.
|
|
302
388
|
*
|
|
303
389
|
* Combine with `|` as GObject does. There is no nick table to pair this with, so a name
|
|
304
390
|
* here is resolvable and a SET still is not.
|
|
@@ -322,7 +408,7 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
322
408
|
*
|
|
323
409
|
* The GType named here is not always one THIS module gives numbers for. A nick vocabulary is
|
|
324
410
|
* emitted once, by the namespace that owns the enum, so `AdwComboRow.search-match-mode` names
|
|
325
|
-
* `GtkStringFilterMatchMode` and its rows are in `@girs/gtk-4.0/vocabulary` —
|
|
411
|
+
* `GtkStringFilterMatchMode` and its rows are in `@girs/gtk-4.0/vocabulary` — 83 of the 909
|
|
326
412
|
* entries in a full run resolve only with the owner's vocabulary loaded beside this one. An
|
|
327
413
|
* owner with no vocabulary of its own (Gdk, Pango) is inlined here instead, so every entry
|
|
328
414
|
* resolves against SOME module.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// The widget vocabulary of FoundryGtk-1 as runtime data.
|
|
2
2
|
//
|
|
3
|
-
// GENERATED — do not edit. Provenance: FoundryGtk-1 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object
|
|
3
|
+
// GENERATED — do not edit. Provenance: FoundryGtk-1 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Gio.MenuModel Gio.ListModel Foundry.Service Json.Serializable — inlined base(s) their owner's vocabulary does not emit: Foundry.Contextual Foundry.TextBuffer
|
|
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,34 +11,58 @@ export const PROVENANCE = {
|
|
|
11
11
|
version: '1',
|
|
12
12
|
libraryVersion: null,
|
|
13
13
|
childHolders: 0,
|
|
14
|
-
droppedBases: ['GObject.InitiallyUnowned', 'GObject.Object'],
|
|
15
|
-
inlinedBases: [],
|
|
14
|
+
droppedBases: ['GObject.InitiallyUnowned', 'GObject.Object', 'Gio.MenuModel', 'Gio.ListModel', 'Foundry.Service', 'Json.Serializable'],
|
|
15
|
+
inlinedBases: ['Foundry.Contextual', 'Foundry.TextBuffer'],
|
|
16
16
|
unsettableProps: [],
|
|
17
|
+
unresolvedProps: [],
|
|
17
18
|
};
|
|
18
19
|
|
|
19
20
|
export const OWN_PROPS = {
|
|
20
21
|
FoundryChangesGutterRenderer: ['show-overview'],
|
|
22
|
+
FoundryContextual: ['context'],
|
|
21
23
|
FoundryDiagnosticsGutterRenderer: ['diagnostics'],
|
|
22
24
|
FoundryGitLanes: ['entry'],
|
|
25
|
+
FoundryMenuProxy: ['menu-id'],
|
|
26
|
+
FoundryShortcutObserver: ['model'],
|
|
27
|
+
FoundrySourceBuffer: ['context', 'override-syntax'],
|
|
23
28
|
FoundrySourceView: ['document', 'enable-completion', 'enable-vim', 'font', 'line-height', 'show-diagnostics', 'show-line-changes', 'show-line-changes-overview'],
|
|
24
29
|
FoundryTerminal: ['palette'],
|
|
30
|
+
FoundryTextBuffer: ['context'],
|
|
25
31
|
};
|
|
26
32
|
|
|
27
|
-
export const OWN_SIGNALS = {
|
|
33
|
+
export const OWN_SIGNALS = {
|
|
34
|
+
FoundryShortcutObserver: ['accel-changed'],
|
|
35
|
+
};
|
|
28
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.
|
|
29
44
|
export const DECLS = {
|
|
30
45
|
FoundryChangesGutterRenderer: ['FoundryChangesGutterRenderer', 'GtkSourceGutterRenderer', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
|
|
31
46
|
FoundryDiagnosticsGutterRenderer: ['FoundryDiagnosticsGutterRenderer', 'GtkSourceGutterRenderer', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
|
|
32
47
|
FoundryGitLanes: ['FoundryGitLanes', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
|
|
33
48
|
FoundryMarkupView: ['FoundryMarkupView', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
|
|
49
|
+
FoundryMenuManager: ['FoundryMenuManager'],
|
|
50
|
+
FoundryMenuProxy: ['FoundryMenuProxy'],
|
|
51
|
+
FoundryShortcutBundle: ['FoundryShortcutBundle'],
|
|
52
|
+
FoundryShortcutManager: ['FoundryShortcutManager', 'FoundryContextual'],
|
|
53
|
+
FoundryShortcutObserver: ['FoundryShortcutObserver'],
|
|
54
|
+
FoundrySourceBuffer: ['FoundrySourceBuffer', 'GtkSourceBuffer', 'GtkTextBuffer', 'FoundryTextBuffer'],
|
|
34
55
|
FoundrySourceView: ['FoundrySourceView', 'GtkSourceView', 'GtkTextView', 'GtkWidget', 'GtkAccessible', 'GtkAccessibleText', 'GtkBuildable', 'GtkConstraintTarget', 'GtkScrollable'],
|
|
35
56
|
FoundryTerminal: ['FoundryTerminal', 'GtkWidget', 'GtkAccessible', 'GtkAccessibleText', 'GtkBuildable', 'GtkConstraintTarget', 'GtkScrollable'],
|
|
57
|
+
FoundryTerminalPalette: ['FoundryTerminalPalette'],
|
|
58
|
+
FoundryTerminalPaletteSet: ['FoundryTerminalPaletteSet'],
|
|
36
59
|
};
|
|
37
60
|
|
|
38
|
-
// The GTypes above that are
|
|
39
|
-
//
|
|
40
|
-
//
|
|
41
|
-
//
|
|
61
|
+
// The GTypes above that ARE widgets are the `Widgets` map in the sibling `.d.ts`; these
|
|
62
|
+
// are the ones that merely HOLD one, through `set_child`/`get_child`, descending from
|
|
63
|
+
// `GObject.Object`. A renderer places them like a container; a check asking "is this a
|
|
64
|
+
// widget" must not count them. Derived from the accessor pair, never from a list — the
|
|
65
|
+
// count is in the provenance line above.
|
|
42
66
|
export const CHILD_HOLDERS = [];
|
|
43
67
|
|
|
44
68
|
export const ENUM_NICKS = {};
|
|
@@ -48,7 +72,7 @@ export const ENUM_NICKS = {};
|
|
|
48
72
|
// It ships because position in `ENUM_NICKS` is not the value and a consumer with no
|
|
49
73
|
// typelib has no other way to learn it: a surface without GI still has to hand GObject an
|
|
50
74
|
// integer. The alternative a consumer reaches for first is counting, and counting is wrong
|
|
51
|
-
// on 6 of the
|
|
75
|
+
// on 6 of the 137 enums a GTK 4 vocabulary carries (112 in Gtk-4.0, 25 in Adw-1) --
|
|
52
76
|
// `GtkResponseType` runs -1 down to
|
|
53
77
|
// -11, `GtkTextWindowType` starts at 1, and `GtkConstraintStrength.required` is
|
|
54
78
|
// 1001001000 where counting answers 0.
|
|
@@ -85,11 +109,12 @@ export const ENUM_VALUES_UNREADABLE = {};
|
|
|
85
109
|
// The number behind each member of a registered BITFIELD, keyed the same way.
|
|
86
110
|
//
|
|
87
111
|
// `ENUM_NICKS` refuses a bitfield because GObject cannot resolve a nick SET, and that
|
|
88
|
-
// reason says nothing about one member's number.
|
|
89
|
-
//
|
|
90
|
-
// `AdwTabView:shortcuts`, ... -- and they are typed bare
|
|
91
|
-
// has nothing to compute one from. Counting is worst
|
|
92
|
-
//
|
|
112
|
+
// reason says nothing about one member's number. 23 settable properties in Gtk-4.0 and
|
|
113
|
+
// Adw-1 are bitfield-typed -- `GtkEntry:input-hints`, `GtkPopoverMenu:flags`,
|
|
114
|
+
// `AdwTabView:shortcuts`, `GtkDropTarget:actions`, ... -- and they are typed bare
|
|
115
|
+
// `number`, so a host without GI has nothing to compute one from. Counting is worst
|
|
116
|
+
// exactly here: 119 of the 156 Gtk-4.0 bitfield members this vocabulary carries disagree
|
|
117
|
+
// with their declaration position, against 29 of 672 enumeration members.
|
|
93
118
|
//
|
|
94
119
|
// A table of its own rather than more rows in `ENUM_VALUES`, so that "every nick in
|
|
95
120
|
// `ENUM_NICKS` has a number or a declared reason" stays a claim about one set.
|
|
@@ -112,7 +137,7 @@ export const FLAG_VALUES_UNREADABLE = {};
|
|
|
112
137
|
// one are both entries a consumer would resolve wrongly, so neither is written.
|
|
113
138
|
//
|
|
114
139
|
// A GType named here has numbers in SOME vocabulary, not necessarily this one: the namespace
|
|
115
|
-
// that OWNS an enum publishes it, so
|
|
140
|
+
// that OWNS an enum publishes it, so 83 of the 909 entries a full run emits want the owner's
|
|
116
141
|
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
117
142
|
export const PROP_ENUMS = {};
|
|
118
143
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/foundrygtk-1",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for FoundryGtk-1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "foundrygtk-1.js",
|
|
@@ -36,27 +36,27 @@
|
|
|
36
36
|
"test": "tsc --project tsconfig.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@girs/gjs": "^5.
|
|
40
|
-
"@girs/peas-2": "^5.
|
|
41
|
-
"@girs/gio-2.0": "^5.
|
|
42
|
-
"@girs/gobject-2.0": "^5.
|
|
43
|
-
"@girs/glib-2.0": "^5.
|
|
44
|
-
"@girs/gmodule-2.0": "^5.
|
|
45
|
-
"@girs/json-1.0": "^5.
|
|
46
|
-
"@girs/gtksource-5": "^5.
|
|
47
|
-
"@girs/gtk-4.0": "^5.
|
|
48
|
-
"@girs/gsk-4.0": "^5.
|
|
49
|
-
"@girs/graphene-1.0": "^5.
|
|
50
|
-
"@girs/gdk-4.0": "^5.
|
|
51
|
-
"@girs/cairo-1.0": "^5.
|
|
52
|
-
"@girs/pangocairo-1.0": "^5.
|
|
53
|
-
"@girs/pango-1.0": "^5.
|
|
54
|
-
"@girs/harfbuzz-0.0": "^5.
|
|
55
|
-
"@girs/freetype2-2.0": "^5.
|
|
56
|
-
"@girs/gdkpixbuf-2.0": "^5.
|
|
57
|
-
"@girs/foundry-1": "^5.
|
|
58
|
-
"@girs/dex-1": "^5.
|
|
59
|
-
"@girs/giounix-2.0": "^5.
|
|
39
|
+
"@girs/gjs": "^5.2.0",
|
|
40
|
+
"@girs/peas-2": "^5.2.0",
|
|
41
|
+
"@girs/gio-2.0": "^5.2.0",
|
|
42
|
+
"@girs/gobject-2.0": "^5.2.0",
|
|
43
|
+
"@girs/glib-2.0": "^5.2.0",
|
|
44
|
+
"@girs/gmodule-2.0": "^5.2.0",
|
|
45
|
+
"@girs/json-1.0": "^5.2.0",
|
|
46
|
+
"@girs/gtksource-5": "^5.2.0",
|
|
47
|
+
"@girs/gtk-4.0": "^5.2.0",
|
|
48
|
+
"@girs/gsk-4.0": "^5.2.0",
|
|
49
|
+
"@girs/graphene-1.0": "^5.2.0",
|
|
50
|
+
"@girs/gdk-4.0": "^5.2.0",
|
|
51
|
+
"@girs/cairo-1.0": "^5.2.0",
|
|
52
|
+
"@girs/pangocairo-1.0": "^5.2.0",
|
|
53
|
+
"@girs/pango-1.0": "^5.2.0",
|
|
54
|
+
"@girs/harfbuzz-0.0": "^5.2.0",
|
|
55
|
+
"@girs/freetype2-2.0": "^5.2.0",
|
|
56
|
+
"@girs/gdkpixbuf-2.0": "^5.2.0",
|
|
57
|
+
"@girs/foundry-1": "^5.2.0",
|
|
58
|
+
"@girs/dex-1": "^5.2.0",
|
|
59
|
+
"@girs/giounix-2.0": "^5.2.0" },
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"typescript": "*"
|
|
62
62
|
},
|