@gtkx/react 0.18.9 → 0.19.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/dist/generated/internal.d.ts +6 -0
- package/dist/generated/internal.d.ts.map +1 -1
- package/dist/generated/internal.js +331 -44
- package/dist/generated/internal.js.map +1 -1
- package/dist/generated/jsx.d.ts +178 -2
- package/dist/generated/jsx.d.ts.map +1 -1
- package/dist/generated/jsx.js.map +1 -1
- package/dist/host-config.d.ts.map +1 -1
- package/dist/host-config.js +46 -10
- package/dist/host-config.js.map +1 -1
- package/dist/jsx.d.ts +133 -13
- package/dist/jsx.d.ts.map +1 -1
- package/dist/jsx.js +41 -2
- package/dist/jsx.js.map +1 -1
- package/dist/metadata.d.ts +1 -0
- package/dist/metadata.d.ts.map +1 -1
- package/dist/metadata.js +3 -1
- package/dist/metadata.js.map +1 -1
- package/dist/node.d.ts +2 -0
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +22 -6
- package/dist/node.js.map +1 -1
- package/dist/nodes/column-view-column.d.ts +4 -1
- package/dist/nodes/column-view-column.d.ts.map +1 -1
- package/dist/nodes/column-view-column.js +29 -8
- package/dist/nodes/column-view-column.js.map +1 -1
- package/dist/nodes/column-view.d.ts +4 -3
- package/dist/nodes/column-view.d.ts.map +1 -1
- package/dist/nodes/column-view.js +44 -14
- package/dist/nodes/column-view.js.map +1 -1
- package/dist/nodes/drop-down.d.ts +12 -2
- package/dist/nodes/drop-down.d.ts.map +1 -1
- package/dist/nodes/drop-down.js +151 -5
- package/dist/nodes/drop-down.js.map +1 -1
- package/dist/nodes/event-controller.d.ts +1 -0
- package/dist/nodes/event-controller.d.ts.map +1 -1
- package/dist/nodes/event-controller.js +11 -3
- package/dist/nodes/event-controller.js.map +1 -1
- package/dist/nodes/fixed-child.d.ts +1 -2
- package/dist/nodes/fixed-child.d.ts.map +1 -1
- package/dist/nodes/fixed-child.js +21 -21
- package/dist/nodes/fixed-child.js.map +1 -1
- package/dist/nodes/font-dialog-button.d.ts +1 -1
- package/dist/nodes/font-dialog-button.d.ts.map +1 -1
- package/dist/nodes/font-dialog-button.js +8 -0
- package/dist/nodes/font-dialog-button.js.map +1 -1
- package/dist/nodes/grid-view.d.ts +6 -5
- package/dist/nodes/grid-view.d.ts.map +1 -1
- package/dist/nodes/grid-view.js +23 -18
- package/dist/nodes/grid-view.js.map +1 -1
- package/dist/nodes/internal/accessible.d.ts +5 -0
- package/dist/nodes/internal/accessible.d.ts.map +1 -0
- package/dist/nodes/internal/accessible.js +119 -0
- package/dist/nodes/internal/accessible.js.map +1 -0
- package/dist/nodes/internal/base-item-renderer.d.ts.map +1 -1
- package/dist/nodes/internal/base-item-renderer.js +0 -1
- package/dist/nodes/internal/base-item-renderer.js.map +1 -1
- package/dist/nodes/internal/construct.d.ts +10 -0
- package/dist/nodes/internal/construct.d.ts.map +1 -0
- package/dist/nodes/internal/construct.js +68 -0
- package/dist/nodes/internal/construct.js.map +1 -0
- package/dist/nodes/internal/header-item-renderer.d.ts +23 -0
- package/dist/nodes/internal/header-item-renderer.d.ts.map +1 -0
- package/dist/nodes/internal/header-item-renderer.js +87 -0
- package/dist/nodes/internal/header-item-renderer.js.map +1 -0
- package/dist/nodes/internal/header-renderer-manager.d.ts +13 -0
- package/dist/nodes/internal/header-renderer-manager.d.ts.map +1 -0
- package/dist/nodes/internal/header-renderer-manager.js +20 -0
- package/dist/nodes/internal/header-renderer-manager.js.map +1 -0
- package/dist/nodes/internal/list-store.d.ts +10 -11
- package/dist/nodes/internal/list-store.d.ts.map +1 -1
- package/dist/nodes/internal/list-store.js +28 -29
- package/dist/nodes/internal/list-store.js.map +1 -1
- package/dist/nodes/internal/sectioned-list-store.d.ts +50 -0
- package/dist/nodes/internal/sectioned-list-store.d.ts.map +1 -0
- package/dist/nodes/internal/sectioned-list-store.js +250 -0
- package/dist/nodes/internal/sectioned-list-store.js.map +1 -0
- package/dist/nodes/internal/selection-helpers.d.ts +12 -0
- package/dist/nodes/internal/selection-helpers.d.ts.map +1 -0
- package/dist/nodes/internal/selection-helpers.js +25 -0
- package/dist/nodes/internal/selection-helpers.js.map +1 -0
- package/dist/nodes/internal/selection-model-controller.d.ts.map +1 -1
- package/dist/nodes/internal/selection-model-controller.js +3 -0
- package/dist/nodes/internal/selection-model-controller.js.map +1 -1
- package/dist/nodes/internal/simple-list-store.d.ts +7 -12
- package/dist/nodes/internal/simple-list-store.d.ts.map +1 -1
- package/dist/nodes/internal/simple-list-store.js +58 -35
- package/dist/nodes/internal/simple-list-store.js.map +1 -1
- package/dist/nodes/internal/text-buffer-controller.d.ts +4 -0
- package/dist/nodes/internal/text-buffer-controller.d.ts.map +1 -1
- package/dist/nodes/internal/text-buffer-controller.js +49 -9
- package/dist/nodes/internal/text-buffer-controller.js.map +1 -1
- package/dist/nodes/internal/tree-store.d.ts +3 -0
- package/dist/nodes/internal/tree-store.d.ts.map +1 -1
- package/dist/nodes/internal/tree-store.js +55 -10
- package/dist/nodes/internal/tree-store.js.map +1 -1
- package/dist/nodes/list-section.d.ts +27 -0
- package/dist/nodes/list-section.d.ts.map +1 -0
- package/dist/nodes/list-section.js +43 -0
- package/dist/nodes/list-section.js.map +1 -0
- package/dist/nodes/list-view.d.ts +6 -3
- package/dist/nodes/list-view.d.ts.map +1 -1
- package/dist/nodes/list-view.js +54 -14
- package/dist/nodes/list-view.js.map +1 -1
- package/dist/nodes/models/list.d.ts +13 -5
- package/dist/nodes/models/list.d.ts.map +1 -1
- package/dist/nodes/models/list.js +135 -21
- package/dist/nodes/models/list.js.map +1 -1
- package/dist/nodes/shortcut.d.ts +3 -2
- package/dist/nodes/shortcut.d.ts.map +1 -1
- package/dist/nodes/shortcut.js +19 -4
- package/dist/nodes/shortcut.js.map +1 -1
- package/dist/nodes/text-anchor.d.ts.map +1 -1
- package/dist/nodes/text-anchor.js +7 -1
- package/dist/nodes/text-anchor.js.map +1 -1
- package/dist/nodes/text-tag.d.ts.map +1 -1
- package/dist/nodes/text-tag.js +5 -1
- package/dist/nodes/text-tag.js.map +1 -1
- package/dist/nodes/text-view.d.ts +1 -0
- package/dist/nodes/text-view.d.ts.map +1 -1
- package/dist/nodes/text-view.js +4 -0
- package/dist/nodes/text-view.js.map +1 -1
- package/dist/nodes/widget.d.ts +0 -2
- package/dist/nodes/widget.d.ts.map +1 -1
- package/dist/nodes/widget.js +44 -61
- package/dist/nodes/widget.js.map +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +2 -2
- package/dist/registry.js.map +1 -1
- package/package.json +3 -3
- package/src/generated/internal.ts +333 -44
- package/src/generated/jsx.ts +178 -2
- package/src/host-config.ts +41 -10
- package/src/jsx.ts +166 -15
- package/src/metadata.ts +5 -1
- package/src/node.ts +20 -6
- package/src/nodes/column-view-column.ts +32 -8
- package/src/nodes/column-view.ts +59 -14
- package/src/nodes/drop-down.ts +182 -6
- package/src/nodes/event-controller.ts +11 -3
- package/src/nodes/fixed-child.ts +24 -23
- package/src/nodes/font-dialog-button.ts +10 -0
- package/src/nodes/grid-view.ts +29 -19
- package/src/nodes/internal/accessible.ts +156 -0
- package/src/nodes/internal/base-item-renderer.ts +0 -1
- package/src/nodes/internal/construct.ts +90 -0
- package/src/nodes/internal/header-item-renderer.ts +105 -0
- package/src/nodes/internal/header-renderer-manager.ts +33 -0
- package/src/nodes/internal/list-store.ts +32 -30
- package/src/nodes/internal/sectioned-list-store.ts +287 -0
- package/src/nodes/internal/selection-helpers.ts +35 -0
- package/src/nodes/internal/selection-model-controller.ts +4 -0
- package/src/nodes/internal/simple-list-store.ts +60 -43
- package/src/nodes/internal/text-buffer-controller.ts +51 -8
- package/src/nodes/internal/tree-store.ts +61 -9
- package/src/nodes/list-section.ts +64 -0
- package/src/nodes/list-view.ts +65 -14
- package/src/nodes/models/list.ts +147 -37
- package/src/nodes/shortcut.ts +22 -5
- package/src/nodes/text-anchor.ts +6 -1
- package/src/nodes/text-tag.ts +7 -1
- package/src/nodes/text-view.ts +5 -0
- package/src/nodes/widget.ts +45 -62
- package/src/registry.ts +4 -2
- package/dist/nodes/models/grid.d.ts +0 -28
- package/dist/nodes/models/grid.d.ts.map +0 -1
- package/dist/nodes/models/grid.js +0 -69
- package/dist/nodes/models/grid.js.map +0 -1
- package/dist/nodes/shortcut-controller.d.ts +0 -10
- package/dist/nodes/shortcut-controller.d.ts.map +0 -1
- package/dist/nodes/shortcut-controller.js +0 -23
- package/dist/nodes/shortcut-controller.js.map +0 -1
- package/src/nodes/models/grid.ts +0 -105
- package/src/nodes/shortcut-controller.ts +0 -27
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Type } from "@gtkx/ffi";
|
|
1
2
|
/**
|
|
2
3
|
* Internal metadata for the reconciler.
|
|
3
4
|
* Runtime prop/signal resolution and constructor parameters.
|
|
@@ -5,6 +6,11 @@
|
|
|
5
6
|
*/
|
|
6
7
|
/** Constructor parameters for each widget and controller type, derived from GIR analysis. */
|
|
7
8
|
export declare const CONSTRUCTOR_PROPS: Record<string, string[]>;
|
|
9
|
+
/** Construct-only properties that can only be set during object construction via g_object_new. */
|
|
10
|
+
export declare const CONSTRUCT_ONLY_PROPS: Record<string, Record<string, {
|
|
11
|
+
girName: string;
|
|
12
|
+
ffiType: Type;
|
|
13
|
+
}>>;
|
|
8
14
|
export declare const PROPS: Record<string, Record<string, [string | null, string]>>;
|
|
9
15
|
/** Signal handler prop name to GTK signal name mapping for widgets and controllers. */
|
|
10
16
|
export declare const SIGNALS: Record<string, Record<string, string>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/generated/internal.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,6FAA6F;AAC7F,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CA+
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/generated/internal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC;;;;GAIG;AACH,6FAA6F;AAC7F,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CA6MtD,CAAC;AACF,kGAAkG;AAClG,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,IAAI,CAAA;CAAE,CAAC,CA+HnG,CAAC;AACF,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,MAAM,GAAG,IAAI,EAAE,MAAM,CAAC,CAAC,CAo7CzE,CAAC;AACF,uFAAuF;AACvF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAymB1D,CAAC"}
|
|
@@ -5,52 +5,339 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/** Constructor parameters for each widget and controller type, derived from GIR analysis. */
|
|
7
7
|
export const CONSTRUCTOR_PROPS = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
8
|
+
GtkWidget: ["cssName"],
|
|
9
|
+
AdwWindow: ["cssName"],
|
|
10
|
+
GtkWindow: ["cssName"],
|
|
11
|
+
AdwAboutDialog: ["cssName"],
|
|
12
|
+
GtkAboutDialog: ["cssName"],
|
|
13
|
+
AdwAboutWindow: ["cssName"],
|
|
14
|
+
GtkActionBar: ["cssName"],
|
|
15
|
+
AdwActionRow: ["cssName"],
|
|
16
|
+
AdwAlertDialog: ["heading", "body", "cssName"],
|
|
17
|
+
GtkAppChooserButton: ["contentType", "cssName"],
|
|
18
|
+
GtkAppChooserDialog: ["parent", "gfile", "useHeaderBar", "cssName"],
|
|
19
|
+
GtkAppChooserWidget: ["contentType", "cssName"],
|
|
20
|
+
AdwApplicationWindow: ["cssName"],
|
|
21
|
+
GtkApplicationWindow: ["cssName"],
|
|
22
|
+
GtkAspectFrame: ["xalign", "yalign", "ratio", "obeyChild", "cssName"],
|
|
23
|
+
GtkAssistant: ["useHeaderBar", "cssName"],
|
|
24
|
+
AdwAvatar: ["size", "showInitials", "text", "cssName"],
|
|
25
|
+
AdwBanner: ["title", "cssName"],
|
|
26
|
+
AdwBin: ["cssName"],
|
|
27
|
+
AdwBottomSheet: ["cssName"],
|
|
28
|
+
GtkBox: ["orientation", "spacing", "cssName"],
|
|
29
|
+
AdwBreakpointBin: ["cssName"],
|
|
30
|
+
GtkButton: ["cssName"],
|
|
31
|
+
AdwButtonContent: ["cssName"],
|
|
32
|
+
AdwButtonRow: ["cssName"],
|
|
33
|
+
GtkCalendar: ["cssName"],
|
|
34
|
+
AdwCarousel: ["cssName"],
|
|
35
|
+
AdwCarouselIndicatorDots: ["cssName"],
|
|
36
|
+
AdwCarouselIndicatorLines: ["cssName"],
|
|
37
|
+
GtkCellView: ["cellArea", "cellAreaContext", "cssName"],
|
|
38
|
+
GtkCenterBox: ["cssName"],
|
|
39
|
+
GtkCheckButton: ["cssName"],
|
|
40
|
+
AdwClamp: ["cssName"],
|
|
41
|
+
AdwClampScrollable: ["cssName"],
|
|
42
|
+
GtkColorButton: ["cssName"],
|
|
43
|
+
GtkColorChooserDialog: ["title", "parent", "useHeaderBar", "cssName"],
|
|
44
|
+
GtkColorChooserWidget: ["cssName"],
|
|
45
|
+
GtkColorDialogButton: ["dialog", "cssName"],
|
|
46
|
+
GtkColumnView: ["model", "cssName"],
|
|
47
|
+
GtkComboBox: ["hasEntry", "cssName"],
|
|
48
|
+
GtkComboBoxText: ["hasEntry", "cssName"],
|
|
49
|
+
AdwComboRow: ["cssName"],
|
|
50
|
+
GtkSourceCompletionCell: ["column", "cssName"],
|
|
51
|
+
AdwDialog: ["cssName"],
|
|
52
|
+
GtkDialog: ["useHeaderBar", "cssName"],
|
|
53
|
+
GtkDragIcon: ["cssName"],
|
|
54
|
+
GtkDrawingArea: ["cssName"],
|
|
55
|
+
GtkDropDown: ["model", "expression", "cssName"],
|
|
56
|
+
GtkEditableLabel: ["cssName"],
|
|
57
|
+
GtkEmojiChooser: ["cssName"],
|
|
58
|
+
GtkEntry: ["cssName"],
|
|
59
|
+
AdwEntryRow: ["cssName"],
|
|
60
|
+
GtkExpander: ["label", "cssName"],
|
|
61
|
+
AdwExpanderRow: ["cssName"],
|
|
62
|
+
GtkFileChooserDialog: ["useHeaderBar", "cssName"],
|
|
63
|
+
GtkFileChooserWidget: ["action", "cssName"],
|
|
64
|
+
GtkFixed: ["cssName"],
|
|
65
|
+
AdwFlap: ["cssName"],
|
|
66
|
+
GtkFlowBox: ["cssName"],
|
|
67
|
+
GtkFlowBoxChild: ["cssName"],
|
|
68
|
+
GtkFontButton: ["cssName"],
|
|
69
|
+
GtkFontChooserDialog: ["title", "parent", "useHeaderBar", "cssName"],
|
|
70
|
+
GtkFontChooserWidget: ["cssName"],
|
|
71
|
+
GtkFontDialogButton: ["dialog", "cssName"],
|
|
72
|
+
GtkFrame: ["label", "cssName"],
|
|
73
|
+
GtkGLArea: ["cssName"],
|
|
74
|
+
GtkGraphicsOffload: ["child", "cssName"],
|
|
75
|
+
GtkGrid: ["cssName"],
|
|
76
|
+
GtkGridView: ["model", "factory", "cssName"],
|
|
77
|
+
GtkSourceGutter: ["view", "windowType", "cssName"],
|
|
78
|
+
GtkSourceGutterRenderer: ["cssName"],
|
|
79
|
+
GtkSourceGutterRendererPixbuf: ["cssName"],
|
|
80
|
+
GtkSourceGutterRendererText: ["cssName"],
|
|
81
|
+
AdwHeaderBar: ["cssName"],
|
|
82
|
+
GtkHeaderBar: ["cssName"],
|
|
83
|
+
GtkSourceHoverDisplay: ["cssName"],
|
|
84
|
+
GtkIconView: ["cellArea", "cssName"],
|
|
85
|
+
GtkImage: ["cssName"],
|
|
86
|
+
GtkInfoBar: ["cssName"],
|
|
87
|
+
AdwInlineViewSwitcher: ["cssName"],
|
|
88
|
+
GtkInscription: ["text", "cssName"],
|
|
89
|
+
GtkLabel: ["cssName"],
|
|
90
|
+
AdwLayoutSlot: ["id", "cssName"],
|
|
91
|
+
AdwLeaflet: ["cssName"],
|
|
92
|
+
GtkLevelBar: ["cssName"],
|
|
93
|
+
GtkLinkButton: ["uri", "cssName"],
|
|
94
|
+
GtkListBase: ["cssName"],
|
|
95
|
+
GtkListBox: ["cssName"],
|
|
96
|
+
GtkListBoxRow: ["cssName"],
|
|
97
|
+
GtkListView: ["model", "factory", "cssName"],
|
|
98
|
+
GtkLockButton: ["permission", "cssName"],
|
|
99
|
+
GtkSourceMap: ["cssName"],
|
|
100
|
+
GtkMediaControls: ["cssName"],
|
|
101
|
+
GtkMenuButton: ["cssName"],
|
|
102
|
+
AdwMessageDialog: ["parent", "heading", "body", "cssName"],
|
|
103
|
+
GtkMessageDialog: ["buttons", "useHeaderBar", "cssName"],
|
|
104
|
+
AdwMultiLayoutView: ["cssName"],
|
|
105
|
+
AdwNavigationPage: ["child", "title", "cssName"],
|
|
106
|
+
AdwNavigationSplitView: ["cssName"],
|
|
107
|
+
AdwNavigationView: ["cssName"],
|
|
108
|
+
GtkNotebook: ["cssName"],
|
|
109
|
+
GtkOverlay: ["cssName"],
|
|
110
|
+
AdwOverlaySplitView: ["cssName"],
|
|
111
|
+
GtkPageSetupUnixDialog: ["title", "parent", "useHeaderBar", "cssName"],
|
|
112
|
+
GtkPaned: ["orientation", "cssName"],
|
|
113
|
+
GtkPasswordEntry: ["cssName"],
|
|
114
|
+
AdwPasswordEntryRow: ["cssName"],
|
|
115
|
+
GtkPicture: ["cssName"],
|
|
116
|
+
GtkPopover: ["cssName"],
|
|
117
|
+
GtkPopoverMenu: ["cssName"],
|
|
118
|
+
GtkPopoverMenuBar: ["cssName"],
|
|
119
|
+
AdwPreferencesDialog: ["cssName"],
|
|
120
|
+
AdwPreferencesGroup: ["cssName"],
|
|
121
|
+
AdwPreferencesPage: ["cssName"],
|
|
122
|
+
AdwPreferencesRow: ["cssName"],
|
|
123
|
+
AdwPreferencesWindow: ["cssName"],
|
|
124
|
+
GtkPrintUnixDialog: ["title", "parent", "useHeaderBar", "cssName"],
|
|
125
|
+
GtkProgressBar: ["cssName"],
|
|
126
|
+
GtkRange: ["cssName"],
|
|
127
|
+
GtkRevealer: ["cssName"],
|
|
128
|
+
GtkScale: ["orientation", "adjustment", "cssName"],
|
|
129
|
+
GtkScaleButton: ["icons", "cssName"],
|
|
130
|
+
GtkScrollbar: ["orientation", "adjustment", "cssName"],
|
|
131
|
+
GtkScrolledWindow: ["cssName"],
|
|
132
|
+
GtkSearchBar: ["cssName"],
|
|
133
|
+
GtkSearchEntry: ["cssName"],
|
|
134
|
+
GtkSeparator: ["orientation", "cssName"],
|
|
135
|
+
AdwShortcutLabel: ["accelerator", "cssName"],
|
|
136
|
+
GtkShortcutLabel: ["accelerator", "cssName"],
|
|
137
|
+
AdwShortcutsDialog: ["cssName"],
|
|
138
|
+
GtkShortcutsGroup: ["cssName"],
|
|
139
|
+
GtkShortcutsSection: ["cssName"],
|
|
140
|
+
GtkShortcutsShortcut: ["cssName"],
|
|
141
|
+
GtkShortcutsWindow: ["cssName"],
|
|
142
|
+
GtkSpinButton: ["climbRate", "digits", "adjustment", "cssName"],
|
|
143
|
+
AdwSpinner: ["cssName"],
|
|
144
|
+
GtkSpinner: ["cssName"],
|
|
145
|
+
AdwSpinRow: ["climbRate", "digits", "adjustment", "cssName"],
|
|
146
|
+
AdwSplitButton: ["cssName"],
|
|
147
|
+
AdwSqueezer: ["cssName"],
|
|
148
|
+
GtkStack: ["cssName"],
|
|
149
|
+
GtkStackSidebar: ["cssName"],
|
|
150
|
+
GtkStackSwitcher: ["cssName"],
|
|
151
|
+
GtkStatusbar: ["cssName"],
|
|
152
|
+
AdwStatusPage: ["cssName"],
|
|
153
|
+
GtkSourceStyleSchemeChooserButton: ["cssName"],
|
|
154
|
+
GtkSourceStyleSchemeChooserWidget: ["cssName"],
|
|
155
|
+
GtkSourceStyleSchemePreview: ["scheme", "cssName"],
|
|
156
|
+
GtkSwitch: ["cssName"],
|
|
157
|
+
AdwSwitchRow: ["cssName"],
|
|
158
|
+
AdwTabBar: ["cssName"],
|
|
159
|
+
AdwTabButton: ["cssName"],
|
|
160
|
+
AdwTabOverview: ["cssName"],
|
|
161
|
+
AdwTabView: ["cssName"],
|
|
162
|
+
VteTerminal: ["cssName"],
|
|
163
|
+
GtkText: ["cssName"],
|
|
164
|
+
GtkTextView: ["cssName"],
|
|
165
|
+
AdwToastOverlay: ["cssName"],
|
|
166
|
+
GtkToggleButton: ["cssName"],
|
|
167
|
+
AdwToggleGroup: ["cssName"],
|
|
168
|
+
AdwToolbarView: ["cssName"],
|
|
169
|
+
GtkTreeExpander: ["cssName"],
|
|
170
|
+
GtkTreeView: ["cssName"],
|
|
171
|
+
GtkVideo: ["cssName"],
|
|
172
|
+
GtkSourceView: ["cssName"],
|
|
173
|
+
GtkViewport: ["hadjustment", "vadjustment", "cssName"],
|
|
174
|
+
AdwViewStack: ["cssName"],
|
|
175
|
+
AdwViewSwitcher: ["cssName"],
|
|
176
|
+
AdwViewSwitcherBar: ["cssName"],
|
|
177
|
+
AdwViewSwitcherTitle: ["cssName"],
|
|
178
|
+
GtkVolumeButton: ["cssName"],
|
|
179
|
+
WebKitWebView: [
|
|
180
|
+
"automationPresentationType",
|
|
181
|
+
"defaultContentSecurityPolicy",
|
|
182
|
+
"isControlledByAutomation",
|
|
183
|
+
"networkSession",
|
|
184
|
+
"relatedView",
|
|
185
|
+
"userContentManager",
|
|
186
|
+
"webContext",
|
|
187
|
+
"webExtensionMode",
|
|
188
|
+
"websitePolicies",
|
|
189
|
+
"cssName",
|
|
190
|
+
],
|
|
191
|
+
WebKitWebViewBase: ["cssName"],
|
|
192
|
+
GtkWindowControls: ["side", "cssName"],
|
|
193
|
+
GtkWindowHandle: ["cssName"],
|
|
194
|
+
AdwWindowTitle: ["title", "subtitle", "cssName"],
|
|
195
|
+
AdwWrapBox: ["cssName"],
|
|
196
|
+
GtkDragSource: ["nPoints"],
|
|
197
|
+
GtkDropTarget: ["actions", "formats"],
|
|
50
198
|
GtkDropTargetAsync: ["actions", "formats"],
|
|
51
199
|
GtkEventControllerScroll: ["flags"],
|
|
52
|
-
|
|
53
|
-
|
|
200
|
+
GtkGesture: ["nPoints"],
|
|
201
|
+
GtkGestureClick: ["nPoints"],
|
|
202
|
+
GtkGestureDrag: ["nPoints"],
|
|
203
|
+
GtkGestureLongPress: ["nPoints"],
|
|
204
|
+
GtkGesturePan: ["orientation", "nPoints"],
|
|
205
|
+
GtkGestureRotate: ["nPoints"],
|
|
206
|
+
GtkGestureSingle: ["nPoints"],
|
|
207
|
+
GtkGestureStylus: ["nPoints"],
|
|
208
|
+
GtkGestureSwipe: ["nPoints"],
|
|
209
|
+
GtkGestureZoom: ["nPoints"],
|
|
210
|
+
GtkPadController: ["pad", "actionGroup"],
|
|
211
|
+
GtkShortcutController: ["model"],
|
|
212
|
+
};
|
|
213
|
+
/** Construct-only properties that can only be set during object construction via g_object_new. */
|
|
214
|
+
export const CONSTRUCT_ONLY_PROPS = {
|
|
215
|
+
GtkWidget: {
|
|
216
|
+
cssName: { girName: "css-name", ffiType: { type: "string", ownership: "full" } },
|
|
217
|
+
},
|
|
218
|
+
GtkAppChooserButton: {
|
|
219
|
+
contentType: { girName: "content-type", ffiType: { type: "string", ownership: "full" } },
|
|
220
|
+
},
|
|
221
|
+
GtkAppChooserDialog: {
|
|
222
|
+
gfile: { girName: "gfile", ffiType: { type: "gobject", ownership: "full" } },
|
|
223
|
+
contentType: { girName: "content-type", ffiType: { type: "string", ownership: "full" } },
|
|
224
|
+
},
|
|
225
|
+
GtkAppChooserWidget: {
|
|
226
|
+
contentType: { girName: "content-type", ffiType: { type: "string", ownership: "full" } },
|
|
227
|
+
},
|
|
228
|
+
GtkAssistant: {
|
|
229
|
+
useHeaderBar: { girName: "use-header-bar", ffiType: { type: "int", size: 32, unsigned: false } },
|
|
230
|
+
},
|
|
231
|
+
GtkCellView: {
|
|
232
|
+
cellArea: { girName: "cell-area", ffiType: { type: "gobject", ownership: "full" } },
|
|
233
|
+
cellAreaContext: { girName: "cell-area-context", ffiType: { type: "gobject", ownership: "full" } },
|
|
234
|
+
},
|
|
235
|
+
GtkComboBox: {
|
|
236
|
+
hasEntry: { girName: "has-entry", ffiType: { type: "boolean" } },
|
|
237
|
+
},
|
|
238
|
+
GtkSourceCompletionCell: {
|
|
239
|
+
column: {
|
|
240
|
+
girName: "column",
|
|
241
|
+
ffiType: {
|
|
242
|
+
type: "int",
|
|
243
|
+
size: 32,
|
|
244
|
+
unsigned: false,
|
|
245
|
+
library: "libgtksourceview-5.so.0",
|
|
246
|
+
getTypeFn: "gtk_source_completion_column_get_type",
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
GtkDialog: {
|
|
251
|
+
useHeaderBar: { girName: "use-header-bar", ffiType: { type: "int", size: 32, unsigned: false } },
|
|
252
|
+
},
|
|
253
|
+
GtkSourceGutter: {
|
|
254
|
+
view: { girName: "view", ffiType: { type: "gobject", ownership: "full" } },
|
|
255
|
+
windowType: {
|
|
256
|
+
girName: "window-type",
|
|
257
|
+
ffiType: {
|
|
258
|
+
type: "int",
|
|
259
|
+
size: 32,
|
|
260
|
+
unsigned: false,
|
|
261
|
+
library: "libgtk-4.so.1",
|
|
262
|
+
getTypeFn: "gtk_text_window_type_get_type",
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
GtkIconView: {
|
|
267
|
+
cellArea: { girName: "cell-area", ffiType: { type: "gobject", ownership: "full" } },
|
|
268
|
+
},
|
|
269
|
+
AdwLayoutSlot: {
|
|
270
|
+
id: { girName: "id", ffiType: { type: "string", ownership: "full" } },
|
|
271
|
+
},
|
|
272
|
+
GtkMessageDialog: {
|
|
273
|
+
buttons: {
|
|
274
|
+
girName: "buttons",
|
|
275
|
+
ffiType: {
|
|
276
|
+
type: "int",
|
|
277
|
+
size: 32,
|
|
278
|
+
unsigned: false,
|
|
279
|
+
library: "libgtk-4.so.1",
|
|
280
|
+
getTypeFn: "gtk_buttons_type_get_type",
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
GtkSourceStyleSchemePreview: {
|
|
285
|
+
scheme: { girName: "scheme", ffiType: { type: "gobject", ownership: "full" } },
|
|
286
|
+
},
|
|
287
|
+
WebKitWebView: {
|
|
288
|
+
automationPresentationType: {
|
|
289
|
+
girName: "automation-presentation-type",
|
|
290
|
+
ffiType: {
|
|
291
|
+
type: "int",
|
|
292
|
+
size: 32,
|
|
293
|
+
unsigned: false,
|
|
294
|
+
library: "libwebkitgtk-6.0.so.4,libjavascriptcoregtk-6.0.so.1",
|
|
295
|
+
getTypeFn: "webkit_automation_browsing_context_presentation_get_type",
|
|
296
|
+
},
|
|
297
|
+
},
|
|
298
|
+
defaultContentSecurityPolicy: {
|
|
299
|
+
girName: "default-content-security-policy",
|
|
300
|
+
ffiType: { type: "string", ownership: "full" },
|
|
301
|
+
},
|
|
302
|
+
isControlledByAutomation: { girName: "is-controlled-by-automation", ffiType: { type: "boolean" } },
|
|
303
|
+
networkSession: { girName: "network-session", ffiType: { type: "gobject", ownership: "full" } },
|
|
304
|
+
relatedView: { girName: "related-view", ffiType: { type: "gobject", ownership: "full" } },
|
|
305
|
+
userContentManager: { girName: "user-content-manager", ffiType: { type: "gobject", ownership: "full" } },
|
|
306
|
+
webContext: { girName: "web-context", ffiType: { type: "gobject", ownership: "full" } },
|
|
307
|
+
webExtensionMode: {
|
|
308
|
+
girName: "web-extension-mode",
|
|
309
|
+
ffiType: {
|
|
310
|
+
type: "int",
|
|
311
|
+
size: 32,
|
|
312
|
+
unsigned: false,
|
|
313
|
+
library: "libwebkitgtk-6.0.so.4,libjavascriptcoregtk-6.0.so.1",
|
|
314
|
+
getTypeFn: "webkit_web_extension_mode_get_type",
|
|
315
|
+
},
|
|
316
|
+
},
|
|
317
|
+
websitePolicies: { girName: "website-policies", ffiType: { type: "gobject", ownership: "full" } },
|
|
318
|
+
},
|
|
319
|
+
GtkDropTarget: {
|
|
320
|
+
formats: {
|
|
321
|
+
girName: "formats",
|
|
322
|
+
ffiType: {
|
|
323
|
+
type: "boxed",
|
|
324
|
+
innerType: "GdkContentFormats",
|
|
325
|
+
ownership: "full",
|
|
326
|
+
library: "libgtk-4.so.1",
|
|
327
|
+
getTypeFn: "gdk_content_formats_get_type",
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
GtkGesture: {
|
|
332
|
+
nPoints: { girName: "n-points", ffiType: { type: "int", size: 32, unsigned: true } },
|
|
333
|
+
},
|
|
334
|
+
GtkPadController: {
|
|
335
|
+
actionGroup: { girName: "action-group", ffiType: { type: "gobject", ownership: "full" } },
|
|
336
|
+
pad: { girName: "pad", ffiType: { type: "gobject", ownership: "full" } },
|
|
337
|
+
},
|
|
338
|
+
GtkShortcutController: {
|
|
339
|
+
model: { girName: "model", ffiType: { type: "gobject", ownership: "full" } },
|
|
340
|
+
},
|
|
54
341
|
};
|
|
55
342
|
export const PROPS = {
|
|
56
343
|
GtkWidget: {
|