@girs/panel-1 4.1.0 → 4.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 CHANGED
@@ -5,25 +5,25 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/panel-1)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Panel-1, generated from library version 1.10.4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.1.0.
8
+ GJS TypeScript type definitions for Panel-1, generated from library version 1.10.4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.3.0.
9
9
 
10
10
  ## Install
11
11
 
12
- To use this type definitions, install them with NPM:
12
+ Install the type definitions with npm:
13
13
  ```bash
14
14
  npm install @girs/panel-1
15
15
  ```
16
16
 
17
17
  ## Usage
18
18
 
19
- You can import this package into your project like this:
19
+ Import it like any other module:
20
20
  ```ts
21
21
  import Panel from '@girs/panel-1';
22
22
  ```
23
23
 
24
24
  ### Ambient Modules
25
25
 
26
- You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
26
+ [Ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) let you write the same import you would in plain JavaScript.
27
27
  For this you need to include `@girs/panel-1` or `@girs/panel-1/ambient` in your `tsconfig` or entry point Typescript file:
28
28
 
29
29
  `index.ts`:
@@ -42,7 +42,7 @@ import '@girs/panel-1'
42
42
  }
43
43
  ```
44
44
 
45
- Now you can import the ambient module with TypeScript support:
45
+ The ambient module now resolves with types:
46
46
 
47
47
  ```ts
48
48
  import Panel from 'gi://Panel?version=1';
@@ -50,7 +50,7 @@ import Panel from 'gi://Panel?version=1';
50
50
 
51
51
  ### Global import
52
52
 
53
- You can also import the module with Typescript support using the global `imports.gi` object of GJS.
53
+ GJS's global `imports.gi` works too, with types.
54
54
  For this you need to include `@girs/panel-1` or `@girs/panel-1/import` in your `tsconfig` or entry point Typescript file:
55
55
 
56
56
  `index.ts`:
@@ -69,7 +69,7 @@ import '@girs/panel-1'
69
69
  }
70
70
  ```
71
71
 
72
- Now you have also type support for this, too:
72
+ That form carries types as well:
73
73
 
74
74
  ```ts
75
75
  const Panel = imports.gi.Panel;
@@ -77,7 +77,7 @@ const Panel = imports.gi.Panel;
77
77
 
78
78
  ### Bundle
79
79
 
80
- Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
80
+ Most projects want a bundler. [esbuild](https://esbuild.github.io/) is the smallest thing that works; the [examples directory](https://github.com/gjsify/ts-for-gir/tree/main/examples) has setups for several others.
81
81
 
82
82
  ## Other packages
83
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/panel-1",
3
- "version": "4.1.0",
3
+ "version": "4.3.0",
4
4
  "libraryVersion": "1.10.4",
5
5
  "description": "GJS TypeScript type definitions for Panel-1, generated from library version 1.10.4",
6
6
  "type": "module",
@@ -17,6 +17,11 @@
17
17
  "import": "./panel-1-import.js",
18
18
  "default": "./panel-1-import.js"
19
19
  },
20
+ "./surface": {
21
+ "types": "./panel-1-surface.d.ts",
22
+ "import": "./panel-1-surface.js",
23
+ "default": "./panel-1-surface.js"
24
+ },
20
25
  "./panel-1": {
21
26
  "types": "./panel-1.d.ts",
22
27
  "import": "./panel-1.js",
@@ -32,22 +37,22 @@
32
37
  "test": "tsc --project tsconfig.json"
33
38
  },
34
39
  "dependencies": {
35
- "@girs/gjs": "^4.1.0",
36
- "@girs/gtk-4.0": "^4.1.0",
37
- "@girs/gsk-4.0": "^4.1.0",
38
- "@girs/graphene-1.0": "^4.1.0",
39
- "@girs/gobject-2.0": "^4.1.0",
40
- "@girs/glib-2.0": "^4.1.0",
41
- "@girs/gdk-4.0": "^4.1.0",
42
- "@girs/cairo-1.0": "^4.1.0",
43
- "@girs/pangocairo-1.0": "^4.1.0",
44
- "@girs/pango-1.0": "^4.1.0",
45
- "@girs/harfbuzz-0.0": "^4.1.0",
46
- "@girs/freetype2-2.0": "^4.1.0",
47
- "@girs/gio-2.0": "^4.1.0",
48
- "@girs/gmodule-2.0": "^4.1.0",
49
- "@girs/gdkpixbuf-2.0": "^4.1.0",
50
- "@girs/adw-1": "^4.1.0" },
40
+ "@girs/gjs": "^4.3.0",
41
+ "@girs/gtk-4.0": "^4.3.0",
42
+ "@girs/gsk-4.0": "^4.3.0",
43
+ "@girs/graphene-1.0": "^4.3.0",
44
+ "@girs/gobject-2.0": "^4.3.0",
45
+ "@girs/glib-2.0": "^4.3.0",
46
+ "@girs/gdk-4.0": "^4.3.0",
47
+ "@girs/cairo-1.0": "^4.3.0",
48
+ "@girs/pangocairo-1.0": "^4.3.0",
49
+ "@girs/pango-1.0": "^4.3.0",
50
+ "@girs/harfbuzz-0.0": "^4.3.0",
51
+ "@girs/freetype2-2.0": "^4.3.0",
52
+ "@girs/gio-2.0": "^4.3.0",
53
+ "@girs/gmodule-2.0": "^4.3.0",
54
+ "@girs/gdkpixbuf-2.0": "^4.3.0",
55
+ "@girs/adw-1": "^4.3.0" },
51
56
  "devDependencies": {
52
57
  "typescript": "*"
53
58
  },
