@girs/braseroburn-3.1 4.3.0 → 4.5.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
@@ -4,82 +4,96 @@
4
4
  ![version](https://img.shields.io/npm/v/@girs/braseroburn-3.1)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/braseroburn-3.1)
6
6
 
7
+ GJS TypeScript type definitions for BraseroBurn-3.1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.5.0.
7
8
 
8
- GJS TypeScript type definitions for BraseroBurn-3.1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.3.0.
9
+ This package contains type declarations only. It ships no runtime code, so it adds
10
+ nothing to your program and works with any bundler or none at all.
9
11
 
10
12
  ## Install
11
13
 
12
- Install the type definitions with npm:
13
14
  ```bash
14
15
  npm install @girs/braseroburn-3.1
15
16
  ```
16
17
 
17
- ## Usage
18
+ Any package manager works. The package has no dependencies beyond other `@girs/*`
19
+ type packages.
20
+
21
+ ## What it exports
22
+
23
+ | Import | What you get |
24
+ |---|---|
25
+ | `@girs/braseroburn-3.1` | the namespace as a default export, plus the ambient and global declarations |
26
+ | `@girs/braseroburn-3.1/ambient` | only the `gi://` module declarations |
27
+ | `@girs/braseroburn-3.1/import` | only the `imports.gi` declarations |
28
+ | `@girs/braseroburn-3.1/braseroburn-3.1` | the namespace, without the side-effecting declarations |
29
+ | `@girs/braseroburn-3.1/vocabulary` | GIR-derived widget data: settable properties, enum nicks, slot candidates |
30
+
31
+ ## Three ways to import
32
+
33
+ Which one you use depends on how you write imports elsewhere, not on your toolchain.
34
+
35
+ ### As a module
18
36
 
19
- Import it like any other module:
20
37
  ```ts
21
38
  import BraseroBurn from '@girs/braseroburn-3.1';
22
39
  ```
23
40
 
24
- ### Ambient Modules
41
+ ### As `gi://`
25
42
 
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
- For this you need to include `@girs/braseroburn-3.1` or `@girs/braseroburn-3.1/ambient` in your `tsconfig` or entry point Typescript file:
43
+ GJS resolves `gi://` at runtime. To give it types, reference the package once, either
44
+ from your entry point or from `tsconfig.json`:
28
45
 
29
- `index.ts`:
30
46
  ```ts
31
- import '@girs/braseroburn-3.1'
47
+ import '@girs/braseroburn-3.1';
32
48
  ```
33
49
 
34
- `tsconfig.json`:
35
50
  ```json
36
- {
37
- "compilerOptions": {
38
- ...
39
- },
40
- "include": ["@girs/braseroburn-3.1"],
41
- ...
42
- }
51
+ { "include": ["@girs/braseroburn-3.1"] }
43
52
  ```
44
53
 
45
- The ambient module now resolves with types:
54
+ Then the runtime spelling type-checks:
46
55
 
47
56
  ```ts
48
57
  import BraseroBurn from 'gi://BraseroBurn?version=3.1';
49
58
  ```
50
59
 
51
- ### Global import
60
+ Referencing `@girs/braseroburn-3.1/ambient` instead pulls in these declarations
61
+ alone. See [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules).
62
+
63
+ ### As `imports.gi`
52
64
 
53
- GJS's global `imports.gi` works too, with types.
54
- For this you need to include `@girs/braseroburn-3.1` or `@girs/braseroburn-3.1/import` in your `tsconfig` or entry point Typescript file:
65
+ GJS's global object works the same way, via `@girs/braseroburn-3.1/import`:
55
66
 
56
- `index.ts`:
57
67
  ```ts
58
- import '@girs/braseroburn-3.1'
68
+ const BraseroBurn = imports.gi.BraseroBurn;
59
69
  ```
60
70
 
61
- `tsconfig.json`:
62
- ```json
63
- {
64
- "compilerOptions": {
65
- ...
66
- },
67
- "include": ["@girs/braseroburn-3.1"],
68
- ...
69
- }
70
- ```
71
+ ## Widget vocabulary
71
72
 
72
- That form carries types as well:
73
+ `braseroburn-3.1` declares widgets, so it also carries what the GIR says about them, as
74
+ types and as values a test can read:
73
75
 
74
76
  ```ts
75
- const BraseroBurn = imports.gi.BraseroBurn;
77
+ import type { Widgets, PropsOf } from '@girs/braseroburn-3.1/vocabulary';
78
+ import { OWN_PROPS, ENUM_NICKS, PROVENANCE } from '@girs/braseroburn-3.1/vocabulary';
76
79
  ```
77
80
 
78
- ### Bundle
81
+ Properties are keyed the way GObject registered them, writable-only and optional, so they
82
+ match `g_object_set`, GtkBuilder XML and Blueprint. `PROVENANCE.libraryVersion` names the
83
+ library release this was generated from, which lets a check tell "newer than what is
84
+ installed" from "wrong".
79
85
 
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.
86
+ This subpath answers what the GIR says, not what the installed library has. For the
87
+ second question, ask the library.
88
+
89
+ ## Building
90
+
91
+ The declarations need no build step. If you bundle, every bundler works, since there is
92
+ no runtime code to resolve. The [examples](https://github.com/gjsify/ts-for-gir/tree/main/examples)
93
+ show working setups for several.
81
94
 
82
95
  ## Other packages
83
96
 
84
- All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
97
+ Every pre-generated package is at [gjsify/types](https://github.com/gjsify/types).
98
+
85
99
 
@@ -121,6 +121,23 @@ export interface Widgets {
121
121
  /** Every GType this namespace can create. A consumer derives its own tag map. */
122
122
  export type WidgetGType = keyof Widgets;
123
123
 
124
+ // ---------------------------------------------------------------------------
125
+ // Child holders — the same shape, for objects that CARRY a widget without being one.
126
+ //
127
+ // `GtkListItem`, `GtkListHeader`, `GtkColumnViewCell` and `AdwToggle` descend from
128
+ // `GObject.Object` and hold a widget through `set_child`/`get_child`. A renderer places
129
+ // them exactly like a container, so they belong in the vocabulary; a check asking "is
130
+ // this a widget" must still be able to say no. Hence a sibling table rather than four
131
+ // more rows in `Widgets`: concatenate them when you mean both.
132
+ // ---------------------------------------------------------------------------
133
+
134
+ export interface ChildHolders {
135
+
136
+ }
137
+
138
+ /** Every GType this namespace holds a child in without it being a widget. */
139
+ export type ChildHolderGType = keyof ChildHolders;
140
+
124
141
  /** The writable, optional, GObject-keyed property surface of one GType. */
125
142
  export type PropsOf<G extends WidgetGType> = Widgets[G]['props'];
126
143
 
@@ -156,6 +173,9 @@ export const OWN_SIGNALS: Readonly<Record<string, readonly string[]>>;
156
173
  /** Widget GType -> every declaration its members come from, self first. */
157
174
  export const DECLS: Readonly<Record<string, readonly string[]>>;
158
175
 
176
+ /** The GTypes in `DECLS` that hold a widget without being one — see `ChildHolders`. */
177
+ export const CHILD_HOLDERS: readonly string[];
178
+
159
179
  /** Enum GType -> the nicks this surface offers. */
160
180
  export const ENUM_NICKS: Readonly<Record<string, readonly string[]>>;
161
181
 
@@ -21,6 +21,12 @@ export const DECLS = {
21
21
  BraseroToolDialog: ['BraseroToolDialog', 'GtkDialog', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
22
22
  };
23
23
 
24
+ // The GTypes above that are NOT widgets: they hold one through `set_child`/`get_child`
25
+ // and descend from `GObject.Object`. A renderer places them like a container; a check
26
+ // asking "is this a widget" must not count them. Derived from the accessor pair, never
27
+ // from a list — the count is in the provenance line above.
28
+ export const CHILD_HOLDERS = [];
29
+
24
30
  export const ENUM_NICKS = {};
25
31
 
26
32
  export const SLOT_CANDIDATES = {
@@ -0,0 +1,216 @@
1
+ /**
2
+ * The GIR-derived widget VOCABULARY for BraseroBurn-3.1.
3
+ *
4
+ * GENERATED — do not edit. Provenance: BraseroBurn-3.1 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Atk.ImplementorIface
5
+ *
6
+ * 4 concrete widgets, 4 declarations, 0 enum nick unions, 1 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 BraseroBurn from './braseroburn-3.1.js';
28
+ import type { GtkBinConstructOnly, GtkBinProps, GtkBuildableConstructOnly, GtkBuildableProps, GtkContainerConstructOnly, GtkContainerProps, GtkDialogConstructOnly, GtkDialogProps, GtkWidgetConstructOnly, GtkWidgetProps, GtkWindowConstructOnly, GtkWindowProps } from '@girs/gtk-3.0/vocabulary';
29
+
30
+ // ---------------------------------------------------------------------------
31
+ // Enum nicks — the string vocabulary GObject registered, from GIR's `glib:nick`.
32
+ //
33
+ // Not derived from the member name. Substituting underscores for dashes is not a law:
34
+ // some nicks keep an underscore the substitution would have replaced, and only the
35
+ // attribute knows which. Gtk-4.0 and Adw-1 contradict no derivation at all, which is
36
+ // how a derived nick passes review and breaks elsewhere.
37
+ // Re-measure with `scripts/check-nick-derivation.mjs` in ts-for-gir.
38
+ // ---------------------------------------------------------------------------
39
+
40
+
41
+
42
+ // ---------------------------------------------------------------------------
43
+ // Property surfaces — one interface per GIR DECLARATION, mirroring GIR's own
44
+ // inheritance rather than flattening per widget.
45
+ //
46
+ // The interfaces are load-bearing, not tidiness: `GtkBox` declares four properties
47
+ // of its own and `orientation` is not among them — it lives on `Gtk.Orientable`,
48
+ // because GObject installs interface properties on the implementor at runtime while
49
+ // GIR keeps them once, on the interface.
50
+ // ---------------------------------------------------------------------------
51
+
52
+ export interface BraseroBurnDialogProps extends GtkDialogProps, GtkBuildableProps {
53
+ }
54
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
55
+ export type BraseroBurnDialogConstructOnly = GtkDialogConstructOnly | GtkBuildableConstructOnly;
56
+
57
+ export interface BraseroBurnOptionsProps extends GtkDialogProps, GtkBuildableProps {
58
+ session?: BraseroBurn.BurnSession;
59
+ }
60
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
61
+ export type BraseroBurnOptionsConstructOnly = GtkDialogConstructOnly | GtkBuildableConstructOnly | 'session';
62
+
63
+ export interface BraseroSumDialogProps extends BraseroToolDialogProps, GtkBuildableProps {
64
+ }
65
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
66
+ export type BraseroSumDialogConstructOnly = BraseroToolDialogConstructOnly | GtkBuildableConstructOnly;
67
+
68
+ export interface BraseroToolDialogProps extends GtkDialogProps, GtkBuildableProps {
69
+ }
70
+ /** Settable only at construction — a renderer must REBUILD, not patch. */
71
+ export type BraseroToolDialogConstructOnly = GtkDialogConstructOnly | GtkBuildableConstructOnly;
72
+
73
+ // ---------------------------------------------------------------------------
74
+ // The GType-keyed widget map.
75
+ //
76
+ // Keyed by GType because that is also the GtkBuilder XML key and the typelib key. A
77
+ // consumer maps GTypes to tags in ITS convention — kebab for JSX intrinsics, Pascal
78
+ // for a Vue `GlobalComponents`, the class itself for a renderer whose element type
79
+ // is the class. None of those is baked in here.
80
+ //
81
+ // `slotCandidates` is a candidate list and never an answer: derived from methods
82
+ // taking exactly one widget argument. The GIR cannot tell adoption from reference —
83
+ // `set_title_widget` parents its argument and `set_activatable_widget` does not, and
84
+ // both are `void f(GtkWidget*)` at `transfer-ownership="none"`. Curation decides;
85
+ // this is what notices when a release adds a candidate.
86
+ // ---------------------------------------------------------------------------
87
+
88
+ export interface Widgets {
89
+ BraseroBurnDialog: {
90
+ class: BraseroBurn.BurnDialog;
91
+ props: BraseroBurnDialogProps;
92
+ signals: BraseroBurn.BurnDialog.SignalSignatures;
93
+ constructOnly: BraseroBurnDialogConstructOnly;
94
+ slotCandidates: {};
95
+ };
96
+ BraseroBurnOptions: {
97
+ class: BraseroBurn.BurnOptions;
98
+ props: BraseroBurnOptionsProps;
99
+ signals: BraseroBurn.BurnOptions.SignalSignatures;
100
+ constructOnly: BraseroBurnOptionsConstructOnly;
101
+ slotCandidates: {
102
+ 'options': 'add_options';
103
+ };
104
+ };
105
+ BraseroSumDialog: {
106
+ class: BraseroBurn.SumDialog;
107
+ props: BraseroSumDialogProps;
108
+ signals: BraseroBurn.SumDialog.SignalSignatures;
109
+ constructOnly: BraseroSumDialogConstructOnly;
110
+ slotCandidates: {};
111
+ };
112
+ BraseroToolDialog: {
113
+ class: BraseroBurn.ToolDialog;
114
+ props: BraseroToolDialogProps;
115
+ signals: BraseroBurn.ToolDialog.SignalSignatures;
116
+ constructOnly: BraseroToolDialogConstructOnly;
117
+ slotCandidates: {};
118
+ };
119
+ }
120
+
121
+ /** Every GType this namespace can create. A consumer derives its own tag map. */
122
+ export type WidgetGType = keyof Widgets;
123
+
124
+ // ---------------------------------------------------------------------------
125
+ // Child holders — the same shape, for objects that CARRY a widget without being one.
126
+ //
127
+ // `GtkListItem`, `GtkListHeader`, `GtkColumnViewCell` and `AdwToggle` descend from
128
+ // `GObject.Object` and hold a widget through `set_child`/`get_child`. A renderer places
129
+ // them exactly like a container, so they belong in the vocabulary; a check asking "is
130
+ // this a widget" must still be able to say no. Hence a sibling table rather than four
131
+ // more rows in `Widgets`: concatenate them when you mean both.
132
+ // ---------------------------------------------------------------------------
133
+
134
+ export interface ChildHolders {
135
+
136
+ }
137
+
138
+ /** Every GType this namespace holds a child in without it being a widget. */
139
+ export type ChildHolderGType = keyof ChildHolders;
140
+
141
+ /** The writable, optional, GObject-keyed property surface of one GType. */
142
+ export type PropsOf<G extends WidgetGType> = Widgets[G]['props'];
143
+
144
+ /** The signal table this package already emits, reached by GType. */
145
+ export type SignalsOf<G extends WidgetGType> = Widgets[G]['signals'];
146
+
147
+ /** The instance type — what a `ref`-shaped prop should infer. */
148
+ export type InstanceOf<G extends WidgetGType> = Widgets[G]['class'];
149
+
150
+ /** Property names that can only be set at construction. */
151
+ export type ConstructOnlyOf<G extends WidgetGType> = Widgets[G]['constructOnly'];
152
+
153
+ /** Candidate child slots — see the note above; curation decides. */
154
+ export type SlotCandidatesOf<G extends WidgetGType> = keyof Widgets[G]['slotCandidates'];
155
+
156
+ /**
157
+ * The same facts as runtime data, for a consumer that CHECKS them.
158
+ *
159
+ * Types are erased, so a spec that asks the installed GTK whether every property
160
+ * here is a writable ParamSpec, every signal resolvable by `GObject.signal_lookup`
161
+ * and every nick resolvable through an enum lookup cannot read the interfaces
162
+ * above. Emitted headlessly with no GTK present, which is exactly why the checking
163
+ * belongs to the consumer and the DATA belongs here.
164
+ */
165
+ export const PROVENANCE: {
166
+ readonly namespace: string;
167
+ readonly version: string;
168
+ /** The version the LIBRARY states, or null where it states none. Never the namespace's. */
169
+ readonly libraryVersion: string | null;
170
+ readonly childHolders: number;
171
+ readonly droppedBases: readonly string[];
172
+ readonly inlinedBases: readonly string[];
173
+ readonly unsettableProps: readonly string[];
174
+ };
175
+
176
+ /** Declaration GType -> its own settable properties, as GObject registered them. */
177
+ export const OWN_PROPS: Readonly<Record<string, readonly string[]>>;
178
+
179
+ /**
180
+ * Declaration GType -> the signals it registers itself, never its parents'.
181
+ *
182
+ * Keyed like `OWN_PROPS`, so both are read at every link of a `DECLS` chain. An
183
+ * abstract base has no `Widgets` row and still owns signals — `GtkWidget` owns 13.
184
+ */
185
+ export const OWN_SIGNALS: Readonly<Record<string, readonly string[]>>;
186
+
187
+ /** Widget GType -> every declaration its members come from, self first. */
188
+ export const DECLS: Readonly<Record<string, readonly string[]>>;
189
+
190
+ /** The GTypes in `DECLS` that hold a widget without being one — see `ChildHolders`. */
191
+ export const CHILD_HOLDERS: readonly string[];
192
+
193
+ /** Enum GType -> the nicks this surface offers. */
194
+ export const ENUM_NICKS: Readonly<Record<string, readonly string[]>>;
195
+
196
+ /** Widget GType -> slot name -> the method that may adopt a child there. */
197
+ export const SLOT_CANDIDATES: Readonly<Record<string, Readonly<Record<string, string>>>>;
198
+
199
+ /**
200
+ * `Type`, `Type.property` and `Type::signal` -> the release that introduced it.
201
+ *
202
+ * What keeps a runtime cross-check honest across a version gap without an
203
+ * allowlist: a name the installed library lacks is a defect UNLESS the version
204
+ * here is newer than the one running.
205
+ *
206
+ * ALL THREE key shapes, because that test only works for the names it covers. A
207
+ * property-only map leaves a consumer no way to explain a missing SIGNAL, which is
208
+ * a correct vocabulary reported as 18 defects; a member-only map leaves it no way to
209
+ * explain a missing CLASS, and that one fails as a bare
210
+ * `TypeError: can't access property "$gtype", ctor() is undefined` that does not
211
+ * even name the GType.
212
+ *
213
+ * A key is present only where the GIR states a version — sparse by nature (`version`
214
+ * sits on 29 of the 301 classes and interfaces in Gtk-4.0), never inferred.
215
+ */
216
+ export const SINCE: Readonly<Record<string, string>>;
@@ -0,0 +1,46 @@
1
+ // The widget vocabulary of BraseroBurn-3.1 as runtime data.
2
+ //
3
+ // GENERATED — do not edit. Provenance: BraseroBurn-3.1 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object 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: 'BraseroBurn',
11
+ version: '3.1',
12
+ libraryVersion: null,
13
+ childHolders: 0,
14
+ droppedBases: ['GObject.InitiallyUnowned', 'GObject.Object', 'Atk.ImplementorIface'],
15
+ inlinedBases: [],
16
+ unsettableProps: [],
17
+ };
18
+
19
+ export const OWN_PROPS = {
20
+ BraseroBurnOptions: ['session'],
21
+ };
22
+
23
+ export const OWN_SIGNALS = {};
24
+
25
+ export const DECLS = {
26
+ BraseroBurnDialog: ['BraseroBurnDialog', 'GtkDialog', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
27
+ BraseroBurnOptions: ['BraseroBurnOptions', 'GtkDialog', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
28
+ BraseroSumDialog: ['BraseroSumDialog', 'BraseroToolDialog', 'GtkDialog', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
29
+ BraseroToolDialog: ['BraseroToolDialog', 'GtkDialog', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
30
+ };
31
+
32
+ // The GTypes above that are NOT widgets: they hold one through `set_child`/`get_child`
33
+ // and descend from `GObject.Object`. A renderer places them like a container; a check
34
+ // asking "is this a widget" must not count them. Derived from the accessor pair, never
35
+ // from a list — the count is in the provenance line above.
36
+ export const CHILD_HOLDERS = [];
37
+
38
+ export const ENUM_NICKS = {};
39
+
40
+ export const SLOT_CANDIDATES = {
41
+ BraseroBurnOptions: {
42
+ 'options': 'add_options',
43
+ },
44
+ };
45
+
46
+ export const SINCE = {};
@@ -36,25 +36,25 @@ export namespace BraseroBurn {
36
36
  * @gir-type Enum
37
37
  */
38
38
  enum BurnAction {
39
- NONE,
40
- GETTING_SIZE,
41
- CREATING_IMAGE,
42
- RECORDING,
43
- BLANKING,
44
- CHECKSUM,
45
- DRIVE_COPY,
46
- FILE_COPY,
47
- ANALYSING,
48
- TRANSCODING,
49
- PREPARING,
50
- LEADIN,
51
- RECORDING_CD_TEXT,
52
- FIXATING,
53
- LEADOUT,
54
- START_RECORDING,
55
- FINISHED,
56
- EJECTING,
57
- LAST,
39
+ NONE = 0,
40
+ GETTING_SIZE = 1,
41
+ CREATING_IMAGE = 2,
42
+ RECORDING = 3,
43
+ BLANKING = 4,
44
+ CHECKSUM = 5,
45
+ DRIVE_COPY = 6,
46
+ FILE_COPY = 7,
47
+ ANALYSING = 8,
48
+ TRANSCODING = 9,
49
+ PREPARING = 10,
50
+ LEADIN = 11,
51
+ RECORDING_CD_TEXT = 12,
52
+ FIXATING = 13,
53
+ LEADOUT = 14,
54
+ START_RECORDING = 15,
55
+ FINISHED = 16,
56
+ EJECTING = 17,
57
+ LAST = 18,
58
58
  }
59
59
 
60
60
 
@@ -62,39 +62,39 @@ export namespace BraseroBurn {
62
62
  * @gir-type Enum
63
63
  */
64
64
  enum BurnError {
65
- ERROR_NONE,
66
- ERROR_GENERAL,
67
- ERROR_PLUGIN_MISBEHAVIOR,
68
- ERROR_SLOW_DMA,
69
- ERROR_PERMISSION,
70
- ERROR_DRIVE_BUSY,
71
- ERROR_DISK_SPACE,
72
- ERROR_EMPTY,
73
- ERROR_INPUT_INVALID,
74
- ERROR_OUTPUT_NONE,
75
- ERROR_FILE_INVALID,
76
- ERROR_FILE_FOLDER,
77
- ERROR_FILE_PLAYLIST,
78
- ERROR_FILE_NOT_FOUND,
79
- ERROR_FILE_NOT_LOCAL,
80
- ERROR_WRITE_MEDIUM,
81
- ERROR_WRITE_IMAGE,
82
- ERROR_IMAGE_INVALID,
83
- ERROR_IMAGE_JOLIET,
84
- ERROR_IMAGE_LAST_SESSION,
85
- ERROR_MEDIUM_NONE,
86
- ERROR_MEDIUM_INVALID,
87
- ERROR_MEDIUM_SPACE,
88
- ERROR_MEDIUM_NO_DATA,
89
- ERROR_MEDIUM_NOT_WRITABLE,
90
- ERROR_MEDIUM_NOT_REWRITABLE,
91
- ERROR_MEDIUM_NEED_RELOADING,
92
- ERROR_BAD_CHECKSUM,
93
- ERROR_MISSING_APP_AND_PLUGIN,
94
- WARNING_CHECKSUM,
95
- WARNING_INSERT_AFTER_COPY,
96
- ERROR_TMP_DIRECTORY,
97
- ERROR_ENCRYPTION_KEY,
65
+ ERROR_NONE = 0,
66
+ ERROR_GENERAL = 1,
67
+ ERROR_PLUGIN_MISBEHAVIOR = 2,
68
+ ERROR_SLOW_DMA = 3,
69
+ ERROR_PERMISSION = 4,
70
+ ERROR_DRIVE_BUSY = 5,
71
+ ERROR_DISK_SPACE = 6,
72
+ ERROR_EMPTY = 7,
73
+ ERROR_INPUT_INVALID = 8,
74
+ ERROR_OUTPUT_NONE = 9,
75
+ ERROR_FILE_INVALID = 10,
76
+ ERROR_FILE_FOLDER = 11,
77
+ ERROR_FILE_PLAYLIST = 12,
78
+ ERROR_FILE_NOT_FOUND = 13,
79
+ ERROR_FILE_NOT_LOCAL = 14,
80
+ ERROR_WRITE_MEDIUM = 15,
81
+ ERROR_WRITE_IMAGE = 16,
82
+ ERROR_IMAGE_INVALID = 17,
83
+ ERROR_IMAGE_JOLIET = 18,
84
+ ERROR_IMAGE_LAST_SESSION = 19,
85
+ ERROR_MEDIUM_NONE = 20,
86
+ ERROR_MEDIUM_INVALID = 21,
87
+ ERROR_MEDIUM_SPACE = 22,
88
+ ERROR_MEDIUM_NO_DATA = 23,
89
+ ERROR_MEDIUM_NOT_WRITABLE = 24,
90
+ ERROR_MEDIUM_NOT_REWRITABLE = 25,
91
+ ERROR_MEDIUM_NEED_RELOADING = 26,
92
+ ERROR_BAD_CHECKSUM = 27,
93
+ ERROR_MISSING_APP_AND_PLUGIN = 28,
94
+ WARNING_CHECKSUM = 29,
95
+ WARNING_INSERT_AFTER_COPY = 30,
96
+ ERROR_TMP_DIRECTORY = 31,
97
+ ERROR_ENCRYPTION_KEY = 32,
98
98
  }
99
99
 
100
100
 
@@ -102,16 +102,16 @@ export namespace BraseroBurn {
102
102
  * @gir-type Enum
103
103
  */
104
104
  enum BurnResult {
105
- OK,
106
- ERR,
107
- RETRY,
108
- CANCEL,
109
- RUNNING,
110
- DANGEROUS,
111
- NOT_READY,
112
- NOT_RUNNING,
113
- NEED_RELOAD,
114
- NOT_SUPPORTED,
105
+ OK = 0,
106
+ ERR = 1,
107
+ RETRY = 2,
108
+ CANCEL = 3,
109
+ RUNNING = 4,
110
+ DANGEROUS = 5,
111
+ NOT_READY = 6,
112
+ NOT_RUNNING = 7,
113
+ NEED_RELOAD = 8,
114
+ NOT_SUPPORTED = 9,
115
115
  }
116
116
 
117
117
 
@@ -119,14 +119,14 @@ export namespace BraseroBurn {
119
119
  * @gir-type Enum
120
120
  */
121
121
  enum PluginErrorType {
122
- NONE,
123
- MODULE,
124
- MISSING_APP,
125
- WRONG_APP_VERSION,
126
- SYMBOLIC_LINK_APP,
127
- MISSING_LIBRARY,
128
- LIBRARY_VERSION,
129
- MISSING_GSTREAMER_PLUGIN,
122
+ NONE = 0,
123
+ MODULE = 1,
124
+ MISSING_APP = 2,
125
+ WRONG_APP_VERSION = 3,
126
+ SYMBOLIC_LINK_APP = 4,
127
+ MISSING_LIBRARY = 5,
128
+ LIBRARY_VERSION = 6,
129
+ MISSING_GSTREAMER_PLUGIN = 7,
130
130
  }
131
131
 
132
132
 
@@ -134,18 +134,18 @@ export namespace BraseroBurn {
134
134
  * @gir-type Enum
135
135
  */
136
136
  enum SessionError {
137
- VALID,
138
- NO_CD_TEXT,
139
- NOT_READY,
140
- EMPTY,
141
- NO_INPUT_IMAGE,
142
- UNKNOWN_IMAGE,
143
- NO_INPUT_MEDIUM,
144
- NO_OUTPUT,
145
- INSUFFICIENT_SPACE,
146
- OVERBURN_NECESSARY,
147
- NOT_SUPPORTED,
148
- DISC_PROTECTED,
137
+ VALID = 0,
138
+ NO_CD_TEXT = 1,
139
+ NOT_READY = 2,
140
+ EMPTY = 3,
141
+ NO_INPUT_IMAGE = 4,
142
+ UNKNOWN_IMAGE = 5,
143
+ NO_INPUT_MEDIUM = 6,
144
+ NO_OUTPUT = 7,
145
+ INSUFFICIENT_SPACE = 8,
146
+ OVERBURN_NECESSARY = 9,
147
+ NOT_SUPPORTED = 10,
148
+ DISC_PROTECTED = 11,
149
149
  }
150
150
 
151
151
 
@@ -153,10 +153,10 @@ export namespace BraseroBurn {
153
153
  * @gir-type Enum
154
154
  */
155
155
  enum StatusType {
156
- OK,
157
- ERROR,
158
- QUESTION,
159
- INFORMATION,
156
+ OK = 0,
157
+ ERROR = 1,
158
+ QUESTION = 2,
159
+ INFORMATION = 3,
160
160
  }
161
161
 
162
162
 
@@ -164,61 +164,121 @@ export namespace BraseroBurn {
164
164
  * @gir-type Enum
165
165
  */
166
166
  enum TrackDataCfgColumn {
167
- NAME,
168
- URI,
169
- MIME_DESC,
170
- MIME_ICON,
171
- SIZE,
172
- SHOW_PERCENT,
173
- PERCENT,
174
- STYLE,
175
- COLOR,
176
- EDITABLE,
177
- IS_FILE,
178
- IS_LOADING,
179
- IS_IMPORTED,
180
- COL_NUM,
167
+ NAME = 0,
168
+ URI = 1,
169
+ MIME_DESC = 2,
170
+ MIME_ICON = 3,
171
+ SIZE = 4,
172
+ SHOW_PERCENT = 5,
173
+ PERCENT = 6,
174
+ STYLE = 7,
175
+ COLOR = 8,
176
+ EDITABLE = 9,
177
+ IS_FILE = 10,
178
+ IS_LOADING = 11,
179
+ IS_IMPORTED = 12,
180
+ COL_NUM = 13,
181
181
  }
182
182
 
183
183
 
184
+ /**
185
+ * @default session::art::cover
186
+ */
184
187
  const COVER_URI: string;
185
188
 
189
+ /**
190
+ * @default track::data::estimated_size
191
+ */
186
192
  const DATA_TRACK_SIZE_TAG: string;
187
193
 
194
+ /**
195
+ * @default GTK_TREE_MODEL_ROW
196
+ */
188
197
  const DND_TARGET_DATA_TRACK_REFERENCE_LIST: string;
189
198
 
199
+ /**
200
+ * @default session::DVD::stream::format
201
+ */
190
202
  const DVD_STREAM_FORMAT: string;
191
203
 
204
+ /**
205
+ * @default 6000000000
206
+ */
192
207
  const MIN_STREAM_LENGTH: number;
193
208
 
209
+ /**
210
+ * @default session::stream::audio::format
211
+ */
194
212
  const SESSION_STREAM_AUDIO_FORMAT: string;
195
213
 
214
+ /**
215
+ * @default track::stream::estimated_size
216
+ */
196
217
  const STREAM_TRACK_SIZE_TAG: string;
197
218
 
219
+ /**
220
+ * @default track::medium::address::end
221
+ */
198
222
  const TRACK_MEDIUM_ADDRESS_END_TAG: string;
199
223
 
224
+ /**
225
+ * @default track::medium::address::start
226
+ */
200
227
  const TRACK_MEDIUM_ADDRESS_START_TAG: string;
201
228
 
229
+ /**
230
+ * @default track::medium::error::checksum::list
231
+ */
202
232
  const TRACK_MEDIUM_WRONG_CHECKSUM_TAG: string;
203
233
 
234
+ /**
235
+ * @default track::stream::info::album
236
+ */
204
237
  const TRACK_STREAM_ALBUM_TAG: string;
205
238
 
239
+ /**
240
+ * @default track::stream::info::artist
241
+ */
206
242
  const TRACK_STREAM_ARTIST_TAG: string;
207
243
 
244
+ /**
245
+ * @default track::stream::info::composer
246
+ */
208
247
  const TRACK_STREAM_COMPOSER_TAG: string;
209
248
 
249
+ /**
250
+ * @default track::stream::info::isrc
251
+ */
210
252
  const TRACK_STREAM_ISRC_TAG: string;
211
253
 
254
+ /**
255
+ * @default track::stream::mime
256
+ */
212
257
  const TRACK_STREAM_MIME_TAG: string;
213
258
 
259
+ /**
260
+ * @default track::stream::snapshot
261
+ */
214
262
  const TRACK_STREAM_THUMBNAIL_TAG: string;
215
263
 
264
+ /**
265
+ * @default track::stream::info::title
266
+ */
216
267
  const TRACK_STREAM_TITLE_TAG: string;
217
268
 
269
+ /**
270
+ * @default session::VCD::format
271
+ */
218
272
  const VCD_TYPE: string;
219
273
 
274
+ /**
275
+ * @default session::video::aspect
276
+ */
220
277
  const VIDEO_OUTPUT_ASPECT: string;
221
278
 
279
+ /**
280
+ * @default session::video::framerate
281
+ */
222
282
  const VIDEO_OUTPUT_FRAMERATE: string;
223
283
 
224
284
  /**
@@ -238,22 +298,22 @@ export namespace BraseroBurn {
238
298
  * @gir-type Flags
239
299
  */
240
300
  enum BurnFlag {
241
- NONE,
242
- CHECK_SIZE,
243
- NOGRACE,
244
- EJECT,
245
- MERGE,
246
- MULTI,
247
- APPEND,
248
- BURNPROOF,
249
- NO_TMP_FILES,
250
- DUMMY,
251
- OVERBURN,
252
- BLANK_BEFORE_WRITE,
253
- FAST_BLANK,
254
- DAO,
255
- RAW,
256
- LAST,
301
+ NONE = 0,
302
+ CHECK_SIZE = 1,
303
+ NOGRACE = 2,
304
+ EJECT = 4,
305
+ MERGE = 8,
306
+ MULTI = 16,
307
+ APPEND = 32,
308
+ BURNPROOF = 64,
309
+ NO_TMP_FILES = 128,
310
+ DUMMY = 256,
311
+ OVERBURN = 512,
312
+ BLANK_BEFORE_WRITE = 1024,
313
+ FAST_BLANK = 2048,
314
+ DAO = 8192,
315
+ RAW = 16384,
316
+ LAST = 16385,
257
317
  }
258
318
 
259
319
 
@@ -261,14 +321,14 @@ export namespace BraseroBurn {
261
321
  * @gir-type Flags
262
322
  */
263
323
  enum ChecksumType {
264
- NONE,
265
- DETECT,
266
- MD5,
267
- MD5_FILE,
268
- SHA1,
269
- SHA1_FILE,
270
- SHA256,
271
- SHA256_FILE,
324
+ NONE = 0,
325
+ DETECT = 1,
326
+ MD5 = 2,
327
+ MD5_FILE = 4,
328
+ SHA1 = 8,
329
+ SHA1_FILE = 16,
330
+ SHA256 = 32,
331
+ SHA256_FILE = 64,
272
332
  }
273
333
 
274
334
 
@@ -276,15 +336,15 @@ export namespace BraseroBurn {
276
336
  * @gir-type Flags
277
337
  */
278
338
  enum ImageFS {
279
- FS_NONE,
280
- FS_ISO,
281
- FS_UDF,
282
- FS_JOLIET,
283
- FS_VIDEO,
284
- FS_SYMLINK,
285
- ISO_FS_LEVEL_3,
286
- ISO_FS_DEEP_DIRECTORY,
287
- FS_ANY,
339
+ FS_NONE = 0,
340
+ FS_ISO = 1,
341
+ FS_UDF = 2,
342
+ FS_JOLIET = 4,
343
+ FS_VIDEO = 8,
344
+ FS_SYMLINK = 16,
345
+ ISO_FS_LEVEL_3 = 32,
346
+ ISO_FS_DEEP_DIRECTORY = 64,
347
+ FS_ANY = 127,
288
348
  }
289
349
 
290
350
 
@@ -292,12 +352,12 @@ export namespace BraseroBurn {
292
352
  * @gir-type Flags
293
353
  */
294
354
  enum ImageFormat {
295
- NONE,
296
- BIN,
297
- CUE,
298
- CLONE,
299
- CDRDAO,
300
- ANY,
355
+ NONE = 0,
356
+ BIN = 1,
357
+ CUE = 2,
358
+ CLONE = 4,
359
+ CDRDAO = 8,
360
+ ANY = 15,
301
361
  }
302
362
 
303
363
 
@@ -305,19 +365,19 @@ export namespace BraseroBurn {
305
365
  * @gir-type Flags
306
366
  */
307
367
  enum StreamFormat {
308
- AUDIO_FORMAT_NONE,
309
- AUDIO_FORMAT_UNDEFINED,
310
- AUDIO_FORMAT_DTS,
311
- AUDIO_FORMAT_RAW,
312
- AUDIO_FORMAT_AC3,
313
- AUDIO_FORMAT_MP2,
314
- AUDIO_FORMAT_44100,
315
- AUDIO_FORMAT_48000,
316
- VIDEO_FORMAT_UNDEFINED,
317
- VIDEO_FORMAT_VCD,
318
- VIDEO_FORMAT_VIDEO_DVD,
319
- METADATA_INFO,
320
- AUDIO_FORMAT_RAW_LITTLE_ENDIAN,
368
+ AUDIO_FORMAT_NONE = 0,
369
+ AUDIO_FORMAT_UNDEFINED = 1,
370
+ AUDIO_FORMAT_DTS = 2,
371
+ AUDIO_FORMAT_RAW = 4,
372
+ AUDIO_FORMAT_AC3 = 8,
373
+ AUDIO_FORMAT_MP2 = 16,
374
+ AUDIO_FORMAT_44100 = 32,
375
+ AUDIO_FORMAT_48000 = 64,
376
+ VIDEO_FORMAT_UNDEFINED = 128,
377
+ VIDEO_FORMAT_VCD = 256,
378
+ VIDEO_FORMAT_VIDEO_DVD = 512,
379
+ METADATA_INFO = 1024,
380
+ AUDIO_FORMAT_RAW_LITTLE_ENDIAN = 2048,
321
381
  }
322
382
 
323
383
 
@@ -328,7 +388,7 @@ export namespace BraseroBurn {
328
388
  * @signal
329
389
  * @run-last
330
390
  */
331
- "action-changed": (arg0: number) => void;
391
+ "action-changed": (object: number) => void;
332
392
  /**
333
393
  * @signal
334
394
  * @run-last
@@ -348,27 +408,27 @@ export namespace BraseroBurn {
348
408
  * @signal
349
409
  * @run-last
350
410
  */
351
- "eject-failure": (arg0: unknown) => number;
411
+ "eject-failure": (object: unknown) => number;
352
412
  /**
353
413
  * @signal
354
414
  * @run-last
355
415
  */
356
- "insert-media": (arg0: unknown, arg1: number, arg2: number) => number;
416
+ "insert-media": (object: unknown, p0: number, p1: number) => number;
357
417
  /**
358
418
  * @signal
359
419
  * @run-last
360
420
  */
361
- "install-missing": (arg0: number, arg1: string) => number;
421
+ "install-missing": (object: number, p0: string) => number;
362
422
  /**
363
423
  * @signal
364
424
  * @run-last
365
425
  */
366
- "location-request": (arg0: null, arg1: number) => number;
426
+ "location-request": (object: null, p0: number) => number;
367
427
  /**
368
428
  * @signal
369
429
  * @run-last
370
430
  */
371
- "progress-changed": (arg0: number, arg1: number, arg2: number) => void;
431
+ "progress-changed": (object: number, p0: number, p1: number) => void;
372
432
  /**
373
433
  * @signal
374
434
  * @run-last
@@ -521,6 +581,7 @@ export namespace BraseroBurn {
521
581
  * set with brasero_burn_session_set_burner ().
522
582
  * @param session a {@link BraseroBurn.BurnSession}
523
583
  * @returns a {@link BraseroBurn.BurnResult}. The result of the operation. BRASERO_BURN_OK if it was successful.
584
+ * @throws GLib.Error
524
585
  */
525
586
  blank(session: BurnSession): BurnResult;
526
587
 
@@ -539,6 +600,7 @@ export namespace BraseroBurn {
539
600
  * set as the source of a {@link BraseroBurn.TrackDisc} track inserted in `session`.
540
601
  * @param session a {@link BraseroBurn.BurnSession}
541
602
  * @returns a {@link BraseroBurn.BurnResult}. The result of the operation. BRASERO_BURN_OK if it was successful.
603
+ * @throws GLib.Error
542
604
  */
543
605
  check(session: BurnSession): BurnResult;
544
606
 
@@ -558,6 +620,7 @@ export namespace BraseroBurn {
558
620
  * set in `session`.
559
621
  * @param session a {@link BraseroBurn.BurnSession}
560
622
  * @returns a {@link BraseroBurn.BurnResult}. The result of the operation. BRASERO_BURN_OK if it was successful.
623
+ * @throws GLib.Error
561
624
  */
562
625
  record(session: BurnSession): BurnResult;
563
626
  }
@@ -865,32 +928,32 @@ export namespace BraseroBurn {
865
928
  * @signal
866
929
  * @run-last
867
930
  */
868
- "output-changed": (arg0: unknown) => void;
931
+ "output-changed": (former_medium: unknown) => void;
869
932
  /**
870
933
  * This signal gets emitted when a tag changed for `session` (whether it
871
934
  * was removed, added, or it changed).
872
935
  * @signal
873
936
  * @run-first
874
937
  */
875
- "tag-changed": (arg0: string) => void;
938
+ "tag-changed": (object: string) => void;
876
939
  /**
877
940
  * This signal gets emitted when a track is added to `session`.
878
941
  * @signal
879
942
  * @run-last
880
943
  */
881
- "track-added": (arg0: Track) => void;
944
+ "track-added": (track: Track) => void;
882
945
  /**
883
946
  * This signal gets emitted when the contents of a track changed.
884
947
  * @signal
885
948
  * @run-last
886
949
  */
887
- "track-changed": (arg0: Track) => void;
950
+ "track-changed": (track: Track) => void;
888
951
  /**
889
952
  * This signal gets emitted when a track is removed from `session`.
890
953
  * @signal
891
954
  * @run-last
892
955
  */
893
- "track-removed": (arg0: Track, arg1: number) => void;
956
+ "track-removed": (track: Track, former_position: number) => void;
894
957
  "notify::flags": (pspec: GObject.ParamSpec) => void;
895
958
  "notify::speed": (pspec: GObject.ParamSpec) => void;
896
959
  "notify::tmpdir": (pspec: GObject.ParamSpec) => void;
@@ -2248,6 +2311,7 @@ export namespace BraseroBurn {
2248
2311
  * @param emptydir a `gchar`.
2249
2312
  * @param videodir a `gchar` or `null`.
2250
2313
  * @returns a {@link BraseroBurn.BurnResult}.
2314
+ * @throws GLib.Error
2251
2315
  */
2252
2316
  write_to_paths(grafts_path: string, excluded_path: string, emptydir: string, videodir: string | null): BurnResult;
2253
2317
  }
@@ -2260,7 +2324,7 @@ export namespace BraseroBurn {
2260
2324
  * @signal
2261
2325
  * @run-last
2262
2326
  */
2263
- "deep-directory": (arg0: string) => boolean | void;
2327
+ "deep-directory": (object: string) => boolean | void;
2264
2328
  /**
2265
2329
  * @signal
2266
2330
  * @run-last
@@ -2270,7 +2334,7 @@ export namespace BraseroBurn {
2270
2334
  * @signal
2271
2335
  * @run-last
2272
2336
  */
2273
- "image-uri": (arg0: string) => number;
2337
+ "image-uri": (object: string) => number;
2274
2338
  /**
2275
2339
  * @signal
2276
2340
  * @run-last
@@ -2280,42 +2344,42 @@ export namespace BraseroBurn {
2280
2344
  * @signal
2281
2345
  * @run-last
2282
2346
  */
2283
- "name-collision": (arg0: string) => boolean | void;
2347
+ "name-collision": (object: string) => boolean | void;
2284
2348
  /**
2285
2349
  * @signal
2286
2350
  * @run-first
2287
2351
  */
2288
- "recursive-sym": (arg0: string) => void;
2352
+ "recursive-sym": (object: string) => void;
2289
2353
  /**
2290
2354
  * @signal
2291
2355
  * @run-last
2292
2356
  */
2293
- "session-available": (arg0: GObject.Object, arg1: boolean) => void;
2357
+ "session-available": (object: GObject.Object, p0: boolean) => void;
2294
2358
  /**
2295
2359
  * @signal
2296
2360
  * @run-last
2297
2361
  */
2298
- "session-loaded": (arg0: GObject.Object, arg1: boolean) => void;
2362
+ "session-loaded": (object: GObject.Object, p0: boolean) => void;
2299
2363
  /**
2300
2364
  * @signal
2301
2365
  * @run-last
2302
2366
  */
2303
- "source-loaded": (arg0: null) => void;
2367
+ "source-loaded": (object: null) => void;
2304
2368
  /**
2305
2369
  * @signal
2306
2370
  * @run-last
2307
2371
  */
2308
- "source-loading": (arg0: number) => void;
2372
+ "source-loading": (object: number) => void;
2309
2373
  /**
2310
2374
  * @signal
2311
2375
  * @run-first
2312
2376
  */
2313
- "unknown-uri": (arg0: string) => void;
2377
+ "unknown-uri": (object: string) => void;
2314
2378
  /**
2315
2379
  * @signal
2316
2380
  * @run-first
2317
2381
  */
2318
- "unreadable-uri": (arg0: null, arg1: string) => void;
2382
+ "unreadable-uri": (object: null, p0: string) => void;
2319
2383
  }
2320
2384
 
2321
2385
  // Constructor properties interface
@@ -2426,6 +2490,7 @@ export namespace BraseroBurn {
2426
2490
  * Sets the current icon.
2427
2491
  * @param icon_path a `gchar`
2428
2492
  * @returns a `gboolean`. TRUE if the operation was successful, FALSE otherwise
2493
+ * @throws GLib.Error
2429
2494
  */
2430
2495
  set_icon(icon_path: string): boolean;
2431
2496
 
@@ -2593,6 +2658,7 @@ export namespace BraseroBurn {
2593
2658
  * and `root` as the virtual root.
2594
2659
  * @param root A {@link Gtk.TreePath} or `null`.
2595
2660
  * @returns A new {@link Gtk.TreeModel}.
2661
+ * @since 2.4
2596
2662
  */
2597
2663
  filter_new(root: Gtk.TreePath | null): Gtk.TreeModel;
2598
2664
 
@@ -2669,6 +2735,7 @@ export namespace BraseroBurn {
2669
2735
  * return value for this string.
2670
2736
  * @param iter a {@link Gtk.TreeIter}-struct
2671
2737
  * @returns a newly-allocated string. Must be freed with `g_free()`.
2738
+ * @since 2.2
2672
2739
  */
2673
2740
  get_string_from_iter(iter: Gtk.TreeIter): string;
2674
2741
 
@@ -2759,6 +2826,7 @@ export namespace BraseroBurn {
2759
2826
  * set to be invalid.
2760
2827
  * @param iter the {@link Gtk.TreeIter}-struct
2761
2828
  * @returns `true` if `iter` has been changed to the previous node
2829
+ * @since 3.0
2762
2830
  */
2763
2831
  iter_previous(iter: Gtk.TreeIter): boolean;
2764
2832
 
@@ -2828,6 +2896,7 @@ export namespace BraseroBurn {
2828
2896
  * @param path a {@link Gtk.TreePath}-struct pointing to the tree node whose children have been reordered
2829
2897
  * @param iter a valid {@link Gtk.TreeIter}-struct pointing to the node whose children have been reordered, or `null` if the depth of `path` is 0
2830
2898
  * @param new_order an array of integers mapping the current position of each child to its old position before the re-ordering, i.e. `new_order``[newpos] = oldpos`
2899
+ * @since 3.10
2831
2900
  */
2832
2901
  rows_reordered(path: Gtk.TreePath, iter: Gtk.TreeIter | null, new_order: number[]): void;
2833
2902
 
@@ -2971,6 +3040,7 @@ export namespace BraseroBurn {
2971
3040
  * If there is no previous `iter`, `false` is returned and `iter` is
2972
3041
  * set to be invalid.
2973
3042
  * @param iter the {@link Gtk.TreeIter}-struct
3043
+ * @since 3.0
2974
3044
  * @virtual
2975
3045
  */
2976
3046
  vfunc_iter_previous(iter: Gtk.TreeIter): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/braseroburn-3.1",
3
- "version": "4.3.0",
3
+ "version": "4.5.0",
4
4
  "description": "GJS TypeScript type definitions for BraseroBurn-3.1",
5
5
  "type": "module",
6
6
  "module": "braseroburn-3.1.js",
@@ -16,10 +16,10 @@
16
16
  "import": "./braseroburn-3.1-import.js",
17
17
  "default": "./braseroburn-3.1-import.js"
18
18
  },
19
- "./surface": {
20
- "types": "./braseroburn-3.1-surface.d.ts",
21
- "import": "./braseroburn-3.1-surface.js",
22
- "default": "./braseroburn-3.1-surface.js"
19
+ "./vocabulary": {
20
+ "types": "./braseroburn-3.1-vocabulary.d.ts",
21
+ "import": "./braseroburn-3.1-vocabulary.js",
22
+ "default": "./braseroburn-3.1-vocabulary.js"
23
23
  },
24
24
  "./braseroburn-3.1": {
25
25
  "types": "./braseroburn-3.1.d.ts",
@@ -36,20 +36,20 @@
36
36
  "test": "tsc --project tsconfig.json"
37
37
  },
38
38
  "dependencies": {
39
- "@girs/gjs": "^4.3.0",
40
- "@girs/gtk-3.0": "^4.3.0",
41
- "@girs/xlib-2.0": "^4.3.0",
42
- "@girs/gdk-3.0": "^4.3.0",
43
- "@girs/cairo-1.0": "^4.3.0",
44
- "@girs/gobject-2.0": "^4.3.0",
45
- "@girs/glib-2.0": "^4.3.0",
46
- "@girs/pango-1.0": "^4.3.0",
47
- "@girs/harfbuzz-0.0": "^4.3.0",
48
- "@girs/freetype2-2.0": "^4.3.0",
49
- "@girs/gio-2.0": "^4.3.0",
50
- "@girs/gmodule-2.0": "^4.3.0",
51
- "@girs/gdkpixbuf-2.0": "^4.3.0",
52
- "@girs/atk-1.0": "^4.3.0" },
39
+ "@girs/gjs": "^4.5.0",
40
+ "@girs/gtk-3.0": "^4.5.0",
41
+ "@girs/xlib-2.0": "^4.5.0",
42
+ "@girs/gdk-3.0": "^4.5.0",
43
+ "@girs/cairo-1.0": "^4.5.0",
44
+ "@girs/gobject-2.0": "^4.5.0",
45
+ "@girs/glib-2.0": "^4.5.0",
46
+ "@girs/pango-1.0": "^4.5.0",
47
+ "@girs/harfbuzz-0.0": "^4.5.0",
48
+ "@girs/freetype2-2.0": "^4.5.0",
49
+ "@girs/gio-2.0": "^4.5.0",
50
+ "@girs/gmodule-2.0": "^4.5.0",
51
+ "@girs/gdkpixbuf-2.0": "^4.5.0",
52
+ "@girs/atk-1.0": "^4.5.0" },
53
53
  "devDependencies": {
54
54
  "typescript": "*"
55
55
  },
package/tsconfig.json CHANGED
@@ -62,7 +62,7 @@
62
62
  ]
63
63
  }
64
64
  },
65
- "include": ["./braseroburn-3.1.d.ts","./braseroburn-3.1-surface.d.ts"]
65
+ "include": ["./braseroburn-3.1.d.ts","./braseroburn-3.1-vocabulary.d.ts"]
66
66
  }
67
67
 
68
68