@girs/clutter-15 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 +20 -1
- package/clutter-15-vocabulary.d.ts +1619 -0
- package/clutter-15-vocabulary.js +870 -0
- package/package.json +23 -18
- package/tsconfig.json +1 -1
|
@@ -0,0 +1,870 @@
|
|
|
1
|
+
// The widget vocabulary of Clutter-15 as runtime data.
|
|
2
|
+
//
|
|
3
|
+
// GENERATED — do not edit. Provenance: Clutter-15 — dropped empty base(s): Atk.ImplementorIface
|
|
4
|
+
//
|
|
5
|
+
// The type half of this subpath is the sibling `.d.ts`. This file exists because
|
|
6
|
+
// types are erased: a consumer that wants to ask the installed library whether every
|
|
7
|
+
// name here is real needs values, not declarations.
|
|
8
|
+
|
|
9
|
+
export const PROVENANCE = {
|
|
10
|
+
namespace: 'Clutter',
|
|
11
|
+
version: '15',
|
|
12
|
+
libraryVersion: null,
|
|
13
|
+
childHolders: 0,
|
|
14
|
+
droppedBases: ['Atk.ImplementorIface'],
|
|
15
|
+
inlinedBases: [],
|
|
16
|
+
unsettableProps: [],
|
|
17
|
+
unresolvedProps: [],
|
|
18
|
+
identifierPrefixes: ['Clutter'],
|
|
19
|
+
requiredVocabularies: ['@girs/atk-1.0/vocabulary', '@girs/gobject-2.0/vocabulary', '@girs/pango-1.0/vocabulary'],
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const OWN_PROPS = {
|
|
23
|
+
ClutterActor: ['accessible-name', 'accessible-role', 'actions', 'background-color', 'child-transform', 'clip-rect', 'clip-to-allocation', 'color-state', 'constraints', 'content', 'content-gravity', 'content-repeat', 'context', 'effect', 'fixed-position-set', 'fixed-x', 'fixed-y', 'height', 'layout-manager', 'magnification-filter', 'margin-bottom', 'margin-left', 'margin-right', 'margin-top', 'min-height', 'min-height-set', 'min-width', 'min-width-set', 'minification-filter', 'name', 'natural-height', 'natural-height-set', 'natural-width', 'natural-width-set', 'offscreen-redirect', 'opacity', 'pivot-point', 'pivot-point-z', 'position', 'reactive', 'request-mode', 'rotation-angle-x', 'rotation-angle-y', 'rotation-angle-z', 'scale-x', 'scale-y', 'scale-z', 'show-on-set-parent', 'size', 'text-direction', 'transform', 'translation-x', 'translation-y', 'translation-z', 'visible', 'width', 'x', 'x-align', 'x-expand', 'y', 'y-align', 'y-expand', 'z-position'],
|
|
24
|
+
ClutterActorMeta: ['enabled', 'name'],
|
|
25
|
+
ClutterAlignConstraint: ['align-axis', 'factor', 'pivot-point', 'source'],
|
|
26
|
+
ClutterBindConstraint: ['coordinate', 'offset', 'source'],
|
|
27
|
+
ClutterBindingPool: ['name'],
|
|
28
|
+
ClutterBoxLayout: ['homogeneous', 'orientation', 'spacing'],
|
|
29
|
+
ClutterBrightnessContrastEffect: ['brightness', 'contrast'],
|
|
30
|
+
ClutterClickAction: ['long-press-duration', 'long-press-threshold'],
|
|
31
|
+
ClutterClone: ['source'],
|
|
32
|
+
ClutterColorManager: ['context'],
|
|
33
|
+
ClutterColorState: ['colorspace', 'context', 'max-luminance', 'min-luminance', 'ref-luminance', 'transfer-function'],
|
|
34
|
+
ClutterColorizeEffect: ['tint'],
|
|
35
|
+
ClutterDeformEffect: ['back-pipeline', 'x-tiles', 'y-tiles'],
|
|
36
|
+
ClutterDesaturateEffect: ['factor'],
|
|
37
|
+
ClutterFlowLayout: ['column-spacing', 'homogeneous', 'max-column-width', 'max-row-height', 'min-column-width', 'min-row-height', 'orientation', 'row-spacing', 'snap-to-grid'],
|
|
38
|
+
ClutterGestureAction: ['n-touch-points', 'threshold-trigger-distance-x', 'threshold-trigger-distance-y', 'threshold-trigger-edge'],
|
|
39
|
+
ClutterGridLayout: ['column-homogeneous', 'column-spacing', 'orientation', 'row-homogeneous', 'row-spacing'],
|
|
40
|
+
ClutterInputDevice: ['capabilities', 'device-mode', 'device-node', 'device-type', 'has-cursor', 'n-buttons', 'n-mode-groups', 'n-rings', 'n-strips', 'name', 'product-id', 'seat', 'vendor-id'],
|
|
41
|
+
ClutterInterval: ['final', 'initial', 'value-type'],
|
|
42
|
+
ClutterPageTurnEffect: ['angle', 'period', 'radius'],
|
|
43
|
+
ClutterPanAction: ['acceleration-factor', 'deceleration', 'interpolate', 'pan-axis'],
|
|
44
|
+
ClutterPropertyTransition: ['property-name'],
|
|
45
|
+
ClutterSettings: ['dnd-drag-threshold', 'double-click-distance', 'double-click-time', 'font-antialias', 'font-dpi', 'font-hint-style', 'font-hinting', 'font-name', 'font-subpixel-order', 'long-press-duration', 'password-hint-time', 'unscaled-font-dpi'],
|
|
46
|
+
ClutterShaderEffect: ['shader-type'],
|
|
47
|
+
ClutterSnapConstraint: ['from-edge', 'offset', 'source', 'to-edge'],
|
|
48
|
+
ClutterStage: ['key-focus'],
|
|
49
|
+
ClutterStageView: ['color-state', 'framebuffer', 'layout', 'name', 'output-color-state', 'refresh-rate', 'scale', 'stage', 'transform', 'use-shadowfb', 'vblank-duration-us'],
|
|
50
|
+
ClutterText: ['activatable', 'attributes', 'buffer', 'color', 'cursor-color', 'cursor-position', 'cursor-size', 'cursor-visible', 'editable', 'ellipsize', 'font-description', 'font-name', 'input-hints', 'input-purpose', 'justify', 'line-alignment', 'line-wrap', 'line-wrap-mode', 'max-length', 'password-char', 'selectable', 'selected-text-color', 'selection-bound', 'selection-color', 'single-line-mode', 'text', 'use-markup'],
|
|
51
|
+
ClutterTextBuffer: ['max-length'],
|
|
52
|
+
ClutterTimeline: ['actor', 'auto-reverse', 'delay', 'direction', 'duration', 'frame-clock', 'progress-mode', 'repeat-count'],
|
|
53
|
+
ClutterTransition: ['animatable', 'interval', 'remove-on-complete'],
|
|
54
|
+
ClutterVirtualInputDevice: ['device-type', 'seat'],
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export const OWN_SIGNALS = {
|
|
58
|
+
ClutterActor: ['button-press-event', 'button-release-event', 'captured-event', 'child-added', 'child-removed', 'cloned', 'decloned', 'destroy', 'enter-event', 'event', 'hide', 'key-focus-in', 'key-focus-out', 'key-press-event', 'key-release-event', 'leave-event', 'motion-event', 'parent-set', 'pick', 'queue-relayout', 'realize', 'resource-scale-changed', 'scroll-event', 'show', 'stage-views-changed', 'touch-event', 'transition-stopped', 'transitions-completed', 'unrealize'],
|
|
59
|
+
ClutterClickAction: ['clicked', 'long-press'],
|
|
60
|
+
ClutterContent: ['attached', 'detached'],
|
|
61
|
+
ClutterFrameClock: ['destroy'],
|
|
62
|
+
ClutterGestureAction: ['gesture-begin', 'gesture-cancel', 'gesture-end', 'gesture-progress'],
|
|
63
|
+
ClutterLayoutManager: ['layout-changed'],
|
|
64
|
+
ClutterPanAction: ['pan', 'pan-stopped'],
|
|
65
|
+
ClutterRotateAction: ['rotate'],
|
|
66
|
+
ClutterStage: ['after-paint', 'after-update', 'before-paint', 'before-update', 'gl-video-memory-purged', 'paint-view', 'prepare-frame', 'presented'],
|
|
67
|
+
ClutterStageView: ['destroy'],
|
|
68
|
+
ClutterSwipeAction: ['swipe'],
|
|
69
|
+
ClutterTapAction: ['tap'],
|
|
70
|
+
ClutterText: ['activate', 'cursor-changed', 'delete-text', 'insert-text', 'text-changed'],
|
|
71
|
+
ClutterTextBuffer: ['deleted-text', 'inserted-text'],
|
|
72
|
+
ClutterTimeline: ['completed', 'marker-reached', 'new-frame', 'paused', 'started', 'stopped'],
|
|
73
|
+
ClutterZoomAction: ['zoom'],
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// Every GType this namespace can INSTANTIATE -> the declarations its members come from.
|
|
77
|
+
//
|
|
78
|
+
// The key set is what a UI description file can name: a registered, non-abstract class.
|
|
79
|
+
// Not "every widget" — GtkBuilder resolves a name through `g_type_from_name`, which knows
|
|
80
|
+
// nothing about widgets, and a `.ui` file is full of `GtkSizeGroup`, `GtkTextTag`,
|
|
81
|
+
// `GtkEventController*` and `GtkCellRenderer*`. Use `Widgets` and `CHILD_HOLDERS`
|
|
82
|
+
// below for the narrower questions; they did not move.
|
|
83
|
+
export const DECLS = {
|
|
84
|
+
ClutterActor: ['ClutterActor', 'GInitiallyUnowned', 'GObject', 'ClutterAnimatable'],
|
|
85
|
+
ClutterActorAccessible: ['ClutterActorAccessible', 'AtkGObjectAccessible', 'AtkObject', 'GObject', 'AtkComponent'],
|
|
86
|
+
ClutterActorNode: ['ClutterActorNode', 'ClutterPaintNode'],
|
|
87
|
+
ClutterAlignConstraint: ['ClutterAlignConstraint', 'ClutterConstraint', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
88
|
+
ClutterBinLayout: ['ClutterBinLayout', 'ClutterLayoutManager', 'GInitiallyUnowned', 'GObject'],
|
|
89
|
+
ClutterBindConstraint: ['ClutterBindConstraint', 'ClutterConstraint', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
90
|
+
ClutterBindingPool: ['ClutterBindingPool', 'GObject'],
|
|
91
|
+
ClutterBlitNode: ['ClutterBlitNode', 'ClutterPaintNode'],
|
|
92
|
+
ClutterBlurEffect: ['ClutterBlurEffect', 'ClutterOffscreenEffect', 'ClutterEffect', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
93
|
+
ClutterBlurNode: ['ClutterBlurNode', 'ClutterLayerNode', 'ClutterPaintNode'],
|
|
94
|
+
ClutterBoxLayout: ['ClutterBoxLayout', 'ClutterLayoutManager', 'GInitiallyUnowned', 'GObject'],
|
|
95
|
+
ClutterBrightnessContrastEffect: ['ClutterBrightnessContrastEffect', 'ClutterOffscreenEffect', 'ClutterEffect', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
96
|
+
ClutterClickAction: ['ClutterClickAction', 'ClutterAction', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
97
|
+
ClutterClipNode: ['ClutterClipNode', 'ClutterPaintNode'],
|
|
98
|
+
ClutterClone: ['ClutterClone', 'ClutterActor', 'GInitiallyUnowned', 'GObject', 'ClutterAnimatable'],
|
|
99
|
+
ClutterColorManager: ['ClutterColorManager', 'GObject'],
|
|
100
|
+
ClutterColorNode: ['ClutterColorNode', 'ClutterPipelineNode', 'ClutterPaintNode'],
|
|
101
|
+
ClutterColorState: ['ClutterColorState', 'GObject'],
|
|
102
|
+
ClutterColorizeEffect: ['ClutterColorizeEffect', 'ClutterOffscreenEffect', 'ClutterEffect', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
103
|
+
ClutterContext: ['ClutterContext', 'GObject'],
|
|
104
|
+
ClutterDesaturateEffect: ['ClutterDesaturateEffect', 'ClutterOffscreenEffect', 'ClutterEffect', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
105
|
+
ClutterFixedLayout: ['ClutterFixedLayout', 'ClutterLayoutManager', 'GInitiallyUnowned', 'GObject'],
|
|
106
|
+
ClutterFlowLayout: ['ClutterFlowLayout', 'ClutterLayoutManager', 'GInitiallyUnowned', 'GObject'],
|
|
107
|
+
ClutterFrameClock: ['ClutterFrameClock', 'GObject'],
|
|
108
|
+
ClutterGestureAction: ['ClutterGestureAction', 'ClutterAction', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
109
|
+
ClutterGrab: ['ClutterGrab', 'GObject'],
|
|
110
|
+
ClutterGridLayout: ['ClutterGridLayout', 'ClutterLayoutManager', 'GInitiallyUnowned', 'GObject'],
|
|
111
|
+
ClutterImage: ['ClutterImage', 'GObject', 'ClutterContent'],
|
|
112
|
+
ClutterInputDevice: ['ClutterInputDevice', 'GObject'],
|
|
113
|
+
ClutterInterval: ['ClutterInterval', 'GInitiallyUnowned', 'GObject'],
|
|
114
|
+
ClutterKeyframeTransition: ['ClutterKeyframeTransition', 'ClutterPropertyTransition', 'ClutterTransition', 'ClutterTimeline', 'GObject'],
|
|
115
|
+
ClutterLayerNode: ['ClutterLayerNode', 'ClutterPaintNode'],
|
|
116
|
+
ClutterPageTurnEffect: ['ClutterPageTurnEffect', 'ClutterDeformEffect', 'ClutterOffscreenEffect', 'ClutterEffect', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
117
|
+
ClutterPanAction: ['ClutterPanAction', 'ClutterGestureAction', 'ClutterAction', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
118
|
+
ClutterPipelineCache: ['ClutterPipelineCache', 'GObject'],
|
|
119
|
+
ClutterPipelineNode: ['ClutterPipelineNode', 'ClutterPaintNode'],
|
|
120
|
+
ClutterPropertyTransition: ['ClutterPropertyTransition', 'ClutterTransition', 'ClutterTimeline', 'GObject'],
|
|
121
|
+
ClutterRootNode: ['ClutterRootNode', 'ClutterPaintNode'],
|
|
122
|
+
ClutterRotateAction: ['ClutterRotateAction', 'ClutterGestureAction', 'ClutterAction', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
123
|
+
ClutterSettings: ['ClutterSettings', 'GObject'],
|
|
124
|
+
ClutterShaderEffect: ['ClutterShaderEffect', 'ClutterOffscreenEffect', 'ClutterEffect', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
125
|
+
ClutterShaderFloat: ['ClutterShaderFloat'],
|
|
126
|
+
ClutterShaderInt: ['ClutterShaderInt'],
|
|
127
|
+
ClutterShaderMatrix: ['ClutterShaderMatrix'],
|
|
128
|
+
ClutterSnapConstraint: ['ClutterSnapConstraint', 'ClutterConstraint', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
129
|
+
ClutterStage: ['ClutterStage', 'ClutterActor', 'GInitiallyUnowned', 'GObject', 'ClutterAnimatable'],
|
|
130
|
+
ClutterStageView: ['ClutterStageView', 'GObject'],
|
|
131
|
+
ClutterSwipeAction: ['ClutterSwipeAction', 'ClutterGestureAction', 'ClutterAction', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
132
|
+
ClutterTapAction: ['ClutterTapAction', 'ClutterGestureAction', 'ClutterAction', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
133
|
+
ClutterText: ['ClutterText', 'ClutterActor', 'GInitiallyUnowned', 'GObject', 'ClutterAnimatable'],
|
|
134
|
+
ClutterTextBuffer: ['ClutterTextBuffer', 'GObject'],
|
|
135
|
+
ClutterTextNode: ['ClutterTextNode', 'ClutterPaintNode'],
|
|
136
|
+
ClutterTextureContent: ['ClutterTextureContent', 'GObject', 'ClutterContent'],
|
|
137
|
+
ClutterTextureNode: ['ClutterTextureNode', 'ClutterPipelineNode', 'ClutterPaintNode'],
|
|
138
|
+
ClutterTimeline: ['ClutterTimeline', 'GObject'],
|
|
139
|
+
ClutterTransformNode: ['ClutterTransformNode', 'ClutterPaintNode'],
|
|
140
|
+
ClutterTransitionGroup: ['ClutterTransitionGroup', 'ClutterTransition', 'ClutterTimeline', 'GObject'],
|
|
141
|
+
ClutterVirtualInputDevice: ['ClutterVirtualInputDevice', 'GObject'],
|
|
142
|
+
ClutterZoomAction: ['ClutterZoomAction', 'ClutterGestureAction', 'ClutterAction', 'ClutterActorMeta', 'GInitiallyUnowned', 'GObject'],
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
// The GTypes above that ARE widgets are the `Widgets` map in the sibling `.d.ts`; these
|
|
146
|
+
// are the ones that merely HOLD one, through `set_child`/`get_child`, descending from
|
|
147
|
+
// `GObject.Object`. A renderer places them like a container; a check asking "is this a
|
|
148
|
+
// widget" must not count them. Derived from the accessor pair, never from a list — the
|
|
149
|
+
// count is in the provenance line above.
|
|
150
|
+
export const CHILD_HOLDERS = [];
|
|
151
|
+
|
|
152
|
+
export const ENUM_NICKS = {
|
|
153
|
+
AtkRole: ['invalid', 'accelerator-label', 'alert', 'animation', 'arrow', 'calendar', 'canvas', 'check-box', 'check-menu-item', 'color-chooser', 'column-header', 'combo-box', 'date-editor', 'desktop-icon', 'desktop-frame', 'dial', 'dialog', 'directory-pane', 'drawing-area', 'file-chooser', 'filler', 'font-chooser', 'frame', 'glass-pane', 'html-container', 'icon', 'image', 'internal-frame', 'label', 'layered-pane', 'list', 'list-item', 'menu', 'menu-bar', 'menu-item', 'option-pane', 'page-tab', 'page-tab-list', 'panel', 'password-text', 'popup-menu', 'progress-bar', 'button', 'radio-button', 'radio-menu-item', 'root-pane', 'row-header', 'scroll-bar', 'scroll-pane', 'separator', 'slider', 'split-pane', 'spin-button', 'statusbar', 'table', 'table-cell', 'table-column-header', 'table-row-header', 'tear-off-menu-item', 'terminal', 'text', 'toggle-button', 'tool-bar', 'tool-tip', 'tree', 'tree-table', 'unknown', 'viewport', 'window', 'header', 'footer', 'paragraph', 'ruler', 'application', 'autocomplete', 'edit-bar', 'embedded', 'entry', 'chart', 'caption', 'document-frame', 'heading', 'page', 'section', 'redundant-object', 'form', 'link', 'input-method-window', 'table-row', 'tree-item', 'document-spreadsheet', 'document-presentation', 'document-text', 'document-web', 'document-email', 'comment', 'list-box', 'grouping', 'image-map', 'notification', 'info-bar', 'level-bar', 'title-bar', 'block-quote', 'audio', 'video', 'definition', 'article', 'landmark', 'log', 'marquee', 'math', 'rating', 'timer', 'description-list', 'description-term', 'description-value', 'static', 'math-fraction', 'math-root', 'subscript', 'superscript', 'footnote', 'content-deletion', 'content-insertion', 'mark', 'suggestion', 'push-button-menu', 'switch', 'last-defined', 'push-button'],
|
|
154
|
+
ClutterActorAlign: ['fill', 'start', 'center', 'end'],
|
|
155
|
+
ClutterAlignAxis: ['x-axis', 'y-axis', 'both'],
|
|
156
|
+
ClutterAnimationMode: ['custom-mode', 'linear', 'ease-in-quad', 'ease-out-quad', 'ease-in-out-quad', 'ease-in-cubic', 'ease-out-cubic', 'ease-in-out-cubic', 'ease-in-quart', 'ease-out-quart', 'ease-in-out-quart', 'ease-in-quint', 'ease-out-quint', 'ease-in-out-quint', 'ease-in-sine', 'ease-out-sine', 'ease-in-out-sine', 'ease-in-expo', 'ease-out-expo', 'ease-in-out-expo', 'ease-in-circ', 'ease-out-circ', 'ease-in-out-circ', 'ease-in-elastic', 'ease-out-elastic', 'ease-in-out-elastic', 'ease-in-back', 'ease-out-back', 'ease-in-out-back', 'ease-in-bounce', 'ease-out-bounce', 'ease-in-out-bounce', 'steps', 'step-start', 'step-end', 'cubic-bezier', 'ease', 'ease-in', 'ease-out', 'ease-in-out', 'animation-last'],
|
|
157
|
+
ClutterBindCoordinate: ['x', 'y', 'width', 'height', 'position', 'size', 'all'],
|
|
158
|
+
ClutterButtonState: ['released', 'pressed'],
|
|
159
|
+
ClutterColorspace: ['default', 'srgb', 'bt2020'],
|
|
160
|
+
ClutterContentGravity: ['top-left', 'top', 'top-right', 'left', 'center', 'right', 'bottom-left', 'bottom', 'bottom-right', 'resize-fill', 'resize-aspect'],
|
|
161
|
+
ClutterEncodingRequiredFormat: ['uint8', 'uint10', 'fp16'],
|
|
162
|
+
ClutterEventPhase: ['capture', 'bubble'],
|
|
163
|
+
ClutterEventType: ['nothing', 'key-press', 'key-release', 'motion', 'enter', 'leave', 'button-press', 'button-release', 'scroll', 'touch-begin', 'touch-update', 'touch-end', 'touch-cancel', 'touchpad-pinch', 'touchpad-swipe', 'touchpad-hold', 'proximity-in', 'proximity-out', 'pad-button-press', 'pad-button-release', 'pad-strip', 'pad-ring', 'device-added', 'device-removed', 'im-commit', 'im-delete', 'im-preedit', 'event-last'],
|
|
164
|
+
ClutterFrameClockMode: ['fixed', 'variable'],
|
|
165
|
+
ClutterFrameResult: ['pending-presented', 'idle'],
|
|
166
|
+
ClutterGestureState: ['waiting', 'possible', 'recognizing', 'completed', 'cancelled', 'clutter-n-gesture-states'],
|
|
167
|
+
ClutterGestureTriggerEdge: ['none', 'after', 'before'],
|
|
168
|
+
ClutterGridPosition: ['left', 'right', 'top', 'bottom'],
|
|
169
|
+
ClutterInputAxis: ['ignore', 'x', 'y', 'pressure', 'xtilt', 'ytilt', 'wheel', 'distance', 'rotation', 'slider', 'last'],
|
|
170
|
+
ClutterInputContentPurpose: ['normal', 'alpha', 'digits', 'number', 'phone', 'url', 'email', 'name', 'password', 'date', 'time', 'datetime', 'terminal'],
|
|
171
|
+
ClutterInputDevicePadFeature: ['button', 'ring', 'strip'],
|
|
172
|
+
ClutterInputDevicePadSource: ['unknown', 'finger'],
|
|
173
|
+
ClutterInputDeviceToolType: ['none', 'pen', 'eraser', 'brush', 'pencil', 'airbrush', 'mouse', 'lens'],
|
|
174
|
+
ClutterInputDeviceType: ['pointer-device', 'keyboard-device', 'extension-device', 'joystick-device', 'tablet-device', 'touchpad-device', 'touchscreen-device', 'pen-device', 'eraser-device', 'cursor-device', 'pad-device', 'n-device-types'],
|
|
175
|
+
ClutterInputMode: ['logical', 'physical', 'floating'],
|
|
176
|
+
ClutterInputPanelState: ['off', 'on', 'toggle'],
|
|
177
|
+
ClutterKeyState: ['released', 'pressed'],
|
|
178
|
+
ClutterLongPressState: ['query', 'activate', 'cancel'],
|
|
179
|
+
ClutterOrientation: ['horizontal', 'vertical'],
|
|
180
|
+
ClutterPanAxis: ['axis-none', 'x-axis', 'y-axis', 'axis-auto'],
|
|
181
|
+
ClutterPickMode: ['none', 'reactive', 'all'],
|
|
182
|
+
ClutterPipelineCapability: ['state'],
|
|
183
|
+
ClutterPointerA11yDwellClickType: ['none', 'primary', 'secondary', 'middle', 'double', 'drag'],
|
|
184
|
+
ClutterPointerA11yDwellDirection: ['none', 'left', 'right', 'up', 'down'],
|
|
185
|
+
ClutterPointerA11yDwellMode: ['window', 'gesture'],
|
|
186
|
+
ClutterPointerA11yTimeoutType: ['secondary-click', 'dwell', 'gesture'],
|
|
187
|
+
ClutterPreeditResetMode: ['clear', 'commit'],
|
|
188
|
+
ClutterRequestMode: ['height-for-width', 'width-for-height', 'content-size'],
|
|
189
|
+
ClutterRotateAxis: ['x-axis', 'y-axis', 'z-axis'],
|
|
190
|
+
ClutterScalingFilter: ['linear', 'nearest', 'trilinear'],
|
|
191
|
+
ClutterScrollDirection: ['up', 'down', 'left', 'right', 'smooth'],
|
|
192
|
+
ClutterScrollSource: ['unknown', 'wheel', 'finger', 'continuous'],
|
|
193
|
+
ClutterShaderType: ['vertex-shader', 'fragment-shader'],
|
|
194
|
+
ClutterSnapEdge: ['top', 'right', 'bottom', 'left'],
|
|
195
|
+
ClutterStepMode: ['start', 'end'],
|
|
196
|
+
ClutterTextDirection: ['default', 'ltr', 'rtl'],
|
|
197
|
+
ClutterTimelineDirection: ['forward', 'backward'],
|
|
198
|
+
ClutterTouchpadGesturePhase: ['begin', 'update', 'end', 'cancel'],
|
|
199
|
+
ClutterTransferFunction: ['default', 'srgb', 'pq', 'linear'],
|
|
200
|
+
PangoAlignment: ['left', 'center', 'right'],
|
|
201
|
+
PangoEllipsizeMode: ['none', 'start', 'middle', 'end'],
|
|
202
|
+
PangoWrapMode: ['word', 'char', 'word-char', 'none'],
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
// The number behind each of those nicks, read from GIR's own `value` attribute.
|
|
206
|
+
//
|
|
207
|
+
// It ships because position in `ENUM_NICKS` is not the value and a consumer with no
|
|
208
|
+
// typelib has no other way to learn it: a surface without GI still has to hand GObject an
|
|
209
|
+
// integer. The alternative a consumer reaches for first is counting, and counting is wrong
|
|
210
|
+
// on 6 of the 137 enums a GTK 4 vocabulary carries (112 in Gtk-4.0, 25 in Adw-1) --
|
|
211
|
+
// `GtkResponseType` runs -1 down to
|
|
212
|
+
// -11, `GtkTextWindowType` starts at 1, and `GtkConstraintStrength.required` is
|
|
213
|
+
// 1001001000 where counting answers 0.
|
|
214
|
+
//
|
|
215
|
+
// Same provenance as the nicks above, which is the point: a consumer that reads the numbers
|
|
216
|
+
// from an INSTALLED library instead gets two provenances for one table, and a member the
|
|
217
|
+
// vocabulary describes but the host predates then looks like a missing number rather than a
|
|
218
|
+
// version gap.
|
|
219
|
+
export const ENUM_VALUES = {
|
|
220
|
+
'AtkRole.accelerator-label': 1,
|
|
221
|
+
'AtkRole.alert': 2,
|
|
222
|
+
'AtkRole.animation': 3,
|
|
223
|
+
'AtkRole.application': 73,
|
|
224
|
+
'AtkRole.arrow': 4,
|
|
225
|
+
'AtkRole.article': 107,
|
|
226
|
+
'AtkRole.audio': 104,
|
|
227
|
+
'AtkRole.autocomplete': 74,
|
|
228
|
+
'AtkRole.block-quote': 103,
|
|
229
|
+
'AtkRole.button': 42,
|
|
230
|
+
'AtkRole.calendar': 5,
|
|
231
|
+
'AtkRole.canvas': 6,
|
|
232
|
+
'AtkRole.caption': 79,
|
|
233
|
+
'AtkRole.chart': 78,
|
|
234
|
+
'AtkRole.check-box': 7,
|
|
235
|
+
'AtkRole.check-menu-item': 8,
|
|
236
|
+
'AtkRole.color-chooser': 9,
|
|
237
|
+
'AtkRole.column-header': 10,
|
|
238
|
+
'AtkRole.combo-box': 11,
|
|
239
|
+
'AtkRole.comment': 95,
|
|
240
|
+
'AtkRole.content-deletion': 123,
|
|
241
|
+
'AtkRole.content-insertion': 124,
|
|
242
|
+
'AtkRole.date-editor': 12,
|
|
243
|
+
'AtkRole.definition': 106,
|
|
244
|
+
'AtkRole.description-list': 114,
|
|
245
|
+
'AtkRole.description-term': 115,
|
|
246
|
+
'AtkRole.description-value': 116,
|
|
247
|
+
'AtkRole.desktop-frame': 14,
|
|
248
|
+
'AtkRole.desktop-icon': 13,
|
|
249
|
+
'AtkRole.dial': 15,
|
|
250
|
+
'AtkRole.dialog': 16,
|
|
251
|
+
'AtkRole.directory-pane': 17,
|
|
252
|
+
'AtkRole.document-email': 94,
|
|
253
|
+
'AtkRole.document-frame': 80,
|
|
254
|
+
'AtkRole.document-presentation': 91,
|
|
255
|
+
'AtkRole.document-spreadsheet': 90,
|
|
256
|
+
'AtkRole.document-text': 92,
|
|
257
|
+
'AtkRole.document-web': 93,
|
|
258
|
+
'AtkRole.drawing-area': 18,
|
|
259
|
+
'AtkRole.edit-bar': 75,
|
|
260
|
+
'AtkRole.embedded': 76,
|
|
261
|
+
'AtkRole.entry': 77,
|
|
262
|
+
'AtkRole.file-chooser': 19,
|
|
263
|
+
'AtkRole.filler': 20,
|
|
264
|
+
'AtkRole.font-chooser': 21,
|
|
265
|
+
'AtkRole.footer': 70,
|
|
266
|
+
'AtkRole.footnote': 122,
|
|
267
|
+
'AtkRole.form': 85,
|
|
268
|
+
'AtkRole.frame': 22,
|
|
269
|
+
'AtkRole.glass-pane': 23,
|
|
270
|
+
'AtkRole.grouping': 97,
|
|
271
|
+
'AtkRole.header': 69,
|
|
272
|
+
'AtkRole.heading': 81,
|
|
273
|
+
'AtkRole.html-container': 24,
|
|
274
|
+
'AtkRole.icon': 25,
|
|
275
|
+
'AtkRole.image': 26,
|
|
276
|
+
'AtkRole.image-map': 98,
|
|
277
|
+
'AtkRole.info-bar': 100,
|
|
278
|
+
'AtkRole.input-method-window': 87,
|
|
279
|
+
'AtkRole.internal-frame': 27,
|
|
280
|
+
'AtkRole.invalid': 0,
|
|
281
|
+
'AtkRole.label': 28,
|
|
282
|
+
'AtkRole.landmark': 108,
|
|
283
|
+
'AtkRole.last-defined': 129,
|
|
284
|
+
'AtkRole.layered-pane': 29,
|
|
285
|
+
'AtkRole.level-bar': 101,
|
|
286
|
+
'AtkRole.link': 86,
|
|
287
|
+
'AtkRole.list': 30,
|
|
288
|
+
'AtkRole.list-box': 96,
|
|
289
|
+
'AtkRole.list-item': 31,
|
|
290
|
+
'AtkRole.log': 109,
|
|
291
|
+
'AtkRole.mark': 125,
|
|
292
|
+
'AtkRole.marquee': 110,
|
|
293
|
+
'AtkRole.math': 111,
|
|
294
|
+
'AtkRole.math-fraction': 118,
|
|
295
|
+
'AtkRole.math-root': 119,
|
|
296
|
+
'AtkRole.menu': 32,
|
|
297
|
+
'AtkRole.menu-bar': 33,
|
|
298
|
+
'AtkRole.menu-item': 34,
|
|
299
|
+
'AtkRole.notification': 99,
|
|
300
|
+
'AtkRole.option-pane': 35,
|
|
301
|
+
'AtkRole.page': 82,
|
|
302
|
+
'AtkRole.page-tab': 36,
|
|
303
|
+
'AtkRole.page-tab-list': 37,
|
|
304
|
+
'AtkRole.panel': 38,
|
|
305
|
+
'AtkRole.paragraph': 71,
|
|
306
|
+
'AtkRole.password-text': 39,
|
|
307
|
+
'AtkRole.popup-menu': 40,
|
|
308
|
+
'AtkRole.progress-bar': 41,
|
|
309
|
+
'AtkRole.push-button': 42,
|
|
310
|
+
'AtkRole.push-button-menu': 127,
|
|
311
|
+
'AtkRole.radio-button': 43,
|
|
312
|
+
'AtkRole.radio-menu-item': 44,
|
|
313
|
+
'AtkRole.rating': 112,
|
|
314
|
+
'AtkRole.redundant-object': 84,
|
|
315
|
+
'AtkRole.root-pane': 45,
|
|
316
|
+
'AtkRole.row-header': 46,
|
|
317
|
+
'AtkRole.ruler': 72,
|
|
318
|
+
'AtkRole.scroll-bar': 47,
|
|
319
|
+
'AtkRole.scroll-pane': 48,
|
|
320
|
+
'AtkRole.section': 83,
|
|
321
|
+
'AtkRole.separator': 49,
|
|
322
|
+
'AtkRole.slider': 50,
|
|
323
|
+
'AtkRole.spin-button': 52,
|
|
324
|
+
'AtkRole.split-pane': 51,
|
|
325
|
+
'AtkRole.static': 117,
|
|
326
|
+
'AtkRole.statusbar': 53,
|
|
327
|
+
'AtkRole.subscript': 120,
|
|
328
|
+
'AtkRole.suggestion': 126,
|
|
329
|
+
'AtkRole.superscript': 121,
|
|
330
|
+
'AtkRole.switch': 128,
|
|
331
|
+
'AtkRole.table': 54,
|
|
332
|
+
'AtkRole.table-cell': 55,
|
|
333
|
+
'AtkRole.table-column-header': 56,
|
|
334
|
+
'AtkRole.table-row': 88,
|
|
335
|
+
'AtkRole.table-row-header': 57,
|
|
336
|
+
'AtkRole.tear-off-menu-item': 58,
|
|
337
|
+
'AtkRole.terminal': 59,
|
|
338
|
+
'AtkRole.text': 60,
|
|
339
|
+
'AtkRole.timer': 113,
|
|
340
|
+
'AtkRole.title-bar': 102,
|
|
341
|
+
'AtkRole.toggle-button': 61,
|
|
342
|
+
'AtkRole.tool-bar': 62,
|
|
343
|
+
'AtkRole.tool-tip': 63,
|
|
344
|
+
'AtkRole.tree': 64,
|
|
345
|
+
'AtkRole.tree-item': 89,
|
|
346
|
+
'AtkRole.tree-table': 65,
|
|
347
|
+
'AtkRole.unknown': 66,
|
|
348
|
+
'AtkRole.video': 105,
|
|
349
|
+
'AtkRole.viewport': 67,
|
|
350
|
+
'AtkRole.window': 68,
|
|
351
|
+
'ClutterActorAlign.center': 2,
|
|
352
|
+
'ClutterActorAlign.end': 3,
|
|
353
|
+
'ClutterActorAlign.fill': 0,
|
|
354
|
+
'ClutterActorAlign.start': 1,
|
|
355
|
+
'ClutterAlignAxis.both': 2,
|
|
356
|
+
'ClutterAlignAxis.x-axis': 0,
|
|
357
|
+
'ClutterAlignAxis.y-axis': 1,
|
|
358
|
+
'ClutterAnimationMode.animation-last': 40,
|
|
359
|
+
'ClutterAnimationMode.cubic-bezier': 35,
|
|
360
|
+
'ClutterAnimationMode.custom-mode': 0,
|
|
361
|
+
'ClutterAnimationMode.ease': 36,
|
|
362
|
+
'ClutterAnimationMode.ease-in': 37,
|
|
363
|
+
'ClutterAnimationMode.ease-in-back': 26,
|
|
364
|
+
'ClutterAnimationMode.ease-in-bounce': 29,
|
|
365
|
+
'ClutterAnimationMode.ease-in-circ': 20,
|
|
366
|
+
'ClutterAnimationMode.ease-in-cubic': 5,
|
|
367
|
+
'ClutterAnimationMode.ease-in-elastic': 23,
|
|
368
|
+
'ClutterAnimationMode.ease-in-expo': 17,
|
|
369
|
+
'ClutterAnimationMode.ease-in-out': 39,
|
|
370
|
+
'ClutterAnimationMode.ease-in-out-back': 28,
|
|
371
|
+
'ClutterAnimationMode.ease-in-out-bounce': 31,
|
|
372
|
+
'ClutterAnimationMode.ease-in-out-circ': 22,
|
|
373
|
+
'ClutterAnimationMode.ease-in-out-cubic': 7,
|
|
374
|
+
'ClutterAnimationMode.ease-in-out-elastic': 25,
|
|
375
|
+
'ClutterAnimationMode.ease-in-out-expo': 19,
|
|
376
|
+
'ClutterAnimationMode.ease-in-out-quad': 4,
|
|
377
|
+
'ClutterAnimationMode.ease-in-out-quart': 10,
|
|
378
|
+
'ClutterAnimationMode.ease-in-out-quint': 13,
|
|
379
|
+
'ClutterAnimationMode.ease-in-out-sine': 16,
|
|
380
|
+
'ClutterAnimationMode.ease-in-quad': 2,
|
|
381
|
+
'ClutterAnimationMode.ease-in-quart': 8,
|
|
382
|
+
'ClutterAnimationMode.ease-in-quint': 11,
|
|
383
|
+
'ClutterAnimationMode.ease-in-sine': 14,
|
|
384
|
+
'ClutterAnimationMode.ease-out': 38,
|
|
385
|
+
'ClutterAnimationMode.ease-out-back': 27,
|
|
386
|
+
'ClutterAnimationMode.ease-out-bounce': 30,
|
|
387
|
+
'ClutterAnimationMode.ease-out-circ': 21,
|
|
388
|
+
'ClutterAnimationMode.ease-out-cubic': 6,
|
|
389
|
+
'ClutterAnimationMode.ease-out-elastic': 24,
|
|
390
|
+
'ClutterAnimationMode.ease-out-expo': 18,
|
|
391
|
+
'ClutterAnimationMode.ease-out-quad': 3,
|
|
392
|
+
'ClutterAnimationMode.ease-out-quart': 9,
|
|
393
|
+
'ClutterAnimationMode.ease-out-quint': 12,
|
|
394
|
+
'ClutterAnimationMode.ease-out-sine': 15,
|
|
395
|
+
'ClutterAnimationMode.linear': 1,
|
|
396
|
+
'ClutterAnimationMode.step-end': 34,
|
|
397
|
+
'ClutterAnimationMode.step-start': 33,
|
|
398
|
+
'ClutterAnimationMode.steps': 32,
|
|
399
|
+
'ClutterBindCoordinate.all': 6,
|
|
400
|
+
'ClutterBindCoordinate.height': 3,
|
|
401
|
+
'ClutterBindCoordinate.position': 4,
|
|
402
|
+
'ClutterBindCoordinate.size': 5,
|
|
403
|
+
'ClutterBindCoordinate.width': 2,
|
|
404
|
+
'ClutterBindCoordinate.x': 0,
|
|
405
|
+
'ClutterBindCoordinate.y': 1,
|
|
406
|
+
'ClutterButtonState.pressed': 1,
|
|
407
|
+
'ClutterButtonState.released': 0,
|
|
408
|
+
'ClutterColorspace.bt2020': 2,
|
|
409
|
+
'ClutterColorspace.default': 0,
|
|
410
|
+
'ClutterColorspace.srgb': 1,
|
|
411
|
+
'ClutterContentGravity.bottom': 7,
|
|
412
|
+
'ClutterContentGravity.bottom-left': 6,
|
|
413
|
+
'ClutterContentGravity.bottom-right': 8,
|
|
414
|
+
'ClutterContentGravity.center': 4,
|
|
415
|
+
'ClutterContentGravity.left': 3,
|
|
416
|
+
'ClutterContentGravity.resize-aspect': 10,
|
|
417
|
+
'ClutterContentGravity.resize-fill': 9,
|
|
418
|
+
'ClutterContentGravity.right': 5,
|
|
419
|
+
'ClutterContentGravity.top': 1,
|
|
420
|
+
'ClutterContentGravity.top-left': 0,
|
|
421
|
+
'ClutterContentGravity.top-right': 2,
|
|
422
|
+
'ClutterEncodingRequiredFormat.fp16': 2,
|
|
423
|
+
'ClutterEncodingRequiredFormat.uint10': 1,
|
|
424
|
+
'ClutterEncodingRequiredFormat.uint8': 0,
|
|
425
|
+
'ClutterEventPhase.bubble': 1,
|
|
426
|
+
'ClutterEventPhase.capture': 0,
|
|
427
|
+
'ClutterEventType.button-press': 6,
|
|
428
|
+
'ClutterEventType.button-release': 7,
|
|
429
|
+
'ClutterEventType.device-added': 22,
|
|
430
|
+
'ClutterEventType.device-removed': 23,
|
|
431
|
+
'ClutterEventType.enter': 4,
|
|
432
|
+
'ClutterEventType.event-last': 27,
|
|
433
|
+
'ClutterEventType.im-commit': 24,
|
|
434
|
+
'ClutterEventType.im-delete': 25,
|
|
435
|
+
'ClutterEventType.im-preedit': 26,
|
|
436
|
+
'ClutterEventType.key-press': 1,
|
|
437
|
+
'ClutterEventType.key-release': 2,
|
|
438
|
+
'ClutterEventType.leave': 5,
|
|
439
|
+
'ClutterEventType.motion': 3,
|
|
440
|
+
'ClutterEventType.nothing': 0,
|
|
441
|
+
'ClutterEventType.pad-button-press': 18,
|
|
442
|
+
'ClutterEventType.pad-button-release': 19,
|
|
443
|
+
'ClutterEventType.pad-ring': 21,
|
|
444
|
+
'ClutterEventType.pad-strip': 20,
|
|
445
|
+
'ClutterEventType.proximity-in': 16,
|
|
446
|
+
'ClutterEventType.proximity-out': 17,
|
|
447
|
+
'ClutterEventType.scroll': 8,
|
|
448
|
+
'ClutterEventType.touch-begin': 9,
|
|
449
|
+
'ClutterEventType.touch-cancel': 12,
|
|
450
|
+
'ClutterEventType.touch-end': 11,
|
|
451
|
+
'ClutterEventType.touch-update': 10,
|
|
452
|
+
'ClutterEventType.touchpad-hold': 15,
|
|
453
|
+
'ClutterEventType.touchpad-pinch': 13,
|
|
454
|
+
'ClutterEventType.touchpad-swipe': 14,
|
|
455
|
+
'ClutterFrameClockMode.fixed': 0,
|
|
456
|
+
'ClutterFrameClockMode.variable': 1,
|
|
457
|
+
'ClutterFrameResult.idle': 1,
|
|
458
|
+
'ClutterFrameResult.pending-presented': 0,
|
|
459
|
+
'ClutterGestureState.cancelled': 4,
|
|
460
|
+
'ClutterGestureState.clutter-n-gesture-states': 5,
|
|
461
|
+
'ClutterGestureState.completed': 3,
|
|
462
|
+
'ClutterGestureState.possible': 1,
|
|
463
|
+
'ClutterGestureState.recognizing': 2,
|
|
464
|
+
'ClutterGestureState.waiting': 0,
|
|
465
|
+
'ClutterGestureTriggerEdge.after': 1,
|
|
466
|
+
'ClutterGestureTriggerEdge.before': 2,
|
|
467
|
+
'ClutterGestureTriggerEdge.none': 0,
|
|
468
|
+
'ClutterGridPosition.bottom': 3,
|
|
469
|
+
'ClutterGridPosition.left': 0,
|
|
470
|
+
'ClutterGridPosition.right': 1,
|
|
471
|
+
'ClutterGridPosition.top': 2,
|
|
472
|
+
'ClutterInputAxis.distance': 7,
|
|
473
|
+
'ClutterInputAxis.ignore': 0,
|
|
474
|
+
'ClutterInputAxis.last': 10,
|
|
475
|
+
'ClutterInputAxis.pressure': 3,
|
|
476
|
+
'ClutterInputAxis.rotation': 8,
|
|
477
|
+
'ClutterInputAxis.slider': 9,
|
|
478
|
+
'ClutterInputAxis.wheel': 6,
|
|
479
|
+
'ClutterInputAxis.x': 1,
|
|
480
|
+
'ClutterInputAxis.xtilt': 4,
|
|
481
|
+
'ClutterInputAxis.y': 2,
|
|
482
|
+
'ClutterInputAxis.ytilt': 5,
|
|
483
|
+
'ClutterInputContentPurpose.alpha': 1,
|
|
484
|
+
'ClutterInputContentPurpose.date': 9,
|
|
485
|
+
'ClutterInputContentPurpose.datetime': 11,
|
|
486
|
+
'ClutterInputContentPurpose.digits': 2,
|
|
487
|
+
'ClutterInputContentPurpose.email': 6,
|
|
488
|
+
'ClutterInputContentPurpose.name': 7,
|
|
489
|
+
'ClutterInputContentPurpose.normal': 0,
|
|
490
|
+
'ClutterInputContentPurpose.number': 3,
|
|
491
|
+
'ClutterInputContentPurpose.password': 8,
|
|
492
|
+
'ClutterInputContentPurpose.phone': 4,
|
|
493
|
+
'ClutterInputContentPurpose.terminal': 12,
|
|
494
|
+
'ClutterInputContentPurpose.time': 10,
|
|
495
|
+
'ClutterInputContentPurpose.url': 5,
|
|
496
|
+
'ClutterInputDevicePadFeature.button': 0,
|
|
497
|
+
'ClutterInputDevicePadFeature.ring': 1,
|
|
498
|
+
'ClutterInputDevicePadFeature.strip': 2,
|
|
499
|
+
'ClutterInputDevicePadSource.finger': 1,
|
|
500
|
+
'ClutterInputDevicePadSource.unknown': 0,
|
|
501
|
+
'ClutterInputDeviceToolType.airbrush': 5,
|
|
502
|
+
'ClutterInputDeviceToolType.brush': 3,
|
|
503
|
+
'ClutterInputDeviceToolType.eraser': 2,
|
|
504
|
+
'ClutterInputDeviceToolType.lens': 7,
|
|
505
|
+
'ClutterInputDeviceToolType.mouse': 6,
|
|
506
|
+
'ClutterInputDeviceToolType.none': 0,
|
|
507
|
+
'ClutterInputDeviceToolType.pen': 1,
|
|
508
|
+
'ClutterInputDeviceToolType.pencil': 4,
|
|
509
|
+
'ClutterInputDeviceType.cursor-device': 9,
|
|
510
|
+
'ClutterInputDeviceType.eraser-device': 8,
|
|
511
|
+
'ClutterInputDeviceType.extension-device': 2,
|
|
512
|
+
'ClutterInputDeviceType.joystick-device': 3,
|
|
513
|
+
'ClutterInputDeviceType.keyboard-device': 1,
|
|
514
|
+
'ClutterInputDeviceType.n-device-types': 11,
|
|
515
|
+
'ClutterInputDeviceType.pad-device': 10,
|
|
516
|
+
'ClutterInputDeviceType.pen-device': 7,
|
|
517
|
+
'ClutterInputDeviceType.pointer-device': 0,
|
|
518
|
+
'ClutterInputDeviceType.tablet-device': 4,
|
|
519
|
+
'ClutterInputDeviceType.touchpad-device': 5,
|
|
520
|
+
'ClutterInputDeviceType.touchscreen-device': 6,
|
|
521
|
+
'ClutterInputMode.floating': 2,
|
|
522
|
+
'ClutterInputMode.logical': 0,
|
|
523
|
+
'ClutterInputMode.physical': 1,
|
|
524
|
+
'ClutterInputPanelState.off': 0,
|
|
525
|
+
'ClutterInputPanelState.on': 1,
|
|
526
|
+
'ClutterInputPanelState.toggle': 2,
|
|
527
|
+
'ClutterKeyState.pressed': 1,
|
|
528
|
+
'ClutterKeyState.released': 0,
|
|
529
|
+
'ClutterLongPressState.activate': 1,
|
|
530
|
+
'ClutterLongPressState.cancel': 2,
|
|
531
|
+
'ClutterLongPressState.query': 0,
|
|
532
|
+
'ClutterOrientation.horizontal': 0,
|
|
533
|
+
'ClutterOrientation.vertical': 1,
|
|
534
|
+
'ClutterPanAxis.axis-auto': 3,
|
|
535
|
+
'ClutterPanAxis.axis-none': 0,
|
|
536
|
+
'ClutterPanAxis.x-axis': 1,
|
|
537
|
+
'ClutterPanAxis.y-axis': 2,
|
|
538
|
+
'ClutterPickMode.all': 2,
|
|
539
|
+
'ClutterPickMode.none': 0,
|
|
540
|
+
'ClutterPickMode.reactive': 1,
|
|
541
|
+
'ClutterPipelineCapability.state': 0,
|
|
542
|
+
'ClutterPointerA11yDwellClickType.double': 4,
|
|
543
|
+
'ClutterPointerA11yDwellClickType.drag': 5,
|
|
544
|
+
'ClutterPointerA11yDwellClickType.middle': 3,
|
|
545
|
+
'ClutterPointerA11yDwellClickType.none': 0,
|
|
546
|
+
'ClutterPointerA11yDwellClickType.primary': 1,
|
|
547
|
+
'ClutterPointerA11yDwellClickType.secondary': 2,
|
|
548
|
+
'ClutterPointerA11yDwellDirection.down': 4,
|
|
549
|
+
'ClutterPointerA11yDwellDirection.left': 1,
|
|
550
|
+
'ClutterPointerA11yDwellDirection.none': 0,
|
|
551
|
+
'ClutterPointerA11yDwellDirection.right': 2,
|
|
552
|
+
'ClutterPointerA11yDwellDirection.up': 3,
|
|
553
|
+
'ClutterPointerA11yDwellMode.gesture': 1,
|
|
554
|
+
'ClutterPointerA11yDwellMode.window': 0,
|
|
555
|
+
'ClutterPointerA11yTimeoutType.dwell': 1,
|
|
556
|
+
'ClutterPointerA11yTimeoutType.gesture': 2,
|
|
557
|
+
'ClutterPointerA11yTimeoutType.secondary-click': 0,
|
|
558
|
+
'ClutterPreeditResetMode.clear': 0,
|
|
559
|
+
'ClutterPreeditResetMode.commit': 1,
|
|
560
|
+
'ClutterRequestMode.content-size': 2,
|
|
561
|
+
'ClutterRequestMode.height-for-width': 0,
|
|
562
|
+
'ClutterRequestMode.width-for-height': 1,
|
|
563
|
+
'ClutterRotateAxis.x-axis': 0,
|
|
564
|
+
'ClutterRotateAxis.y-axis': 1,
|
|
565
|
+
'ClutterRotateAxis.z-axis': 2,
|
|
566
|
+
'ClutterScalingFilter.linear': 0,
|
|
567
|
+
'ClutterScalingFilter.nearest': 1,
|
|
568
|
+
'ClutterScalingFilter.trilinear': 2,
|
|
569
|
+
'ClutterScrollDirection.down': 1,
|
|
570
|
+
'ClutterScrollDirection.left': 2,
|
|
571
|
+
'ClutterScrollDirection.right': 3,
|
|
572
|
+
'ClutterScrollDirection.smooth': 4,
|
|
573
|
+
'ClutterScrollDirection.up': 0,
|
|
574
|
+
'ClutterScrollSource.continuous': 3,
|
|
575
|
+
'ClutterScrollSource.finger': 2,
|
|
576
|
+
'ClutterScrollSource.unknown': 0,
|
|
577
|
+
'ClutterScrollSource.wheel': 1,
|
|
578
|
+
'ClutterShaderType.fragment-shader': 1,
|
|
579
|
+
'ClutterShaderType.vertex-shader': 0,
|
|
580
|
+
'ClutterSnapEdge.bottom': 2,
|
|
581
|
+
'ClutterSnapEdge.left': 3,
|
|
582
|
+
'ClutterSnapEdge.right': 1,
|
|
583
|
+
'ClutterSnapEdge.top': 0,
|
|
584
|
+
'ClutterStepMode.end': 1,
|
|
585
|
+
'ClutterStepMode.start': 0,
|
|
586
|
+
'ClutterTextDirection.default': 0,
|
|
587
|
+
'ClutterTextDirection.ltr': 1,
|
|
588
|
+
'ClutterTextDirection.rtl': 2,
|
|
589
|
+
'ClutterTimelineDirection.backward': 1,
|
|
590
|
+
'ClutterTimelineDirection.forward': 0,
|
|
591
|
+
'ClutterTouchpadGesturePhase.begin': 0,
|
|
592
|
+
'ClutterTouchpadGesturePhase.cancel': 3,
|
|
593
|
+
'ClutterTouchpadGesturePhase.end': 2,
|
|
594
|
+
'ClutterTouchpadGesturePhase.update': 1,
|
|
595
|
+
'ClutterTransferFunction.default': 0,
|
|
596
|
+
'ClutterTransferFunction.linear': 3,
|
|
597
|
+
'ClutterTransferFunction.pq': 2,
|
|
598
|
+
'ClutterTransferFunction.srgb': 1,
|
|
599
|
+
'PangoAlignment.center': 1,
|
|
600
|
+
'PangoAlignment.left': 0,
|
|
601
|
+
'PangoAlignment.right': 2,
|
|
602
|
+
'PangoEllipsizeMode.end': 3,
|
|
603
|
+
'PangoEllipsizeMode.middle': 2,
|
|
604
|
+
'PangoEllipsizeMode.none': 0,
|
|
605
|
+
'PangoEllipsizeMode.start': 1,
|
|
606
|
+
'PangoWrapMode.char': 1,
|
|
607
|
+
'PangoWrapMode.none': 3,
|
|
608
|
+
'PangoWrapMode.word': 0,
|
|
609
|
+
'PangoWrapMode.word-char': 2,
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
// The nicks GIR marks `deprecated="1"`.
|
|
613
|
+
//
|
|
614
|
+
// Two members of one enum may share a value -- that is how GObject spells an alias, and
|
|
615
|
+
// `GTK_ALIGN_BASELINE` and `GTK_ALIGN_BASELINE_FILL` are both 4. `ENUM_VALUES` keeps
|
|
616
|
+
// both names, so nothing is lost, and this is what says which of the two a number should be
|
|
617
|
+
// spelled back as. Stated rather than derived: the pairing is visible in the values, the
|
|
618
|
+
// DIRECTION is not.
|
|
619
|
+
//
|
|
620
|
+
// Read it as evidence, not as a negative: 4 registered-enum members in the 718 GIRs carry
|
|
621
|
+
// the attribute at all, and 179 of the 182 value-sharing pairs carry it on neither half.
|
|
622
|
+
// A nick missing from here is a nick GIR says nothing about, not a nick GIR calls current.
|
|
623
|
+
export const ENUM_DEPRECATED = [];
|
|
624
|
+
|
|
625
|
+
// The declared remainder: nicks whose GIR `value` is not a number this can carry.
|
|
626
|
+
//
|
|
627
|
+
// Every nick in `ENUM_NICKS` is in `ENUM_VALUES` or here -- a nick in neither would be a
|
|
628
|
+
// silent drop. GIR carries two shapes no integer holds: a symbolic or absent value (Vala
|
|
629
|
+
// writes `(null)`, a char enum writes a letter) and an integer past
|
|
630
|
+
// `Number.MAX_SAFE_INTEGER`. The value kept here is the raw attribute, so the entry says
|
|
631
|
+
// WHAT was unreadable rather than only that something was. Measured over the 718 GIRs in
|
|
632
|
+
// ts-for-gir's `girs/`: 32 of 34096 registered-enum members, none in Gtk, Adw, GLib or Gio.
|
|
633
|
+
export const ENUM_VALUES_UNREADABLE = {};
|
|
634
|
+
|
|
635
|
+
// The number behind each member of a registered BITFIELD, keyed the same way.
|
|
636
|
+
//
|
|
637
|
+
// `ENUM_NICKS` refuses a bitfield because GObject cannot resolve a nick SET, and that
|
|
638
|
+
// reason says nothing about one member's number. 23 settable properties in Gtk-4.0 and
|
|
639
|
+
// Adw-1 are bitfield-typed -- `GtkEntry:input-hints`, `GtkPopoverMenu:flags`,
|
|
640
|
+
// `AdwTabView:shortcuts`, `GtkDropTarget:actions`, ... -- and they are typed bare
|
|
641
|
+
// `number`, so a host without GI has nothing to compute one from. Counting is worst
|
|
642
|
+
// exactly here: 119 of the 156 Gtk-4.0 bitfield members this vocabulary carries disagree
|
|
643
|
+
// with their declaration position, against 29 of 672 enumeration members.
|
|
644
|
+
//
|
|
645
|
+
// A table of its own rather than more rows in `ENUM_VALUES`, so that "every nick in
|
|
646
|
+
// `ENUM_NICKS` has a number or a declared reason" stays a claim about one set.
|
|
647
|
+
export const FLAG_VALUES = {
|
|
648
|
+
'ClutterContentRepeat.both': 3,
|
|
649
|
+
'ClutterContentRepeat.none': 0,
|
|
650
|
+
'ClutterContentRepeat.x-axis': 1,
|
|
651
|
+
'ClutterContentRepeat.y-axis': 2,
|
|
652
|
+
'ClutterDebugFlag.actor': 2,
|
|
653
|
+
'ClutterDebugFlag.animation': 2048,
|
|
654
|
+
'ClutterDebugFlag.backend': 64,
|
|
655
|
+
'ClutterDebugFlag.clipping': 32768,
|
|
656
|
+
'ClutterDebugFlag.detailed-trace': 262144,
|
|
657
|
+
'ClutterDebugFlag.event': 8,
|
|
658
|
+
'ClutterDebugFlag.eventloop': 16384,
|
|
659
|
+
'ClutterDebugFlag.frame-clock': 1048576,
|
|
660
|
+
'ClutterDebugFlag.frame-timings': 131072,
|
|
661
|
+
'ClutterDebugFlag.gestures': 2097152,
|
|
662
|
+
'ClutterDebugFlag.grabs': 524288,
|
|
663
|
+
'ClutterDebugFlag.layout': 4096,
|
|
664
|
+
'ClutterDebugFlag.misc': 1,
|
|
665
|
+
'ClutterDebugFlag.multistage': 1024,
|
|
666
|
+
'ClutterDebugFlag.oob-transforms': 65536,
|
|
667
|
+
'ClutterDebugFlag.paint': 16,
|
|
668
|
+
'ClutterDebugFlag.pango': 32,
|
|
669
|
+
'ClutterDebugFlag.pick': 8192,
|
|
670
|
+
'ClutterDebugFlag.scheduler': 128,
|
|
671
|
+
'ClutterDebugFlag.script': 256,
|
|
672
|
+
'ClutterDebugFlag.shader': 512,
|
|
673
|
+
'ClutterDebugFlag.texture': 4,
|
|
674
|
+
'ClutterDrawDebugFlag.continuous-redraw': 64,
|
|
675
|
+
'ClutterDrawDebugFlag.disable-clipped-redraws': 2,
|
|
676
|
+
'ClutterDrawDebugFlag.disable-culling': 16,
|
|
677
|
+
'ClutterDrawDebugFlag.disable-dynamic-max-render-time': 512,
|
|
678
|
+
'ClutterDrawDebugFlag.disable-offscreen-redirect': 32,
|
|
679
|
+
'ClutterDrawDebugFlag.disable-swap-events': 1,
|
|
680
|
+
'ClutterDrawDebugFlag.paint-damage-region': 256,
|
|
681
|
+
'ClutterDrawDebugFlag.paint-deform-tiles': 128,
|
|
682
|
+
'ClutterDrawDebugFlag.paint-max-render-time': 1024,
|
|
683
|
+
'ClutterDrawDebugFlag.paint-volumes': 8,
|
|
684
|
+
'ClutterDrawDebugFlag.redraws': 4,
|
|
685
|
+
'ClutterEffectPaintFlags.actor-dirty': 1,
|
|
686
|
+
'ClutterEffectPaintFlags.bypass-effect': 2,
|
|
687
|
+
'ClutterEventFlags.flag-grab-notify': 16,
|
|
688
|
+
'ClutterEventFlags.flag-input-method': 2,
|
|
689
|
+
'ClutterEventFlags.flag-pointer-emulated': 32,
|
|
690
|
+
'ClutterEventFlags.flag-relative-motion': 8,
|
|
691
|
+
'ClutterEventFlags.flag-repeated': 4,
|
|
692
|
+
'ClutterEventFlags.flag-synthetic': 1,
|
|
693
|
+
'ClutterEventFlags.none': 0,
|
|
694
|
+
'ClutterFrameInfoFlag.hw-clock': 1,
|
|
695
|
+
'ClutterFrameInfoFlag.none': 0,
|
|
696
|
+
'ClutterFrameInfoFlag.vsync': 4,
|
|
697
|
+
'ClutterFrameInfoFlag.zero-copy': 2,
|
|
698
|
+
'ClutterGrabState.all': 3,
|
|
699
|
+
'ClutterGrabState.keyboard': 2,
|
|
700
|
+
'ClutterGrabState.none': 0,
|
|
701
|
+
'ClutterGrabState.pointer': 1,
|
|
702
|
+
'ClutterInputAxisFlags.distance': 128,
|
|
703
|
+
'ClutterInputAxisFlags.none': 0,
|
|
704
|
+
'ClutterInputAxisFlags.pressure': 8,
|
|
705
|
+
'ClutterInputAxisFlags.rotation': 256,
|
|
706
|
+
'ClutterInputAxisFlags.slider': 512,
|
|
707
|
+
'ClutterInputAxisFlags.wheel': 64,
|
|
708
|
+
'ClutterInputAxisFlags.x': 2,
|
|
709
|
+
'ClutterInputAxisFlags.xtilt': 16,
|
|
710
|
+
'ClutterInputAxisFlags.y': 4,
|
|
711
|
+
'ClutterInputAxisFlags.ytilt': 32,
|
|
712
|
+
'ClutterInputCapabilities.keyboard': 2,
|
|
713
|
+
'ClutterInputCapabilities.none': 0,
|
|
714
|
+
'ClutterInputCapabilities.pointer': 1,
|
|
715
|
+
'ClutterInputCapabilities.tablet-pad': 32,
|
|
716
|
+
'ClutterInputCapabilities.tablet-tool': 16,
|
|
717
|
+
'ClutterInputCapabilities.touch': 8,
|
|
718
|
+
'ClutterInputCapabilities.touchpad': 4,
|
|
719
|
+
'ClutterInputCapabilities.trackball': 64,
|
|
720
|
+
'ClutterInputCapabilities.trackpoint': 128,
|
|
721
|
+
'ClutterInputContentHintFlags.auto-capitalization': 4,
|
|
722
|
+
'ClutterInputContentHintFlags.completion': 1,
|
|
723
|
+
'ClutterInputContentHintFlags.hidden-text': 64,
|
|
724
|
+
'ClutterInputContentHintFlags.latin': 256,
|
|
725
|
+
'ClutterInputContentHintFlags.lowercase': 8,
|
|
726
|
+
'ClutterInputContentHintFlags.multiline': 512,
|
|
727
|
+
'ClutterInputContentHintFlags.sensitive-data': 128,
|
|
728
|
+
'ClutterInputContentHintFlags.spellcheck': 2,
|
|
729
|
+
'ClutterInputContentHintFlags.titlecase': 32,
|
|
730
|
+
'ClutterInputContentHintFlags.uppercase': 16,
|
|
731
|
+
'ClutterModifierType.button1-mask': 256,
|
|
732
|
+
'ClutterModifierType.button2-mask': 512,
|
|
733
|
+
'ClutterModifierType.button3-mask': 1024,
|
|
734
|
+
'ClutterModifierType.button4-mask': 2048,
|
|
735
|
+
'ClutterModifierType.button5-mask': 4096,
|
|
736
|
+
'ClutterModifierType.control-mask': 4,
|
|
737
|
+
'ClutterModifierType.hyper-mask': 134217728,
|
|
738
|
+
'ClutterModifierType.lock-mask': 2,
|
|
739
|
+
'ClutterModifierType.meta-mask': 268435456,
|
|
740
|
+
'ClutterModifierType.mod1-mask': 8,
|
|
741
|
+
'ClutterModifierType.mod2-mask': 16,
|
|
742
|
+
'ClutterModifierType.mod3-mask': 32,
|
|
743
|
+
'ClutterModifierType.mod4-mask': 64,
|
|
744
|
+
'ClutterModifierType.mod5-mask': 128,
|
|
745
|
+
'ClutterModifierType.modifier-mask': 1543512063,
|
|
746
|
+
'ClutterModifierType.modifier-reserved-13-mask': 8192,
|
|
747
|
+
'ClutterModifierType.modifier-reserved-14-mask': 16384,
|
|
748
|
+
'ClutterModifierType.modifier-reserved-15-mask': 32768,
|
|
749
|
+
'ClutterModifierType.modifier-reserved-16-mask': 65536,
|
|
750
|
+
'ClutterModifierType.modifier-reserved-17-mask': 131072,
|
|
751
|
+
'ClutterModifierType.modifier-reserved-18-mask': 262144,
|
|
752
|
+
'ClutterModifierType.modifier-reserved-19-mask': 524288,
|
|
753
|
+
'ClutterModifierType.modifier-reserved-20-mask': 1048576,
|
|
754
|
+
'ClutterModifierType.modifier-reserved-21-mask': 2097152,
|
|
755
|
+
'ClutterModifierType.modifier-reserved-22-mask': 4194304,
|
|
756
|
+
'ClutterModifierType.modifier-reserved-23-mask': 8388608,
|
|
757
|
+
'ClutterModifierType.modifier-reserved-24-mask': 16777216,
|
|
758
|
+
'ClutterModifierType.modifier-reserved-25-mask': 33554432,
|
|
759
|
+
'ClutterModifierType.modifier-reserved-29-mask': 536870912,
|
|
760
|
+
'ClutterModifierType.release-mask': 1073741824,
|
|
761
|
+
'ClutterModifierType.shift-mask': 1,
|
|
762
|
+
'ClutterModifierType.super-mask': 67108864,
|
|
763
|
+
'ClutterOffscreenRedirect.always': 2,
|
|
764
|
+
'ClutterOffscreenRedirect.automatic-for-opacity': 1,
|
|
765
|
+
'ClutterOffscreenRedirect.on-idle': 4,
|
|
766
|
+
'ClutterPaintFlag.clear': 4,
|
|
767
|
+
'ClutterPaintFlag.force-cursors': 2,
|
|
768
|
+
'ClutterPaintFlag.no-cursors': 1,
|
|
769
|
+
'ClutterPaintFlag.none': 0,
|
|
770
|
+
'ClutterPickDebugFlag.picking': 1,
|
|
771
|
+
'ClutterPointerA11yFlags.dwell-enabled': 2,
|
|
772
|
+
'ClutterPointerA11yFlags.secondary-click-enabled': 1,
|
|
773
|
+
'ClutterRepaintFlags.post-paint': 2,
|
|
774
|
+
'ClutterRepaintFlags.pre-paint': 1,
|
|
775
|
+
'ClutterScrollFinishFlags.horizontal': 1,
|
|
776
|
+
'ClutterScrollFinishFlags.none': 0,
|
|
777
|
+
'ClutterScrollFinishFlags.vertical': 2,
|
|
778
|
+
'ClutterSwipeDirection.down': 2,
|
|
779
|
+
'ClutterSwipeDirection.left': 4,
|
|
780
|
+
'ClutterSwipeDirection.right': 8,
|
|
781
|
+
'ClutterSwipeDirection.up': 1,
|
|
782
|
+
'ClutterVirtualDeviceType.keyboard': 1,
|
|
783
|
+
'ClutterVirtualDeviceType.none': 0,
|
|
784
|
+
'ClutterVirtualDeviceType.pointer': 2,
|
|
785
|
+
'ClutterVirtualDeviceType.touchscreen': 4,
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
// The same declared remainder for the bitfields. Every one of the 13 members in ts-for-gir's
|
|
789
|
+
// `girs/` whose value is past `Number.MAX_SAFE_INTEGER` is a bitfield member (Fwupd, Qmi),
|
|
790
|
+
// so this is the table that shape actually reaches.
|
|
791
|
+
export const FLAG_VALUES_UNREADABLE = {};
|
|
792
|
+
|
|
793
|
+
// Declaration GType + property name -> the GType of that property's enum or bitfield.
|
|
794
|
+
//
|
|
795
|
+
// Without it the value tables above are half an answer. A host with no GI knows it must set
|
|
796
|
+
// `orientation` to the number behind the nick `vertical`; `ENUM_VALUES` is keyed
|
|
797
|
+
// `GtkOrientation.vertical`, and nothing else says that `orientation` is a
|
|
798
|
+
// `GtkOrientation`. Deriving it is not available: `never` is a member of several Gtk enums,
|
|
799
|
+
// and choosing between them produces a wrong number rather than a missing one.
|
|
800
|
+
//
|
|
801
|
+
// Only where the property's OWN type is the enum. An array of them and a union that mentions
|
|
802
|
+
// one are both entries a consumer would resolve wrongly, so neither is written.
|
|
803
|
+
//
|
|
804
|
+
// A GType named here has numbers in SOME vocabulary, not necessarily this one: the namespace
|
|
805
|
+
// that OWNS an enum publishes it, so 83 of the 909 entries a full run emits want the owner's
|
|
806
|
+
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
807
|
+
export const PROP_ENUMS = {
|
|
808
|
+
'ClutterActor.accessible-role': 'AtkRole',
|
|
809
|
+
'ClutterActor.content-gravity': 'ClutterContentGravity',
|
|
810
|
+
'ClutterActor.content-repeat': 'ClutterContentRepeat',
|
|
811
|
+
'ClutterActor.magnification-filter': 'ClutterScalingFilter',
|
|
812
|
+
'ClutterActor.minification-filter': 'ClutterScalingFilter',
|
|
813
|
+
'ClutterActor.offscreen-redirect': 'ClutterOffscreenRedirect',
|
|
814
|
+
'ClutterActor.request-mode': 'ClutterRequestMode',
|
|
815
|
+
'ClutterActor.text-direction': 'ClutterTextDirection',
|
|
816
|
+
'ClutterActor.x-align': 'ClutterActorAlign',
|
|
817
|
+
'ClutterActor.y-align': 'ClutterActorAlign',
|
|
818
|
+
'ClutterAlignConstraint.align-axis': 'ClutterAlignAxis',
|
|
819
|
+
'ClutterBindConstraint.coordinate': 'ClutterBindCoordinate',
|
|
820
|
+
'ClutterBoxLayout.orientation': 'ClutterOrientation',
|
|
821
|
+
'ClutterColorState.colorspace': 'ClutterColorspace',
|
|
822
|
+
'ClutterColorState.transfer-function': 'ClutterTransferFunction',
|
|
823
|
+
'ClutterFlowLayout.orientation': 'ClutterOrientation',
|
|
824
|
+
'ClutterGestureAction.threshold-trigger-edge': 'ClutterGestureTriggerEdge',
|
|
825
|
+
'ClutterGridLayout.orientation': 'ClutterOrientation',
|
|
826
|
+
'ClutterInputDevice.capabilities': 'ClutterInputCapabilities',
|
|
827
|
+
'ClutterInputDevice.device-mode': 'ClutterInputMode',
|
|
828
|
+
'ClutterInputDevice.device-type': 'ClutterInputDeviceType',
|
|
829
|
+
'ClutterPanAction.pan-axis': 'ClutterPanAxis',
|
|
830
|
+
'ClutterShaderEffect.shader-type': 'ClutterShaderType',
|
|
831
|
+
'ClutterSnapConstraint.from-edge': 'ClutterSnapEdge',
|
|
832
|
+
'ClutterSnapConstraint.to-edge': 'ClutterSnapEdge',
|
|
833
|
+
'ClutterText.ellipsize': 'PangoEllipsizeMode',
|
|
834
|
+
'ClutterText.input-hints': 'ClutterInputContentHintFlags',
|
|
835
|
+
'ClutterText.input-purpose': 'ClutterInputContentPurpose',
|
|
836
|
+
'ClutterText.line-alignment': 'PangoAlignment',
|
|
837
|
+
'ClutterText.line-wrap-mode': 'PangoWrapMode',
|
|
838
|
+
'ClutterTimeline.direction': 'ClutterTimelineDirection',
|
|
839
|
+
'ClutterTimeline.progress-mode': 'ClutterAnimationMode',
|
|
840
|
+
'ClutterVirtualInputDevice.device-type': 'ClutterInputDeviceType',
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
// `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
844
|
+
//
|
|
845
|
+
// The one table here that is not about a ParamSpec. A GtkBuilder or Blueprint
|
|
846
|
+
// `accessibility { … }` block is typed by GTK's ARIA table instead, and the two disagree
|
|
847
|
+
// where it matters: `orientation` is settable on a `GtkLabel` that implements no
|
|
848
|
+
// `GtkOrientable` and has no such property, and `checked` is a `GtkAccessibleTristate`, so
|
|
849
|
+
// `checked: true` means the number 1 and not the boolean. A consumer typing those slots
|
|
850
|
+
// from the widget gets both wrong, silently.
|
|
851
|
+
//
|
|
852
|
+
// Read from each member's own documentation, which is where GTK keeps the table --
|
|
853
|
+
// `gtk_accessible_property_init_value()` is the C half and is not introspectable, the
|
|
854
|
+
// sentence is. Complete or absent, never partial: a member whose documentation states no
|
|
855
|
+
// value type fails generation and names itself, because a missing row is indistinguishable
|
|
856
|
+
// from "GTK has no such name" and the plausible fallback emits `true` where GTK means 1.
|
|
857
|
+
export const ARIA_VALUE_TYPES = {};
|
|
858
|
+
|
|
859
|
+
// The same keys, for the `'enum'` rows only -> the GType of the enum.
|
|
860
|
+
//
|
|
861
|
+
// The join on from a kind to a number, and a table of its own for the reason `PROP_ENUMS`
|
|
862
|
+
// is one: folding the GType into `ARIA_VALUE_TYPES` would make its values a mix of six
|
|
863
|
+
// reserved words and arbitrary GTypes, and telling them apart would be the consumer's
|
|
864
|
+
// problem. With this, `ARIA_VALUE_TYPES[k] === 'enum'` is the whole test, and
|
|
865
|
+
// `ENUM_NICKS[ARIA_VALUE_ENUMS[k]]` is the nick list.
|
|
866
|
+
export const ARIA_VALUE_ENUMS = {};
|
|
867
|
+
|
|
868
|
+
export const SLOT_CANDIDATES = {};
|
|
869
|
+
|
|
870
|
+
export const SINCE = {};
|