@@ -0,0 +1,424 @@
1
+ /**
2
+ * The GIR-derived widget VOCABULARY for Panel-1.
3
+ *
4
+ * GENERATED — do not edit. Provenance: Panel-1 — library 1.10.4 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Gio.ActionGroup Gio.ActionMap
5
+ *
6
+ * 17 concrete widgets, 18 declarations, 1 enum nick unions, 6 slot candidates.
7
+ *
8
+ * Module-scoped exports only. There is no `JSX` namespace here, no tag spelling and
9
+ * no `on<Signal>` prop name: those are DIALECT, and every framework answers them
10
+ * differently. The shape to avoid is the GLOBAL AUGMENT — a `declare global` on
11
+ * `React.JSX` collides with every other library on a shared tag — while a
12
+ * module-scoped `JSX` behind a `jsxImportSource` does not. This package is used by
13
+ * projects that want nothing to do with JSX, so it emits neither; a consumer declaring
14
+ * a module-scoped namespace over these names is doing it right.
15
+ *
16
+ * Three things this is and `ConstructorProps` is not: WRITABLE-only (measured on
17
+ * Gtk-4.0, `ConstructorProps` offers 150 read-only properties across 68 classes as
18
+ * settable, and GTK's failure mode for writing one is exit 0), OPTIONAL, and keyed
19
+ * by the name GObject actually REGISTERED — the dashed spelling `g_object_set`,
20
+ * GtkBuilder XML and Blueprint all use.
21
+ *
22
+ * Signal handler types are not re-derived: `X.SignalSignatures`, which this package
23
+ * already emits for every class with the parent chain, every implemented interface
24
+ * and the `notify::` keys folded in, is what `Widgets[G]['signals']` points at.
25
+ */
26
+
27
+ import type Gio from '@girs/gio-2.0';
28
+ import type Gtk from '@girs/gtk-4.0';
29
+ import type Panel from './panel-1.js';
30
+ import type { AdwAlertDialogConstructOnly, AdwAlertDialogProps, AdwApplicationWindowConstructOnly, AdwApplicationWindowProps, AdwDialogConstructOnly, AdwDialogProps, AdwMessageDialogConstructOnly, AdwMessageDialogProps } from '@girs/adw-1/surface';
31
+ import type { GtkAccessibleConstructOnly, GtkAccessibleProps, GtkActionableConstructOnly, GtkActionableProps, GtkApplicationWindowConstructOnly, GtkApplicationWindowProps, GtkBuildableConstructOnly, GtkBuildableProps, GtkConstraintTargetConstructOnly, GtkConstraintTargetProps, GtkNativeConstructOnly, GtkNativeProps, GtkOrientableConstructOnly, GtkOrientableProps, GtkRootConstructOnly, GtkRootProps, GtkShortcutManagerConstructOnly, GtkShortcutManagerProps, GtkWidgetConstructOnly, GtkWidgetProps, GtkWindowConstructOnly, GtkWindowProps } from '@girs/gtk-4.0/surface';
32
+
33
+ // ---------------------------------------------------------------------------
34
+ // Enum nicks — the string vocabulary GObject registered, from GIR's `glib:nick`.
35
+ //
36
+ // Not derived from the member name. Substituting underscores for dashes is not a law:
37
+ // some nicks keep an underscore the substitution would have replaced, and only the
38
+ // attribute knows which. Gtk-4.0 and Adw-1 contradict no derivation at all, which is
39
+ // how a derived nick passes review and breaks elsewhere.
40
+ // Re-measure with `scripts/check-nick-derivation.mjs` in ts-for-gir.
41
+ // ---------------------------------------------------------------------------
42
+
43
+ export type PanelAreaNick = 'start' | 'end' | 'top' | 'bottom' | 'center';
44
+
45
+ // ---------------------------------------------------------------------------
46
+ // Property surfaces — one interface per GIR DECLARATION, mirroring GIR's own
47
+ // inheritance rather than flattening per widget.
48
+ //
49
+ // The interfaces are load-bearing, not tidiness: `GtkBox` declares four properties
50
+ // of its own and `orientation` is not among them — it lives on `Gtk.Orientable`,
51
+ // because GObject installs interface properties on the implementor at runtime while
52
+ // GIR keeps them once, on the interface.
53
+ // ---------------------------------------------------------------------------
54
+
55
+ export interface PanelChangesDialogProps extends AdwAlertDialogProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps, GtkShortcutManagerProps {
56
+ /** This property requests that the widget close after saving. */
57
+ 'close-after-save'?: boolean;
58
+ }
59
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
60
+ export type PanelChangesDialogConstructOnly = AdwAlertDialogConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly | GtkShortcutManagerConstructOnly;
61
+
62
+ /** The #PanelDock is a widget designed to contain widgets that can be docked. */
63
+ export interface PanelDockProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps {
64
+ 'bottom-height'?: number;
65
+ 'end-width'?: number;
66
+ 'reveal-bottom'?: boolean;
67
+ 'reveal-end'?: boolean;
68
+ 'reveal-start'?: boolean;
69
+ 'reveal-top'?: boolean;
70
+ 'start-width'?: number;
71
+ 'top-height'?: number;
72
+ }
73
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
74
+ export type PanelDockConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly;
75
+
76
+ export interface PanelDocumentWorkspaceProps extends PanelWorkspaceProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps, GtkNativeProps, GtkRootProps, GtkShortcutManagerProps {
77
+ }
78
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
79
+ export type PanelDocumentWorkspaceConstructOnly = PanelWorkspaceConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly | GtkNativeConstructOnly | GtkRootConstructOnly | GtkShortcutManagerConstructOnly;
80
+
81
+ /** The #PanelFrame is a widget containing panels to display in an area. */
82
+ export interface PanelFrameProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps, GtkOrientableProps {
83
+ placeholder?: Gtk.Widget | null;
84
+ 'visible-child'?: Panel.Widget | null;
85
+ }
86
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
87
+ export type PanelFrameConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly | GtkOrientableConstructOnly;
88
+
89
+ /** An interface implemented by the header of a #PanelFrame. */
90
+ export interface PanelFrameHeaderProps extends GtkWidgetProps {
91
+ /** The frame the header is attached to, or %NULL. */
92
+ frame?: Panel.Frame | null;
93
+ }
94
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
95
+ export type PanelFrameHeaderConstructOnly = GtkWidgetConstructOnly;
96
+
97
+ /** A header bar for #PanelFrame. */
98
+ export interface PanelFrameHeaderBarProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps, PanelFrameHeaderProps {
99
+ /** Whether to show the icon or not. */
100
+ 'show-icon'?: boolean;
101
+ }
102
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
103
+ export type PanelFrameHeaderBarConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly | PanelFrameHeaderConstructOnly;
104
+
105
+ /** A #PanelFrameSwitcher is a #PanelFrameHeader that shows a row of buttons to switch between #GtkStack pages, not disimilar to a #GtkStackSwitcher. */
106
+ export interface PanelFrameSwitcherProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps, GtkOrientableProps, PanelFrameHeaderProps {
107
+ }
108
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
109
+ export type PanelFrameSwitcherConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly | GtkOrientableConstructOnly | PanelFrameHeaderConstructOnly;
110
+
111
+ /** A #PanelFrameHeader that implements switching between tab views in a #PanelFrame. */
112
+ export interface PanelFrameTabBarProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps, PanelFrameHeaderProps {
113
+ /** Whether the tabs automatically hide. */
114
+ autohide?: boolean;
115
+ /** Whether tabs expand to full width. */
116
+ 'expand-tabs'?: boolean;
117
+ /** Whether tabs use inverted layout. */
118
+ inverted?: boolean;
119
+ }
120
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
121
+ export type PanelFrameTabBarConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly | PanelFrameHeaderConstructOnly;
122
+
123
+ /** The #PanelGrid is a widget used to layout the dock item in the center area. */
124
+ export interface PanelGridProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps {
125
+ }
126
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
127
+ export type PanelGridConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly;
128
+
129
+ export interface PanelGridColumnProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps {
130
+ }
131
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
132
+ export type PanelGridColumnConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly;
133
+
134
+ /** A multi-use widget for user interaction in the window header bar. */
135
+ export interface PanelOmniBarProps extends GtkWidgetProps, GtkAccessibleProps, GtkActionableProps, GtkBuildableProps, GtkConstraintTargetProps {
136
+ /** The tooltip for the action. */
137
+ 'action-tooltip'?: string;
138
+ /** The name of the icon to use. */
139
+ 'icon-name'?: string;
140
+ /** The menu model of the omni bar menu. */
141
+ 'menu-model'?: Gio.MenuModel;
142
+ /** The popover to show. */
143
+ popover?: Gtk.Popover | null;
144
+ /** The current progress value. */
145
+ progress?: number;
146
+ }
147
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
148
+ export type PanelOmniBarConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkActionableConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly;
149
+
150
+ /** A #PanelPaned is the concrete widget for a panel area. */
151
+ export interface PanelPanedProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps, GtkOrientableProps {
152
+ }
153
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
154
+ export type PanelPanedConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly | GtkOrientableConstructOnly;
155
+
156
+ export interface PanelSaveDialogProps extends AdwMessageDialogProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps, GtkNativeProps, GtkRootProps, GtkShortcutManagerProps {
157
+ /** This property requests that the widget close after saving. */
158
+ 'close-after-save'?: boolean;
159
+ }
160
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
161
+ export type PanelSaveDialogConstructOnly = AdwMessageDialogConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly | GtkNativeConstructOnly | GtkRootConstructOnly | GtkShortcutManagerConstructOnly;
162
+
163
+ /** A panel status bar is meant to be displayed at the bottom of the window. */
164
+ export interface PanelStatusbarProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps {
165
+ }
166
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
167
+ export type PanelStatusbarConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly;
168
+
169
+ /** A widget that allow selecting theme preference between "dark", "light" and "follow" the system preference. */
170
+ export interface PanelThemeSelectorProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps {
171
+ /** The name of the action activated on activation. */
172
+ 'action-name'?: string;
173
+ }
174
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
175
+ export type PanelThemeSelectorConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly;
176
+
177
+ /** The `PanelToggleButton` is a button used to toggle the visibility of a [class@Panel.Dock] area. */
178
+ export interface PanelToggleButtonProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps {
179
+ /** The area this button will reveal. */
180
+ area?: PanelAreaNick | Panel.Area;
181
+ /** The associated [class@Panel.Dock] */
182
+ dock?: Panel.Dock;
183
+ }
184
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
185
+ export type PanelToggleButtonConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly | 'area';
186
+
187
+ /** PanelWidget is the base widget class for widgets added to a #PanelFrame. */
188
+ export interface PanelWidgetProps extends GtkWidgetProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps {
189
+ 'can-maximize'?: boolean;
190
+ /** The child inside this widget. */
191
+ child?: Gtk.Widget | null;
192
+ /** The icon for this widget. */
193
+ icon?: Gio.Icon | null;
194
+ /** The icon name for this widget. */
195
+ 'icon-name'?: string | null;
196
+ id?: string;
197
+ kind?: string;
198
+ /** A menu model to display additional options for the page to the user via menus. */
199
+ 'menu-model'?: Gio.MenuModel | null;
200
+ modified?: boolean;
201
+ 'needs-attention'?: boolean;
202
+ reorderable?: boolean;
203
+ /** The save delegate attached to this widget. */
204
+ 'save-delegate'?: Panel.SaveDelegate | null;
205
+ /** The title for this widget. */
206
+ title?: string | null;
207
+ /**
208
+ * The tooltip to display in tabs for the widget.
209
+ * @since 1.2
210
+ */
211
+ tooltip?: string | null;
212
+ }
213
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
214
+ export type PanelWidgetConstructOnly = GtkWidgetConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly;
215
+
216
+ export interface PanelWorkspaceProps extends AdwApplicationWindowProps, GtkAccessibleProps, GtkBuildableProps, GtkConstraintTargetProps, GtkNativeProps, GtkRootProps, GtkShortcutManagerProps {
217
+ /**
218
+ * The "id" of the workspace.
219
+ * @since 1.4
220
+ */
221
+ id?: string;
222
+ }
223
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
224
+ export type PanelWorkspaceConstructOnly = AdwApplicationWindowConstructOnly | GtkAccessibleConstructOnly | GtkBuildableConstructOnly | GtkConstraintTargetConstructOnly | GtkNativeConstructOnly | GtkRootConstructOnly | GtkShortcutManagerConstructOnly;
225
+
226
+ // ---------------------------------------------------------------------------
227
+ // The GType-keyed widget map.
228
+ //
229
+ // Keyed by GType because that is also the GtkBuilder XML key and the typelib key. A
230
+ // consumer maps GTypes to tags in ITS convention — kebab for JSX intrinsics, Pascal
231
+ // for a Vue `GlobalComponents`, the class itself for a renderer whose element type
232
+ // is the class. None of those is baked in here.
233
+ //
234
+ // `slotCandidates` is a candidate list and never an answer: derived from methods
235
+ // taking exactly one widget argument. The GIR cannot tell adoption from reference —
236
+ // `set_title_widget` parents its argument and `set_activatable_widget` does not, and
237
+ // both are `void f(GtkWidget*)` at `transfer-ownership="none"`. Curation decides;
238
+ // this is what notices when a release adds a candidate.
239
+ // ---------------------------------------------------------------------------
240
+
241
+ export interface Widgets {
242
+ PanelChangesDialog: {
243
+ class: Panel.ChangesDialog;
244
+ props: PanelChangesDialogProps;
245
+ signals: Panel.ChangesDialog.SignalSignatures;
246
+ constructOnly: PanelChangesDialogConstructOnly;
247
+ slotCandidates: {};
248
+ };
249
+ PanelDock: {
250
+ class: Panel.Dock;
251
+ props: PanelDockProps;
252
+ signals: Panel.Dock.SignalSignatures;
253
+ constructOnly: PanelDockConstructOnly;
254
+ slotCandidates: {};
255
+ };
256
+ PanelDocumentWorkspace: {
257
+ class: Panel.DocumentWorkspace;
258
+ props: PanelDocumentWorkspaceProps;
259
+ signals: Panel.DocumentWorkspace.SignalSignatures;
260
+ constructOnly: PanelDocumentWorkspaceConstructOnly;
261
+ slotCandidates: {
262
+ 'titlebar': 'set_titlebar';
263
+ };
264
+ };
265
+ PanelFrame: {
266
+ class: Panel.Frame;
267
+ props: PanelFrameProps;
268
+ signals: Panel.Frame.SignalSignatures;
269
+ constructOnly: PanelFrameConstructOnly;
270
+ slotCandidates: {
271
+ 'header': 'set_header';
272
+ 'placeholder': 'set_placeholder';
273
+ 'visible-child': 'set_visible_child';
274
+ };
275
+ };
276
+ PanelFrameHeaderBar: {
277
+ class: Panel.FrameHeaderBar;
278
+ props: PanelFrameHeaderBarProps;
279
+ signals: Panel.FrameHeaderBar.SignalSignatures;
280
+ constructOnly: PanelFrameHeaderBarConstructOnly;
281
+ slotCandidates: {};
282
+ };
283
+ PanelFrameSwitcher: {
284
+ class: Panel.FrameSwitcher;
285
+ props: PanelFrameSwitcherProps;
286
+ signals: Panel.FrameSwitcher.SignalSignatures;
287
+ constructOnly: PanelFrameSwitcherConstructOnly;
288
+ slotCandidates: {};
289
+ };
290
+ PanelFrameTabBar: {
291
+ class: Panel.FrameTabBar;
292
+ props: PanelFrameTabBarProps;
293
+ signals: Panel.FrameTabBar.SignalSignatures;
294
+ constructOnly: PanelFrameTabBarConstructOnly;
295
+ slotCandidates: {};
296
+ };
297
+ PanelGrid: {
298
+ class: Panel.Grid;
299
+ props: PanelGridProps;
300
+ signals: Panel.Grid.SignalSignatures;
301
+ constructOnly: PanelGridConstructOnly;
302
+ slotCandidates: {};
303
+ };
304
+ PanelGridColumn: {
305
+ class: Panel.GridColumn;
306
+ props: PanelGridColumnProps;
307
+ signals: Panel.GridColumn.SignalSignatures;
308
+ constructOnly: PanelGridColumnConstructOnly;
309
+ slotCandidates: {};
310
+ };
311
+ PanelOmniBar: {
312
+ class: Panel.OmniBar;
313
+ props: PanelOmniBarProps;
314
+ signals: Panel.OmniBar.SignalSignatures;
315
+ constructOnly: PanelOmniBarConstructOnly;
316
+ slotCandidates: {
317
+ 'popover': 'set_popover';
318
+ };
319
+ };
320
+ PanelPaned: {
321
+ class: Panel.Paned;
322
+ props: PanelPanedProps;
323
+ signals: Panel.Paned.SignalSignatures;
324
+ constructOnly: PanelPanedConstructOnly;
325
+ slotCandidates: {};
326
+ };
327
+ PanelSaveDialog: {
328
+ class: Panel.SaveDialog;
329
+ props: PanelSaveDialogProps;
330
+ signals: Panel.SaveDialog.SignalSignatures;
331
+ constructOnly: PanelSaveDialogConstructOnly;
332
+ slotCandidates: {};
333
+ };
334
+ PanelStatusbar: {
335
+ class: Panel.Statusbar;
336
+ props: PanelStatusbarProps;
337
+ signals: Panel.Statusbar.SignalSignatures;
338
+ constructOnly: PanelStatusbarConstructOnly;
339
+ slotCandidates: {};
340
+ };
341
+ PanelThemeSelector: {
342
+ class: Panel.ThemeSelector;
343
+ props: PanelThemeSelectorProps;
344
+ signals: Panel.ThemeSelector.SignalSignatures;
345
+ constructOnly: PanelThemeSelectorConstructOnly;
346
+ slotCandidates: {};
347
+ };
348
+ PanelToggleButton: {
349
+ class: Panel.ToggleButton;
350
+ props: PanelToggleButtonProps;
351
+ signals: Panel.ToggleButton.SignalSignatures;
352
+ constructOnly: PanelToggleButtonConstructOnly;
353
+ slotCandidates: {};
354
+ };
355
+ PanelWidget: {
356
+ class: Panel.Widget;
357
+ props: PanelWidgetProps;
358
+ signals: Panel.Widget.SignalSignatures;
359
+ constructOnly: PanelWidgetConstructOnly;
360
+ slotCandidates: {
361
+ 'child': 'set_child';
362
+ };
363
+ };
364
+ PanelWorkspace: {
365
+ class: Panel.Workspace;
366
+ props: PanelWorkspaceProps;
367
+ signals: Panel.Workspace.SignalSignatures;
368
+ constructOnly: PanelWorkspaceConstructOnly;
369
+ slotCandidates: {};
370
+ };
371
+ }
372
+
373
+ /** Every GType this namespace can create. A consumer derives its own tag map. */
374
+ export type WidgetGType = keyof Widgets;
375
+
376
+ /** The writable, optional, GObject-keyed property surface of one GType. */
377
+ export type PropsOf<G extends WidgetGType> = Widgets[G]['props'];
378
+
379
+ /** The signal table this package already emits, reached by GType. */
380
+ export type SignalsOf<G extends WidgetGType> = Widgets[G]['signals'];
381
+
382
+ /** The instance type — what a `ref`-shaped prop should infer. */
383
+ export type InstanceOf<G extends WidgetGType> = Widgets[G]['class'];
384
+
385
+ /** Property names that can only be set at construction. */
386
+ export type ConstructOnlyOf<G extends WidgetGType> = Widgets[G]['constructOnly'];
387
+
388
+ /** Candidate child slots — see the note above; curation decides. */
389
+ export type SlotCandidatesOf<G extends WidgetGType> = keyof Widgets[G]['slotCandidates'];
390
+
391
+ /**
392
+ * The same facts as runtime data, for a consumer that CHECKS them.
393
+ *
394
+ * Types are erased, so a spec that asks the installed GTK whether every property
395
+ * here is a writable ParamSpec, every signal resolvable by `GObject.signal_lookup`
396
+ * and every nick resolvable through an enum lookup cannot read the interfaces
397
+ * above. Emitted headlessly with no GTK present, which is exactly why the checking
398
+ * belongs to the consumer and the DATA belongs here.
399
+ */
400
+ export const SURFACE_PROVENANCE: string;
401
+
402
+ /** Declaration GType -> its own settable properties, as GObject registered them. */
403
+ export const OWN_PROPS: Readonly<Record<string, readonly string[]>>;
404
+
405
+ /** Widget GType -> its own signals. */
406
+ export const OWN_SIGNALS: Readonly<Record<string, readonly string[]>>;
407
+
408
+ /** Widget GType -> every declaration its members come from, self first. */
409
+ export const DECLS: Readonly<Record<string, readonly string[]>>;
410
+
411
+ /** Enum GType -> the nicks this surface offers. */
412
+ export const ENUM_NICKS: Readonly<Record<string, readonly string[]>>;
413
+
414
+ /** Widget GType -> slot name -> the method that may adopt a child there. */
415
+ export const SLOT_CANDIDATES: Readonly<Record<string, Readonly<Record<string, string>>>>;
416
+
417
+ /**
418
+ * `Type.property` -> the release that introduced it.
419
+ *
420
+ * What keeps a runtime cross-check honest across a version gap without an
421
+ * allowlist: a member the installed library lacks is a defect UNLESS the version
422
+ * here is newer than the one running.
423
+ */
424
+ export const SINCE: Readonly<Record<string, string>>;
@@ -0,0 +1,78 @@
1
+ // The widget vocabulary of Panel-1 as runtime data.
2
+ //
3
+ // GENERATED — do not edit. Provenance: Panel-1 — library 1.10.4 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Gio.ActionGroup Gio.ActionMap
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 SURFACE_PROVENANCE = 'Panel-1 — library 1.10.4 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Gio.ActionGroup Gio.ActionMap';
10
+
11
+ export const OWN_PROPS = {
12
+ PanelChangesDialog: ['close-after-save'],
13
+ PanelDock: ['bottom-height', 'end-width', 'reveal-bottom', 'reveal-end', 'reveal-start', 'reveal-top', 'start-width', 'top-height'],
14
+ PanelFrame: ['placeholder', 'visible-child'],
15
+ PanelFrameHeader: ['frame'],
16
+ PanelFrameHeaderBar: ['show-icon'],
17
+ PanelFrameTabBar: ['autohide', 'expand-tabs', 'inverted'],
18
+ PanelOmniBar: ['action-tooltip', 'icon-name', 'menu-model', 'popover', 'progress'],
19
+ PanelSaveDialog: ['close-after-save'],
20
+ PanelThemeSelector: ['action-name'],
21
+ PanelToggleButton: ['area', 'dock'],
22
+ PanelWidget: ['can-maximize', 'child', 'icon', 'icon-name', 'id', 'kind', 'menu-model', 'modified', 'needs-attention', 'reorderable', 'save-delegate', 'title', 'tooltip'],
23
+ PanelWorkspace: ['id'],
24
+ };
25
+
26
+ export const OWN_SIGNALS = {
27
+ PanelDock: ['adopt-widget', 'create-frame', 'panel-drag-begin', 'panel-drag-end'],
28
+ PanelDocumentWorkspace: ['add-widget', 'create-frame'],
29
+ PanelFrame: ['adopt-widget', 'page-closed'],
30
+ PanelGrid: ['create-frame'],
31
+ PanelWidget: ['get-default-focus', 'presented'],
32
+ };
33
+
34
+ export const DECLS = {
35
+ PanelChangesDialog: ['PanelChangesDialog', 'AdwAlertDialog', 'AdwDialog', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget', 'GtkShortcutManager'],
36
+ PanelDock: ['PanelDock', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
37
+ PanelDocumentWorkspace: ['PanelDocumentWorkspace', 'PanelWorkspace', 'AdwApplicationWindow', 'GtkApplicationWindow', 'GtkWindow', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget', 'GtkNative', 'GtkRoot', 'GtkShortcutManager'],
38
+ PanelFrame: ['PanelFrame', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget', 'GtkOrientable'],
39
+ PanelFrameHeaderBar: ['PanelFrameHeaderBar', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget', 'PanelFrameHeader'],
40
+ PanelFrameSwitcher: ['PanelFrameSwitcher', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget', 'GtkOrientable', 'PanelFrameHeader'],
41
+ PanelFrameTabBar: ['PanelFrameTabBar', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget', 'PanelFrameHeader'],
42
+ PanelGrid: ['PanelGrid', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
43
+ PanelGridColumn: ['PanelGridColumn', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
44
+ PanelOmniBar: ['PanelOmniBar', 'GtkWidget', 'GtkAccessible', 'GtkActionable', 'GtkBuildable', 'GtkConstraintTarget'],
45
+ PanelPaned: ['PanelPaned', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget', 'GtkOrientable'],
46
+ PanelSaveDialog: ['PanelSaveDialog', 'AdwMessageDialog', 'GtkWindow', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget', 'GtkNative', 'GtkRoot', 'GtkShortcutManager'],
47
+ PanelStatusbar: ['PanelStatusbar', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
48
+ PanelThemeSelector: ['PanelThemeSelector', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
49
+ PanelToggleButton: ['PanelToggleButton', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
50
+ PanelWidget: ['PanelWidget', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget'],
51
+ PanelWorkspace: ['PanelWorkspace', 'AdwApplicationWindow', 'GtkApplicationWindow', 'GtkWindow', 'GtkWidget', 'GtkAccessible', 'GtkBuildable', 'GtkConstraintTarget', 'GtkNative', 'GtkRoot', 'GtkShortcutManager'],
52
+ };
53
+
54
+ export const ENUM_NICKS = {
55
+ PanelArea: ['start', 'end', 'top', 'bottom', 'center'],
56
+ };
57
+
58
+ export const SLOT_CANDIDATES = {
59
+ PanelDocumentWorkspace: {
60
+ 'titlebar': 'set_titlebar',
61
+ },
62
+ PanelFrame: {
63
+ 'header': 'set_header',
64
+ 'placeholder': 'set_placeholder',
65
+ 'visible-child': 'set_visible_child',
66
+ },
67
+ PanelOmniBar: {
68
+ 'popover': 'set_popover',
69
+ },
70
+ PanelWidget: {
71
+ 'child': 'set_child',
72
+ },
73
+ };
74
+
75
+ export const SINCE = {
76
+ 'PanelWidget.tooltip': '1.2',
77
+ 'PanelWorkspace.id': '1.4',
78
+ };
package/panel-1.d.ts CHANGED
@@ -702,11 +702,9 @@ export namespace Panel {
702
702
  interface SignalSignatures extends Adw.Application.SignalSignatures {
703
703
  "notify::style-manager": (pspec: GObject.ParamSpec) => void;
704
704
  "notify::active-window": (pspec: GObject.ParamSpec) => void;
705
- "notify::autosave-interval": (pspec: GObject.ParamSpec) => void;
706
705
  "notify::menubar": (pspec: GObject.ParamSpec) => void;
707
706
  "notify::register-session": (pspec: GObject.ParamSpec) => void;
708
707
  "notify::screensaver-active": (pspec: GObject.ParamSpec) => void;
709
- "notify::support-save": (pspec: GObject.ParamSpec) => void;
710
708
  "notify::action-group": (pspec: GObject.ParamSpec) => void;
711
709
  "notify::application-id": (pspec: GObject.ParamSpec) => void;
712
710
  "notify::flags": (pspec: GObject.ParamSpec) => void;
@@ -1705,7 +1703,7 @@ export namespace Panel {
1705
1703
  /**
1706
1704
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
1707
1705
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
1708
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
1706
+ * object has some notion of ID and it makes sense to map the XML id
1709
1707
  * attribute to it.
1710
1708
  * @param id
1711
1709
  * @virtual
@@ -2537,7 +2535,7 @@ export namespace Panel {
2537
2535
  /**
2538
2536
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
2539
2537
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
2540
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
2538
+ * object has some notion of ID and it makes sense to map the XML id
2541
2539
  * attribute to it.
2542
2540
  * @param id
2543
2541
  * @virtual
@@ -2552,7 +2550,7 @@ export namespace Panel {
2552
2550
 
2553
2551
  /**
2554
2552
  * Sets the orientation of the `orientable`.
2555
- * @param orientation the orientable&#x2019;s new orientation
2553
+ * @param orientation the orientables new orientation
2556
2554
  */
2557
2555
  set_orientation(orientation: Gtk.Orientation): void;
2558
2556
  }
@@ -3027,7 +3025,7 @@ export namespace Panel {
3027
3025
  /**
3028
3026
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
3029
3027
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
3030
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
3028
+ * object has some notion of ID and it makes sense to map the XML id
3031
3029
  * attribute to it.
3032
3030
  * @param id
3033
3031
  * @virtual
@@ -3547,7 +3545,7 @@ export namespace Panel {
3547
3545
  /**
3548
3546
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
3549
3547
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
3550
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
3548
+ * object has some notion of ID and it makes sense to map the XML id
3551
3549
  * attribute to it.
3552
3550
  * @param id
3553
3551
  * @virtual
@@ -3562,7 +3560,7 @@ export namespace Panel {
3562
3560
 
3563
3561
  /**
3564
3562
  * Sets the orientation of the `orientable`.
3565
- * @param orientation the orientable&#x2019;s new orientation
3563
+ * @param orientation the orientables new orientation
3566
3564
  */
3567
3565
  set_orientation(orientation: Gtk.Orientation): void;
3568
3566
 
@@ -4143,7 +4141,7 @@ export namespace Panel {
4143
4141
  /**
4144
4142
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
4145
4143
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
4146
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
4144
+ * object has some notion of ID and it makes sense to map the XML id
4147
4145
  * attribute to it.
4148
4146
  * @param id
4149
4147
  * @virtual
@@ -5246,7 +5244,7 @@ export namespace Panel {
5246
5244
  /**
5247
5245
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
5248
5246
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
5249
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
5247
+ * object has some notion of ID and it makes sense to map the XML id
5250
5248
  * attribute to it.
5251
5249
  * @param id
5252
5250
  * @virtual
@@ -5697,7 +5695,7 @@ export namespace Panel {
5697
5695
  /**
5698
5696
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
5699
5697
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
5700
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
5698
+ * object has some notion of ID and it makes sense to map the XML id
5701
5699
  * attribute to it.
5702
5700
  * @param id
5703
5701
  * @virtual
@@ -6612,7 +6610,7 @@ export namespace Panel {
6612
6610
  * Usually this function is used when the widget is located (or will be
6613
6611
  * located) within the hierarchy of a {@link Gtk.ApplicationWindow}.
6614
6612
  *
6615
- * Names are of the form &#x201C;win.save&#x201D; or &#x201C;app.quit&#x201D; for actions on the
6613
+ * Names are of the form win.save or app.quit for actions on the
6616
6614
  * containing {@link ApplicationWindow} or its associated {@link Application},
6617
6615
  * respectively. This is the same form used for actions in the {@link Gio.Menu}
6618
6616
  * associated with the window.
@@ -6628,14 +6626,14 @@ export namespace Panel {
6628
6626
  * The target value has two purposes. First, it is used as the parameter
6629
6627
  * to activation of the action associated with the {@link Gtk.Actionable} widget.
6630
6628
  * Second, it is used to determine if the widget should be rendered as
6631
- * &#x201C;active&#x201D; &#x2014; the widget is active if the state is equal to the given target.
6629
+ * active the widget is active if the state is equal to the given target.
6632
6630
  *
6633
6631
  * Consider the example of associating a set of buttons with a {@link Gio.Action}
6634
- * with string state in a typical &#x201C;radio button&#x201D; situation. Each button
6632
+ * with string state in a typical radio button situation. Each button
6635
6633
  * will be associated with the same action, but with a different target
6636
6634
  * value for that action. Clicking on a particular button will activate
6637
6635
  * the action with the target of that button, which will typically cause
6638
- * the action&#x2019;s state to change to that value. Since the action&#x2019;s state
6636
+ * the actions state to change to that value. Since the actions state
6639
6637
  * is now equal to the target value of the button, the button will now
6640
6638
  * be rendered as active (and the other buttons, with different targets,
6641
6639
  * rendered inactive).
@@ -6675,7 +6673,7 @@ export namespace Panel {
6675
6673
  * Usually this function is used when the widget is located (or will be
6676
6674
  * located) within the hierarchy of a {@link Gtk.ApplicationWindow}.
6677
6675
  *
6678
- * Names are of the form &#x201C;win.save&#x201D; or &#x201C;app.quit&#x201D; for actions on the
6676
+ * Names are of the form win.save or app.quit for actions on the
6679
6677
  * containing {@link ApplicationWindow} or its associated {@link Application},
6680
6678
  * respectively. This is the same form used for actions in the {@link Gio.Menu}
6681
6679
  * associated with the window.
@@ -6692,14 +6690,14 @@ export namespace Panel {
6692
6690
  * The target value has two purposes. First, it is used as the parameter
6693
6691
  * to activation of the action associated with the {@link Gtk.Actionable} widget.
6694
6692
  * Second, it is used to determine if the widget should be rendered as
6695
- * &#x201C;active&#x201D; &#x2014; the widget is active if the state is equal to the given target.
6693
+ * active the widget is active if the state is equal to the given target.
6696
6694
  *
6697
6695
  * Consider the example of associating a set of buttons with a {@link Gio.Action}
6698
- * with string state in a typical &#x201C;radio button&#x201D; situation. Each button
6696
+ * with string state in a typical radio button situation. Each button
6699
6697
  * will be associated with the same action, but with a different target
6700
6698
  * value for that action. Clicking on a particular button will activate
6701
6699
  * the action with the target of that button, which will typically cause
6702
- * the action&#x2019;s state to change to that value. Since the action&#x2019;s state
6700
+ * the actions state to change to that value. Since the actions state
6703
6701
  * is now equal to the target value of the button, the button will now
6704
6702
  * be rendered as active (and the other buttons, with different targets,
6705
6703
  * rendered inactive).
@@ -6799,7 +6797,7 @@ export namespace Panel {
6799
6797
  /**
6800
6798
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
6801
6799
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
6802
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
6800
+ * object has some notion of ID and it makes sense to map the XML id
6803
6801
  * attribute to it.
6804
6802
  * @param id
6805
6803
  * @virtual
@@ -7288,7 +7286,7 @@ export namespace Panel {
7288
7286
  /**
7289
7287
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
7290
7288
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
7291
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
7289
+ * object has some notion of ID and it makes sense to map the XML id
7292
7290
  * attribute to it.
7293
7291
  * @param id
7294
7292
  * @virtual
@@ -7303,7 +7301,7 @@ export namespace Panel {
7303
7301
 
7304
7302
  /**
7305
7303
  * Sets the orientation of the `orientable`.
7306
- * @param orientation the orientable&#x2019;s new orientation
7304
+ * @param orientation the orientables new orientation
7307
7305
  */
7308
7306
  set_orientation(orientation: Gtk.Orientation): void;
7309
7307
  }
@@ -9514,7 +9512,7 @@ export namespace Panel {
9514
9512
  /**
9515
9513
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
9516
9514
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
9517
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
9515
+ * object has some notion of ID and it makes sense to map the XML id
9518
9516
  * attribute to it.
9519
9517
  * @param id
9520
9518
  * @virtual
@@ -9983,7 +9981,7 @@ export namespace Panel {
9983
9981
  /**
9984
9982
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
9985
9983
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
9986
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
9984
+ * object has some notion of ID and it makes sense to map the XML id
9987
9985
  * attribute to it.
9988
9986
  * @param id
9989
9987
  * @virtual
@@ -10439,7 +10437,7 @@ export namespace Panel {
10439
10437
  /**
10440
10438
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
10441
10439
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
10442
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
10440
+ * object has some notion of ID and it makes sense to map the XML id
10443
10441
  * attribute to it.
10444
10442
  * @param id
10445
10443
  * @virtual
@@ -11278,7 +11276,7 @@ export namespace Panel {
11278
11276
  /**
11279
11277
  * Stores the id attribute given in the {@link Gtk.Builder} UI definition.
11280
11278
  * {@link Gtk.Widget} stores the name as object data. Implement this method if your
11281
- * object has some notion of &#x201C;ID&#x201D; and it makes sense to map the XML id
11279
+ * object has some notion of ID and it makes sense to map the XML id
11282
11280
  * attribute to it.
11283
11281
  * @param id
11284
11282
  * @virtual
package/tsconfig.json CHANGED
@@ -68,7 +68,7 @@
68
68
  ]
69
69
  }
70
70
  },
71
- "include": ["./panel-1.d.ts"]
71
+ "include": ["./panel-1.d.ts","./panel-1-surface.d.ts"]
72
72
  }
73
73
 
74
74