@girs/builder-1.0 1.0.0-3.0.0-beta.12

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.
@@ -0,0 +1,2836 @@
1
+
2
+ /*
3
+ * Type Definitions for Gjs (https://gjs.guide/)
4
+ *
5
+ * These type definitions are automatically generated, do not edit them by hand.
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
7
+ */
8
+ /**
9
+ * Builder-1.0
10
+ */
11
+
12
+ import type Peas from '@girs/peas-1.0';
13
+ import type Gio from '@girs/gio-2.0';
14
+ import type GObject from '@girs/gobject-2.0';
15
+ import type GLib from '@girs/glib-2.0';
16
+ import type GModule from '@girs/gmodule-2.0';
17
+ import type GIRepository from '@girs/girepository-2.0';
18
+ import type Ide from '@girs/ide-1.0';
19
+ import type Template from '@girs/template-1.0';
20
+ import type Json from '@girs/json-1.0';
21
+ import type GtkSource from '@girs/gtksource-3.0';
22
+ import type Gtk from '@girs/gtk-3.0';
23
+ import type xlib from '@girs/xlib-2.0';
24
+ import type Gdk from '@girs/gdk-3.0';
25
+ import type cairo from '@girs/cairo-1.0';
26
+ import type Pango from '@girs/pango-1.0';
27
+ import type HarfBuzz from '@girs/harfbuzz-0.0';
28
+ import type freetype2 from '@girs/freetype2-2.0';
29
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
30
+ import type Atk from '@girs/atk-1.0';
31
+ import type Dazzle from '@girs/dazzle-1.0';
32
+
33
+ /**
34
+ * %GB_VIEW_GRID_SPLIT_LEFT:
35
+ * %GB_VIEW_GRID_SPLIT_RIGHT:
36
+ * %GB_VIEW_GRID_SPLIT_MOVE_LEFT:
37
+ * %GB_VIEW_GRID_SPLIT_MOVE_RIGHT:
38
+ */
39
+ export enum ViewGridSplit {
40
+ LEFT,
41
+ RIGHT,
42
+ MOVE_LEFT,
43
+ MOVE_RIGHT,
44
+ }
45
+ /**
46
+ * Callback to check if `node` should be visible.
47
+ * @callback
48
+ * @param tree
49
+ * @param node
50
+ * @returns %TRUE if @node should be visible.
51
+ */
52
+ export interface TreeFilterFunc {
53
+ (tree: Tree, node: TreeNode): boolean
54
+ }
55
+ /**
56
+ * Callback to check `child,` a child of `node,` matches a lookup
57
+ * request. Returns %TRUE if `child` matches, %FALSE if not.
58
+ * @callback
59
+ * @param tree
60
+ * @param node
61
+ * @param child
62
+ * @returns %TRUE if @child matched
63
+ */
64
+ export interface TreeFindFunc {
65
+ (tree: Tree, node: TreeNode, child: TreeNode): boolean
66
+ }
67
+ export interface TreeNodeCompareFunc {
68
+ (a: TreeNode, b: TreeNode): number
69
+ }
70
+ export module ApplicationAddin {
71
+
72
+ // Constructor properties interface
73
+
74
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
75
+ }
76
+
77
+ }
78
+
79
+ export interface ApplicationAddin {
80
+
81
+ // Owm methods of Builder-1.0.Builder.ApplicationAddin
82
+
83
+ load(application: Application): void
84
+ unload(application: Application): void
85
+
86
+ // Own virtual methods of Builder-1.0.Builder.ApplicationAddin
87
+
88
+ vfunc_load(application: Application): void
89
+ vfunc_unload(application: Application): void
90
+
91
+ // Class property signals of Builder-1.0.Builder.ApplicationAddin
92
+
93
+ connect(sigName: string, callback: (...args: any[]) => void): number
94
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
95
+ emit(sigName: string, ...args: any[]): void
96
+ disconnect(id: number): void
97
+ }
98
+
99
+ export class ApplicationAddin extends GObject.Object {
100
+
101
+ // Own properties of Builder-1.0.Builder.ApplicationAddin
102
+
103
+ static name: string
104
+ static $gtype: GObject.GType<ApplicationAddin>
105
+
106
+ // Constructors of Builder-1.0.Builder.ApplicationAddin
107
+
108
+ constructor(config?: ApplicationAddin.ConstructorProperties)
109
+ _init(config?: ApplicationAddin.ConstructorProperties): void
110
+ }
111
+
112
+ export module Document {
113
+
114
+ // Signal callback interfaces
115
+
116
+ /**
117
+ * Signal callback interface for `create-view`
118
+ */
119
+ export interface CreateViewSignalCallback {
120
+ ($obj: Document): View
121
+ }
122
+
123
+
124
+ // Constructor properties interface
125
+
126
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
127
+ }
128
+
129
+ }
130
+
131
+ export interface Document {
132
+
133
+ // Own properties of Builder-1.0.Builder.Document
134
+
135
+ readonly modified: boolean
136
+ readonly read_only: boolean
137
+ readonly title: string | null
138
+
139
+ // Owm methods of Builder-1.0.Builder.Document
140
+
141
+ create_view(): Gtk.Widget
142
+ get_modified(): boolean
143
+ get_mtime(mtime: GLib.TimeVal): boolean
144
+ get_read_only(): boolean
145
+ get_title(): string | null
146
+ is_untitled(): boolean
147
+ save_as_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
148
+ save_as_finish(result: Gio.AsyncResult): boolean
149
+ save_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
150
+ save_finish(result: Gio.AsyncResult): boolean
151
+
152
+ // Own virtual methods of Builder-1.0.Builder.Document
153
+
154
+ vfunc_create_view(): Gtk.Widget
155
+ vfunc_get_modified(): boolean
156
+ vfunc_get_mtime(mtime: GLib.TimeVal): boolean
157
+ vfunc_get_read_only(): boolean
158
+ vfunc_get_title(): string | null
159
+ vfunc_is_untitled(): boolean
160
+ vfunc_save_as_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
161
+ vfunc_save_as_finish(result: Gio.AsyncResult): boolean
162
+ vfunc_save_async(toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
163
+ vfunc_save_finish(result: Gio.AsyncResult): boolean
164
+
165
+ // Own signals of Builder-1.0.Builder.Document
166
+
167
+ connect(sigName: "create-view", callback: Document.CreateViewSignalCallback): number
168
+ connect_after(sigName: "create-view", callback: Document.CreateViewSignalCallback): number
169
+ emit(sigName: "create-view", ...args: any[]): void
170
+
171
+ // Class property signals of Builder-1.0.Builder.Document
172
+
173
+ connect(sigName: "notify::modified", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
174
+ connect_after(sigName: "notify::modified", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
175
+ emit(sigName: "notify::modified", ...args: any[]): void
176
+ connect(sigName: "notify::read-only", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
177
+ connect_after(sigName: "notify::read-only", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
178
+ emit(sigName: "notify::read-only", ...args: any[]): void
179
+ connect(sigName: "notify::title", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
180
+ connect_after(sigName: "notify::title", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
181
+ emit(sigName: "notify::title", ...args: any[]): void
182
+ connect(sigName: string, callback: (...args: any[]) => void): number
183
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
184
+ emit(sigName: string, ...args: any[]): void
185
+ disconnect(id: number): void
186
+ }
187
+
188
+ export class Document extends GObject.Object {
189
+
190
+ // Own properties of Builder-1.0.Builder.Document
191
+
192
+ static name: string
193
+ static $gtype: GObject.GType<Document>
194
+
195
+ // Constructors of Builder-1.0.Builder.Document
196
+
197
+ constructor(config?: Document.ConstructorProperties)
198
+ _init(config?: Document.ConstructorProperties): void
199
+ }
200
+
201
+ export module EditorViewAddin {
202
+
203
+ // Constructor properties interface
204
+
205
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
206
+ }
207
+
208
+ }
209
+
210
+ export interface EditorViewAddin {
211
+
212
+ // Own virtual methods of Builder-1.0.Builder.EditorViewAddin
213
+
214
+ vfunc_language_changed(language_id: string | null): void
215
+ vfunc_load(view: EditorView): void
216
+ vfunc_unload(view: EditorView): void
217
+
218
+ // Class property signals of Builder-1.0.Builder.EditorViewAddin
219
+
220
+ connect(sigName: string, callback: (...args: any[]) => void): number
221
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
222
+ emit(sigName: string, ...args: any[]): void
223
+ disconnect(id: number): void
224
+ }
225
+
226
+ export class EditorViewAddin extends GObject.Object {
227
+
228
+ // Own properties of Builder-1.0.Builder.EditorViewAddin
229
+
230
+ static name: string
231
+ static $gtype: GObject.GType<EditorViewAddin>
232
+
233
+ // Constructors of Builder-1.0.Builder.EditorViewAddin
234
+
235
+ constructor(config?: EditorViewAddin.ConstructorProperties)
236
+ _init(config?: EditorViewAddin.ConstructorProperties): void
237
+ }
238
+
239
+ export module Application {
240
+
241
+ // Constructor properties interface
242
+
243
+ export interface ConstructorProperties extends Gio.ActionGroup.ConstructorProperties, Gio.ActionMap.ConstructorProperties, Gtk.Application.ConstructorProperties {
244
+ }
245
+
246
+ }
247
+
248
+ export interface Application extends Gio.ActionGroup, Gio.ActionMap {
249
+
250
+ // Owm methods of Builder-1.0.Builder.Application
251
+
252
+ get_argv0(): string | null
253
+ get_keybindings_mode(): string | null
254
+ get_started_at(): GLib.DateTime
255
+ /**
256
+ * Asynchronously requests a #GDBusProxy to a service provided in a worker
257
+ * process. The worker should be an #IdeWorker implemented by the plugin named
258
+ * `plugin_name`. The #IdeWorker is responsible for created both the service
259
+ * registered on the bus and the proxy to it.
260
+ *
261
+ * The #GbApplication is responsible for spawning a subprocess for the worker.
262
+ *
263
+ * `callback` should call gb_application_get_worker_finish() with the result
264
+ * provided to retrieve the result.
265
+ * @param plugin_name The name of the plugin.
266
+ * @param cancellable A #GCancellable or %NULL.
267
+ * @param callback A #GAsyncReadyCallback or %NULL.
268
+ */
269
+ get_worker_async(plugin_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
270
+ /**
271
+ * Completes an asynchronous request to get a proxy to a worker process.
272
+ * @param result A #GAsyncResult
273
+ * @returns A #GDBusProxy or %NULL.
274
+ */
275
+ get_worker_finish(result: Gio.AsyncResult): Gio.DBusProxy
276
+ open_project_async(file: Gio.File, additional_files: Gio.File[] | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
277
+ open_project_finish(result: Gio.AsyncResult): boolean
278
+ show_projects_window(): void
279
+
280
+ // Class property signals of Builder-1.0.Builder.Application
281
+
282
+ connect(sigName: "notify::active-window", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
283
+ connect_after(sigName: "notify::active-window", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
284
+ emit(sigName: "notify::active-window", ...args: any[]): void
285
+ connect(sigName: "notify::app-menu", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
286
+ connect_after(sigName: "notify::app-menu", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
287
+ emit(sigName: "notify::app-menu", ...args: any[]): void
288
+ connect(sigName: "notify::menubar", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
289
+ connect_after(sigName: "notify::menubar", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
290
+ emit(sigName: "notify::menubar", ...args: any[]): void
291
+ connect(sigName: "notify::register-session", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
292
+ connect_after(sigName: "notify::register-session", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
293
+ emit(sigName: "notify::register-session", ...args: any[]): void
294
+ connect(sigName: "notify::screensaver-active", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
295
+ connect_after(sigName: "notify::screensaver-active", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
296
+ emit(sigName: "notify::screensaver-active", ...args: any[]): void
297
+ connect(sigName: "notify::action-group", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
298
+ connect_after(sigName: "notify::action-group", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
299
+ emit(sigName: "notify::action-group", ...args: any[]): void
300
+ connect(sigName: "notify::application-id", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
301
+ connect_after(sigName: "notify::application-id", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
302
+ emit(sigName: "notify::application-id", ...args: any[]): void
303
+ connect(sigName: "notify::flags", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
304
+ connect_after(sigName: "notify::flags", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
305
+ emit(sigName: "notify::flags", ...args: any[]): void
306
+ connect(sigName: "notify::inactivity-timeout", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
307
+ connect_after(sigName: "notify::inactivity-timeout", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
308
+ emit(sigName: "notify::inactivity-timeout", ...args: any[]): void
309
+ connect(sigName: "notify::is-busy", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
310
+ connect_after(sigName: "notify::is-busy", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
311
+ emit(sigName: "notify::is-busy", ...args: any[]): void
312
+ connect(sigName: "notify::is-registered", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
313
+ connect_after(sigName: "notify::is-registered", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
314
+ emit(sigName: "notify::is-registered", ...args: any[]): void
315
+ connect(sigName: "notify::is-remote", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
316
+ connect_after(sigName: "notify::is-remote", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
317
+ emit(sigName: "notify::is-remote", ...args: any[]): void
318
+ connect(sigName: "notify::resource-base-path", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
319
+ connect_after(sigName: "notify::resource-base-path", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
320
+ emit(sigName: "notify::resource-base-path", ...args: any[]): void
321
+ connect(sigName: string, callback: (...args: any[]) => void): number
322
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
323
+ emit(sigName: string, ...args: any[]): void
324
+ disconnect(id: number): void
325
+ }
326
+
327
+ export class Application extends Gtk.Application {
328
+
329
+ // Own properties of Builder-1.0.Builder.Application
330
+
331
+ static name: string
332
+ static $gtype: GObject.GType<Application>
333
+
334
+ // Constructors of Builder-1.0.Builder.Application
335
+
336
+ constructor(config?: Application.ConstructorProperties)
337
+ _init(config?: Application.ConstructorProperties): void
338
+
339
+ // Conflicting static methods
340
+
341
+ static new(...args: any[]): any
342
+ }
343
+
344
+ export module EditorView {
345
+
346
+ // Signal callback interfaces
347
+
348
+ /**
349
+ * Signal callback interface for `request-documentation`
350
+ */
351
+ export interface RequestDocumentationSignalCallback {
352
+ ($obj: EditorView, object: string | null): void
353
+ }
354
+
355
+
356
+ // Constructor properties interface
357
+
358
+ export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Orientable.ConstructorProperties, View.ConstructorProperties {
359
+ }
360
+
361
+ }
362
+
363
+ export interface EditorView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
364
+
365
+ // Conflicting properties
366
+
367
+ parent_instance: Gtk.Box & GObject.InitiallyUnowned & GObject.InitiallyUnowned
368
+
369
+ // Conflicting methods
370
+
371
+ /**
372
+ * Emits a #GtkWidget::child-notify signal for the
373
+ * [child property][child-properties]
374
+ * `child_property` on the child.
375
+ *
376
+ * This is an analogue of g_object_notify() for child properties.
377
+ *
378
+ * Also see gtk_widget_child_notify().
379
+ * @param child the child widget
380
+ * @param child_property the name of a child property installed on the class of `container`
381
+ */
382
+ child_notify(child: Gtk.Widget, child_property: string | null): void
383
+
384
+ // Overloads of child_notify
385
+
386
+ /**
387
+ * Emits a #GtkWidget::child-notify signal for the
388
+ * [child property][child-properties] `child_property`
389
+ * on `widget`.
390
+ *
391
+ * This is the analogue of g_object_notify() for child properties.
392
+ *
393
+ * Also see gtk_container_child_notify().
394
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
395
+ */
396
+ child_notify(child_property: string | null): void
397
+ /**
398
+ * Emits a #GtkWidget::child-notify signal for the
399
+ * [child property][child-properties] `child_property`
400
+ * on `widget`.
401
+ *
402
+ * This is the analogue of g_object_notify() for child properties.
403
+ *
404
+ * Also see gtk_container_child_notify().
405
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
406
+ */
407
+ child_notify(child_property: string | null): void
408
+
409
+ // Own signals of Builder-1.0.Builder.EditorView
410
+
411
+ connect(sigName: "request-documentation", callback: EditorView.RequestDocumentationSignalCallback): number
412
+ connect_after(sigName: "request-documentation", callback: EditorView.RequestDocumentationSignalCallback): number
413
+ emit(sigName: "request-documentation", object: string | null, ...args: any[]): void
414
+
415
+ // Class property signals of Builder-1.0.Builder.EditorView
416
+
417
+ connect(sigName: "notify::can-split", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
418
+ connect_after(sigName: "notify::can-split", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
419
+ emit(sigName: "notify::can-split", ...args: any[]): void
420
+ connect(sigName: "notify::document", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
421
+ connect_after(sigName: "notify::document", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
422
+ emit(sigName: "notify::document", ...args: any[]): void
423
+ connect(sigName: "notify::modified", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
424
+ connect_after(sigName: "notify::modified", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
425
+ emit(sigName: "notify::modified", ...args: any[]): void
426
+ connect(sigName: "notify::special-title", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
427
+ connect_after(sigName: "notify::special-title", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
428
+ emit(sigName: "notify::special-title", ...args: any[]): void
429
+ connect(sigName: "notify::title", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
430
+ connect_after(sigName: "notify::title", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
431
+ emit(sigName: "notify::title", ...args: any[]): void
432
+ connect(sigName: "notify::baseline-position", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
433
+ connect_after(sigName: "notify::baseline-position", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
434
+ emit(sigName: "notify::baseline-position", ...args: any[]): void
435
+ connect(sigName: "notify::homogeneous", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
436
+ connect_after(sigName: "notify::homogeneous", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
437
+ emit(sigName: "notify::homogeneous", ...args: any[]): void
438
+ connect(sigName: "notify::spacing", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
439
+ connect_after(sigName: "notify::spacing", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
440
+ emit(sigName: "notify::spacing", ...args: any[]): void
441
+ connect(sigName: "notify::border-width", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
442
+ connect_after(sigName: "notify::border-width", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
443
+ emit(sigName: "notify::border-width", ...args: any[]): void
444
+ connect(sigName: "notify::child", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
445
+ connect_after(sigName: "notify::child", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
446
+ emit(sigName: "notify::child", ...args: any[]): void
447
+ connect(sigName: "notify::resize-mode", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
448
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
449
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
450
+ connect(sigName: "notify::app-paintable", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
451
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
452
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
453
+ connect(sigName: "notify::can-default", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
454
+ connect_after(sigName: "notify::can-default", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
455
+ emit(sigName: "notify::can-default", ...args: any[]): void
456
+ connect(sigName: "notify::can-focus", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
457
+ connect_after(sigName: "notify::can-focus", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
458
+ emit(sigName: "notify::can-focus", ...args: any[]): void
459
+ connect(sigName: "notify::composite-child", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
460
+ connect_after(sigName: "notify::composite-child", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
461
+ emit(sigName: "notify::composite-child", ...args: any[]): void
462
+ connect(sigName: "notify::double-buffered", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
463
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
464
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
465
+ connect(sigName: "notify::events", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
466
+ connect_after(sigName: "notify::events", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
467
+ emit(sigName: "notify::events", ...args: any[]): void
468
+ connect(sigName: "notify::expand", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
469
+ connect_after(sigName: "notify::expand", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
470
+ emit(sigName: "notify::expand", ...args: any[]): void
471
+ connect(sigName: "notify::focus-on-click", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
472
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
473
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
474
+ connect(sigName: "notify::halign", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
475
+ connect_after(sigName: "notify::halign", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
476
+ emit(sigName: "notify::halign", ...args: any[]): void
477
+ connect(sigName: "notify::has-default", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
478
+ connect_after(sigName: "notify::has-default", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
479
+ emit(sigName: "notify::has-default", ...args: any[]): void
480
+ connect(sigName: "notify::has-focus", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
481
+ connect_after(sigName: "notify::has-focus", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
482
+ emit(sigName: "notify::has-focus", ...args: any[]): void
483
+ connect(sigName: "notify::has-tooltip", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
484
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
485
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
486
+ connect(sigName: "notify::height-request", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
487
+ connect_after(sigName: "notify::height-request", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
488
+ emit(sigName: "notify::height-request", ...args: any[]): void
489
+ connect(sigName: "notify::hexpand", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
490
+ connect_after(sigName: "notify::hexpand", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
491
+ emit(sigName: "notify::hexpand", ...args: any[]): void
492
+ connect(sigName: "notify::hexpand-set", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
493
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
494
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
495
+ connect(sigName: "notify::is-focus", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
496
+ connect_after(sigName: "notify::is-focus", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
497
+ emit(sigName: "notify::is-focus", ...args: any[]): void
498
+ connect(sigName: "notify::margin", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
499
+ connect_after(sigName: "notify::margin", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
500
+ emit(sigName: "notify::margin", ...args: any[]): void
501
+ connect(sigName: "notify::margin-bottom", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
502
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
503
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
504
+ connect(sigName: "notify::margin-end", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
505
+ connect_after(sigName: "notify::margin-end", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
506
+ emit(sigName: "notify::margin-end", ...args: any[]): void
507
+ connect(sigName: "notify::margin-left", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
508
+ connect_after(sigName: "notify::margin-left", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
509
+ emit(sigName: "notify::margin-left", ...args: any[]): void
510
+ connect(sigName: "notify::margin-right", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
511
+ connect_after(sigName: "notify::margin-right", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
512
+ emit(sigName: "notify::margin-right", ...args: any[]): void
513
+ connect(sigName: "notify::margin-start", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
514
+ connect_after(sigName: "notify::margin-start", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
515
+ emit(sigName: "notify::margin-start", ...args: any[]): void
516
+ connect(sigName: "notify::margin-top", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
517
+ connect_after(sigName: "notify::margin-top", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
518
+ emit(sigName: "notify::margin-top", ...args: any[]): void
519
+ connect(sigName: "notify::name", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
520
+ connect_after(sigName: "notify::name", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
521
+ emit(sigName: "notify::name", ...args: any[]): void
522
+ connect(sigName: "notify::no-show-all", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
523
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
524
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
525
+ connect(sigName: "notify::opacity", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
526
+ connect_after(sigName: "notify::opacity", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
527
+ emit(sigName: "notify::opacity", ...args: any[]): void
528
+ connect(sigName: "notify::parent", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
529
+ connect_after(sigName: "notify::parent", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
530
+ emit(sigName: "notify::parent", ...args: any[]): void
531
+ connect(sigName: "notify::receives-default", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
532
+ connect_after(sigName: "notify::receives-default", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
533
+ emit(sigName: "notify::receives-default", ...args: any[]): void
534
+ connect(sigName: "notify::scale-factor", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
535
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
536
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
537
+ connect(sigName: "notify::sensitive", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
538
+ connect_after(sigName: "notify::sensitive", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
539
+ emit(sigName: "notify::sensitive", ...args: any[]): void
540
+ connect(sigName: "notify::style", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
541
+ connect_after(sigName: "notify::style", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
542
+ emit(sigName: "notify::style", ...args: any[]): void
543
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
544
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
545
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
546
+ connect(sigName: "notify::tooltip-text", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
547
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
548
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
549
+ connect(sigName: "notify::valign", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
550
+ connect_after(sigName: "notify::valign", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
551
+ emit(sigName: "notify::valign", ...args: any[]): void
552
+ connect(sigName: "notify::vexpand", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
553
+ connect_after(sigName: "notify::vexpand", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
554
+ emit(sigName: "notify::vexpand", ...args: any[]): void
555
+ connect(sigName: "notify::vexpand-set", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
556
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
557
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
558
+ connect(sigName: "notify::visible", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
559
+ connect_after(sigName: "notify::visible", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
560
+ emit(sigName: "notify::visible", ...args: any[]): void
561
+ connect(sigName: "notify::width-request", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
562
+ connect_after(sigName: "notify::width-request", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
563
+ emit(sigName: "notify::width-request", ...args: any[]): void
564
+ connect(sigName: "notify::window", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
565
+ connect_after(sigName: "notify::window", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
566
+ emit(sigName: "notify::window", ...args: any[]): void
567
+ connect(sigName: "notify::orientation", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
568
+ connect_after(sigName: "notify::orientation", callback: (($obj: EditorView, pspec: GObject.ParamSpec) => void)): number
569
+ emit(sigName: "notify::orientation", ...args: any[]): void
570
+ connect(sigName: string, callback: (...args: any[]) => void): number
571
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
572
+ emit(sigName: string, ...args: any[]): void
573
+ disconnect(id: number): void
574
+ }
575
+
576
+ export class EditorView extends View {
577
+
578
+ // Own properties of Builder-1.0.Builder.EditorView
579
+
580
+ static name: string
581
+ static $gtype: GObject.GType<EditorView>
582
+
583
+ // Constructors of Builder-1.0.Builder.EditorView
584
+
585
+ constructor(config?: EditorView.ConstructorProperties)
586
+ _init(config?: EditorView.ConstructorProperties): void
587
+ }
588
+
589
+ export module MenuExtension {
590
+
591
+ // Constructor properties interface
592
+
593
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
594
+
595
+ // Own constructor properties of Builder-1.0.Builder.MenuExtension
596
+
597
+ menu?: Gio.Menu | null
598
+ }
599
+
600
+ }
601
+
602
+ export interface MenuExtension {
603
+
604
+ // Own properties of Builder-1.0.Builder.MenuExtension
605
+
606
+ readonly menu: Gio.Menu
607
+
608
+ // Owm methods of Builder-1.0.Builder.MenuExtension
609
+
610
+ append_menu_item(item: Gio.MenuItem): void
611
+ prepend_menu_item(item: Gio.MenuItem): void
612
+ remove_items(): void
613
+
614
+ // Class property signals of Builder-1.0.Builder.MenuExtension
615
+
616
+ connect(sigName: "notify::menu", callback: (($obj: MenuExtension, pspec: GObject.ParamSpec) => void)): number
617
+ connect_after(sigName: "notify::menu", callback: (($obj: MenuExtension, pspec: GObject.ParamSpec) => void)): number
618
+ emit(sigName: "notify::menu", ...args: any[]): void
619
+ connect(sigName: string, callback: (...args: any[]) => void): number
620
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
621
+ emit(sigName: string, ...args: any[]): void
622
+ disconnect(id: number): void
623
+ }
624
+
625
+ export class MenuExtension extends GObject.Object {
626
+
627
+ // Own properties of Builder-1.0.Builder.MenuExtension
628
+
629
+ static name: string
630
+ static $gtype: GObject.GType<MenuExtension>
631
+
632
+ // Constructors of Builder-1.0.Builder.MenuExtension
633
+
634
+ constructor(config?: MenuExtension.ConstructorProperties)
635
+ constructor(menu: Gio.Menu)
636
+ static new(menu: Gio.Menu): MenuExtension
637
+ static new_for_section(menu: Gio.Menu, section: string | null): MenuExtension
638
+ _init(config?: MenuExtension.ConstructorProperties): void
639
+ }
640
+
641
+ export module Tree {
642
+
643
+ // Signal callback interfaces
644
+
645
+ /**
646
+ * Signal callback interface for `action`
647
+ */
648
+ export interface ActionSignalCallback {
649
+ ($obj: Tree, object: string | null, p0: string | null, p1: string | null): void
650
+ }
651
+
652
+ /**
653
+ * Signal callback interface for `populate-popup`
654
+ */
655
+ export interface PopulatePopupSignalCallback {
656
+ ($obj: Tree, object: Gtk.Widget): void
657
+ }
658
+
659
+
660
+ // Constructor properties interface
661
+
662
+ export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Scrollable.ConstructorProperties, Gtk.TreeView.ConstructorProperties {
663
+
664
+ // Own constructor properties of Builder-1.0.Builder.Tree
665
+
666
+ root?: TreeNode | null
667
+ selection?: TreeNode | null
668
+ show_icons?: boolean | null
669
+ }
670
+
671
+ }
672
+
673
+ export interface Tree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
674
+
675
+ // Own properties of Builder-1.0.Builder.Tree
676
+
677
+ root: TreeNode
678
+ selection: TreeNode
679
+ show_icons: boolean
680
+
681
+ // Own fields of Builder-1.0.Builder.Tree
682
+
683
+ parent_instance: Gtk.TreeView & GObject.InitiallyUnowned
684
+
685
+ // Owm methods of Builder-1.0.Builder.Tree
686
+
687
+ /**
688
+ * Removes a builder from the tree.
689
+ * @param builder A #GbTreeBuilder to add.
690
+ */
691
+ add_builder(builder: TreeBuilder): void
692
+ expand_to_node(node: TreeNode): void
693
+ /**
694
+ * Searches through the direct children of `node` for a matching child.
695
+ * `find_func` should return %TRUE if the child matches, otherwise %FALSE.
696
+ * @param node A #GbTreeNode
697
+ * @param find_func A callback to locate the child
698
+ * @returns A #GbTreeNode or %NULL.
699
+ */
700
+ find_child_node(node: TreeNode, find_func: TreeFindFunc): TreeNode | null
701
+ /**
702
+ * Walks the entire tree looking for the first item that matches given
703
+ * `equal_func` and `key`.
704
+ *
705
+ * The first parameter to `equal_func` will always be `key`.
706
+ * The second parameter will be the nodes #GbTreeNode:item property.
707
+ * @param equal_func A #GEqualFunc
708
+ * @param key the key for `equal_func`
709
+ * @returns A #GbTreeNode or %NULL.
710
+ */
711
+ find_custom(equal_func: GLib.EqualFunc, key: any | null): TreeNode | null
712
+ /**
713
+ * Finds a #GbTreeNode with an item property matching `item`.
714
+ * @param item A #GObject or %NULL.
715
+ * @returns A #GbTreeNode or %NULL.
716
+ */
717
+ find_item(item: GObject.Object | null): TreeNode | null
718
+ /**
719
+ * Retrieves the root node of the tree. The root node is not a visible node
720
+ * in the self, but a placeholder for all other builders to build upon.
721
+ * @returns A #GbTreeNode or %NULL.
722
+ */
723
+ get_root(): TreeNode | null
724
+ /**
725
+ * Gets the currently selected node in the tree.
726
+ * @returns A #GbTreeNode.
727
+ */
728
+ get_selected(): TreeNode
729
+ get_show_icons(): boolean
730
+ rebuild(): void
731
+ /**
732
+ * Removes a builder from the tree.
733
+ * @param builder A #GbTreeBuilder to remove.
734
+ */
735
+ remove_builder(builder: TreeBuilder): void
736
+ scroll_to_node(node: TreeNode): void
737
+ /**
738
+ * Sets the filter function to be used to determine visability of a tree node.
739
+ * @param filter_func A callback to determien visibility.
740
+ */
741
+ set_filter(filter_func: TreeFilterFunc): void
742
+ /**
743
+ * Sets the root node of the #GbTree widget. This is used to build
744
+ * the items within the treeview. The item itself will not be added
745
+ * to the self, but the direct children will be.
746
+ * @param node A #GbTreeNode.
747
+ */
748
+ set_root(node: TreeNode): void
749
+ set_show_icons(show_icons: boolean): void
750
+
751
+ // Conflicting methods
752
+
753
+ /**
754
+ * Emits a #GtkWidget::child-notify signal for the
755
+ * [child property][child-properties]
756
+ * `child_property` on the child.
757
+ *
758
+ * This is an analogue of g_object_notify() for child properties.
759
+ *
760
+ * Also see gtk_widget_child_notify().
761
+ * @param child the child widget
762
+ * @param child_property the name of a child property installed on the class of `container`
763
+ */
764
+ child_notify(child: Gtk.Widget, child_property: string | null): void
765
+
766
+ // Overloads of child_notify
767
+
768
+ /**
769
+ * Emits a #GtkWidget::child-notify signal for the
770
+ * [child property][child-properties] `child_property`
771
+ * on `widget`.
772
+ *
773
+ * This is the analogue of g_object_notify() for child properties.
774
+ *
775
+ * Also see gtk_container_child_notify().
776
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
777
+ */
778
+ child_notify(child_property: string | null): void
779
+ /**
780
+ * Emits a #GtkWidget::child-notify signal for the
781
+ * [child property][child-properties] `child_property`
782
+ * on `widget`.
783
+ *
784
+ * This is the analogue of g_object_notify() for child properties.
785
+ *
786
+ * Also see gtk_container_child_notify().
787
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
788
+ */
789
+ child_notify(child_property: string | null): void
790
+
791
+ // Own virtual methods of Builder-1.0.Builder.Tree
792
+
793
+ vfunc_action(action_group: string | null, action_name: string | null, param: string | null): void
794
+ vfunc_populate_popup(widget: Gtk.Widget): void
795
+
796
+ // Own signals of Builder-1.0.Builder.Tree
797
+
798
+ connect(sigName: "action", callback: Tree.ActionSignalCallback): number
799
+ connect_after(sigName: "action", callback: Tree.ActionSignalCallback): number
800
+ emit(sigName: "action", object: string | null, p0: string | null, p1: string | null, ...args: any[]): void
801
+ connect(sigName: "populate-popup", callback: Tree.PopulatePopupSignalCallback): number
802
+ connect_after(sigName: "populate-popup", callback: Tree.PopulatePopupSignalCallback): number
803
+ emit(sigName: "populate-popup", object: Gtk.Widget, ...args: any[]): void
804
+
805
+ // Class property signals of Builder-1.0.Builder.Tree
806
+
807
+ connect(sigName: "notify::root", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
808
+ connect_after(sigName: "notify::root", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
809
+ emit(sigName: "notify::root", ...args: any[]): void
810
+ connect(sigName: "notify::selection", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
811
+ connect_after(sigName: "notify::selection", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
812
+ emit(sigName: "notify::selection", ...args: any[]): void
813
+ connect(sigName: "notify::show-icons", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
814
+ connect_after(sigName: "notify::show-icons", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
815
+ emit(sigName: "notify::show-icons", ...args: any[]): void
816
+ connect(sigName: "notify::activate-on-single-click", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
817
+ connect_after(sigName: "notify::activate-on-single-click", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
818
+ emit(sigName: "notify::activate-on-single-click", ...args: any[]): void
819
+ connect(sigName: "notify::enable-grid-lines", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
820
+ connect_after(sigName: "notify::enable-grid-lines", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
821
+ emit(sigName: "notify::enable-grid-lines", ...args: any[]): void
822
+ connect(sigName: "notify::enable-search", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
823
+ connect_after(sigName: "notify::enable-search", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
824
+ emit(sigName: "notify::enable-search", ...args: any[]): void
825
+ connect(sigName: "notify::enable-tree-lines", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
826
+ connect_after(sigName: "notify::enable-tree-lines", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
827
+ emit(sigName: "notify::enable-tree-lines", ...args: any[]): void
828
+ connect(sigName: "notify::expander-column", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
829
+ connect_after(sigName: "notify::expander-column", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
830
+ emit(sigName: "notify::expander-column", ...args: any[]): void
831
+ connect(sigName: "notify::fixed-height-mode", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
832
+ connect_after(sigName: "notify::fixed-height-mode", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
833
+ emit(sigName: "notify::fixed-height-mode", ...args: any[]): void
834
+ connect(sigName: "notify::headers-clickable", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
835
+ connect_after(sigName: "notify::headers-clickable", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
836
+ emit(sigName: "notify::headers-clickable", ...args: any[]): void
837
+ connect(sigName: "notify::headers-visible", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
838
+ connect_after(sigName: "notify::headers-visible", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
839
+ emit(sigName: "notify::headers-visible", ...args: any[]): void
840
+ connect(sigName: "notify::hover-expand", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
841
+ connect_after(sigName: "notify::hover-expand", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
842
+ emit(sigName: "notify::hover-expand", ...args: any[]): void
843
+ connect(sigName: "notify::hover-selection", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
844
+ connect_after(sigName: "notify::hover-selection", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
845
+ emit(sigName: "notify::hover-selection", ...args: any[]): void
846
+ connect(sigName: "notify::level-indentation", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
847
+ connect_after(sigName: "notify::level-indentation", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
848
+ emit(sigName: "notify::level-indentation", ...args: any[]): void
849
+ connect(sigName: "notify::model", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
850
+ connect_after(sigName: "notify::model", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
851
+ emit(sigName: "notify::model", ...args: any[]): void
852
+ connect(sigName: "notify::reorderable", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
853
+ connect_after(sigName: "notify::reorderable", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
854
+ emit(sigName: "notify::reorderable", ...args: any[]): void
855
+ connect(sigName: "notify::rubber-banding", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
856
+ connect_after(sigName: "notify::rubber-banding", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
857
+ emit(sigName: "notify::rubber-banding", ...args: any[]): void
858
+ connect(sigName: "notify::rules-hint", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
859
+ connect_after(sigName: "notify::rules-hint", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
860
+ emit(sigName: "notify::rules-hint", ...args: any[]): void
861
+ connect(sigName: "notify::search-column", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
862
+ connect_after(sigName: "notify::search-column", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
863
+ emit(sigName: "notify::search-column", ...args: any[]): void
864
+ connect(sigName: "notify::show-expanders", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
865
+ connect_after(sigName: "notify::show-expanders", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
866
+ emit(sigName: "notify::show-expanders", ...args: any[]): void
867
+ connect(sigName: "notify::tooltip-column", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
868
+ connect_after(sigName: "notify::tooltip-column", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
869
+ emit(sigName: "notify::tooltip-column", ...args: any[]): void
870
+ connect(sigName: "notify::border-width", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
871
+ connect_after(sigName: "notify::border-width", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
872
+ emit(sigName: "notify::border-width", ...args: any[]): void
873
+ connect(sigName: "notify::child", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
874
+ connect_after(sigName: "notify::child", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
875
+ emit(sigName: "notify::child", ...args: any[]): void
876
+ connect(sigName: "notify::resize-mode", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
877
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
878
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
879
+ connect(sigName: "notify::app-paintable", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
880
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
881
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
882
+ connect(sigName: "notify::can-default", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
883
+ connect_after(sigName: "notify::can-default", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
884
+ emit(sigName: "notify::can-default", ...args: any[]): void
885
+ connect(sigName: "notify::can-focus", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
886
+ connect_after(sigName: "notify::can-focus", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
887
+ emit(sigName: "notify::can-focus", ...args: any[]): void
888
+ connect(sigName: "notify::composite-child", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
889
+ connect_after(sigName: "notify::composite-child", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
890
+ emit(sigName: "notify::composite-child", ...args: any[]): void
891
+ connect(sigName: "notify::double-buffered", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
892
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
893
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
894
+ connect(sigName: "notify::events", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
895
+ connect_after(sigName: "notify::events", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
896
+ emit(sigName: "notify::events", ...args: any[]): void
897
+ connect(sigName: "notify::expand", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
898
+ connect_after(sigName: "notify::expand", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
899
+ emit(sigName: "notify::expand", ...args: any[]): void
900
+ connect(sigName: "notify::focus-on-click", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
901
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
902
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
903
+ connect(sigName: "notify::halign", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
904
+ connect_after(sigName: "notify::halign", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
905
+ emit(sigName: "notify::halign", ...args: any[]): void
906
+ connect(sigName: "notify::has-default", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
907
+ connect_after(sigName: "notify::has-default", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
908
+ emit(sigName: "notify::has-default", ...args: any[]): void
909
+ connect(sigName: "notify::has-focus", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
910
+ connect_after(sigName: "notify::has-focus", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
911
+ emit(sigName: "notify::has-focus", ...args: any[]): void
912
+ connect(sigName: "notify::has-tooltip", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
913
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
914
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
915
+ connect(sigName: "notify::height-request", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
916
+ connect_after(sigName: "notify::height-request", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
917
+ emit(sigName: "notify::height-request", ...args: any[]): void
918
+ connect(sigName: "notify::hexpand", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
919
+ connect_after(sigName: "notify::hexpand", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
920
+ emit(sigName: "notify::hexpand", ...args: any[]): void
921
+ connect(sigName: "notify::hexpand-set", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
922
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
923
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
924
+ connect(sigName: "notify::is-focus", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
925
+ connect_after(sigName: "notify::is-focus", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
926
+ emit(sigName: "notify::is-focus", ...args: any[]): void
927
+ connect(sigName: "notify::margin", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
928
+ connect_after(sigName: "notify::margin", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
929
+ emit(sigName: "notify::margin", ...args: any[]): void
930
+ connect(sigName: "notify::margin-bottom", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
931
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
932
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
933
+ connect(sigName: "notify::margin-end", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
934
+ connect_after(sigName: "notify::margin-end", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
935
+ emit(sigName: "notify::margin-end", ...args: any[]): void
936
+ connect(sigName: "notify::margin-left", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
937
+ connect_after(sigName: "notify::margin-left", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
938
+ emit(sigName: "notify::margin-left", ...args: any[]): void
939
+ connect(sigName: "notify::margin-right", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
940
+ connect_after(sigName: "notify::margin-right", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
941
+ emit(sigName: "notify::margin-right", ...args: any[]): void
942
+ connect(sigName: "notify::margin-start", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
943
+ connect_after(sigName: "notify::margin-start", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
944
+ emit(sigName: "notify::margin-start", ...args: any[]): void
945
+ connect(sigName: "notify::margin-top", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
946
+ connect_after(sigName: "notify::margin-top", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
947
+ emit(sigName: "notify::margin-top", ...args: any[]): void
948
+ connect(sigName: "notify::name", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
949
+ connect_after(sigName: "notify::name", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
950
+ emit(sigName: "notify::name", ...args: any[]): void
951
+ connect(sigName: "notify::no-show-all", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
952
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
953
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
954
+ connect(sigName: "notify::opacity", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
955
+ connect_after(sigName: "notify::opacity", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
956
+ emit(sigName: "notify::opacity", ...args: any[]): void
957
+ connect(sigName: "notify::parent", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
958
+ connect_after(sigName: "notify::parent", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
959
+ emit(sigName: "notify::parent", ...args: any[]): void
960
+ connect(sigName: "notify::receives-default", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
961
+ connect_after(sigName: "notify::receives-default", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
962
+ emit(sigName: "notify::receives-default", ...args: any[]): void
963
+ connect(sigName: "notify::scale-factor", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
964
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
965
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
966
+ connect(sigName: "notify::sensitive", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
967
+ connect_after(sigName: "notify::sensitive", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
968
+ emit(sigName: "notify::sensitive", ...args: any[]): void
969
+ connect(sigName: "notify::style", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
970
+ connect_after(sigName: "notify::style", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
971
+ emit(sigName: "notify::style", ...args: any[]): void
972
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
973
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
974
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
975
+ connect(sigName: "notify::tooltip-text", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
976
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
977
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
978
+ connect(sigName: "notify::valign", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
979
+ connect_after(sigName: "notify::valign", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
980
+ emit(sigName: "notify::valign", ...args: any[]): void
981
+ connect(sigName: "notify::vexpand", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
982
+ connect_after(sigName: "notify::vexpand", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
983
+ emit(sigName: "notify::vexpand", ...args: any[]): void
984
+ connect(sigName: "notify::vexpand-set", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
985
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
986
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
987
+ connect(sigName: "notify::visible", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
988
+ connect_after(sigName: "notify::visible", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
989
+ emit(sigName: "notify::visible", ...args: any[]): void
990
+ connect(sigName: "notify::width-request", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
991
+ connect_after(sigName: "notify::width-request", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
992
+ emit(sigName: "notify::width-request", ...args: any[]): void
993
+ connect(sigName: "notify::window", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
994
+ connect_after(sigName: "notify::window", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
995
+ emit(sigName: "notify::window", ...args: any[]): void
996
+ connect(sigName: "notify::hadjustment", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
997
+ connect_after(sigName: "notify::hadjustment", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
998
+ emit(sigName: "notify::hadjustment", ...args: any[]): void
999
+ connect(sigName: "notify::hscroll-policy", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
1000
+ connect_after(sigName: "notify::hscroll-policy", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
1001
+ emit(sigName: "notify::hscroll-policy", ...args: any[]): void
1002
+ connect(sigName: "notify::vadjustment", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
1003
+ connect_after(sigName: "notify::vadjustment", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
1004
+ emit(sigName: "notify::vadjustment", ...args: any[]): void
1005
+ connect(sigName: "notify::vscroll-policy", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
1006
+ connect_after(sigName: "notify::vscroll-policy", callback: (($obj: Tree, pspec: GObject.ParamSpec) => void)): number
1007
+ emit(sigName: "notify::vscroll-policy", ...args: any[]): void
1008
+ connect(sigName: string, callback: (...args: any[]) => void): number
1009
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1010
+ emit(sigName: string, ...args: any[]): void
1011
+ disconnect(id: number): void
1012
+ }
1013
+
1014
+ export class Tree extends Gtk.TreeView {
1015
+
1016
+ // Own properties of Builder-1.0.Builder.Tree
1017
+
1018
+ static name: string
1019
+ static $gtype: GObject.GType<Tree>
1020
+
1021
+ // Constructors of Builder-1.0.Builder.Tree
1022
+
1023
+ constructor(config?: Tree.ConstructorProperties)
1024
+ _init(config?: Tree.ConstructorProperties): void
1025
+ }
1026
+
1027
+ export module TreeBuilder {
1028
+
1029
+ // Signal callback interfaces
1030
+
1031
+ /**
1032
+ * Signal callback interface for `added`
1033
+ */
1034
+ export interface AddedSignalCallback {
1035
+ ($obj: TreeBuilder, object: Tree): void
1036
+ }
1037
+
1038
+ /**
1039
+ * Signal callback interface for `build-node`
1040
+ */
1041
+ export interface BuildNodeSignalCallback {
1042
+ ($obj: TreeBuilder, object: TreeNode): void
1043
+ }
1044
+
1045
+ /**
1046
+ * Signal callback interface for `node-activated`
1047
+ */
1048
+ export interface NodeActivatedSignalCallback {
1049
+ ($obj: TreeBuilder, object: TreeNode): boolean
1050
+ }
1051
+
1052
+ /**
1053
+ * Signal callback interface for `node-popup`
1054
+ */
1055
+ export interface NodePopupSignalCallback {
1056
+ ($obj: TreeBuilder, object: TreeNode, p0: Gio.Menu): void
1057
+ }
1058
+
1059
+ /**
1060
+ * Signal callback interface for `node-selected`
1061
+ */
1062
+ export interface NodeSelectedSignalCallback {
1063
+ ($obj: TreeBuilder, object: TreeNode): void
1064
+ }
1065
+
1066
+ /**
1067
+ * Signal callback interface for `node-unselected`
1068
+ */
1069
+ export interface NodeUnselectedSignalCallback {
1070
+ ($obj: TreeBuilder, object: TreeNode): void
1071
+ }
1072
+
1073
+ /**
1074
+ * Signal callback interface for `removed`
1075
+ */
1076
+ export interface RemovedSignalCallback {
1077
+ ($obj: TreeBuilder, object: Tree): void
1078
+ }
1079
+
1080
+
1081
+ // Constructor properties interface
1082
+
1083
+ export interface ConstructorProperties extends GObject.InitiallyUnowned.ConstructorProperties {
1084
+ }
1085
+
1086
+ }
1087
+
1088
+ export interface TreeBuilder {
1089
+
1090
+ // Own properties of Builder-1.0.Builder.TreeBuilder
1091
+
1092
+ readonly tree: Tree
1093
+
1094
+ // Own fields of Builder-1.0.Builder.TreeBuilder
1095
+
1096
+ parent_instance: GObject.InitiallyUnowned
1097
+
1098
+ // Owm methods of Builder-1.0.Builder.TreeBuilder
1099
+
1100
+ /**
1101
+ * Gets the tree that owns the builder.
1102
+ * @returns A #GbTree or %NULL.
1103
+ */
1104
+ get_tree(): Tree | null
1105
+
1106
+ // Own virtual methods of Builder-1.0.Builder.TreeBuilder
1107
+
1108
+ vfunc_added(tree: Gtk.Widget): void
1109
+ vfunc_build_node(node: TreeNode): void
1110
+ vfunc_node_activated(node: TreeNode): boolean
1111
+ vfunc_node_popup(node: TreeNode, menu: Gio.Menu): void
1112
+ vfunc_node_selected(node: TreeNode): void
1113
+ vfunc_node_unselected(node: TreeNode): void
1114
+ vfunc_removed(tree: Gtk.Widget): void
1115
+
1116
+ // Own signals of Builder-1.0.Builder.TreeBuilder
1117
+
1118
+ connect(sigName: "added", callback: TreeBuilder.AddedSignalCallback): number
1119
+ connect_after(sigName: "added", callback: TreeBuilder.AddedSignalCallback): number
1120
+ emit(sigName: "added", object: Tree, ...args: any[]): void
1121
+ connect(sigName: "build-node", callback: TreeBuilder.BuildNodeSignalCallback): number
1122
+ connect_after(sigName: "build-node", callback: TreeBuilder.BuildNodeSignalCallback): number
1123
+ emit(sigName: "build-node", object: TreeNode, ...args: any[]): void
1124
+ connect(sigName: "node-activated", callback: TreeBuilder.NodeActivatedSignalCallback): number
1125
+ connect_after(sigName: "node-activated", callback: TreeBuilder.NodeActivatedSignalCallback): number
1126
+ emit(sigName: "node-activated", object: TreeNode, ...args: any[]): void
1127
+ connect(sigName: "node-popup", callback: TreeBuilder.NodePopupSignalCallback): number
1128
+ connect_after(sigName: "node-popup", callback: TreeBuilder.NodePopupSignalCallback): number
1129
+ emit(sigName: "node-popup", object: TreeNode, p0: Gio.Menu, ...args: any[]): void
1130
+ connect(sigName: "node-selected", callback: TreeBuilder.NodeSelectedSignalCallback): number
1131
+ connect_after(sigName: "node-selected", callback: TreeBuilder.NodeSelectedSignalCallback): number
1132
+ emit(sigName: "node-selected", object: TreeNode, ...args: any[]): void
1133
+ connect(sigName: "node-unselected", callback: TreeBuilder.NodeUnselectedSignalCallback): number
1134
+ connect_after(sigName: "node-unselected", callback: TreeBuilder.NodeUnselectedSignalCallback): number
1135
+ emit(sigName: "node-unselected", object: TreeNode, ...args: any[]): void
1136
+ connect(sigName: "removed", callback: TreeBuilder.RemovedSignalCallback): number
1137
+ connect_after(sigName: "removed", callback: TreeBuilder.RemovedSignalCallback): number
1138
+ emit(sigName: "removed", object: Tree, ...args: any[]): void
1139
+
1140
+ // Class property signals of Builder-1.0.Builder.TreeBuilder
1141
+
1142
+ connect(sigName: "notify::tree", callback: (($obj: TreeBuilder, pspec: GObject.ParamSpec) => void)): number
1143
+ connect_after(sigName: "notify::tree", callback: (($obj: TreeBuilder, pspec: GObject.ParamSpec) => void)): number
1144
+ emit(sigName: "notify::tree", ...args: any[]): void
1145
+ connect(sigName: string, callback: (...args: any[]) => void): number
1146
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1147
+ emit(sigName: string, ...args: any[]): void
1148
+ disconnect(id: number): void
1149
+ }
1150
+
1151
+ export class TreeBuilder extends GObject.InitiallyUnowned {
1152
+
1153
+ // Own properties of Builder-1.0.Builder.TreeBuilder
1154
+
1155
+ static name: string
1156
+ static $gtype: GObject.GType<TreeBuilder>
1157
+
1158
+ // Constructors of Builder-1.0.Builder.TreeBuilder
1159
+
1160
+ constructor(config?: TreeBuilder.ConstructorProperties)
1161
+ _init(config?: TreeBuilder.ConstructorProperties): void
1162
+ }
1163
+
1164
+ export module TreeNode {
1165
+
1166
+ // Constructor properties interface
1167
+
1168
+ export interface ConstructorProperties extends GObject.InitiallyUnowned.ConstructorProperties {
1169
+
1170
+ // Own constructor properties of Builder-1.0.Builder.TreeNode
1171
+
1172
+ /**
1173
+ * This property allows for more lazy loading of nodes.
1174
+ *
1175
+ * When a node becomes visible, we normally build it's children nodes
1176
+ * so that we know if we need an expansion arrow. However, that can
1177
+ * be expensive when rendering directories with lots of subdirectories.
1178
+ *
1179
+ * Using this, you can always show an arrow without building the children
1180
+ * and simply hide the arrow if there were in fact no children (upon
1181
+ * expansion).
1182
+ */
1183
+ children_possible?: boolean | null
1184
+ /**
1185
+ * An icon-name to display on the row.
1186
+ */
1187
+ icon_name?: string | null
1188
+ /**
1189
+ * An optional #GObject to associate with the node.
1190
+ */
1191
+ item?: GObject.Object | null
1192
+ /**
1193
+ * Text to display on the tree node.
1194
+ */
1195
+ text?: string | null
1196
+ /**
1197
+ * The tree the node belongs to.
1198
+ */
1199
+ tree?: Tree | null
1200
+ use_dim_label?: boolean | null
1201
+ /**
1202
+ * If the "text" property includes #GMarkup.
1203
+ */
1204
+ use_markup?: boolean | null
1205
+ }
1206
+
1207
+ }
1208
+
1209
+ export interface TreeNode {
1210
+
1211
+ // Own properties of Builder-1.0.Builder.TreeNode
1212
+
1213
+ /**
1214
+ * This property allows for more lazy loading of nodes.
1215
+ *
1216
+ * When a node becomes visible, we normally build it's children nodes
1217
+ * so that we know if we need an expansion arrow. However, that can
1218
+ * be expensive when rendering directories with lots of subdirectories.
1219
+ *
1220
+ * Using this, you can always show an arrow without building the children
1221
+ * and simply hide the arrow if there were in fact no children (upon
1222
+ * expansion).
1223
+ */
1224
+ children_possible: boolean
1225
+ /**
1226
+ * An icon-name to display on the row.
1227
+ */
1228
+ icon_name: string | null
1229
+ /**
1230
+ * An optional #GObject to associate with the node.
1231
+ */
1232
+ item: GObject.Object
1233
+ /**
1234
+ * The parent of the node.
1235
+ */
1236
+ readonly parent: TreeNode
1237
+ /**
1238
+ * Text to display on the tree node.
1239
+ */
1240
+ text: string | null
1241
+ /**
1242
+ * The tree the node belongs to.
1243
+ */
1244
+ tree: Tree
1245
+ use_dim_label: boolean
1246
+ /**
1247
+ * If the "text" property includes #GMarkup.
1248
+ */
1249
+ use_markup: boolean
1250
+
1251
+ // Owm methods of Builder-1.0.Builder.TreeNode
1252
+
1253
+ /**
1254
+ * Appends `child` to the list of children owned by `node`.
1255
+ * @param child A #GbTreeNode.
1256
+ */
1257
+ append(child: TreeNode): void
1258
+ collapse(): void
1259
+ expand(expand_ancestors: boolean): boolean
1260
+ get_area(area: Gdk.Rectangle): void
1261
+ get_children_possible(): boolean
1262
+ get_expanded(): boolean
1263
+ /**
1264
+ * Fetches the icon-name of the icon to display, or NULL for no icon.
1265
+ */
1266
+ get_icon_name(): string | null
1267
+ /**
1268
+ * Gets a #GObject for the node, if one was set.
1269
+ * @returns A #GObject or %NULL.
1270
+ */
1271
+ get_item(): GObject.Object
1272
+ get_iter(iter: Gtk.TreeIter): boolean
1273
+ /**
1274
+ * Retrieves the parent #GbTreeNode for `node`.
1275
+ * @returns A #GbTreeNode.
1276
+ */
1277
+ get_parent(): TreeNode
1278
+ /**
1279
+ * Gets a #GtkTreePath for `node`.
1280
+ * @returns A #GtkTreePath if successful; otherwise %NULL.
1281
+ */
1282
+ get_path(): Gtk.TreePath | null
1283
+ get_text(): string | null
1284
+ /**
1285
+ * Fetches the #GbTree instance that owns the node.
1286
+ * @returns A #GbTree.
1287
+ */
1288
+ get_tree(): Tree
1289
+ get_use_dim_label(): boolean
1290
+ get_use_markup(): boolean
1291
+ /**
1292
+ * Inserts a `child` as a child of `node,` sorting it among the other children.
1293
+ * @param child A #GbTreeNode.
1294
+ * @param compare_func A compare func to compare nodes.
1295
+ */
1296
+ insert_sorted(child: TreeNode, compare_func: TreeNodeCompareFunc): void
1297
+ invalidate(): void
1298
+ /**
1299
+ * Prepends `child` to the list of children owned by `node`.
1300
+ * @param child A #GbTreeNode.
1301
+ */
1302
+ prepend(child: TreeNode): void
1303
+ /**
1304
+ * Removes `child` from the list of children owned by `node`.
1305
+ * @param child A #GbTreeNode.
1306
+ */
1307
+ remove(child: TreeNode): void
1308
+ select(): void
1309
+ /**
1310
+ * If the node has not yet been built, setting this to %TRUE will add a
1311
+ * dummy child node. This dummy node will be removed when when the node
1312
+ * is built by the registered #GbTreeBuilder instances.
1313
+ * @param children_possible If the node has children.
1314
+ */
1315
+ set_children_possible(children_possible: boolean): void
1316
+ /**
1317
+ * Sets the icon name of the node. This is displayed in the pixbuf
1318
+ * cell of the GbTree.
1319
+ * @param icon_name The icon name.
1320
+ */
1321
+ set_icon_name(icon_name: string | null): void
1322
+ /**
1323
+ * An optional object to associate with the node. This is handy to save needing
1324
+ * to subclass the #GbTreeNode class.
1325
+ * @param item A #GObject.
1326
+ */
1327
+ set_item(item: GObject.Object): void
1328
+ /**
1329
+ * Sets the text of the node. This is displayed in the text
1330
+ * cell of the GbTree.
1331
+ * @param text The node text.
1332
+ */
1333
+ set_text(text: string | null): void
1334
+ set_use_dim_label(use_dim_label: boolean): void
1335
+ set_use_markup(use_markup: boolean): void
1336
+ show_popover(popover: Gtk.Popover): void
1337
+
1338
+ // Class property signals of Builder-1.0.Builder.TreeNode
1339
+
1340
+ connect(sigName: "notify::children-possible", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1341
+ connect_after(sigName: "notify::children-possible", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1342
+ emit(sigName: "notify::children-possible", ...args: any[]): void
1343
+ connect(sigName: "notify::icon-name", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1344
+ connect_after(sigName: "notify::icon-name", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1345
+ emit(sigName: "notify::icon-name", ...args: any[]): void
1346
+ connect(sigName: "notify::item", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1347
+ connect_after(sigName: "notify::item", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1348
+ emit(sigName: "notify::item", ...args: any[]): void
1349
+ connect(sigName: "notify::parent", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1350
+ connect_after(sigName: "notify::parent", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1351
+ emit(sigName: "notify::parent", ...args: any[]): void
1352
+ connect(sigName: "notify::text", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1353
+ connect_after(sigName: "notify::text", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1354
+ emit(sigName: "notify::text", ...args: any[]): void
1355
+ connect(sigName: "notify::tree", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1356
+ connect_after(sigName: "notify::tree", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1357
+ emit(sigName: "notify::tree", ...args: any[]): void
1358
+ connect(sigName: "notify::use-dim-label", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1359
+ connect_after(sigName: "notify::use-dim-label", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1360
+ emit(sigName: "notify::use-dim-label", ...args: any[]): void
1361
+ connect(sigName: "notify::use-markup", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1362
+ connect_after(sigName: "notify::use-markup", callback: (($obj: TreeNode, pspec: GObject.ParamSpec) => void)): number
1363
+ emit(sigName: "notify::use-markup", ...args: any[]): void
1364
+ connect(sigName: string, callback: (...args: any[]) => void): number
1365
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1366
+ emit(sigName: string, ...args: any[]): void
1367
+ disconnect(id: number): void
1368
+ }
1369
+
1370
+ export class TreeNode extends GObject.InitiallyUnowned {
1371
+
1372
+ // Own properties of Builder-1.0.Builder.TreeNode
1373
+
1374
+ static name: string
1375
+ static $gtype: GObject.GType<TreeNode>
1376
+
1377
+ // Constructors of Builder-1.0.Builder.TreeNode
1378
+
1379
+ constructor(config?: TreeNode.ConstructorProperties)
1380
+ /**
1381
+ * Creates a new #GbTreeNode instance. This is handy for situations where you
1382
+ * do not want to subclass #GbTreeNode.
1383
+ * @constructor
1384
+ * @returns A #GbTreeNode
1385
+ */
1386
+ constructor()
1387
+ /**
1388
+ * Creates a new #GbTreeNode instance. This is handy for situations where you
1389
+ * do not want to subclass #GbTreeNode.
1390
+ * @constructor
1391
+ * @returns A #GbTreeNode
1392
+ */
1393
+ static new(): TreeNode
1394
+ _init(config?: TreeNode.ConstructorProperties): void
1395
+ }
1396
+
1397
+ export module View {
1398
+
1399
+ // Constructor properties interface
1400
+
1401
+ export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Orientable.ConstructorProperties, Gtk.Box.ConstructorProperties {
1402
+ }
1403
+
1404
+ }
1405
+
1406
+ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1407
+
1408
+ // Own properties of Builder-1.0.Builder.View
1409
+
1410
+ readonly can_split: boolean
1411
+ readonly document: Document
1412
+ readonly modified: boolean
1413
+ readonly special_title: string | null
1414
+ readonly title: string | null
1415
+
1416
+ // Own fields of Builder-1.0.Builder.View
1417
+
1418
+ parent_instance: Gtk.Box & GObject.InitiallyUnowned
1419
+
1420
+ // Owm methods of Builder-1.0.Builder.View
1421
+
1422
+ /**
1423
+ * Creates a new view similar to `self` that can be displayed in a split.
1424
+ * If the view does not support splits, %NULL will be returned.
1425
+ * @returns A #GbView.
1426
+ */
1427
+ create_split(): View
1428
+ /**
1429
+ * Checks if `self` can create a preview view (such as html, markdown, etc).
1430
+ * @returns %TRUE if @self can create a preview view.
1431
+ */
1432
+ get_can_preview(): boolean
1433
+ /**
1434
+ * Checks if `self` can create a split view. If so, %TRUE is returned. Otherwise, %FALSE.
1435
+ * @returns %TRUE if @self can create a split.
1436
+ */
1437
+ get_can_split(): boolean
1438
+ /**
1439
+ * Gets the controls for the view.
1440
+ * @returns A #GtkWidget.
1441
+ */
1442
+ get_controls(): Gtk.Widget | null
1443
+ /**
1444
+ * Gets the document for the view.
1445
+ * @returns A #GbDocument.
1446
+ */
1447
+ get_document(): Document
1448
+ get_menu(): Gio.Menu
1449
+ get_modified(): boolean
1450
+ get_special_title(): string | null
1451
+ get_title(): string | null
1452
+ navigate_to(location: Ide.SourceLocation): void
1453
+ set_back_forward_list(back_forward_list: Ide.BackForwardList): void
1454
+ /**
1455
+ * Set a split view using GtkPaned style split with %GTK_ORIENTATION_VERTICAL.
1456
+ * @param split_view if the split should be enabled.
1457
+ */
1458
+ set_split_view(split_view: boolean): void
1459
+
1460
+ // Conflicting methods
1461
+
1462
+ /**
1463
+ * Emits a #GtkWidget::child-notify signal for the
1464
+ * [child property][child-properties]
1465
+ * `child_property` on the child.
1466
+ *
1467
+ * This is an analogue of g_object_notify() for child properties.
1468
+ *
1469
+ * Also see gtk_widget_child_notify().
1470
+ * @param child the child widget
1471
+ * @param child_property the name of a child property installed on the class of `container`
1472
+ */
1473
+ child_notify(child: Gtk.Widget, child_property: string | null): void
1474
+
1475
+ // Overloads of child_notify
1476
+
1477
+ /**
1478
+ * Emits a #GtkWidget::child-notify signal for the
1479
+ * [child property][child-properties] `child_property`
1480
+ * on `widget`.
1481
+ *
1482
+ * This is the analogue of g_object_notify() for child properties.
1483
+ *
1484
+ * Also see gtk_container_child_notify().
1485
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1486
+ */
1487
+ child_notify(child_property: string | null): void
1488
+ /**
1489
+ * Emits a #GtkWidget::child-notify signal for the
1490
+ * [child property][child-properties] `child_property`
1491
+ * on `widget`.
1492
+ *
1493
+ * This is the analogue of g_object_notify() for child properties.
1494
+ *
1495
+ * Also see gtk_container_child_notify().
1496
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1497
+ */
1498
+ child_notify(child_property: string | null): void
1499
+
1500
+ // Own virtual methods of Builder-1.0.Builder.View
1501
+
1502
+ /**
1503
+ * Creates a new view similar to `self` that can be displayed in a split.
1504
+ * If the view does not support splits, %NULL will be returned.
1505
+ * @virtual
1506
+ * @returns A #GbView.
1507
+ */
1508
+ vfunc_create_split(): View
1509
+ /**
1510
+ * Checks if `self` can create a preview view (such as html, markdown, etc).
1511
+ * @virtual
1512
+ * @returns %TRUE if @self can create a preview view.
1513
+ */
1514
+ vfunc_get_can_preview(): boolean
1515
+ /**
1516
+ * Checks if `self` can create a split view. If so, %TRUE is returned. Otherwise, %FALSE.
1517
+ * @virtual
1518
+ * @returns %TRUE if @self can create a split.
1519
+ */
1520
+ vfunc_get_can_split(): boolean
1521
+ /**
1522
+ * Gets the document for the view.
1523
+ * @virtual
1524
+ * @returns A #GbDocument.
1525
+ */
1526
+ vfunc_get_document(): Document
1527
+ vfunc_get_modified(): boolean
1528
+ vfunc_get_special_title(): string | null
1529
+ vfunc_get_title(): string | null
1530
+ vfunc_navigate_to(location: Ide.SourceLocation): void
1531
+ vfunc_set_back_forward_list(back_forward_list: Ide.BackForwardList): void
1532
+ /**
1533
+ * Set a split view using GtkPaned style split with %GTK_ORIENTATION_VERTICAL.
1534
+ * @virtual
1535
+ * @param split_view if the split should be enabled.
1536
+ */
1537
+ vfunc_set_split_view(split_view: boolean): void
1538
+
1539
+ // Class property signals of Builder-1.0.Builder.View
1540
+
1541
+ connect(sigName: "notify::can-split", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1542
+ connect_after(sigName: "notify::can-split", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1543
+ emit(sigName: "notify::can-split", ...args: any[]): void
1544
+ connect(sigName: "notify::document", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1545
+ connect_after(sigName: "notify::document", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1546
+ emit(sigName: "notify::document", ...args: any[]): void
1547
+ connect(sigName: "notify::modified", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1548
+ connect_after(sigName: "notify::modified", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1549
+ emit(sigName: "notify::modified", ...args: any[]): void
1550
+ connect(sigName: "notify::special-title", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1551
+ connect_after(sigName: "notify::special-title", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1552
+ emit(sigName: "notify::special-title", ...args: any[]): void
1553
+ connect(sigName: "notify::title", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1554
+ connect_after(sigName: "notify::title", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1555
+ emit(sigName: "notify::title", ...args: any[]): void
1556
+ connect(sigName: "notify::baseline-position", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1557
+ connect_after(sigName: "notify::baseline-position", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1558
+ emit(sigName: "notify::baseline-position", ...args: any[]): void
1559
+ connect(sigName: "notify::homogeneous", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1560
+ connect_after(sigName: "notify::homogeneous", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1561
+ emit(sigName: "notify::homogeneous", ...args: any[]): void
1562
+ connect(sigName: "notify::spacing", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1563
+ connect_after(sigName: "notify::spacing", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1564
+ emit(sigName: "notify::spacing", ...args: any[]): void
1565
+ connect(sigName: "notify::border-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1566
+ connect_after(sigName: "notify::border-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1567
+ emit(sigName: "notify::border-width", ...args: any[]): void
1568
+ connect(sigName: "notify::child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1569
+ connect_after(sigName: "notify::child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1570
+ emit(sigName: "notify::child", ...args: any[]): void
1571
+ connect(sigName: "notify::resize-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1572
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1573
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
1574
+ connect(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1575
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1576
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
1577
+ connect(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1578
+ connect_after(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1579
+ emit(sigName: "notify::can-default", ...args: any[]): void
1580
+ connect(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1581
+ connect_after(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1582
+ emit(sigName: "notify::can-focus", ...args: any[]): void
1583
+ connect(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1584
+ connect_after(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1585
+ emit(sigName: "notify::composite-child", ...args: any[]): void
1586
+ connect(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1587
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1588
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
1589
+ connect(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1590
+ connect_after(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1591
+ emit(sigName: "notify::events", ...args: any[]): void
1592
+ connect(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1593
+ connect_after(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1594
+ emit(sigName: "notify::expand", ...args: any[]): void
1595
+ connect(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1596
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1597
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1598
+ connect(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1599
+ connect_after(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1600
+ emit(sigName: "notify::halign", ...args: any[]): void
1601
+ connect(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1602
+ connect_after(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1603
+ emit(sigName: "notify::has-default", ...args: any[]): void
1604
+ connect(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1605
+ connect_after(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1606
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1607
+ connect(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1608
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1609
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1610
+ connect(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1611
+ connect_after(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1612
+ emit(sigName: "notify::height-request", ...args: any[]): void
1613
+ connect(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1614
+ connect_after(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1615
+ emit(sigName: "notify::hexpand", ...args: any[]): void
1616
+ connect(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1617
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1618
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
1619
+ connect(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1620
+ connect_after(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1621
+ emit(sigName: "notify::is-focus", ...args: any[]): void
1622
+ connect(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1623
+ connect_after(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1624
+ emit(sigName: "notify::margin", ...args: any[]): void
1625
+ connect(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1626
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1627
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
1628
+ connect(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1629
+ connect_after(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1630
+ emit(sigName: "notify::margin-end", ...args: any[]): void
1631
+ connect(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1632
+ connect_after(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1633
+ emit(sigName: "notify::margin-left", ...args: any[]): void
1634
+ connect(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1635
+ connect_after(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1636
+ emit(sigName: "notify::margin-right", ...args: any[]): void
1637
+ connect(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1638
+ connect_after(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1639
+ emit(sigName: "notify::margin-start", ...args: any[]): void
1640
+ connect(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1641
+ connect_after(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1642
+ emit(sigName: "notify::margin-top", ...args: any[]): void
1643
+ connect(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1644
+ connect_after(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1645
+ emit(sigName: "notify::name", ...args: any[]): void
1646
+ connect(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1647
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1648
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
1649
+ connect(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1650
+ connect_after(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1651
+ emit(sigName: "notify::opacity", ...args: any[]): void
1652
+ connect(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1653
+ connect_after(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1654
+ emit(sigName: "notify::parent", ...args: any[]): void
1655
+ connect(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1656
+ connect_after(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1657
+ emit(sigName: "notify::receives-default", ...args: any[]): void
1658
+ connect(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1659
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1660
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
1661
+ connect(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1662
+ connect_after(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1663
+ emit(sigName: "notify::sensitive", ...args: any[]): void
1664
+ connect(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1665
+ connect_after(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1666
+ emit(sigName: "notify::style", ...args: any[]): void
1667
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1668
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1669
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1670
+ connect(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1671
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1672
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
1673
+ connect(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1674
+ connect_after(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1675
+ emit(sigName: "notify::valign", ...args: any[]): void
1676
+ connect(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1677
+ connect_after(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1678
+ emit(sigName: "notify::vexpand", ...args: any[]): void
1679
+ connect(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1680
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1681
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
1682
+ connect(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1683
+ connect_after(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1684
+ emit(sigName: "notify::visible", ...args: any[]): void
1685
+ connect(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1686
+ connect_after(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1687
+ emit(sigName: "notify::width-request", ...args: any[]): void
1688
+ connect(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1689
+ connect_after(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1690
+ emit(sigName: "notify::window", ...args: any[]): void
1691
+ connect(sigName: "notify::orientation", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1692
+ connect_after(sigName: "notify::orientation", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
1693
+ emit(sigName: "notify::orientation", ...args: any[]): void
1694
+ connect(sigName: string, callback: (...args: any[]) => void): number
1695
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1696
+ emit(sigName: string, ...args: any[]): void
1697
+ disconnect(id: number): void
1698
+ }
1699
+
1700
+ export class View extends Gtk.Box {
1701
+
1702
+ // Own properties of Builder-1.0.Builder.View
1703
+
1704
+ static name: string
1705
+ static $gtype: GObject.GType<View>
1706
+
1707
+ // Constructors of Builder-1.0.Builder.View
1708
+
1709
+ constructor(config?: View.ConstructorProperties)
1710
+ _init(config?: View.ConstructorProperties): void
1711
+ }
1712
+
1713
+ export module ViewGrid {
1714
+
1715
+ // Constructor properties interface
1716
+
1717
+ export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Bin.ConstructorProperties {
1718
+ }
1719
+
1720
+ }
1721
+
1722
+ export interface ViewGrid extends Atk.ImplementorIface, Gtk.Buildable {
1723
+
1724
+ // Owm methods of Builder-1.0.Builder.ViewGrid
1725
+
1726
+ add_stack_after(stack: ViewStack): ViewStack
1727
+ add_stack_before(stack: ViewStack): ViewStack
1728
+ find_document_typed(document_type: GObject.GType): Document | null
1729
+ focus_document(document: Document): void
1730
+ /**
1731
+ * Gets the last focused #GbViewStack.
1732
+ * @returns A #GbViewStack or %NULL.
1733
+ */
1734
+ get_last_focus(): Gtk.Widget | null
1735
+ get_stack_after(stack: ViewStack): ViewStack | null
1736
+ get_stack_before(stack: ViewStack): ViewStack | null
1737
+ /**
1738
+ * Fetches all of the stacks in the grid. The resulting #GList should be
1739
+ * freed with g_list_free().
1740
+ * @returns A #GList.
1741
+ */
1742
+ get_stacks(): ViewStack[]
1743
+ raise_document(document: Document, focus: boolean): void
1744
+
1745
+ // Conflicting methods
1746
+
1747
+ /**
1748
+ * Emits a #GtkWidget::child-notify signal for the
1749
+ * [child property][child-properties]
1750
+ * `child_property` on the child.
1751
+ *
1752
+ * This is an analogue of g_object_notify() for child properties.
1753
+ *
1754
+ * Also see gtk_widget_child_notify().
1755
+ * @param child the child widget
1756
+ * @param child_property the name of a child property installed on the class of `container`
1757
+ */
1758
+ child_notify(child: Gtk.Widget, child_property: string | null): void
1759
+
1760
+ // Overloads of child_notify
1761
+
1762
+ /**
1763
+ * Emits a #GtkWidget::child-notify signal for the
1764
+ * [child property][child-properties] `child_property`
1765
+ * on `widget`.
1766
+ *
1767
+ * This is the analogue of g_object_notify() for child properties.
1768
+ *
1769
+ * Also see gtk_container_child_notify().
1770
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1771
+ */
1772
+ child_notify(child_property: string | null): void
1773
+ /**
1774
+ * Emits a #GtkWidget::child-notify signal for the
1775
+ * [child property][child-properties] `child_property`
1776
+ * on `widget`.
1777
+ *
1778
+ * This is the analogue of g_object_notify() for child properties.
1779
+ *
1780
+ * Also see gtk_container_child_notify().
1781
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1782
+ */
1783
+ child_notify(child_property: string | null): void
1784
+
1785
+ // Class property signals of Builder-1.0.Builder.ViewGrid
1786
+
1787
+ connect(sigName: "notify::border-width", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1788
+ connect_after(sigName: "notify::border-width", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1789
+ emit(sigName: "notify::border-width", ...args: any[]): void
1790
+ connect(sigName: "notify::child", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1791
+ connect_after(sigName: "notify::child", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1792
+ emit(sigName: "notify::child", ...args: any[]): void
1793
+ connect(sigName: "notify::resize-mode", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1794
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1795
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
1796
+ connect(sigName: "notify::app-paintable", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1797
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1798
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
1799
+ connect(sigName: "notify::can-default", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1800
+ connect_after(sigName: "notify::can-default", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1801
+ emit(sigName: "notify::can-default", ...args: any[]): void
1802
+ connect(sigName: "notify::can-focus", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1803
+ connect_after(sigName: "notify::can-focus", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1804
+ emit(sigName: "notify::can-focus", ...args: any[]): void
1805
+ connect(sigName: "notify::composite-child", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1806
+ connect_after(sigName: "notify::composite-child", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1807
+ emit(sigName: "notify::composite-child", ...args: any[]): void
1808
+ connect(sigName: "notify::double-buffered", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1809
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1810
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
1811
+ connect(sigName: "notify::events", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1812
+ connect_after(sigName: "notify::events", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1813
+ emit(sigName: "notify::events", ...args: any[]): void
1814
+ connect(sigName: "notify::expand", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1815
+ connect_after(sigName: "notify::expand", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1816
+ emit(sigName: "notify::expand", ...args: any[]): void
1817
+ connect(sigName: "notify::focus-on-click", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1818
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1819
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1820
+ connect(sigName: "notify::halign", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1821
+ connect_after(sigName: "notify::halign", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1822
+ emit(sigName: "notify::halign", ...args: any[]): void
1823
+ connect(sigName: "notify::has-default", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1824
+ connect_after(sigName: "notify::has-default", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1825
+ emit(sigName: "notify::has-default", ...args: any[]): void
1826
+ connect(sigName: "notify::has-focus", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1827
+ connect_after(sigName: "notify::has-focus", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1828
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1829
+ connect(sigName: "notify::has-tooltip", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1830
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1831
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1832
+ connect(sigName: "notify::height-request", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1833
+ connect_after(sigName: "notify::height-request", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1834
+ emit(sigName: "notify::height-request", ...args: any[]): void
1835
+ connect(sigName: "notify::hexpand", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1836
+ connect_after(sigName: "notify::hexpand", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1837
+ emit(sigName: "notify::hexpand", ...args: any[]): void
1838
+ connect(sigName: "notify::hexpand-set", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1839
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1840
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
1841
+ connect(sigName: "notify::is-focus", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1842
+ connect_after(sigName: "notify::is-focus", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1843
+ emit(sigName: "notify::is-focus", ...args: any[]): void
1844
+ connect(sigName: "notify::margin", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1845
+ connect_after(sigName: "notify::margin", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1846
+ emit(sigName: "notify::margin", ...args: any[]): void
1847
+ connect(sigName: "notify::margin-bottom", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1848
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1849
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
1850
+ connect(sigName: "notify::margin-end", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1851
+ connect_after(sigName: "notify::margin-end", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1852
+ emit(sigName: "notify::margin-end", ...args: any[]): void
1853
+ connect(sigName: "notify::margin-left", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1854
+ connect_after(sigName: "notify::margin-left", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1855
+ emit(sigName: "notify::margin-left", ...args: any[]): void
1856
+ connect(sigName: "notify::margin-right", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1857
+ connect_after(sigName: "notify::margin-right", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1858
+ emit(sigName: "notify::margin-right", ...args: any[]): void
1859
+ connect(sigName: "notify::margin-start", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1860
+ connect_after(sigName: "notify::margin-start", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1861
+ emit(sigName: "notify::margin-start", ...args: any[]): void
1862
+ connect(sigName: "notify::margin-top", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1863
+ connect_after(sigName: "notify::margin-top", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1864
+ emit(sigName: "notify::margin-top", ...args: any[]): void
1865
+ connect(sigName: "notify::name", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1866
+ connect_after(sigName: "notify::name", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1867
+ emit(sigName: "notify::name", ...args: any[]): void
1868
+ connect(sigName: "notify::no-show-all", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1869
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1870
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
1871
+ connect(sigName: "notify::opacity", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1872
+ connect_after(sigName: "notify::opacity", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1873
+ emit(sigName: "notify::opacity", ...args: any[]): void
1874
+ connect(sigName: "notify::parent", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1875
+ connect_after(sigName: "notify::parent", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1876
+ emit(sigName: "notify::parent", ...args: any[]): void
1877
+ connect(sigName: "notify::receives-default", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1878
+ connect_after(sigName: "notify::receives-default", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1879
+ emit(sigName: "notify::receives-default", ...args: any[]): void
1880
+ connect(sigName: "notify::scale-factor", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1881
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1882
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
1883
+ connect(sigName: "notify::sensitive", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1884
+ connect_after(sigName: "notify::sensitive", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1885
+ emit(sigName: "notify::sensitive", ...args: any[]): void
1886
+ connect(sigName: "notify::style", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1887
+ connect_after(sigName: "notify::style", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1888
+ emit(sigName: "notify::style", ...args: any[]): void
1889
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1890
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1891
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1892
+ connect(sigName: "notify::tooltip-text", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1893
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1894
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
1895
+ connect(sigName: "notify::valign", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1896
+ connect_after(sigName: "notify::valign", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1897
+ emit(sigName: "notify::valign", ...args: any[]): void
1898
+ connect(sigName: "notify::vexpand", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1899
+ connect_after(sigName: "notify::vexpand", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1900
+ emit(sigName: "notify::vexpand", ...args: any[]): void
1901
+ connect(sigName: "notify::vexpand-set", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1902
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1903
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
1904
+ connect(sigName: "notify::visible", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1905
+ connect_after(sigName: "notify::visible", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1906
+ emit(sigName: "notify::visible", ...args: any[]): void
1907
+ connect(sigName: "notify::width-request", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1908
+ connect_after(sigName: "notify::width-request", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1909
+ emit(sigName: "notify::width-request", ...args: any[]): void
1910
+ connect(sigName: "notify::window", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1911
+ connect_after(sigName: "notify::window", callback: (($obj: ViewGrid, pspec: GObject.ParamSpec) => void)): number
1912
+ emit(sigName: "notify::window", ...args: any[]): void
1913
+ connect(sigName: string, callback: (...args: any[]) => void): number
1914
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1915
+ emit(sigName: string, ...args: any[]): void
1916
+ disconnect(id: number): void
1917
+ }
1918
+
1919
+ export class ViewGrid extends Gtk.Bin {
1920
+
1921
+ // Own properties of Builder-1.0.Builder.ViewGrid
1922
+
1923
+ static name: string
1924
+ static $gtype: GObject.GType<ViewGrid>
1925
+
1926
+ // Constructors of Builder-1.0.Builder.ViewGrid
1927
+
1928
+ constructor(config?: ViewGrid.ConstructorProperties)
1929
+ constructor()
1930
+ static new(): ViewGrid
1931
+ _init(config?: ViewGrid.ConstructorProperties): void
1932
+ }
1933
+
1934
+ export module ViewStack {
1935
+
1936
+ // Signal callback interfaces
1937
+
1938
+ /**
1939
+ * Signal callback interface for `empty`
1940
+ */
1941
+ export interface EmptySignalCallback {
1942
+ ($obj: ViewStack): void
1943
+ }
1944
+
1945
+ /**
1946
+ * Signal callback interface for `split`
1947
+ */
1948
+ export interface SplitSignalCallback {
1949
+ ($obj: ViewStack, view: View, split_type: number): void
1950
+ }
1951
+
1952
+
1953
+ // Constructor properties interface
1954
+
1955
+ export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Bin.ConstructorProperties {
1956
+
1957
+ // Own constructor properties of Builder-1.0.Builder.ViewStack
1958
+
1959
+ active_view?: View | null
1960
+ }
1961
+
1962
+ }
1963
+
1964
+ export interface ViewStack extends Atk.ImplementorIface, Gtk.Buildable {
1965
+
1966
+ // Own properties of Builder-1.0.Builder.ViewStack
1967
+
1968
+ active_view: View
1969
+
1970
+ // Owm methods of Builder-1.0.Builder.ViewStack
1971
+
1972
+ find_document_typed(document_type: GObject.GType): Document | null
1973
+ find_with_document(document: Document): Gtk.Widget | null
1974
+ focus_document(document: Document): void
1975
+ focus_location(location: Ide.SourceLocation): void
1976
+ get_active_view(): Gtk.Widget | null
1977
+ /**
1978
+ * Gets the views belonging to this #GbViewStack.
1979
+ * @returns A #GList of #GbView.
1980
+ */
1981
+ get_views(): View[]
1982
+ raise_document(document: Document, focus: boolean): void
1983
+ remove(view: View): void
1984
+
1985
+ // Overloads of remove
1986
+
1987
+ /**
1988
+ * Removes `widget` from `container`. `widget` must be inside `container`.
1989
+ * Note that `container` will own a reference to `widget,` and that this
1990
+ * may be the last reference held; so removing a widget from its
1991
+ * container can destroy that widget. If you want to use `widget`
1992
+ * again, you need to add a reference to it before removing it from
1993
+ * a container, using g_object_ref(). If you don’t want to use `widget`
1994
+ * again it’s usually more efficient to simply destroy it directly
1995
+ * using gtk_widget_destroy() since this will remove it from the
1996
+ * container and help break any circular reference count cycles.
1997
+ * @param widget a current child of `container`
1998
+ */
1999
+ remove(widget: Gtk.Widget): void
2000
+ set_active_view(active_view: Gtk.Widget): void
2001
+
2002
+ // Conflicting methods
2003
+
2004
+ /**
2005
+ * Emits a #GtkWidget::child-notify signal for the
2006
+ * [child property][child-properties]
2007
+ * `child_property` on the child.
2008
+ *
2009
+ * This is an analogue of g_object_notify() for child properties.
2010
+ *
2011
+ * Also see gtk_widget_child_notify().
2012
+ * @param child the child widget
2013
+ * @param child_property the name of a child property installed on the class of `container`
2014
+ */
2015
+ child_notify(child: Gtk.Widget, child_property: string | null): void
2016
+
2017
+ // Overloads of child_notify
2018
+
2019
+ /**
2020
+ * Emits a #GtkWidget::child-notify signal for the
2021
+ * [child property][child-properties] `child_property`
2022
+ * on `widget`.
2023
+ *
2024
+ * This is the analogue of g_object_notify() for child properties.
2025
+ *
2026
+ * Also see gtk_container_child_notify().
2027
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2028
+ */
2029
+ child_notify(child_property: string | null): void
2030
+ /**
2031
+ * Emits a #GtkWidget::child-notify signal for the
2032
+ * [child property][child-properties] `child_property`
2033
+ * on `widget`.
2034
+ *
2035
+ * This is the analogue of g_object_notify() for child properties.
2036
+ *
2037
+ * Also see gtk_container_child_notify().
2038
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2039
+ */
2040
+ child_notify(child_property: string | null): void
2041
+
2042
+ // Own signals of Builder-1.0.Builder.ViewStack
2043
+
2044
+ connect(sigName: "empty", callback: ViewStack.EmptySignalCallback): number
2045
+ connect_after(sigName: "empty", callback: ViewStack.EmptySignalCallback): number
2046
+ emit(sigName: "empty", ...args: any[]): void
2047
+ connect(sigName: "split", callback: ViewStack.SplitSignalCallback): number
2048
+ connect_after(sigName: "split", callback: ViewStack.SplitSignalCallback): number
2049
+ emit(sigName: "split", view: View, split_type: number, ...args: any[]): void
2050
+
2051
+ // Class property signals of Builder-1.0.Builder.ViewStack
2052
+
2053
+ connect(sigName: "notify::active-view", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2054
+ connect_after(sigName: "notify::active-view", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2055
+ emit(sigName: "notify::active-view", ...args: any[]): void
2056
+ connect(sigName: "notify::border-width", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2057
+ connect_after(sigName: "notify::border-width", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2058
+ emit(sigName: "notify::border-width", ...args: any[]): void
2059
+ connect(sigName: "notify::child", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2060
+ connect_after(sigName: "notify::child", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2061
+ emit(sigName: "notify::child", ...args: any[]): void
2062
+ connect(sigName: "notify::resize-mode", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2063
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2064
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
2065
+ connect(sigName: "notify::app-paintable", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2066
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2067
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
2068
+ connect(sigName: "notify::can-default", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2069
+ connect_after(sigName: "notify::can-default", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2070
+ emit(sigName: "notify::can-default", ...args: any[]): void
2071
+ connect(sigName: "notify::can-focus", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2072
+ connect_after(sigName: "notify::can-focus", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2073
+ emit(sigName: "notify::can-focus", ...args: any[]): void
2074
+ connect(sigName: "notify::composite-child", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2075
+ connect_after(sigName: "notify::composite-child", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2076
+ emit(sigName: "notify::composite-child", ...args: any[]): void
2077
+ connect(sigName: "notify::double-buffered", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2078
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2079
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
2080
+ connect(sigName: "notify::events", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2081
+ connect_after(sigName: "notify::events", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2082
+ emit(sigName: "notify::events", ...args: any[]): void
2083
+ connect(sigName: "notify::expand", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2084
+ connect_after(sigName: "notify::expand", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2085
+ emit(sigName: "notify::expand", ...args: any[]): void
2086
+ connect(sigName: "notify::focus-on-click", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2087
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2088
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
2089
+ connect(sigName: "notify::halign", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2090
+ connect_after(sigName: "notify::halign", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2091
+ emit(sigName: "notify::halign", ...args: any[]): void
2092
+ connect(sigName: "notify::has-default", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2093
+ connect_after(sigName: "notify::has-default", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2094
+ emit(sigName: "notify::has-default", ...args: any[]): void
2095
+ connect(sigName: "notify::has-focus", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2096
+ connect_after(sigName: "notify::has-focus", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2097
+ emit(sigName: "notify::has-focus", ...args: any[]): void
2098
+ connect(sigName: "notify::has-tooltip", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2099
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2100
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
2101
+ connect(sigName: "notify::height-request", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2102
+ connect_after(sigName: "notify::height-request", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2103
+ emit(sigName: "notify::height-request", ...args: any[]): void
2104
+ connect(sigName: "notify::hexpand", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2105
+ connect_after(sigName: "notify::hexpand", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2106
+ emit(sigName: "notify::hexpand", ...args: any[]): void
2107
+ connect(sigName: "notify::hexpand-set", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2108
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2109
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
2110
+ connect(sigName: "notify::is-focus", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2111
+ connect_after(sigName: "notify::is-focus", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2112
+ emit(sigName: "notify::is-focus", ...args: any[]): void
2113
+ connect(sigName: "notify::margin", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2114
+ connect_after(sigName: "notify::margin", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2115
+ emit(sigName: "notify::margin", ...args: any[]): void
2116
+ connect(sigName: "notify::margin-bottom", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2117
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2118
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
2119
+ connect(sigName: "notify::margin-end", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2120
+ connect_after(sigName: "notify::margin-end", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2121
+ emit(sigName: "notify::margin-end", ...args: any[]): void
2122
+ connect(sigName: "notify::margin-left", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2123
+ connect_after(sigName: "notify::margin-left", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2124
+ emit(sigName: "notify::margin-left", ...args: any[]): void
2125
+ connect(sigName: "notify::margin-right", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2126
+ connect_after(sigName: "notify::margin-right", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2127
+ emit(sigName: "notify::margin-right", ...args: any[]): void
2128
+ connect(sigName: "notify::margin-start", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2129
+ connect_after(sigName: "notify::margin-start", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2130
+ emit(sigName: "notify::margin-start", ...args: any[]): void
2131
+ connect(sigName: "notify::margin-top", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2132
+ connect_after(sigName: "notify::margin-top", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2133
+ emit(sigName: "notify::margin-top", ...args: any[]): void
2134
+ connect(sigName: "notify::name", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2135
+ connect_after(sigName: "notify::name", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2136
+ emit(sigName: "notify::name", ...args: any[]): void
2137
+ connect(sigName: "notify::no-show-all", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2138
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2139
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
2140
+ connect(sigName: "notify::opacity", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2141
+ connect_after(sigName: "notify::opacity", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2142
+ emit(sigName: "notify::opacity", ...args: any[]): void
2143
+ connect(sigName: "notify::parent", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2144
+ connect_after(sigName: "notify::parent", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2145
+ emit(sigName: "notify::parent", ...args: any[]): void
2146
+ connect(sigName: "notify::receives-default", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2147
+ connect_after(sigName: "notify::receives-default", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2148
+ emit(sigName: "notify::receives-default", ...args: any[]): void
2149
+ connect(sigName: "notify::scale-factor", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2150
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2151
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
2152
+ connect(sigName: "notify::sensitive", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2153
+ connect_after(sigName: "notify::sensitive", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2154
+ emit(sigName: "notify::sensitive", ...args: any[]): void
2155
+ connect(sigName: "notify::style", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2156
+ connect_after(sigName: "notify::style", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2157
+ emit(sigName: "notify::style", ...args: any[]): void
2158
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2159
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2160
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
2161
+ connect(sigName: "notify::tooltip-text", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2162
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2163
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
2164
+ connect(sigName: "notify::valign", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2165
+ connect_after(sigName: "notify::valign", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2166
+ emit(sigName: "notify::valign", ...args: any[]): void
2167
+ connect(sigName: "notify::vexpand", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2168
+ connect_after(sigName: "notify::vexpand", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2169
+ emit(sigName: "notify::vexpand", ...args: any[]): void
2170
+ connect(sigName: "notify::vexpand-set", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2171
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2172
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
2173
+ connect(sigName: "notify::visible", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2174
+ connect_after(sigName: "notify::visible", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2175
+ emit(sigName: "notify::visible", ...args: any[]): void
2176
+ connect(sigName: "notify::width-request", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2177
+ connect_after(sigName: "notify::width-request", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2178
+ emit(sigName: "notify::width-request", ...args: any[]): void
2179
+ connect(sigName: "notify::window", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2180
+ connect_after(sigName: "notify::window", callback: (($obj: ViewStack, pspec: GObject.ParamSpec) => void)): number
2181
+ emit(sigName: "notify::window", ...args: any[]): void
2182
+ connect(sigName: string, callback: (...args: any[]) => void): number
2183
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
2184
+ emit(sigName: string, ...args: any[]): void
2185
+ disconnect(id: number): void
2186
+ }
2187
+
2188
+ export class ViewStack extends Gtk.Bin {
2189
+
2190
+ // Own properties of Builder-1.0.Builder.ViewStack
2191
+
2192
+ static name: string
2193
+ static $gtype: GObject.GType<ViewStack>
2194
+
2195
+ // Constructors of Builder-1.0.Builder.ViewStack
2196
+
2197
+ constructor(config?: ViewStack.ConstructorProperties)
2198
+ constructor()
2199
+ static new(): ViewStack
2200
+ _init(config?: ViewStack.ConstructorProperties): void
2201
+ }
2202
+
2203
+ export module Workbench {
2204
+
2205
+ // Signal callback interfaces
2206
+
2207
+ /**
2208
+ * Signal callback interface for `unload`
2209
+ */
2210
+ export interface UnloadSignalCallback {
2211
+ ($obj: Workbench, object: Ide.Context): void
2212
+ }
2213
+
2214
+
2215
+ // Constructor properties interface
2216
+
2217
+ export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gio.ActionGroup.ConstructorProperties, Gio.ActionMap.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.ApplicationWindow.ConstructorProperties {
2218
+
2219
+ // Own constructor properties of Builder-1.0.Builder.Workbench
2220
+
2221
+ /**
2222
+ * The "context" property is the #IdeContext that shall be worked upon in
2223
+ * the #GbWorkbench. This must be set during workbench creation. Use
2224
+ * another window or dialog to choose the project information before
2225
+ * creating a workbench window.
2226
+ */
2227
+ context?: Ide.Context | null
2228
+ }
2229
+
2230
+ }
2231
+
2232
+ export interface Workbench extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, Gtk.Buildable {
2233
+
2234
+ // Own properties of Builder-1.0.Builder.Workbench
2235
+
2236
+ readonly active_view: View
2237
+ readonly building: boolean
2238
+ /**
2239
+ * The "context" property is the #IdeContext that shall be worked upon in
2240
+ * the #GbWorkbench. This must be set during workbench creation. Use
2241
+ * another window or dialog to choose the project information before
2242
+ * creating a workbench window.
2243
+ */
2244
+ readonly context: Ide.Context
2245
+
2246
+ // Conflicting properties
2247
+
2248
+ parent_instance: Gtk.Window & GObject.InitiallyUnowned & GObject.InitiallyUnowned
2249
+
2250
+ // Owm methods of Builder-1.0.Builder.Workbench
2251
+
2252
+ add_temporary_buffer(): void
2253
+ build_async(force_rebuild: boolean, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
2254
+ build_finish(result: Gio.AsyncResult): boolean
2255
+ get_active_view(): Gtk.Widget
2256
+ get_closing(): boolean
2257
+ /**
2258
+ * Gets the #IdeContext for the workbench.
2259
+ * @returns An #IdeContext.
2260
+ */
2261
+ get_context(): Ide.Context
2262
+ /**
2263
+ * The slider can be used to to hide things behind the workbench and then
2264
+ * reveal them efficiently.
2265
+ * @returns the toplevel slider
2266
+ */
2267
+ get_slider(): Gtk.Widget
2268
+ get_view_grid(): Gtk.Widget
2269
+ get_workspace(): Gtk.Widget
2270
+ open(file: Gio.File): void
2271
+ open_uri_list(uri_list: string | null): void
2272
+ open_with_editor(file: Gio.File): void
2273
+ reveal_file(file: Gio.File): void
2274
+ /**
2275
+ * Invoke `callback` for each view in the workbench.
2276
+ * @param callback A callback to call for each view.
2277
+ */
2278
+ views_foreach(callback: Gtk.Callback): void
2279
+
2280
+ // Conflicting methods
2281
+
2282
+ /**
2283
+ * Activates the targets associated with the mnemonic.
2284
+ * @param keyval the mnemonic
2285
+ * @param modifier the modifiers
2286
+ * @returns %TRUE if the activation is done.
2287
+ */
2288
+ mnemonic_activate(keyval: number, modifier: Gdk.ModifierType): boolean
2289
+
2290
+ // Overloads of mnemonic_activate
2291
+
2292
+ /**
2293
+ * Emits the #GtkWidget::mnemonic-activate signal.
2294
+ * @param group_cycling %TRUE if there are other widgets with the same mnemonic
2295
+ * @returns %TRUE if the signal has been handled
2296
+ */
2297
+ mnemonic_activate(group_cycling: boolean): boolean
2298
+ /**
2299
+ * Emits the #GtkWidget::mnemonic-activate signal.
2300
+ * @param group_cycling %TRUE if there are other widgets with the same mnemonic
2301
+ * @returns %TRUE if the signal has been handled
2302
+ */
2303
+ mnemonic_activate(group_cycling: boolean): boolean
2304
+ /**
2305
+ * Emits a #GtkWidget::child-notify signal for the
2306
+ * [child property][child-properties]
2307
+ * `child_property` on the child.
2308
+ *
2309
+ * This is an analogue of g_object_notify() for child properties.
2310
+ *
2311
+ * Also see gtk_widget_child_notify().
2312
+ * @param child the child widget
2313
+ * @param child_property the name of a child property installed on the class of `container`
2314
+ */
2315
+ child_notify(child: Gtk.Widget, child_property: string | null): void
2316
+
2317
+ // Overloads of child_notify
2318
+
2319
+ /**
2320
+ * Emits a #GtkWidget::child-notify signal for the
2321
+ * [child property][child-properties] `child_property`
2322
+ * on `widget`.
2323
+ *
2324
+ * This is the analogue of g_object_notify() for child properties.
2325
+ *
2326
+ * Also see gtk_container_child_notify().
2327
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2328
+ */
2329
+ child_notify(child_property: string | null): void
2330
+ /**
2331
+ * Emits a #GtkWidget::child-notify signal for the
2332
+ * [child property][child-properties] `child_property`
2333
+ * on `widget`.
2334
+ *
2335
+ * This is the analogue of g_object_notify() for child properties.
2336
+ *
2337
+ * Also see gtk_container_child_notify().
2338
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2339
+ */
2340
+ child_notify(child_property: string | null): void
2341
+
2342
+ // Own signals of Builder-1.0.Builder.Workbench
2343
+
2344
+ connect(sigName: "unload", callback: Workbench.UnloadSignalCallback): number
2345
+ connect_after(sigName: "unload", callback: Workbench.UnloadSignalCallback): number
2346
+ emit(sigName: "unload", object: Ide.Context, ...args: any[]): void
2347
+
2348
+ // Class property signals of Builder-1.0.Builder.Workbench
2349
+
2350
+ connect(sigName: "notify::active-view", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2351
+ connect_after(sigName: "notify::active-view", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2352
+ emit(sigName: "notify::active-view", ...args: any[]): void
2353
+ connect(sigName: "notify::building", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2354
+ connect_after(sigName: "notify::building", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2355
+ emit(sigName: "notify::building", ...args: any[]): void
2356
+ connect(sigName: "notify::context", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2357
+ connect_after(sigName: "notify::context", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2358
+ emit(sigName: "notify::context", ...args: any[]): void
2359
+ connect(sigName: "notify::show-menubar", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2360
+ connect_after(sigName: "notify::show-menubar", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2361
+ emit(sigName: "notify::show-menubar", ...args: any[]): void
2362
+ connect(sigName: "notify::accept-focus", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2363
+ connect_after(sigName: "notify::accept-focus", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2364
+ emit(sigName: "notify::accept-focus", ...args: any[]): void
2365
+ connect(sigName: "notify::application", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2366
+ connect_after(sigName: "notify::application", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2367
+ emit(sigName: "notify::application", ...args: any[]): void
2368
+ connect(sigName: "notify::attached-to", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2369
+ connect_after(sigName: "notify::attached-to", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2370
+ emit(sigName: "notify::attached-to", ...args: any[]): void
2371
+ connect(sigName: "notify::decorated", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2372
+ connect_after(sigName: "notify::decorated", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2373
+ emit(sigName: "notify::decorated", ...args: any[]): void
2374
+ connect(sigName: "notify::default-height", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2375
+ connect_after(sigName: "notify::default-height", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2376
+ emit(sigName: "notify::default-height", ...args: any[]): void
2377
+ connect(sigName: "notify::default-width", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2378
+ connect_after(sigName: "notify::default-width", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2379
+ emit(sigName: "notify::default-width", ...args: any[]): void
2380
+ connect(sigName: "notify::deletable", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2381
+ connect_after(sigName: "notify::deletable", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2382
+ emit(sigName: "notify::deletable", ...args: any[]): void
2383
+ connect(sigName: "notify::destroy-with-parent", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2384
+ connect_after(sigName: "notify::destroy-with-parent", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2385
+ emit(sigName: "notify::destroy-with-parent", ...args: any[]): void
2386
+ connect(sigName: "notify::focus-on-map", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2387
+ connect_after(sigName: "notify::focus-on-map", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2388
+ emit(sigName: "notify::focus-on-map", ...args: any[]): void
2389
+ connect(sigName: "notify::focus-visible", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2390
+ connect_after(sigName: "notify::focus-visible", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2391
+ emit(sigName: "notify::focus-visible", ...args: any[]): void
2392
+ connect(sigName: "notify::gravity", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2393
+ connect_after(sigName: "notify::gravity", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2394
+ emit(sigName: "notify::gravity", ...args: any[]): void
2395
+ connect(sigName: "notify::has-resize-grip", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2396
+ connect_after(sigName: "notify::has-resize-grip", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2397
+ emit(sigName: "notify::has-resize-grip", ...args: any[]): void
2398
+ connect(sigName: "notify::has-toplevel-focus", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2399
+ connect_after(sigName: "notify::has-toplevel-focus", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2400
+ emit(sigName: "notify::has-toplevel-focus", ...args: any[]): void
2401
+ connect(sigName: "notify::hide-titlebar-when-maximized", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2402
+ connect_after(sigName: "notify::hide-titlebar-when-maximized", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2403
+ emit(sigName: "notify::hide-titlebar-when-maximized", ...args: any[]): void
2404
+ connect(sigName: "notify::icon", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2405
+ connect_after(sigName: "notify::icon", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2406
+ emit(sigName: "notify::icon", ...args: any[]): void
2407
+ connect(sigName: "notify::icon-name", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2408
+ connect_after(sigName: "notify::icon-name", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2409
+ emit(sigName: "notify::icon-name", ...args: any[]): void
2410
+ connect(sigName: "notify::is-active", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2411
+ connect_after(sigName: "notify::is-active", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2412
+ emit(sigName: "notify::is-active", ...args: any[]): void
2413
+ connect(sigName: "notify::is-maximized", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2414
+ connect_after(sigName: "notify::is-maximized", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2415
+ emit(sigName: "notify::is-maximized", ...args: any[]): void
2416
+ connect(sigName: "notify::mnemonics-visible", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2417
+ connect_after(sigName: "notify::mnemonics-visible", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2418
+ emit(sigName: "notify::mnemonics-visible", ...args: any[]): void
2419
+ connect(sigName: "notify::modal", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2420
+ connect_after(sigName: "notify::modal", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2421
+ emit(sigName: "notify::modal", ...args: any[]): void
2422
+ connect(sigName: "notify::resizable", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2423
+ connect_after(sigName: "notify::resizable", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2424
+ emit(sigName: "notify::resizable", ...args: any[]): void
2425
+ connect(sigName: "notify::resize-grip-visible", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2426
+ connect_after(sigName: "notify::resize-grip-visible", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2427
+ emit(sigName: "notify::resize-grip-visible", ...args: any[]): void
2428
+ connect(sigName: "notify::role", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2429
+ connect_after(sigName: "notify::role", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2430
+ emit(sigName: "notify::role", ...args: any[]): void
2431
+ connect(sigName: "notify::screen", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2432
+ connect_after(sigName: "notify::screen", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2433
+ emit(sigName: "notify::screen", ...args: any[]): void
2434
+ connect(sigName: "notify::skip-pager-hint", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2435
+ connect_after(sigName: "notify::skip-pager-hint", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2436
+ emit(sigName: "notify::skip-pager-hint", ...args: any[]): void
2437
+ connect(sigName: "notify::skip-taskbar-hint", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2438
+ connect_after(sigName: "notify::skip-taskbar-hint", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2439
+ emit(sigName: "notify::skip-taskbar-hint", ...args: any[]): void
2440
+ connect(sigName: "notify::startup-id", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2441
+ connect_after(sigName: "notify::startup-id", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2442
+ emit(sigName: "notify::startup-id", ...args: any[]): void
2443
+ connect(sigName: "notify::title", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2444
+ connect_after(sigName: "notify::title", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2445
+ emit(sigName: "notify::title", ...args: any[]): void
2446
+ connect(sigName: "notify::transient-for", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2447
+ connect_after(sigName: "notify::transient-for", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2448
+ emit(sigName: "notify::transient-for", ...args: any[]): void
2449
+ connect(sigName: "notify::type", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2450
+ connect_after(sigName: "notify::type", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2451
+ emit(sigName: "notify::type", ...args: any[]): void
2452
+ connect(sigName: "notify::type-hint", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2453
+ connect_after(sigName: "notify::type-hint", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2454
+ emit(sigName: "notify::type-hint", ...args: any[]): void
2455
+ connect(sigName: "notify::urgency-hint", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2456
+ connect_after(sigName: "notify::urgency-hint", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2457
+ emit(sigName: "notify::urgency-hint", ...args: any[]): void
2458
+ connect(sigName: "notify::window-position", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2459
+ connect_after(sigName: "notify::window-position", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2460
+ emit(sigName: "notify::window-position", ...args: any[]): void
2461
+ connect(sigName: "notify::border-width", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2462
+ connect_after(sigName: "notify::border-width", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2463
+ emit(sigName: "notify::border-width", ...args: any[]): void
2464
+ connect(sigName: "notify::child", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2465
+ connect_after(sigName: "notify::child", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2466
+ emit(sigName: "notify::child", ...args: any[]): void
2467
+ connect(sigName: "notify::resize-mode", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2468
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2469
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
2470
+ connect(sigName: "notify::app-paintable", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2471
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2472
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
2473
+ connect(sigName: "notify::can-default", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2474
+ connect_after(sigName: "notify::can-default", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2475
+ emit(sigName: "notify::can-default", ...args: any[]): void
2476
+ connect(sigName: "notify::can-focus", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2477
+ connect_after(sigName: "notify::can-focus", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2478
+ emit(sigName: "notify::can-focus", ...args: any[]): void
2479
+ connect(sigName: "notify::composite-child", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2480
+ connect_after(sigName: "notify::composite-child", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2481
+ emit(sigName: "notify::composite-child", ...args: any[]): void
2482
+ connect(sigName: "notify::double-buffered", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2483
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2484
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
2485
+ connect(sigName: "notify::events", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2486
+ connect_after(sigName: "notify::events", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2487
+ emit(sigName: "notify::events", ...args: any[]): void
2488
+ connect(sigName: "notify::expand", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2489
+ connect_after(sigName: "notify::expand", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2490
+ emit(sigName: "notify::expand", ...args: any[]): void
2491
+ connect(sigName: "notify::focus-on-click", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2492
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2493
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
2494
+ connect(sigName: "notify::halign", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2495
+ connect_after(sigName: "notify::halign", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2496
+ emit(sigName: "notify::halign", ...args: any[]): void
2497
+ connect(sigName: "notify::has-default", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2498
+ connect_after(sigName: "notify::has-default", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2499
+ emit(sigName: "notify::has-default", ...args: any[]): void
2500
+ connect(sigName: "notify::has-focus", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2501
+ connect_after(sigName: "notify::has-focus", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2502
+ emit(sigName: "notify::has-focus", ...args: any[]): void
2503
+ connect(sigName: "notify::has-tooltip", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2504
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2505
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
2506
+ connect(sigName: "notify::height-request", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2507
+ connect_after(sigName: "notify::height-request", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2508
+ emit(sigName: "notify::height-request", ...args: any[]): void
2509
+ connect(sigName: "notify::hexpand", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2510
+ connect_after(sigName: "notify::hexpand", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2511
+ emit(sigName: "notify::hexpand", ...args: any[]): void
2512
+ connect(sigName: "notify::hexpand-set", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2513
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2514
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
2515
+ connect(sigName: "notify::is-focus", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2516
+ connect_after(sigName: "notify::is-focus", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2517
+ emit(sigName: "notify::is-focus", ...args: any[]): void
2518
+ connect(sigName: "notify::margin", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2519
+ connect_after(sigName: "notify::margin", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2520
+ emit(sigName: "notify::margin", ...args: any[]): void
2521
+ connect(sigName: "notify::margin-bottom", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2522
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2523
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
2524
+ connect(sigName: "notify::margin-end", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2525
+ connect_after(sigName: "notify::margin-end", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2526
+ emit(sigName: "notify::margin-end", ...args: any[]): void
2527
+ connect(sigName: "notify::margin-left", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2528
+ connect_after(sigName: "notify::margin-left", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2529
+ emit(sigName: "notify::margin-left", ...args: any[]): void
2530
+ connect(sigName: "notify::margin-right", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2531
+ connect_after(sigName: "notify::margin-right", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2532
+ emit(sigName: "notify::margin-right", ...args: any[]): void
2533
+ connect(sigName: "notify::margin-start", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2534
+ connect_after(sigName: "notify::margin-start", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2535
+ emit(sigName: "notify::margin-start", ...args: any[]): void
2536
+ connect(sigName: "notify::margin-top", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2537
+ connect_after(sigName: "notify::margin-top", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2538
+ emit(sigName: "notify::margin-top", ...args: any[]): void
2539
+ connect(sigName: "notify::name", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2540
+ connect_after(sigName: "notify::name", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2541
+ emit(sigName: "notify::name", ...args: any[]): void
2542
+ connect(sigName: "notify::no-show-all", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2543
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2544
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
2545
+ connect(sigName: "notify::opacity", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2546
+ connect_after(sigName: "notify::opacity", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2547
+ emit(sigName: "notify::opacity", ...args: any[]): void
2548
+ connect(sigName: "notify::parent", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2549
+ connect_after(sigName: "notify::parent", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2550
+ emit(sigName: "notify::parent", ...args: any[]): void
2551
+ connect(sigName: "notify::receives-default", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2552
+ connect_after(sigName: "notify::receives-default", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2553
+ emit(sigName: "notify::receives-default", ...args: any[]): void
2554
+ connect(sigName: "notify::scale-factor", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2555
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2556
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
2557
+ connect(sigName: "notify::sensitive", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2558
+ connect_after(sigName: "notify::sensitive", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2559
+ emit(sigName: "notify::sensitive", ...args: any[]): void
2560
+ connect(sigName: "notify::style", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2561
+ connect_after(sigName: "notify::style", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2562
+ emit(sigName: "notify::style", ...args: any[]): void
2563
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2564
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2565
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
2566
+ connect(sigName: "notify::tooltip-text", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2567
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2568
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
2569
+ connect(sigName: "notify::valign", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2570
+ connect_after(sigName: "notify::valign", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2571
+ emit(sigName: "notify::valign", ...args: any[]): void
2572
+ connect(sigName: "notify::vexpand", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2573
+ connect_after(sigName: "notify::vexpand", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2574
+ emit(sigName: "notify::vexpand", ...args: any[]): void
2575
+ connect(sigName: "notify::vexpand-set", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2576
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2577
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
2578
+ connect(sigName: "notify::visible", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2579
+ connect_after(sigName: "notify::visible", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2580
+ emit(sigName: "notify::visible", ...args: any[]): void
2581
+ connect(sigName: "notify::width-request", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2582
+ connect_after(sigName: "notify::width-request", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2583
+ emit(sigName: "notify::width-request", ...args: any[]): void
2584
+ connect(sigName: "notify::window", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2585
+ connect_after(sigName: "notify::window", callback: (($obj: Workbench, pspec: GObject.ParamSpec) => void)): number
2586
+ emit(sigName: "notify::window", ...args: any[]): void
2587
+ connect(sigName: string, callback: (...args: any[]) => void): number
2588
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
2589
+ emit(sigName: string, ...args: any[]): void
2590
+ disconnect(id: number): void
2591
+ }
2592
+
2593
+ export class Workbench extends Gtk.ApplicationWindow {
2594
+
2595
+ // Own properties of Builder-1.0.Builder.Workbench
2596
+
2597
+ static name: string
2598
+ static $gtype: GObject.GType<Workbench>
2599
+
2600
+ // Constructors of Builder-1.0.Builder.Workbench
2601
+
2602
+ constructor(config?: Workbench.ConstructorProperties)
2603
+ _init(config?: Workbench.ConstructorProperties): void
2604
+
2605
+ // Conflicting static methods
2606
+
2607
+ static new(...args: any[]): any
2608
+ }
2609
+
2610
+ export interface ApplicationAddinInterface {
2611
+
2612
+ // Own fields of Builder-1.0.Builder.ApplicationAddinInterface
2613
+
2614
+ parent: GObject.TypeInterface
2615
+ load: (self: ApplicationAddin, application: Application) => void
2616
+ unload: (self: ApplicationAddin, application: Application) => void
2617
+ }
2618
+
2619
+ export abstract class ApplicationAddinInterface {
2620
+
2621
+ // Own properties of Builder-1.0.Builder.ApplicationAddinInterface
2622
+
2623
+ static name: string
2624
+ }
2625
+
2626
+ export interface ApplicationClass {
2627
+
2628
+ // Own fields of Builder-1.0.Builder.ApplicationClass
2629
+
2630
+ parent_class: Gtk.ApplicationClass
2631
+ }
2632
+
2633
+ export abstract class ApplicationClass {
2634
+
2635
+ // Own properties of Builder-1.0.Builder.ApplicationClass
2636
+
2637
+ static name: string
2638
+ }
2639
+
2640
+ export interface DocumentInterface {
2641
+
2642
+ // Own fields of Builder-1.0.Builder.DocumentInterface
2643
+
2644
+ parent: GObject.TypeInterface
2645
+ create_view: (document: Document) => Gtk.Widget
2646
+ get_modified: (document: Document) => boolean
2647
+ get_mtime: (document: Document, mtime: GLib.TimeVal) => boolean
2648
+ get_read_only: (document: Document) => boolean
2649
+ get_title: (document: Document) => string | null
2650
+ is_untitled: (document: Document) => boolean
2651
+ save_async: (document: Document, toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2652
+ save_finish: (document: Document, result: Gio.AsyncResult) => boolean
2653
+ save_as_async: (document: Document, toplevel: Gtk.Widget, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
2654
+ save_as_finish: (document: Document, result: Gio.AsyncResult) => boolean
2655
+ }
2656
+
2657
+ export abstract class DocumentInterface {
2658
+
2659
+ // Own properties of Builder-1.0.Builder.DocumentInterface
2660
+
2661
+ static name: string
2662
+ }
2663
+
2664
+ export interface EditorViewAddinInterface {
2665
+
2666
+ // Own fields of Builder-1.0.Builder.EditorViewAddinInterface
2667
+
2668
+ parent: GObject.TypeInterface
2669
+ load: (self: EditorViewAddin, view: EditorView) => void
2670
+ unload: (self: EditorViewAddin, view: EditorView) => void
2671
+ language_changed: (self: EditorViewAddin, language_id: string | null) => void
2672
+ }
2673
+
2674
+ export abstract class EditorViewAddinInterface {
2675
+
2676
+ // Own properties of Builder-1.0.Builder.EditorViewAddinInterface
2677
+
2678
+ static name: string
2679
+ }
2680
+
2681
+ export interface EditorViewClass {
2682
+
2683
+ // Own fields of Builder-1.0.Builder.EditorViewClass
2684
+
2685
+ parent_class: ViewClass
2686
+ }
2687
+
2688
+ export abstract class EditorViewClass {
2689
+
2690
+ // Own properties of Builder-1.0.Builder.EditorViewClass
2691
+
2692
+ static name: string
2693
+ }
2694
+
2695
+ export interface MenuExtensionClass {
2696
+
2697
+ // Own fields of Builder-1.0.Builder.MenuExtensionClass
2698
+
2699
+ parent_class: GObject.ObjectClass
2700
+ }
2701
+
2702
+ export abstract class MenuExtensionClass {
2703
+
2704
+ // Own properties of Builder-1.0.Builder.MenuExtensionClass
2705
+
2706
+ static name: string
2707
+ }
2708
+
2709
+ export interface TreeBuilderClass {
2710
+
2711
+ // Own fields of Builder-1.0.Builder.TreeBuilderClass
2712
+
2713
+ parent_class: GObject.InitiallyUnownedClass
2714
+ added: (builder: TreeBuilder, tree: Gtk.Widget) => void
2715
+ removed: (builder: TreeBuilder, tree: Gtk.Widget) => void
2716
+ build_node: (builder: TreeBuilder, node: TreeNode) => void
2717
+ node_activated: (builder: TreeBuilder, node: TreeNode) => boolean
2718
+ node_selected: (builder: TreeBuilder, node: TreeNode) => void
2719
+ node_unselected: (builder: TreeBuilder, node: TreeNode) => void
2720
+ node_popup: (builder: TreeBuilder, node: TreeNode, menu: Gio.Menu) => void
2721
+ }
2722
+
2723
+ export abstract class TreeBuilderClass {
2724
+
2725
+ // Own properties of Builder-1.0.Builder.TreeBuilderClass
2726
+
2727
+ static name: string
2728
+ }
2729
+
2730
+ export interface TreeClass {
2731
+
2732
+ // Own fields of Builder-1.0.Builder.TreeClass
2733
+
2734
+ parent_class: Gtk.TreeViewClass
2735
+ action: (self: Tree, action_group: string | null, action_name: string | null, param: string | null) => void
2736
+ populate_popup: (self: Tree, widget: Gtk.Widget) => void
2737
+ }
2738
+
2739
+ export abstract class TreeClass {
2740
+
2741
+ // Own properties of Builder-1.0.Builder.TreeClass
2742
+
2743
+ static name: string
2744
+ }
2745
+
2746
+ export interface TreeNodeClass {
2747
+
2748
+ // Own fields of Builder-1.0.Builder.TreeNodeClass
2749
+
2750
+ parent_class: GObject.InitiallyUnownedClass
2751
+ }
2752
+
2753
+ export abstract class TreeNodeClass {
2754
+
2755
+ // Own properties of Builder-1.0.Builder.TreeNodeClass
2756
+
2757
+ static name: string
2758
+ }
2759
+
2760
+ export interface ViewClass {
2761
+
2762
+ // Own fields of Builder-1.0.Builder.ViewClass
2763
+
2764
+ parent: Gtk.BinClass
2765
+ get_can_preview: (self: View) => boolean
2766
+ get_can_split: (self: View) => boolean
2767
+ get_document: (self: View) => Document
2768
+ get_modified: (self: View) => boolean
2769
+ get_title: (self: View) => string | null
2770
+ get_special_title: (self: View) => string | null
2771
+ create_split: (self: View) => View
2772
+ set_split_view: (self: View, split_view: boolean) => void
2773
+ set_back_forward_list: (self: View, back_forward_list: Ide.BackForwardList) => void
2774
+ navigate_to: (self: View, location: Ide.SourceLocation) => void
2775
+ }
2776
+
2777
+ export abstract class ViewClass {
2778
+
2779
+ // Own properties of Builder-1.0.Builder.ViewClass
2780
+
2781
+ static name: string
2782
+ }
2783
+
2784
+ export interface ViewGridClass {
2785
+
2786
+ // Own fields of Builder-1.0.Builder.ViewGridClass
2787
+
2788
+ parent_class: Gtk.BinClass
2789
+ }
2790
+
2791
+ export abstract class ViewGridClass {
2792
+
2793
+ // Own properties of Builder-1.0.Builder.ViewGridClass
2794
+
2795
+ static name: string
2796
+ }
2797
+
2798
+ export interface ViewStackClass {
2799
+
2800
+ // Own fields of Builder-1.0.Builder.ViewStackClass
2801
+
2802
+ parent_class: Gtk.BinClass
2803
+ }
2804
+
2805
+ export abstract class ViewStackClass {
2806
+
2807
+ // Own properties of Builder-1.0.Builder.ViewStackClass
2808
+
2809
+ static name: string
2810
+ }
2811
+
2812
+ export interface WorkbenchClass {
2813
+
2814
+ // Own fields of Builder-1.0.Builder.WorkbenchClass
2815
+
2816
+ parent_class: Gtk.ApplicationWindowClass
2817
+ }
2818
+
2819
+ export abstract class WorkbenchClass {
2820
+
2821
+ // Own properties of Builder-1.0.Builder.WorkbenchClass
2822
+
2823
+ static name: string
2824
+ }
2825
+
2826
+ /**
2827
+ * Name of the imported GIR library
2828
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
2829
+ */
2830
+ export const __name__: string
2831
+ /**
2832
+ * Version of the imported GIR library
2833
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
2834
+ */
2835
+ export const __version__: string
2836
+ // END