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