@girs/gedit-3.0 3.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.
package/gedit-3.0.d.ts ADDED
@@ -0,0 +1,3286 @@
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
+ * Gedit-3.0
10
+ */
11
+
12
+ import type GtkSource from '@girs/gtksource-4';
13
+ import type Gtk from '@girs/gtk-3.0';
14
+ import type xlib from '@girs/xlib-2.0';
15
+ import type Gdk from '@girs/gdk-3.0';
16
+ import type cairo from '@girs/cairo-1.0';
17
+ import type Pango from '@girs/pango-1.0';
18
+ import type HarfBuzz from '@girs/harfbuzz-0.0';
19
+ import type freetype2 from '@girs/freetype2-2.0';
20
+ import type GObject from '@girs/gobject-2.0';
21
+ import type GLib from '@girs/glib-2.0';
22
+ import type Gio from '@girs/gio-2.0';
23
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
24
+ import type GModule from '@girs/gmodule-2.0';
25
+ import type Atk from '@girs/atk-1.0';
26
+
27
+ export namespace Gedit {
28
+
29
+ enum TabState {
30
+ STATE_NORMAL,
31
+ STATE_LOADING,
32
+ STATE_REVERTING,
33
+ STATE_SAVING,
34
+ STATE_PRINTING,
35
+ STATE_SHOWING_PRINT_PREVIEW,
36
+ STATE_LOADING_ERROR,
37
+ STATE_REVERTING_ERROR,
38
+ STATE_SAVING_ERROR,
39
+ STATE_GENERIC_ERROR,
40
+ STATE_CLOSING,
41
+ STATE_EXTERNALLY_MODIFIED_NOTIFICATION,
42
+ NUM_OF_STATES,
43
+ }
44
+ /**
45
+ * Enumeration of debug sections.
46
+ *
47
+ * Debugging output for a section is enabled by setting an environment variable
48
+ * of the same name. For example, setting the <code>GEDIT_DEBUG_PLUGINS</code>
49
+ * environment variable enables all debugging output for the %GEDIT_DEBUG_PLUGINS
50
+ * section. Setting the special environment variable <code>GEDIT_DEBUG</code>
51
+ * enables output for all sections.
52
+ * @bitfield
53
+ */
54
+ enum DebugSection {
55
+ NO_DEBUG,
56
+ DEBUG_VIEW,
57
+ DEBUG_PREFS,
58
+ DEBUG_WINDOW,
59
+ DEBUG_PANEL,
60
+ DEBUG_PLUGINS,
61
+ DEBUG_TAB,
62
+ DEBUG_DOCUMENT,
63
+ DEBUG_COMMANDS,
64
+ DEBUG_APP,
65
+ DEBUG_UTILS,
66
+ }
67
+ enum WindowState {
68
+ NORMAL,
69
+ SAVING,
70
+ PRINTING,
71
+ LOADING,
72
+ ERROR,
73
+ }
74
+ /**
75
+ * Loads `location`. Ignores non-existing locations.
76
+ * @param window a #GeditWindow
77
+ * @param location a #GFile to load
78
+ * @param encoding the #GtkSourceEncoding of `location`
79
+ * @param line_pos the line position to place the cursor
80
+ * @param column_pos the line column to place the cursor
81
+ */
82
+ function commands_load_location(window: Window, location: Gio.File, encoding: GtkSource.Encoding | null, line_pos: number, column_pos: number): void
83
+ /**
84
+ * Loads `locations`. Ignore non-existing locations.
85
+ * @param window a #GeditWindow
86
+ * @param locations the locations to load
87
+ * @param encoding the #GtkSourceEncoding
88
+ * @param line_pos the line position to place the cursor
89
+ * @param column_pos the line column to place the cursor
90
+ * @returns the locations that were loaded.
91
+ */
92
+ function commands_load_locations(window: Window, locations: Gio.File[], encoding: GtkSource.Encoding | null, line_pos: number, column_pos: number): Document[]
93
+ /**
94
+ * Asynchronously save all documents belonging to `window`. The result of the
95
+ * operation is not available, so it's difficult to know whether all the
96
+ * documents are correctly saved.
97
+ * @param window a #GeditWindow.
98
+ */
99
+ function commands_save_all_documents(window: Window): void
100
+ /**
101
+ * Asynchronously save `document`. `document` must belong to `window`. If you need
102
+ * the result of the operation, use gedit_commands_save_document_async().
103
+ * @param window a #GeditWindow.
104
+ * @param document the #GeditDocument to save.
105
+ */
106
+ function commands_save_document(window: Window, document: Document): void
107
+ /**
108
+ * Asynchronously save the `document`. `document` must belong to `window`. The
109
+ * source object of the async task is `document` (which will be the first
110
+ * parameter of the #GAsyncReadyCallback).
111
+ *
112
+ * When the operation is finished, `callback` will be called. You can then call
113
+ * gedit_commands_save_document_finish() to get the result of the operation.
114
+ * @param document the #GeditDocument to save.
115
+ * @param window a #GeditWindow.
116
+ * @param cancellable optional #GCancellable object, %NULL to ignore.
117
+ * @param callback a #GAsyncReadyCallback to call when the operation is finished.
118
+ */
119
+ function commands_save_document_async<Z = unknown>(document: Document, window: Window, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Z> | null): void
120
+ /**
121
+ * Finishes an asynchronous document saving operation started with
122
+ * gedit_commands_save_document_async().
123
+ *
124
+ * Note that there is no error parameter because the errors are already handled
125
+ * by gedit.
126
+ * @param document a #GeditDocument.
127
+ * @param result a #GAsyncResult.
128
+ * @returns %TRUE if the document has been correctly saved, %FALSE otherwise.
129
+ */
130
+ function commands_save_document_finish(document: Document, result: Gio.AsyncResult): boolean
131
+ /**
132
+ * If `section` is enabled, then logs the trace information `file,` `line,` and
133
+ * `function`.
134
+ * @param section debug section.
135
+ * @param file file name.
136
+ * @param line line number.
137
+ * @param function_ name of the function that is calling gedit_debug().
138
+ */
139
+ function debug(section: DebugSection, file: string | null, line: number, function_: string | null): void
140
+ /**
141
+ * Initializes the debugging subsystem of gedit.
142
+ *
143
+ * The function checks for the existence of certain environment variables to
144
+ * determine whether to enable output for a debug section. To enable output
145
+ * for a specific debug section, set an environment variable of the same name;
146
+ * e.g. to enable output for the %GEDIT_DEBUG_PLUGINS section, set a
147
+ * <code>GEDIT_DEBUG_PLUGINS</code> environment variable. To enable output
148
+ * for all debug sections, set the <code>GEDIT_DEBUG</code> environment
149
+ * variable.
150
+ *
151
+ * This function must be called before any of the other debug functions are
152
+ * called. It must only be called once.
153
+ */
154
+ function debug_init(): void
155
+ /**
156
+ * If the section %GEDIT_DEBUG_PLUGINS is enabled, then logs the trace
157
+ * information `file,` `line,` and `function` along with `message`.
158
+ *
159
+ * This function may be overridden by GObject Introspection language bindings
160
+ * to be more language-specific.
161
+ *
162
+ * <emphasis>Python</emphasis>
163
+ *
164
+ * A PyGObject override is provided that has the following signature:
165
+ * <informalexample>
166
+ * <programlisting>
167
+ * def debug_plugin_message(format_str, *format_args):
168
+ * #...
169
+ * </programlisting>
170
+ * </informalexample>
171
+ *
172
+ * It automatically supplies parameters `file,` `line,` and `function,` and it
173
+ * formats <code>format_str</code> with the given format arguments. The syntax
174
+ * of the format string is the usual Python string formatting syntax described
175
+ * by <ulink url="http://docs.python.org/library/stdtypes.html#string-formatting">5.6.2. String Formatting Operations</ulink>.
176
+ * @param file file name.
177
+ * @param line line number.
178
+ * @param function_ name of the function that is calling gedit_debug_plugin_message().
179
+ * @param message a message.
180
+ */
181
+ function debug_plugin_message(file: string | null, line: number, function_: string | null, message: string | null): void
182
+ function utils_basename_for_display(location: Gio.File): string | null
183
+ /**
184
+ * Create a list of valid uri's from a uri-list drop.
185
+ * @param selection_data the #GtkSelectionData from drag_data_received
186
+ * @returns a string array which will hold the uris or %NULL if there were no valid uris. g_strfreev should be used when the string array is no longer used
187
+ */
188
+ function utils_drop_get_uris(selection_data: Gtk.SelectionData): string[]
189
+ function utils_get_compression_type_from_content_type(content_type: string | null): GtkSource.CompressionType
190
+ function utils_is_valid_location(location: Gio.File): boolean
191
+ /**
192
+ * Returns a string suitable to be displayed in the UI indicating
193
+ * the name of the directory where the file is located.
194
+ * For remote files it may also contain the hostname etc.
195
+ * For local files it tries to replace the home dir with ~.
196
+ * @param location the location
197
+ * @returns a string to display the dirname
198
+ */
199
+ function utils_location_get_dirname_for_display(location: Gio.File): string | null
200
+ function utils_menu_position_under_tree_view(tree_view: Gtk.TreeView, rect: Gdk.Rectangle): boolean
201
+ function utils_newline_type_to_string(newline_type: GtkSource.NewlineType): string | null
202
+ /**
203
+ * This function sets up name and description
204
+ * for a specified gtk widget.
205
+ * @param widget The Gtk widget for which name/description to be set
206
+ * @param name Atk name string
207
+ * @param description Atk description string
208
+ */
209
+ function utils_set_atk_name_description(widget: Gtk.Widget, name: string | null, description: string | null): void
210
+ function utils_set_direct_save_filename(context: Gdk.DragContext): string | null
211
+ interface MessageBusForeach {
212
+ (object_path: string | null, method: string | null): void
213
+ }
214
+ /**
215
+ * Callback signature used for connecting callback functions to be called
216
+ * when a message is received (see gedit_message_bus_connect()).
217
+ * @callback
218
+ * @param bus the #GeditMessageBus on which the message was sent
219
+ * @param message the #GeditMessage which was sent
220
+ */
221
+ interface MessageCallback {
222
+ (bus: MessageBus, message: Message): void
223
+ }
224
+ module AppActivatable {
225
+
226
+ // Constructor properties interface
227
+
228
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
229
+
230
+ // Own constructor properties of Gedit-3.0.Gedit.AppActivatable
231
+
232
+ /**
233
+ * The app property contains the gedit app for this
234
+ * #GeditAppActivatable instance.
235
+ */
236
+ app?: App | null
237
+ }
238
+
239
+ }
240
+
241
+ interface AppActivatable {
242
+
243
+ // Own properties of Gedit-3.0.Gedit.AppActivatable
244
+
245
+ /**
246
+ * The app property contains the gedit app for this
247
+ * #GeditAppActivatable instance.
248
+ */
249
+ readonly app: App
250
+
251
+ // Owm methods of Gedit-3.0.Gedit.AppActivatable
252
+
253
+ /**
254
+ * Activates the extension on the application.
255
+ */
256
+ activate(): void
257
+ /**
258
+ * Deactivates the extension from the application.
259
+ */
260
+ deactivate(): void
261
+ /**
262
+ * Gets the #GeditMenuExtension for the menu `extension_point`. Note that
263
+ * the extension point could be in different menus (gear menu, app menu, etc)
264
+ * depending on the platform.
265
+ * @param extension_point the extension point section of the menu to get.
266
+ * @returns a #GeditMenuExtension for the specific section or %NULL if not found.
267
+ */
268
+ extend_menu(extension_point: string | null): MenuExtension
269
+
270
+ // Own virtual methods of Gedit-3.0.Gedit.AppActivatable
271
+
272
+ /**
273
+ * Activates the extension on the application.
274
+ * @virtual
275
+ */
276
+ vfunc_activate(): void
277
+ /**
278
+ * Deactivates the extension from the application.
279
+ * @virtual
280
+ */
281
+ vfunc_deactivate(): void
282
+
283
+ // Class property signals of Gedit-3.0.Gedit.AppActivatable
284
+
285
+ connect(sigName: "notify::app", callback: (($obj: AppActivatable, pspec: GObject.ParamSpec) => void)): number
286
+ connect_after(sigName: "notify::app", callback: (($obj: AppActivatable, pspec: GObject.ParamSpec) => void)): number
287
+ emit(sigName: "notify::app", ...args: any[]): void
288
+ connect(sigName: string, callback: (...args: any[]) => void): number
289
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
290
+ emit(sigName: string, ...args: any[]): void
291
+ disconnect(id: number): void
292
+ }
293
+
294
+ class AppActivatable extends GObject.Object {
295
+
296
+ // Own properties of Gedit-3.0.Gedit.AppActivatable
297
+
298
+ static name: string
299
+ static $gtype: GObject.GType<AppActivatable>
300
+
301
+ // Constructors of Gedit-3.0.Gedit.AppActivatable
302
+
303
+ constructor(config?: AppActivatable.ConstructorProperties)
304
+ _init(config?: AppActivatable.ConstructorProperties): void
305
+ }
306
+
307
+ module ViewActivatable {
308
+
309
+ // Constructor properties interface
310
+
311
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
312
+
313
+ // Own constructor properties of Gedit-3.0.Gedit.ViewActivatable
314
+
315
+ /**
316
+ * The window property contains the gedit window for this
317
+ * #GeditViewActivatable instance.
318
+ */
319
+ view?: View | null
320
+ }
321
+
322
+ }
323
+
324
+ interface ViewActivatable {
325
+
326
+ // Own properties of Gedit-3.0.Gedit.ViewActivatable
327
+
328
+ /**
329
+ * The window property contains the gedit window for this
330
+ * #GeditViewActivatable instance.
331
+ */
332
+ readonly view: View
333
+
334
+ // Owm methods of Gedit-3.0.Gedit.ViewActivatable
335
+
336
+ /**
337
+ * Activates the extension on the window property.
338
+ */
339
+ activate(): void
340
+ /**
341
+ * Deactivates the extension on the window property.
342
+ */
343
+ deactivate(): void
344
+
345
+ // Own virtual methods of Gedit-3.0.Gedit.ViewActivatable
346
+
347
+ /**
348
+ * Activates the extension on the window property.
349
+ * @virtual
350
+ */
351
+ vfunc_activate(): void
352
+ /**
353
+ * Deactivates the extension on the window property.
354
+ * @virtual
355
+ */
356
+ vfunc_deactivate(): void
357
+
358
+ // Class property signals of Gedit-3.0.Gedit.ViewActivatable
359
+
360
+ connect(sigName: "notify::view", callback: (($obj: ViewActivatable, pspec: GObject.ParamSpec) => void)): number
361
+ connect_after(sigName: "notify::view", callback: (($obj: ViewActivatable, pspec: GObject.ParamSpec) => void)): number
362
+ emit(sigName: "notify::view", ...args: any[]): void
363
+ connect(sigName: string, callback: (...args: any[]) => void): number
364
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
365
+ emit(sigName: string, ...args: any[]): void
366
+ disconnect(id: number): void
367
+ }
368
+
369
+ class ViewActivatable extends GObject.Object {
370
+
371
+ // Own properties of Gedit-3.0.Gedit.ViewActivatable
372
+
373
+ static name: string
374
+ static $gtype: GObject.GType<ViewActivatable>
375
+
376
+ // Constructors of Gedit-3.0.Gedit.ViewActivatable
377
+
378
+ constructor(config?: ViewActivatable.ConstructorProperties)
379
+ _init(config?: ViewActivatable.ConstructorProperties): void
380
+ }
381
+
382
+ module WindowActivatable {
383
+
384
+ // Constructor properties interface
385
+
386
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
387
+
388
+ // Own constructor properties of Gedit-3.0.Gedit.WindowActivatable
389
+
390
+ /**
391
+ * The window property contains the gedit window for this
392
+ * #GeditWindowActivatable instance.
393
+ */
394
+ window?: Window | null
395
+ }
396
+
397
+ }
398
+
399
+ interface WindowActivatable {
400
+
401
+ // Own properties of Gedit-3.0.Gedit.WindowActivatable
402
+
403
+ /**
404
+ * The window property contains the gedit window for this
405
+ * #GeditWindowActivatable instance.
406
+ */
407
+ readonly window: Window
408
+
409
+ // Owm methods of Gedit-3.0.Gedit.WindowActivatable
410
+
411
+ /**
412
+ * Activates the extension on the window property.
413
+ */
414
+ activate(): void
415
+ /**
416
+ * Deactivates the extension on the window property.
417
+ */
418
+ deactivate(): void
419
+ /**
420
+ * Triggers an update of the extension internal state to take into account
421
+ * state changes in the window, due to some event or user action.
422
+ */
423
+ update_state(): void
424
+
425
+ // Own virtual methods of Gedit-3.0.Gedit.WindowActivatable
426
+
427
+ /**
428
+ * Activates the extension on the window property.
429
+ * @virtual
430
+ */
431
+ vfunc_activate(): void
432
+ /**
433
+ * Deactivates the extension on the window property.
434
+ * @virtual
435
+ */
436
+ vfunc_deactivate(): void
437
+ /**
438
+ * Triggers an update of the extension internal state to take into account
439
+ * state changes in the window, due to some event or user action.
440
+ * @virtual
441
+ */
442
+ vfunc_update_state(): void
443
+
444
+ // Class property signals of Gedit-3.0.Gedit.WindowActivatable
445
+
446
+ connect(sigName: "notify::window", callback: (($obj: WindowActivatable, pspec: GObject.ParamSpec) => void)): number
447
+ connect_after(sigName: "notify::window", callback: (($obj: WindowActivatable, pspec: GObject.ParamSpec) => void)): number
448
+ emit(sigName: "notify::window", ...args: any[]): void
449
+ connect(sigName: string, callback: (...args: any[]) => void): number
450
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
451
+ emit(sigName: string, ...args: any[]): void
452
+ disconnect(id: number): void
453
+ }
454
+
455
+ class WindowActivatable extends GObject.Object {
456
+
457
+ // Own properties of Gedit-3.0.Gedit.WindowActivatable
458
+
459
+ static name: string
460
+ static $gtype: GObject.GType<WindowActivatable>
461
+
462
+ // Constructors of Gedit-3.0.Gedit.WindowActivatable
463
+
464
+ constructor(config?: WindowActivatable.ConstructorProperties)
465
+ _init(config?: WindowActivatable.ConstructorProperties): void
466
+ }
467
+
468
+ module App {
469
+
470
+ // Constructor properties interface
471
+
472
+ interface ConstructorProperties extends Gio.ActionGroup.ConstructorProperties, Gio.ActionMap.ConstructorProperties, Gtk.Application.ConstructorProperties {
473
+ }
474
+
475
+ }
476
+
477
+ interface App extends Gio.ActionGroup, Gio.ActionMap {
478
+
479
+ // Own fields of Gedit-3.0.Gedit.App
480
+
481
+ parent_instance: Gtk.Application
482
+
483
+ // Owm methods of Gedit-3.0.Gedit.App
484
+
485
+ /**
486
+ * Create a new #GeditWindow part of `app`.
487
+ * @param screen
488
+ * @returns the new #GeditWindow
489
+ */
490
+ create_window(screen: Gdk.Screen | null): Window
491
+ /**
492
+ * Returns all the documents currently open in #GeditApp.
493
+ * @returns a newly allocated list of #GeditDocument objects
494
+ */
495
+ get_documents(): Document[]
496
+ /**
497
+ * Returns all #GeditWindows currently open in #GeditApp.
498
+ * This differs from gtk_application_get_windows() since it does not
499
+ * include the preferences dialog and other auxiliary windows.
500
+ * @returns a newly allocated list of #GeditWindow objects
501
+ */
502
+ get_main_windows(): Window[]
503
+ /**
504
+ * Returns all the views currently present in #GeditApp.
505
+ * @returns a newly allocated list of #GeditView objects
506
+ */
507
+ get_views(): View[]
508
+ process_window_event(window: Window, event: Gdk.Event): boolean
509
+ set_window_title(window: Window, title: string | null): void
510
+ show_help(parent: Gtk.Window, name: string | null, link_id: string | null): boolean
511
+
512
+ // Own virtual methods of Gedit-3.0.Gedit.App
513
+
514
+ vfunc_help_link_id(name: string | null, link_id: string | null): string | null
515
+ vfunc_process_window_event(window: Window, event: Gdk.Event): boolean
516
+ vfunc_set_window_title(window: Window, title: string | null): void
517
+ vfunc_show_help(parent: Gtk.Window, name: string | null, link_id: string | null): boolean
518
+
519
+ // Class property signals of Gedit-3.0.Gedit.App
520
+
521
+ connect(sigName: "notify::active-window", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
522
+ connect_after(sigName: "notify::active-window", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
523
+ emit(sigName: "notify::active-window", ...args: any[]): void
524
+ connect(sigName: "notify::app-menu", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
525
+ connect_after(sigName: "notify::app-menu", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
526
+ emit(sigName: "notify::app-menu", ...args: any[]): void
527
+ connect(sigName: "notify::menubar", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
528
+ connect_after(sigName: "notify::menubar", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
529
+ emit(sigName: "notify::menubar", ...args: any[]): void
530
+ connect(sigName: "notify::register-session", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
531
+ connect_after(sigName: "notify::register-session", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
532
+ emit(sigName: "notify::register-session", ...args: any[]): void
533
+ connect(sigName: "notify::screensaver-active", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
534
+ connect_after(sigName: "notify::screensaver-active", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
535
+ emit(sigName: "notify::screensaver-active", ...args: any[]): void
536
+ connect(sigName: "notify::action-group", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
537
+ connect_after(sigName: "notify::action-group", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
538
+ emit(sigName: "notify::action-group", ...args: any[]): void
539
+ connect(sigName: "notify::application-id", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
540
+ connect_after(sigName: "notify::application-id", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
541
+ emit(sigName: "notify::application-id", ...args: any[]): void
542
+ connect(sigName: "notify::flags", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
543
+ connect_after(sigName: "notify::flags", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
544
+ emit(sigName: "notify::flags", ...args: any[]): void
545
+ connect(sigName: "notify::inactivity-timeout", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
546
+ connect_after(sigName: "notify::inactivity-timeout", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
547
+ emit(sigName: "notify::inactivity-timeout", ...args: any[]): void
548
+ connect(sigName: "notify::is-busy", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
549
+ connect_after(sigName: "notify::is-busy", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
550
+ emit(sigName: "notify::is-busy", ...args: any[]): void
551
+ connect(sigName: "notify::is-registered", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
552
+ connect_after(sigName: "notify::is-registered", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
553
+ emit(sigName: "notify::is-registered", ...args: any[]): void
554
+ connect(sigName: "notify::is-remote", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
555
+ connect_after(sigName: "notify::is-remote", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
556
+ emit(sigName: "notify::is-remote", ...args: any[]): void
557
+ connect(sigName: "notify::resource-base-path", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
558
+ connect_after(sigName: "notify::resource-base-path", callback: (($obj: App, pspec: GObject.ParamSpec) => void)): number
559
+ emit(sigName: "notify::resource-base-path", ...args: any[]): void
560
+ connect(sigName: string, callback: (...args: any[]) => void): number
561
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
562
+ emit(sigName: string, ...args: any[]): void
563
+ disconnect(id: number): void
564
+ }
565
+
566
+ class App extends Gtk.Application {
567
+
568
+ // Own properties of Gedit-3.0.Gedit.App
569
+
570
+ static name: string
571
+ static $gtype: GObject.GType<App>
572
+
573
+ // Constructors of Gedit-3.0.Gedit.App
574
+
575
+ constructor(config?: App.ConstructorProperties)
576
+ _init(config?: App.ConstructorProperties): void
577
+
578
+ // Conflicting static methods
579
+
580
+ static new(...args: any[]): any
581
+ }
582
+
583
+ module Document {
584
+
585
+ // Signal callback interfaces
586
+
587
+ /**
588
+ * Signal callback interface for `load`
589
+ */
590
+ interface LoadSignalCallback {
591
+ ($obj: Document): void
592
+ }
593
+
594
+ /**
595
+ * Signal callback interface for `loaded`
596
+ */
597
+ interface LoadedSignalCallback {
598
+ ($obj: Document): void
599
+ }
600
+
601
+ /**
602
+ * Signal callback interface for `save`
603
+ */
604
+ interface SaveSignalCallback {
605
+ ($obj: Document): void
606
+ }
607
+
608
+ /**
609
+ * Signal callback interface for `saved`
610
+ */
611
+ interface SavedSignalCallback {
612
+ ($obj: Document): void
613
+ }
614
+
615
+
616
+ // Constructor properties interface
617
+
618
+ interface ConstructorProperties extends GtkSource.Buffer.ConstructorProperties {
619
+
620
+ // Own constructor properties of Gedit-3.0.Gedit.Document
621
+
622
+ /**
623
+ * The document's content type.
624
+ */
625
+ content_type?: string | null
626
+ }
627
+
628
+ }
629
+
630
+ interface Document {
631
+
632
+ // Own properties of Gedit-3.0.Gedit.Document
633
+
634
+ /**
635
+ * The document's content type.
636
+ */
637
+ content_type: string | null
638
+ /**
639
+ * <warning>
640
+ * The property is used internally by gedit. It must not be used in a
641
+ * gedit plugin. The property can be modified or removed at any time.
642
+ * </warning>
643
+ */
644
+ readonly empty_search: boolean
645
+ /**
646
+ * The document's MIME type.
647
+ */
648
+ readonly mime_type: string | null
649
+
650
+ // Conflicting properties
651
+
652
+ parent_instance: Gtk.TextBuffer & GObject.Object & GObject.Object
653
+ priv: any & Gtk.TextBufferPrivate
654
+
655
+ // Owm methods of Gedit-3.0.Gedit.Document
656
+
657
+ get_content_type(): string | null
658
+ /**
659
+ * Gets the associated #GtkSourceFile. You should use it only for reading
660
+ * purposes, not for creating a #GtkSourceFileLoader or #GtkSourceFileSaver,
661
+ * because gedit does some extra work when loading or saving a file and
662
+ * maintains an internal state. If you use in a plugin a file loader or saver on
663
+ * the returned #GtkSourceFile, the internal state of gedit won't be updated.
664
+ *
665
+ * If you want to save the #GeditDocument to a secondary file, you can create a
666
+ * new #GtkSourceFile and use a #GtkSourceFileSaver.
667
+ * @returns the associated #GtkSourceFile.
668
+ */
669
+ get_file(): GtkSource.File
670
+ get_language(): GtkSource.Language
671
+
672
+ // Overloads of get_language
673
+
674
+ /**
675
+ * Returns the #GtkSourceLanguage associated with the buffer,
676
+ * see gtk_source_buffer_set_language(). The returned object should not be
677
+ * unreferenced by the user.
678
+ * @returns the #GtkSourceLanguage associated with the buffer, or %NULL.
679
+ */
680
+ get_language(): GtkSource.Language | null
681
+ /**
682
+ * Gets the metadata assigned to `key`.
683
+ * @param key name of the key
684
+ * @returns the value assigned to @key. Free with g_free().
685
+ */
686
+ get_metadata(key: string | null): string | null
687
+ /**
688
+ * Note: this never returns %NULL.
689
+ */
690
+ get_mime_type(): string | null
691
+ /**
692
+ * Gets the search context. Use this function only if you have used
693
+ * gedit_document_set_search_context() before. You should not alter other search
694
+ * contexts, so you have to verify that the returned search context is yours.
695
+ * One way to verify that is to compare the search settings object, or to mark
696
+ * the search context with g_object_set_data().
697
+ * @returns the current search context of the document, or NULL if there is no current search context.
698
+ */
699
+ get_search_context(): GtkSource.SearchContext
700
+ /**
701
+ * Note: this never returns %NULL.
702
+ */
703
+ get_short_name_for_display(): string | null
704
+ is_untitled(): boolean
705
+ set_language(lang: GtkSource.Language | null): void
706
+ /**
707
+ * Sets the new search context for the document. Use this function only when the
708
+ * search occurrences are highlighted. So this function should not be used for
709
+ * background searches. The purpose is to have only one highlighted search
710
+ * context at a time in the document.
711
+ *
712
+ * After using this function, you should unref the `search_context`. The `doc`
713
+ * should be the only owner of the `search_context,` so that the Clear Highlight
714
+ * action works. If you need the `search_context` after calling this function,
715
+ * use gedit_document_get_search_context().
716
+ * @param search_context the new #GtkSourceSearchContext
717
+ */
718
+ set_search_context(search_context: GtkSource.SearchContext | null): void
719
+
720
+ // Own virtual methods of Gedit-3.0.Gedit.Document
721
+
722
+ vfunc_load(): void
723
+ vfunc_loaded(): void
724
+ vfunc_save(): void
725
+ vfunc_saved(): void
726
+
727
+ // Own signals of Gedit-3.0.Gedit.Document
728
+
729
+ connect(sigName: "load", callback: Document.LoadSignalCallback): number
730
+ connect_after(sigName: "load", callback: Document.LoadSignalCallback): number
731
+ emit(sigName: "load", ...args: any[]): void
732
+ connect(sigName: "loaded", callback: Document.LoadedSignalCallback): number
733
+ connect_after(sigName: "loaded", callback: Document.LoadedSignalCallback): number
734
+ emit(sigName: "loaded", ...args: any[]): void
735
+ connect(sigName: "save", callback: Document.SaveSignalCallback): number
736
+ connect_after(sigName: "save", callback: Document.SaveSignalCallback): number
737
+ emit(sigName: "save", ...args: any[]): void
738
+ connect(sigName: "saved", callback: Document.SavedSignalCallback): number
739
+ connect_after(sigName: "saved", callback: Document.SavedSignalCallback): number
740
+ emit(sigName: "saved", ...args: any[]): void
741
+
742
+ // Class property signals of Gedit-3.0.Gedit.Document
743
+
744
+ connect(sigName: "notify::content-type", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
745
+ connect_after(sigName: "notify::content-type", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
746
+ emit(sigName: "notify::content-type", ...args: any[]): void
747
+ connect(sigName: "notify::empty-search", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
748
+ connect_after(sigName: "notify::empty-search", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
749
+ emit(sigName: "notify::empty-search", ...args: any[]): void
750
+ connect(sigName: "notify::mime-type", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
751
+ connect_after(sigName: "notify::mime-type", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
752
+ emit(sigName: "notify::mime-type", ...args: any[]): void
753
+ connect(sigName: "notify::can-redo", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
754
+ connect_after(sigName: "notify::can-redo", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
755
+ emit(sigName: "notify::can-redo", ...args: any[]): void
756
+ connect(sigName: "notify::can-undo", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
757
+ connect_after(sigName: "notify::can-undo", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
758
+ emit(sigName: "notify::can-undo", ...args: any[]): void
759
+ connect(sigName: "notify::highlight-matching-brackets", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
760
+ connect_after(sigName: "notify::highlight-matching-brackets", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
761
+ emit(sigName: "notify::highlight-matching-brackets", ...args: any[]): void
762
+ connect(sigName: "notify::highlight-syntax", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
763
+ connect_after(sigName: "notify::highlight-syntax", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
764
+ emit(sigName: "notify::highlight-syntax", ...args: any[]): void
765
+ connect(sigName: "notify::implicit-trailing-newline", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
766
+ connect_after(sigName: "notify::implicit-trailing-newline", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
767
+ emit(sigName: "notify::implicit-trailing-newline", ...args: any[]): void
768
+ connect(sigName: "notify::language", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
769
+ connect_after(sigName: "notify::language", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
770
+ emit(sigName: "notify::language", ...args: any[]): void
771
+ connect(sigName: "notify::max-undo-levels", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
772
+ connect_after(sigName: "notify::max-undo-levels", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
773
+ emit(sigName: "notify::max-undo-levels", ...args: any[]): void
774
+ connect(sigName: "notify::style-scheme", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
775
+ connect_after(sigName: "notify::style-scheme", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
776
+ emit(sigName: "notify::style-scheme", ...args: any[]): void
777
+ connect(sigName: "notify::undo-manager", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
778
+ connect_after(sigName: "notify::undo-manager", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
779
+ emit(sigName: "notify::undo-manager", ...args: any[]): void
780
+ connect(sigName: "notify::copy-target-list", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
781
+ connect_after(sigName: "notify::copy-target-list", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
782
+ emit(sigName: "notify::copy-target-list", ...args: any[]): void
783
+ connect(sigName: "notify::cursor-position", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
784
+ connect_after(sigName: "notify::cursor-position", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
785
+ emit(sigName: "notify::cursor-position", ...args: any[]): void
786
+ connect(sigName: "notify::has-selection", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
787
+ connect_after(sigName: "notify::has-selection", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
788
+ emit(sigName: "notify::has-selection", ...args: any[]): void
789
+ connect(sigName: "notify::paste-target-list", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
790
+ connect_after(sigName: "notify::paste-target-list", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
791
+ emit(sigName: "notify::paste-target-list", ...args: any[]): void
792
+ connect(sigName: "notify::tag-table", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
793
+ connect_after(sigName: "notify::tag-table", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
794
+ emit(sigName: "notify::tag-table", ...args: any[]): void
795
+ connect(sigName: "notify::text", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
796
+ connect_after(sigName: "notify::text", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
797
+ emit(sigName: "notify::text", ...args: any[]): void
798
+ connect(sigName: string, callback: (...args: any[]) => void): number
799
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
800
+ emit(sigName: string, ...args: any[]): void
801
+ disconnect(id: number): void
802
+ }
803
+
804
+ class Document extends GtkSource.Buffer {
805
+
806
+ // Own properties of Gedit-3.0.Gedit.Document
807
+
808
+ static name: string
809
+ static $gtype: GObject.GType<Document>
810
+
811
+ // Constructors of Gedit-3.0.Gedit.Document
812
+
813
+ constructor(config?: Document.ConstructorProperties)
814
+ constructor()
815
+ static new(): Document
816
+
817
+ // Overloads of new
818
+
819
+ /**
820
+ * Creates a new source buffer.
821
+ * @constructor
822
+ * @param table a #GtkTextTagTable, or %NULL to create a new one.
823
+ * @returns a new source buffer.
824
+ */
825
+ static new(table: Gtk.TextTagTable | null): GtkSource.Buffer
826
+ /**
827
+ * Creates a new text buffer.
828
+ * @constructor
829
+ * @param table a tag table, or %NULL to create a new one
830
+ * @returns a new text buffer
831
+ */
832
+ static new(table: Gtk.TextTagTable | null): Gtk.TextBuffer
833
+ _init(config?: Document.ConstructorProperties): void
834
+ }
835
+
836
+ module EncodingsComboBox {
837
+
838
+ // Constructor properties interface
839
+
840
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.CellEditable.ConstructorProperties, Gtk.CellLayout.ConstructorProperties, Gtk.ComboBox.ConstructorProperties {
841
+
842
+ // Own constructor properties of Gedit-3.0.Gedit.EncodingsComboBox
843
+
844
+ /**
845
+ * Whether the combo box should be used for saving a content. If
846
+ * %FALSE, the combo box is used for loading a content (e.g. a file)
847
+ * and the row "Automatically Detected" is added.
848
+ */
849
+ save_mode?: boolean | null
850
+ }
851
+
852
+ }
853
+
854
+ interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout {
855
+
856
+ // Own properties of Gedit-3.0.Gedit.EncodingsComboBox
857
+
858
+ /**
859
+ * Whether the combo box should be used for saving a content. If
860
+ * %FALSE, the combo box is used for loading a content (e.g. a file)
861
+ * and the row "Automatically Detected" is added.
862
+ */
863
+ save_mode: boolean
864
+
865
+ // Conflicting properties
866
+
867
+ parent_instance: Gtk.Bin & GObject.InitiallyUnowned & GObject.InitiallyUnowned
868
+
869
+ // Owm methods of Gedit-3.0.Gedit.EncodingsComboBox
870
+
871
+ get_selected_encoding(): GtkSource.Encoding
872
+ /**
873
+ * Sets the selected encoding.
874
+ * @param encoding the #GtkSourceEncoding.
875
+ */
876
+ set_selected_encoding(encoding: GtkSource.Encoding): void
877
+
878
+ // Conflicting methods
879
+
880
+ /**
881
+ * Emits a #GtkWidget::child-notify signal for the
882
+ * [child property][child-properties] `child_property`
883
+ * on `widget`.
884
+ *
885
+ * This is the analogue of g_object_notify() for child properties.
886
+ *
887
+ * Also see gtk_container_child_notify().
888
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
889
+ */
890
+ child_notify(child_property: string | null): void
891
+ /**
892
+ * Emits a #GtkWidget::child-notify signal for the
893
+ * [child property][child-properties]
894
+ * `child_property` on the child.
895
+ *
896
+ * This is an analogue of g_object_notify() for child properties.
897
+ *
898
+ * Also see gtk_widget_child_notify().
899
+ * @param child the child widget
900
+ * @param child_property the name of a child property installed on the class of `container`
901
+ */
902
+ child_notify(child: Gtk.Widget, child_property: string | null): void
903
+
904
+ // Overloads of child_notify
905
+
906
+ /**
907
+ * Emits a #GtkWidget::child-notify signal for the
908
+ * [child property][child-properties] `child_property`
909
+ * on `widget`.
910
+ *
911
+ * This is the analogue of g_object_notify() for child properties.
912
+ *
913
+ * Also see gtk_container_child_notify().
914
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
915
+ */
916
+ child_notify(child_property: string | null): void
917
+
918
+ // Class property signals of Gedit-3.0.Gedit.EncodingsComboBox
919
+
920
+ connect(sigName: "notify::save-mode", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
921
+ connect_after(sigName: "notify::save-mode", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
922
+ emit(sigName: "notify::save-mode", ...args: any[]): void
923
+ connect(sigName: "notify::active", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
924
+ connect_after(sigName: "notify::active", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
925
+ emit(sigName: "notify::active", ...args: any[]): void
926
+ connect(sigName: "notify::active-id", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
927
+ connect_after(sigName: "notify::active-id", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
928
+ emit(sigName: "notify::active-id", ...args: any[]): void
929
+ connect(sigName: "notify::add-tearoffs", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
930
+ connect_after(sigName: "notify::add-tearoffs", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
931
+ emit(sigName: "notify::add-tearoffs", ...args: any[]): void
932
+ connect(sigName: "notify::button-sensitivity", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
933
+ connect_after(sigName: "notify::button-sensitivity", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
934
+ emit(sigName: "notify::button-sensitivity", ...args: any[]): void
935
+ connect(sigName: "notify::cell-area", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
936
+ connect_after(sigName: "notify::cell-area", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
937
+ emit(sigName: "notify::cell-area", ...args: any[]): void
938
+ connect(sigName: "notify::column-span-column", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
939
+ connect_after(sigName: "notify::column-span-column", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
940
+ emit(sigName: "notify::column-span-column", ...args: any[]): void
941
+ connect(sigName: "notify::entry-text-column", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
942
+ connect_after(sigName: "notify::entry-text-column", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
943
+ emit(sigName: "notify::entry-text-column", ...args: any[]): void
944
+ connect(sigName: "notify::has-entry", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
945
+ connect_after(sigName: "notify::has-entry", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
946
+ emit(sigName: "notify::has-entry", ...args: any[]): void
947
+ connect(sigName: "notify::has-frame", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
948
+ connect_after(sigName: "notify::has-frame", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
949
+ emit(sigName: "notify::has-frame", ...args: any[]): void
950
+ connect(sigName: "notify::id-column", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
951
+ connect_after(sigName: "notify::id-column", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
952
+ emit(sigName: "notify::id-column", ...args: any[]): void
953
+ connect(sigName: "notify::model", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
954
+ connect_after(sigName: "notify::model", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
955
+ emit(sigName: "notify::model", ...args: any[]): void
956
+ connect(sigName: "notify::popup-fixed-width", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
957
+ connect_after(sigName: "notify::popup-fixed-width", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
958
+ emit(sigName: "notify::popup-fixed-width", ...args: any[]): void
959
+ connect(sigName: "notify::popup-shown", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
960
+ connect_after(sigName: "notify::popup-shown", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
961
+ emit(sigName: "notify::popup-shown", ...args: any[]): void
962
+ connect(sigName: "notify::row-span-column", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
963
+ connect_after(sigName: "notify::row-span-column", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
964
+ emit(sigName: "notify::row-span-column", ...args: any[]): void
965
+ connect(sigName: "notify::tearoff-title", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
966
+ connect_after(sigName: "notify::tearoff-title", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
967
+ emit(sigName: "notify::tearoff-title", ...args: any[]): void
968
+ connect(sigName: "notify::wrap-width", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
969
+ connect_after(sigName: "notify::wrap-width", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
970
+ emit(sigName: "notify::wrap-width", ...args: any[]): void
971
+ connect(sigName: "notify::border-width", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
972
+ connect_after(sigName: "notify::border-width", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
973
+ emit(sigName: "notify::border-width", ...args: any[]): void
974
+ connect(sigName: "notify::child", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
975
+ connect_after(sigName: "notify::child", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
976
+ emit(sigName: "notify::child", ...args: any[]): void
977
+ connect(sigName: "notify::resize-mode", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
978
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
979
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
980
+ connect(sigName: "notify::app-paintable", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
981
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
982
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
983
+ connect(sigName: "notify::can-default", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
984
+ connect_after(sigName: "notify::can-default", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
985
+ emit(sigName: "notify::can-default", ...args: any[]): void
986
+ connect(sigName: "notify::can-focus", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
987
+ connect_after(sigName: "notify::can-focus", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
988
+ emit(sigName: "notify::can-focus", ...args: any[]): void
989
+ connect(sigName: "notify::composite-child", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
990
+ connect_after(sigName: "notify::composite-child", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
991
+ emit(sigName: "notify::composite-child", ...args: any[]): void
992
+ connect(sigName: "notify::double-buffered", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
993
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
994
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
995
+ connect(sigName: "notify::events", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
996
+ connect_after(sigName: "notify::events", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
997
+ emit(sigName: "notify::events", ...args: any[]): void
998
+ connect(sigName: "notify::expand", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
999
+ connect_after(sigName: "notify::expand", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1000
+ emit(sigName: "notify::expand", ...args: any[]): void
1001
+ connect(sigName: "notify::focus-on-click", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1002
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1003
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1004
+ connect(sigName: "notify::halign", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1005
+ connect_after(sigName: "notify::halign", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1006
+ emit(sigName: "notify::halign", ...args: any[]): void
1007
+ connect(sigName: "notify::has-default", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1008
+ connect_after(sigName: "notify::has-default", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1009
+ emit(sigName: "notify::has-default", ...args: any[]): void
1010
+ connect(sigName: "notify::has-focus", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1011
+ connect_after(sigName: "notify::has-focus", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1012
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1013
+ connect(sigName: "notify::has-tooltip", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1014
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1015
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1016
+ connect(sigName: "notify::height-request", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1017
+ connect_after(sigName: "notify::height-request", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1018
+ emit(sigName: "notify::height-request", ...args: any[]): void
1019
+ connect(sigName: "notify::hexpand", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1020
+ connect_after(sigName: "notify::hexpand", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1021
+ emit(sigName: "notify::hexpand", ...args: any[]): void
1022
+ connect(sigName: "notify::hexpand-set", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1023
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1024
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
1025
+ connect(sigName: "notify::is-focus", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1026
+ connect_after(sigName: "notify::is-focus", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1027
+ emit(sigName: "notify::is-focus", ...args: any[]): void
1028
+ connect(sigName: "notify::margin", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1029
+ connect_after(sigName: "notify::margin", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1030
+ emit(sigName: "notify::margin", ...args: any[]): void
1031
+ connect(sigName: "notify::margin-bottom", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1032
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1033
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
1034
+ connect(sigName: "notify::margin-end", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1035
+ connect_after(sigName: "notify::margin-end", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1036
+ emit(sigName: "notify::margin-end", ...args: any[]): void
1037
+ connect(sigName: "notify::margin-left", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1038
+ connect_after(sigName: "notify::margin-left", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1039
+ emit(sigName: "notify::margin-left", ...args: any[]): void
1040
+ connect(sigName: "notify::margin-right", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1041
+ connect_after(sigName: "notify::margin-right", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1042
+ emit(sigName: "notify::margin-right", ...args: any[]): void
1043
+ connect(sigName: "notify::margin-start", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1044
+ connect_after(sigName: "notify::margin-start", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1045
+ emit(sigName: "notify::margin-start", ...args: any[]): void
1046
+ connect(sigName: "notify::margin-top", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1047
+ connect_after(sigName: "notify::margin-top", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1048
+ emit(sigName: "notify::margin-top", ...args: any[]): void
1049
+ connect(sigName: "notify::name", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1050
+ connect_after(sigName: "notify::name", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1051
+ emit(sigName: "notify::name", ...args: any[]): void
1052
+ connect(sigName: "notify::no-show-all", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1053
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1054
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
1055
+ connect(sigName: "notify::opacity", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1056
+ connect_after(sigName: "notify::opacity", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1057
+ emit(sigName: "notify::opacity", ...args: any[]): void
1058
+ connect(sigName: "notify::parent", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1059
+ connect_after(sigName: "notify::parent", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1060
+ emit(sigName: "notify::parent", ...args: any[]): void
1061
+ connect(sigName: "notify::receives-default", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1062
+ connect_after(sigName: "notify::receives-default", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1063
+ emit(sigName: "notify::receives-default", ...args: any[]): void
1064
+ connect(sigName: "notify::scale-factor", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1065
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1066
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
1067
+ connect(sigName: "notify::sensitive", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1068
+ connect_after(sigName: "notify::sensitive", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1069
+ emit(sigName: "notify::sensitive", ...args: any[]): void
1070
+ connect(sigName: "notify::style", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1071
+ connect_after(sigName: "notify::style", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1072
+ emit(sigName: "notify::style", ...args: any[]): void
1073
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1074
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1075
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1076
+ connect(sigName: "notify::tooltip-text", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1077
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1078
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
1079
+ connect(sigName: "notify::valign", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1080
+ connect_after(sigName: "notify::valign", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1081
+ emit(sigName: "notify::valign", ...args: any[]): void
1082
+ connect(sigName: "notify::vexpand", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1083
+ connect_after(sigName: "notify::vexpand", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1084
+ emit(sigName: "notify::vexpand", ...args: any[]): void
1085
+ connect(sigName: "notify::vexpand-set", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1086
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1087
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
1088
+ connect(sigName: "notify::visible", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1089
+ connect_after(sigName: "notify::visible", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1090
+ emit(sigName: "notify::visible", ...args: any[]): void
1091
+ connect(sigName: "notify::width-request", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1092
+ connect_after(sigName: "notify::width-request", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1093
+ emit(sigName: "notify::width-request", ...args: any[]): void
1094
+ connect(sigName: "notify::window", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1095
+ connect_after(sigName: "notify::window", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1096
+ emit(sigName: "notify::window", ...args: any[]): void
1097
+ connect(sigName: "notify::editing-canceled", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1098
+ connect_after(sigName: "notify::editing-canceled", callback: (($obj: EncodingsComboBox, pspec: GObject.ParamSpec) => void)): number
1099
+ emit(sigName: "notify::editing-canceled", ...args: any[]): void
1100
+ connect(sigName: string, callback: (...args: any[]) => void): number
1101
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1102
+ emit(sigName: string, ...args: any[]): void
1103
+ disconnect(id: number): void
1104
+ }
1105
+
1106
+ class EncodingsComboBox extends Gtk.ComboBox {
1107
+
1108
+ // Own properties of Gedit-3.0.Gedit.EncodingsComboBox
1109
+
1110
+ static name: string
1111
+ static $gtype: GObject.GType<EncodingsComboBox>
1112
+
1113
+ // Constructors of Gedit-3.0.Gedit.EncodingsComboBox
1114
+
1115
+ constructor(config?: EncodingsComboBox.ConstructorProperties)
1116
+ /**
1117
+ * Creates a new encodings combo box object. If `save_mode` is %FALSE, it means
1118
+ * that the combo box is used for loading a content (e.g. a file), so the row
1119
+ * "Automatically Detected" is added. For saving a content, the encoding must be
1120
+ * provided.
1121
+ * @constructor
1122
+ * @param save_mode whether the combo box is used for saving a content.
1123
+ * @returns a new #GeditEncodingsComboBox object.
1124
+ */
1125
+ constructor(save_mode: boolean)
1126
+ /**
1127
+ * Creates a new encodings combo box object. If `save_mode` is %FALSE, it means
1128
+ * that the combo box is used for loading a content (e.g. a file), so the row
1129
+ * "Automatically Detected" is added. For saving a content, the encoding must be
1130
+ * provided.
1131
+ * @constructor
1132
+ * @param save_mode whether the combo box is used for saving a content.
1133
+ * @returns a new #GeditEncodingsComboBox object.
1134
+ */
1135
+ static new(save_mode: boolean): EncodingsComboBox
1136
+
1137
+ // Overloads of new
1138
+
1139
+ /**
1140
+ * Creates a new empty #GtkComboBox.
1141
+ * @constructor
1142
+ * @returns A new #GtkComboBox.
1143
+ */
1144
+ static new(): Gtk.ComboBox
1145
+ _init(config?: EncodingsComboBox.ConstructorProperties): void
1146
+ }
1147
+
1148
+ module MenuExtension {
1149
+
1150
+ // Constructor properties interface
1151
+
1152
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1153
+
1154
+ // Own constructor properties of Gedit-3.0.Gedit.MenuExtension
1155
+
1156
+ menu?: Gio.Menu | null
1157
+ }
1158
+
1159
+ }
1160
+
1161
+ interface MenuExtension {
1162
+
1163
+ // Own properties of Gedit-3.0.Gedit.MenuExtension
1164
+
1165
+ readonly menu: Gio.Menu
1166
+
1167
+ // Owm methods of Gedit-3.0.Gedit.MenuExtension
1168
+
1169
+ append_menu_item(item: Gio.MenuItem): void
1170
+ prepend_menu_item(item: Gio.MenuItem): void
1171
+ remove_items(): void
1172
+
1173
+ // Class property signals of Gedit-3.0.Gedit.MenuExtension
1174
+
1175
+ connect(sigName: "notify::menu", callback: (($obj: MenuExtension, pspec: GObject.ParamSpec) => void)): number
1176
+ connect_after(sigName: "notify::menu", callback: (($obj: MenuExtension, pspec: GObject.ParamSpec) => void)): number
1177
+ emit(sigName: "notify::menu", ...args: any[]): void
1178
+ connect(sigName: string, callback: (...args: any[]) => void): number
1179
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1180
+ emit(sigName: string, ...args: any[]): void
1181
+ disconnect(id: number): void
1182
+ }
1183
+
1184
+ class MenuExtension extends GObject.Object {
1185
+
1186
+ // Own properties of Gedit-3.0.Gedit.MenuExtension
1187
+
1188
+ static name: string
1189
+ static $gtype: GObject.GType<MenuExtension>
1190
+
1191
+ // Constructors of Gedit-3.0.Gedit.MenuExtension
1192
+
1193
+ constructor(config?: MenuExtension.ConstructorProperties)
1194
+ constructor(menu: Gio.Menu)
1195
+ static new(menu: Gio.Menu): MenuExtension
1196
+ _init(config?: MenuExtension.ConstructorProperties): void
1197
+ }
1198
+
1199
+ module Message {
1200
+
1201
+ // Constructor properties interface
1202
+
1203
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1204
+
1205
+ // Own constructor properties of Gedit-3.0.Gedit.Message
1206
+
1207
+ /**
1208
+ * The messages method.
1209
+ */
1210
+ method?: string | null
1211
+ object_path?: string | null
1212
+ }
1213
+
1214
+ }
1215
+
1216
+ interface Message {
1217
+
1218
+ // Own properties of Gedit-3.0.Gedit.Message
1219
+
1220
+ /**
1221
+ * The messages method.
1222
+ */
1223
+ method: string | null
1224
+ object_path: string | null
1225
+
1226
+ // Own fields of Gedit-3.0.Gedit.Message
1227
+
1228
+ parent: GObject.Object
1229
+ priv: MessagePrivate
1230
+
1231
+ // Owm methods of Gedit-3.0.Gedit.Message
1232
+
1233
+ /**
1234
+ * Get the message method.
1235
+ * @returns the message method
1236
+ */
1237
+ get_method(): string | null
1238
+ /**
1239
+ * Get the message object path.
1240
+ * @returns the message object path
1241
+ */
1242
+ get_object_path(): string | null
1243
+ /**
1244
+ * Check if a message has a certain property.
1245
+ * @param propname the property name
1246
+ * @returns %TRUE if message has @propname, %FALSE otherwise
1247
+ */
1248
+ has(propname: string | null): boolean
1249
+
1250
+ // Class property signals of Gedit-3.0.Gedit.Message
1251
+
1252
+ connect(sigName: "notify::method", callback: (($obj: Message, pspec: GObject.ParamSpec) => void)): number
1253
+ connect_after(sigName: "notify::method", callback: (($obj: Message, pspec: GObject.ParamSpec) => void)): number
1254
+ emit(sigName: "notify::method", ...args: any[]): void
1255
+ connect(sigName: "notify::object-path", callback: (($obj: Message, pspec: GObject.ParamSpec) => void)): number
1256
+ connect_after(sigName: "notify::object-path", callback: (($obj: Message, pspec: GObject.ParamSpec) => void)): number
1257
+ emit(sigName: "notify::object-path", ...args: any[]): void
1258
+ connect(sigName: string, callback: (...args: any[]) => void): number
1259
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1260
+ emit(sigName: string, ...args: any[]): void
1261
+ disconnect(id: number): void
1262
+ }
1263
+
1264
+ class Message extends GObject.Object {
1265
+
1266
+ // Own properties of Gedit-3.0.Gedit.Message
1267
+
1268
+ static name: string
1269
+ static $gtype: GObject.GType<Message>
1270
+
1271
+ // Constructors of Gedit-3.0.Gedit.Message
1272
+
1273
+ constructor(config?: Message.ConstructorProperties)
1274
+ _init(config?: Message.ConstructorProperties): void
1275
+ /**
1276
+ * Returns whether `object_path` is a valid object path
1277
+ * @param object_path the object path
1278
+ * @returns %TRUE if @object_path is a valid object path
1279
+ */
1280
+ static is_valid_object_path(object_path: string | null): boolean
1281
+ static type_check(gtype: GObject.GType, propname: string | null, value_type: GObject.GType): boolean
1282
+ static type_has(gtype: GObject.GType, propname: string | null): boolean
1283
+ /**
1284
+ * Get the string identifier for `method` at `object_path`.
1285
+ * @param object_path the object path
1286
+ * @param method the method
1287
+ * @returns the identifier for @method at @object_path
1288
+ */
1289
+ static type_identifier(object_path: string | null, method: string | null): string | null
1290
+ }
1291
+
1292
+ module MessageBus {
1293
+
1294
+ // Signal callback interfaces
1295
+
1296
+ /**
1297
+ * Signal callback interface for `dispatch`
1298
+ */
1299
+ interface DispatchSignalCallback {
1300
+ ($obj: MessageBus, message: Message): void
1301
+ }
1302
+
1303
+ /**
1304
+ * Signal callback interface for `registered`
1305
+ */
1306
+ interface RegisteredSignalCallback {
1307
+ ($obj: MessageBus, object_path: string | null, method: string | null): void
1308
+ }
1309
+
1310
+ /**
1311
+ * Signal callback interface for `unregistered`
1312
+ */
1313
+ interface UnregisteredSignalCallback {
1314
+ ($obj: MessageBus, object_path: string | null, method: string | null): void
1315
+ }
1316
+
1317
+
1318
+ // Constructor properties interface
1319
+
1320
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1321
+ }
1322
+
1323
+ }
1324
+
1325
+ interface MessageBus {
1326
+
1327
+ // Own fields of Gedit-3.0.Gedit.MessageBus
1328
+
1329
+ parent: GObject.Object
1330
+ priv: MessageBusPrivate
1331
+
1332
+ // Owm methods of Gedit-3.0.Gedit.MessageBus
1333
+
1334
+ /**
1335
+ * Blocks evoking the callback specified by `id`. Unblock the callback by
1336
+ * using gedit_message_bus_unblock().
1337
+ * @param id the callback id
1338
+ */
1339
+ block(id: number): void
1340
+ /**
1341
+ * Blocks evoking the callback that matches provided `callback` and `user_data`.
1342
+ * Unblock the callback using gedit_message_bus_unblock_by_func().
1343
+ * @param object_path the object path
1344
+ * @param method the method
1345
+ * @param callback the callback to block
1346
+ */
1347
+ block_by_func(object_path: string | null, method: string | null, callback: MessageCallback): void
1348
+ /**
1349
+ * Connect a callback handler to be evoked when message `method` at `object_path`
1350
+ * is sent over the bus.
1351
+ * @param object_path the object path
1352
+ * @param method the method
1353
+ * @param callback function to be called when message `method` at `object_path` is sent
1354
+ * @returns the callback identifier
1355
+ */
1356
+ connect(object_path: string | null, method: string | null, callback: MessageCallback): number
1357
+ /**
1358
+ * Disconnects a previously connected message callback.
1359
+ * @param id the callback id as returned by gedit_message_bus_connect()
1360
+ */
1361
+ disconnect(id: number): void
1362
+ /**
1363
+ * Disconnects a previously connected message callback by matching the
1364
+ * provided callback function and user_data. See also
1365
+ * gedit_message_bus_disconnect().
1366
+ * @param object_path the object path
1367
+ * @param method the method
1368
+ * @param callback the connected callback
1369
+ */
1370
+ disconnect_by_func(object_path: string | null, method: string | null, callback: MessageCallback): void
1371
+ /**
1372
+ * Calls `func` for each message type registered on the bus
1373
+ * @param func the callback function
1374
+ */
1375
+ foreach(func: MessageBusForeach): void
1376
+ /**
1377
+ * Check whether a message type `method` at `object_path` is registered on the
1378
+ * bus.
1379
+ * @param object_path the object path
1380
+ * @param method the method
1381
+ * @returns %TRUE if the @method at @object_path is a registered message type on the bus
1382
+ */
1383
+ is_registered(object_path: string | null, method: string | null): boolean
1384
+ /**
1385
+ * Get the registered #GeditMessageType for `method` at `object_path`. The
1386
+ * returned #GeditMessageType is owned by the bus and should not be unreffed.
1387
+ * @param object_path the object path
1388
+ * @param method the method
1389
+ * @returns the registered #GeditMessageType or %NULL if no message type is registered for @method at @object_path
1390
+ */
1391
+ lookup(object_path: string | null, method: string | null): GObject.GType
1392
+ /**
1393
+ * Register a message on the bus. A message must be registered on the bus before
1394
+ * it can be send. This function registers the type for `method` at
1395
+ * `object_path`.
1396
+ *
1397
+ * This function emits a #GeditMessageBus::registered signal.
1398
+ * @param message_type the message type
1399
+ * @param object_path the object path
1400
+ * @param method the method to register
1401
+ */
1402
+ register(message_type: GObject.GType, object_path: string | null, method: string | null): void
1403
+ /**
1404
+ * This sends the provided `message` asynchronously over the bus. To send
1405
+ * a message synchronously, use gedit_message_bus_send_message_sync(). The
1406
+ * convenience function gedit_message_bus_send() can be used to easily send
1407
+ * a message without constructing the message object explicitly first.
1408
+ * @param message the message to send
1409
+ */
1410
+ send_message(message: Message): void
1411
+ /**
1412
+ * This sends the provided `message` synchronously over the bus. To send
1413
+ * a message asynchronously, use gedit_message_bus_send_message(). The
1414
+ * convenience function gedit_message_bus_send_sync() can be used to easily send
1415
+ * a message without constructing the message object explicitly first.
1416
+ * @param message the message to send
1417
+ */
1418
+ send_message_sync(message: Message): void
1419
+ /**
1420
+ * Unblocks the callback specified by `id`.
1421
+ * @param id the callback id
1422
+ */
1423
+ unblock(id: number): void
1424
+ /**
1425
+ * Unblocks the callback that matches provided `callback` and `user_data`.
1426
+ * @param object_path the object path
1427
+ * @param method the method
1428
+ * @param callback the callback to block
1429
+ */
1430
+ unblock_by_func(object_path: string | null, method: string | null, callback: MessageCallback): void
1431
+ /**
1432
+ * Unregisters a previously registered message type. This is especially useful
1433
+ * for plugins which should unregister message types when they are deactivated.
1434
+ *
1435
+ * This function emits the #GeditMessageBus::unregistered signal.
1436
+ * @param object_path the object path
1437
+ * @param method the method
1438
+ */
1439
+ unregister(object_path: string | null, method: string | null): void
1440
+ /**
1441
+ * Unregisters all message types for `object_path`. This is especially useful for
1442
+ * plugins which should unregister message types when they are deactivated.
1443
+ *
1444
+ * This function emits the #GeditMessageBus::unregistered signal for all
1445
+ * unregistered message types.
1446
+ * @param object_path the object path
1447
+ */
1448
+ unregister_all(object_path: string | null): void
1449
+
1450
+ // Own virtual methods of Gedit-3.0.Gedit.MessageBus
1451
+
1452
+ vfunc_dispatch(message: Message): void
1453
+ vfunc_registered(object_path: string | null, method: string | null): void
1454
+ vfunc_unregistered(object_path: string | null, method: string | null): void
1455
+
1456
+ // Own signals of Gedit-3.0.Gedit.MessageBus
1457
+
1458
+ connect(sigName: "dispatch", callback: MessageBus.DispatchSignalCallback): number
1459
+ connect_after(sigName: "dispatch", callback: MessageBus.DispatchSignalCallback): number
1460
+ emit(sigName: "dispatch", message: Message, ...args: any[]): void
1461
+ connect(sigName: "registered", callback: MessageBus.RegisteredSignalCallback): number
1462
+ connect_after(sigName: "registered", callback: MessageBus.RegisteredSignalCallback): number
1463
+ emit(sigName: "registered", object_path: string | null, method: string | null, ...args: any[]): void
1464
+ connect(sigName: "unregistered", callback: MessageBus.UnregisteredSignalCallback): number
1465
+ connect_after(sigName: "unregistered", callback: MessageBus.UnregisteredSignalCallback): number
1466
+ emit(sigName: "unregistered", object_path: string | null, method: string | null, ...args: any[]): void
1467
+
1468
+ // Class property signals of Gedit-3.0.Gedit.MessageBus
1469
+
1470
+ connect(sigName: string, callback: (...args: any[]) => void): number
1471
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1472
+ emit(sigName: string, ...args: any[]): void
1473
+ disconnect(id: number): void
1474
+ }
1475
+
1476
+ class MessageBus extends GObject.Object {
1477
+
1478
+ // Own properties of Gedit-3.0.Gedit.MessageBus
1479
+
1480
+ static name: string
1481
+ static $gtype: GObject.GType<MessageBus>
1482
+
1483
+ // Constructors of Gedit-3.0.Gedit.MessageBus
1484
+
1485
+ constructor(config?: MessageBus.ConstructorProperties)
1486
+ /**
1487
+ * Create a new message bus. Use gedit_message_bus_get_default() to get the
1488
+ * default, application wide, message bus. Creating a new bus is useful for
1489
+ * associating a specific bus with for instance a #GeditWindow.
1490
+ * @constructor
1491
+ * @returns a new #GeditMessageBus
1492
+ */
1493
+ constructor()
1494
+ /**
1495
+ * Create a new message bus. Use gedit_message_bus_get_default() to get the
1496
+ * default, application wide, message bus. Creating a new bus is useful for
1497
+ * associating a specific bus with for instance a #GeditWindow.
1498
+ * @constructor
1499
+ * @returns a new #GeditMessageBus
1500
+ */
1501
+ static new(): MessageBus
1502
+ _init(config?: MessageBus.ConstructorProperties): void
1503
+ /**
1504
+ * Get the default application #GeditMessageBus.
1505
+ * @returns the default #GeditMessageBus
1506
+ */
1507
+ static get_default(): MessageBus
1508
+ }
1509
+
1510
+ module Statusbar {
1511
+
1512
+ // Constructor properties interface
1513
+
1514
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Orientable.ConstructorProperties, Gtk.Statusbar.ConstructorProperties {
1515
+ }
1516
+
1517
+ }
1518
+
1519
+ interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1520
+
1521
+ // Owm methods of Gedit-3.0.Gedit.Statusbar
1522
+
1523
+ clear_overwrite(): void
1524
+ /**
1525
+ * Sets the overwrite mode on the statusbar.
1526
+ * @param overwrite if the overwrite mode is set
1527
+ */
1528
+ set_overwrite(overwrite: boolean): void
1529
+ set_window_state(state: WindowState, num_of_errors: number): void
1530
+
1531
+ // Conflicting methods
1532
+
1533
+ /**
1534
+ * Forces the removal of a message from a statusbar’s stack.
1535
+ * The exact `context_id` and `message_id` must be specified.
1536
+ * @param context_id a context identifier
1537
+ * @param message_id a message identifier, as returned by gtk_statusbar_push()
1538
+ */
1539
+ remove(context_id: number, message_id: number): void
1540
+
1541
+ // Overloads of remove
1542
+
1543
+ /**
1544
+ * Removes `widget` from `container`. `widget` must be inside `container`.
1545
+ * Note that `container` will own a reference to `widget,` and that this
1546
+ * may be the last reference held; so removing a widget from its
1547
+ * container can destroy that widget. If you want to use `widget`
1548
+ * again, you need to add a reference to it before removing it from
1549
+ * a container, using g_object_ref(). If you don’t want to use `widget`
1550
+ * again it’s usually more efficient to simply destroy it directly
1551
+ * using gtk_widget_destroy() since this will remove it from the
1552
+ * container and help break any circular reference count cycles.
1553
+ * @param widget a current child of `container`
1554
+ */
1555
+ remove(widget: Gtk.Widget): void
1556
+ /**
1557
+ * Removes `widget` from `container`. `widget` must be inside `container`.
1558
+ * Note that `container` will own a reference to `widget,` and that this
1559
+ * may be the last reference held; so removing a widget from its
1560
+ * container can destroy that widget. If you want to use `widget`
1561
+ * again, you need to add a reference to it before removing it from
1562
+ * a container, using g_object_ref(). If you don’t want to use `widget`
1563
+ * again it’s usually more efficient to simply destroy it directly
1564
+ * using gtk_widget_destroy() since this will remove it from the
1565
+ * container and help break any circular reference count cycles.
1566
+ * @param widget a current child of `container`
1567
+ */
1568
+ remove(widget: Gtk.Widget): void
1569
+ /**
1570
+ * Emits a #GtkWidget::child-notify signal for the
1571
+ * [child property][child-properties]
1572
+ * `child_property` on the child.
1573
+ *
1574
+ * This is an analogue of g_object_notify() for child properties.
1575
+ *
1576
+ * Also see gtk_widget_child_notify().
1577
+ * @param child the child widget
1578
+ * @param child_property the name of a child property installed on the class of `container`
1579
+ */
1580
+ child_notify(child: Gtk.Widget, child_property: string | null): void
1581
+
1582
+ // Overloads of child_notify
1583
+
1584
+ /**
1585
+ * Emits a #GtkWidget::child-notify signal for the
1586
+ * [child property][child-properties] `child_property`
1587
+ * on `widget`.
1588
+ *
1589
+ * This is the analogue of g_object_notify() for child properties.
1590
+ *
1591
+ * Also see gtk_container_child_notify().
1592
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1593
+ */
1594
+ child_notify(child_property: string | null): void
1595
+ /**
1596
+ * Emits a #GtkWidget::child-notify signal for the
1597
+ * [child property][child-properties] `child_property`
1598
+ * on `widget`.
1599
+ *
1600
+ * This is the analogue of g_object_notify() for child properties.
1601
+ *
1602
+ * Also see gtk_container_child_notify().
1603
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1604
+ */
1605
+ child_notify(child_property: string | null): void
1606
+
1607
+ // Class property signals of Gedit-3.0.Gedit.Statusbar
1608
+
1609
+ connect(sigName: "notify::baseline-position", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1610
+ connect_after(sigName: "notify::baseline-position", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1611
+ emit(sigName: "notify::baseline-position", ...args: any[]): void
1612
+ connect(sigName: "notify::homogeneous", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1613
+ connect_after(sigName: "notify::homogeneous", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1614
+ emit(sigName: "notify::homogeneous", ...args: any[]): void
1615
+ connect(sigName: "notify::spacing", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1616
+ connect_after(sigName: "notify::spacing", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1617
+ emit(sigName: "notify::spacing", ...args: any[]): void
1618
+ connect(sigName: "notify::border-width", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1619
+ connect_after(sigName: "notify::border-width", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1620
+ emit(sigName: "notify::border-width", ...args: any[]): void
1621
+ connect(sigName: "notify::child", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1622
+ connect_after(sigName: "notify::child", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1623
+ emit(sigName: "notify::child", ...args: any[]): void
1624
+ connect(sigName: "notify::resize-mode", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1625
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1626
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
1627
+ connect(sigName: "notify::app-paintable", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1628
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1629
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
1630
+ connect(sigName: "notify::can-default", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1631
+ connect_after(sigName: "notify::can-default", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1632
+ emit(sigName: "notify::can-default", ...args: any[]): void
1633
+ connect(sigName: "notify::can-focus", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1634
+ connect_after(sigName: "notify::can-focus", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1635
+ emit(sigName: "notify::can-focus", ...args: any[]): void
1636
+ connect(sigName: "notify::composite-child", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1637
+ connect_after(sigName: "notify::composite-child", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1638
+ emit(sigName: "notify::composite-child", ...args: any[]): void
1639
+ connect(sigName: "notify::double-buffered", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1640
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1641
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
1642
+ connect(sigName: "notify::events", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1643
+ connect_after(sigName: "notify::events", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1644
+ emit(sigName: "notify::events", ...args: any[]): void
1645
+ connect(sigName: "notify::expand", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1646
+ connect_after(sigName: "notify::expand", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1647
+ emit(sigName: "notify::expand", ...args: any[]): void
1648
+ connect(sigName: "notify::focus-on-click", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1649
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1650
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1651
+ connect(sigName: "notify::halign", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1652
+ connect_after(sigName: "notify::halign", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1653
+ emit(sigName: "notify::halign", ...args: any[]): void
1654
+ connect(sigName: "notify::has-default", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1655
+ connect_after(sigName: "notify::has-default", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1656
+ emit(sigName: "notify::has-default", ...args: any[]): void
1657
+ connect(sigName: "notify::has-focus", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1658
+ connect_after(sigName: "notify::has-focus", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1659
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1660
+ connect(sigName: "notify::has-tooltip", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1661
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1662
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1663
+ connect(sigName: "notify::height-request", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1664
+ connect_after(sigName: "notify::height-request", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1665
+ emit(sigName: "notify::height-request", ...args: any[]): void
1666
+ connect(sigName: "notify::hexpand", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1667
+ connect_after(sigName: "notify::hexpand", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1668
+ emit(sigName: "notify::hexpand", ...args: any[]): void
1669
+ connect(sigName: "notify::hexpand-set", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1670
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1671
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
1672
+ connect(sigName: "notify::is-focus", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1673
+ connect_after(sigName: "notify::is-focus", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1674
+ emit(sigName: "notify::is-focus", ...args: any[]): void
1675
+ connect(sigName: "notify::margin", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1676
+ connect_after(sigName: "notify::margin", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1677
+ emit(sigName: "notify::margin", ...args: any[]): void
1678
+ connect(sigName: "notify::margin-bottom", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1679
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1680
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
1681
+ connect(sigName: "notify::margin-end", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1682
+ connect_after(sigName: "notify::margin-end", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1683
+ emit(sigName: "notify::margin-end", ...args: any[]): void
1684
+ connect(sigName: "notify::margin-left", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1685
+ connect_after(sigName: "notify::margin-left", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1686
+ emit(sigName: "notify::margin-left", ...args: any[]): void
1687
+ connect(sigName: "notify::margin-right", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1688
+ connect_after(sigName: "notify::margin-right", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1689
+ emit(sigName: "notify::margin-right", ...args: any[]): void
1690
+ connect(sigName: "notify::margin-start", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1691
+ connect_after(sigName: "notify::margin-start", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1692
+ emit(sigName: "notify::margin-start", ...args: any[]): void
1693
+ connect(sigName: "notify::margin-top", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1694
+ connect_after(sigName: "notify::margin-top", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1695
+ emit(sigName: "notify::margin-top", ...args: any[]): void
1696
+ connect(sigName: "notify::name", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1697
+ connect_after(sigName: "notify::name", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1698
+ emit(sigName: "notify::name", ...args: any[]): void
1699
+ connect(sigName: "notify::no-show-all", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1700
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1701
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
1702
+ connect(sigName: "notify::opacity", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1703
+ connect_after(sigName: "notify::opacity", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1704
+ emit(sigName: "notify::opacity", ...args: any[]): void
1705
+ connect(sigName: "notify::parent", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1706
+ connect_after(sigName: "notify::parent", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1707
+ emit(sigName: "notify::parent", ...args: any[]): void
1708
+ connect(sigName: "notify::receives-default", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1709
+ connect_after(sigName: "notify::receives-default", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1710
+ emit(sigName: "notify::receives-default", ...args: any[]): void
1711
+ connect(sigName: "notify::scale-factor", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1712
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1713
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
1714
+ connect(sigName: "notify::sensitive", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1715
+ connect_after(sigName: "notify::sensitive", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1716
+ emit(sigName: "notify::sensitive", ...args: any[]): void
1717
+ connect(sigName: "notify::style", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1718
+ connect_after(sigName: "notify::style", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1719
+ emit(sigName: "notify::style", ...args: any[]): void
1720
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1721
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1722
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1723
+ connect(sigName: "notify::tooltip-text", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1724
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1725
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
1726
+ connect(sigName: "notify::valign", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1727
+ connect_after(sigName: "notify::valign", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1728
+ emit(sigName: "notify::valign", ...args: any[]): void
1729
+ connect(sigName: "notify::vexpand", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1730
+ connect_after(sigName: "notify::vexpand", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1731
+ emit(sigName: "notify::vexpand", ...args: any[]): void
1732
+ connect(sigName: "notify::vexpand-set", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1733
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1734
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
1735
+ connect(sigName: "notify::visible", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1736
+ connect_after(sigName: "notify::visible", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1737
+ emit(sigName: "notify::visible", ...args: any[]): void
1738
+ connect(sigName: "notify::width-request", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1739
+ connect_after(sigName: "notify::width-request", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1740
+ emit(sigName: "notify::width-request", ...args: any[]): void
1741
+ connect(sigName: "notify::window", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1742
+ connect_after(sigName: "notify::window", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1743
+ emit(sigName: "notify::window", ...args: any[]): void
1744
+ connect(sigName: "notify::orientation", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1745
+ connect_after(sigName: "notify::orientation", callback: (($obj: Statusbar, pspec: GObject.ParamSpec) => void)): number
1746
+ emit(sigName: "notify::orientation", ...args: any[]): void
1747
+ connect(sigName: string, callback: (...args: any[]) => void): number
1748
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1749
+ emit(sigName: string, ...args: any[]): void
1750
+ disconnect(id: number): void
1751
+ }
1752
+
1753
+ class Statusbar extends Gtk.Statusbar {
1754
+
1755
+ // Own properties of Gedit-3.0.Gedit.Statusbar
1756
+
1757
+ static name: string
1758
+ static $gtype: GObject.GType<Statusbar>
1759
+
1760
+ // Constructors of Gedit-3.0.Gedit.Statusbar
1761
+
1762
+ constructor(config?: Statusbar.ConstructorProperties)
1763
+ /**
1764
+ * Creates a new #GeditStatusbar.
1765
+ * @constructor
1766
+ * @returns the new #GeditStatusbar object
1767
+ */
1768
+ constructor()
1769
+ /**
1770
+ * Creates a new #GeditStatusbar.
1771
+ * @constructor
1772
+ * @returns the new #GeditStatusbar object
1773
+ */
1774
+ static new(): Statusbar
1775
+
1776
+ // Overloads of new
1777
+
1778
+ /**
1779
+ * Creates a new #GtkStatusbar ready for messages.
1780
+ * @constructor
1781
+ * @returns the new #GtkStatusbar
1782
+ */
1783
+ static new(): Gtk.Statusbar
1784
+ /**
1785
+ * Creates a new #GtkBox.
1786
+ * @constructor
1787
+ * @param orientation the box’s orientation.
1788
+ * @param spacing the number of pixels to place by default between children.
1789
+ * @returns a new #GtkBox.
1790
+ */
1791
+ static new(orientation: Gtk.Orientation, spacing: number): Gtk.Box
1792
+ _init(config?: Statusbar.ConstructorProperties): void
1793
+ }
1794
+
1795
+ module Tab {
1796
+
1797
+ // Signal callback interfaces
1798
+
1799
+ /**
1800
+ * Signal callback interface for `drop-uris`
1801
+ */
1802
+ interface DropUrisSignalCallback {
1803
+ ($obj: Tab, object: string[]): void
1804
+ }
1805
+
1806
+
1807
+ // Constructor properties interface
1808
+
1809
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Orientable.ConstructorProperties, Gtk.Box.ConstructorProperties {
1810
+
1811
+ // Own constructor properties of Gedit-3.0.Gedit.Tab
1812
+
1813
+ autosave?: boolean | null
1814
+ autosave_interval?: number | null
1815
+ }
1816
+
1817
+ }
1818
+
1819
+ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1820
+
1821
+ // Own properties of Gedit-3.0.Gedit.Tab
1822
+
1823
+ autosave: boolean
1824
+ autosave_interval: number
1825
+ readonly can_close: boolean
1826
+ readonly name: any
1827
+ readonly state: TabState
1828
+
1829
+ // Owm methods of Gedit-3.0.Gedit.Tab
1830
+
1831
+ /**
1832
+ * Gets the current state for the autosave feature
1833
+ * @returns %TRUE if the autosave is enabled, else %FALSE
1834
+ */
1835
+ get_auto_save_enabled(): boolean
1836
+ /**
1837
+ * Gets the current interval for the autosaves
1838
+ * @returns the value of the autosave
1839
+ */
1840
+ get_auto_save_interval(): number
1841
+ /**
1842
+ * Gets the #GeditDocument associated to `tab`.
1843
+ * @returns the #GeditDocument associated to @tab
1844
+ */
1845
+ get_document(): Document
1846
+ /**
1847
+ * Gets the #GeditTabState of `tab`.
1848
+ * @returns the #GeditTabState of @tab
1849
+ */
1850
+ get_state(): TabState
1851
+
1852
+ // Overloads of get_state
1853
+
1854
+ /**
1855
+ * Returns the widget’s state. See gtk_widget_set_state().
1856
+ * @returns the state of @widget.
1857
+ */
1858
+ get_state(): Gtk.StateType
1859
+ /**
1860
+ * Gets the #GeditView inside `tab`.
1861
+ * @returns the #GeditView inside @tab
1862
+ */
1863
+ get_view(): View
1864
+ /**
1865
+ * Enables or disables the autosave feature. It does not install an
1866
+ * autosave timeout if the document is new or is read-only
1867
+ * @param enable enable (%TRUE) or disable (%FALSE) auto save
1868
+ */
1869
+ set_auto_save_enabled(enable: boolean): void
1870
+ /**
1871
+ * Sets the interval for the autosave feature.
1872
+ * @param interval the new interval
1873
+ */
1874
+ set_auto_save_interval(interval: number): void
1875
+ set_info_bar(info_bar: Gtk.Widget): void
1876
+
1877
+ // Conflicting methods
1878
+
1879
+ /**
1880
+ * Emits a #GtkWidget::child-notify signal for the
1881
+ * [child property][child-properties]
1882
+ * `child_property` on the child.
1883
+ *
1884
+ * This is an analogue of g_object_notify() for child properties.
1885
+ *
1886
+ * Also see gtk_widget_child_notify().
1887
+ * @param child the child widget
1888
+ * @param child_property the name of a child property installed on the class of `container`
1889
+ */
1890
+ child_notify(child: Gtk.Widget, child_property: string | null): void
1891
+
1892
+ // Overloads of child_notify
1893
+
1894
+ /**
1895
+ * Emits a #GtkWidget::child-notify signal for the
1896
+ * [child property][child-properties] `child_property`
1897
+ * on `widget`.
1898
+ *
1899
+ * This is the analogue of g_object_notify() for child properties.
1900
+ *
1901
+ * Also see gtk_container_child_notify().
1902
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1903
+ */
1904
+ child_notify(child_property: string | null): void
1905
+ /**
1906
+ * Emits a #GtkWidget::child-notify signal for the
1907
+ * [child property][child-properties] `child_property`
1908
+ * on `widget`.
1909
+ *
1910
+ * This is the analogue of g_object_notify() for child properties.
1911
+ *
1912
+ * Also see gtk_container_child_notify().
1913
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1914
+ */
1915
+ child_notify(child_property: string | null): void
1916
+
1917
+ // Own signals of Gedit-3.0.Gedit.Tab
1918
+
1919
+ connect(sigName: "drop-uris", callback: Tab.DropUrisSignalCallback): number
1920
+ connect_after(sigName: "drop-uris", callback: Tab.DropUrisSignalCallback): number
1921
+ emit(sigName: "drop-uris", object: string[], ...args: any[]): void
1922
+
1923
+ // Class property signals of Gedit-3.0.Gedit.Tab
1924
+
1925
+ connect(sigName: "notify::autosave", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1926
+ connect_after(sigName: "notify::autosave", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1927
+ emit(sigName: "notify::autosave", ...args: any[]): void
1928
+ connect(sigName: "notify::autosave-interval", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1929
+ connect_after(sigName: "notify::autosave-interval", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1930
+ emit(sigName: "notify::autosave-interval", ...args: any[]): void
1931
+ connect(sigName: "notify::can-close", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1932
+ connect_after(sigName: "notify::can-close", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1933
+ emit(sigName: "notify::can-close", ...args: any[]): void
1934
+ connect(sigName: "notify::name", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1935
+ connect_after(sigName: "notify::name", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1936
+ emit(sigName: "notify::name", ...args: any[]): void
1937
+ connect(sigName: "notify::state", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1938
+ connect_after(sigName: "notify::state", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1939
+ emit(sigName: "notify::state", ...args: any[]): void
1940
+ connect(sigName: "notify::baseline-position", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1941
+ connect_after(sigName: "notify::baseline-position", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1942
+ emit(sigName: "notify::baseline-position", ...args: any[]): void
1943
+ connect(sigName: "notify::homogeneous", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1944
+ connect_after(sigName: "notify::homogeneous", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1945
+ emit(sigName: "notify::homogeneous", ...args: any[]): void
1946
+ connect(sigName: "notify::spacing", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1947
+ connect_after(sigName: "notify::spacing", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1948
+ emit(sigName: "notify::spacing", ...args: any[]): void
1949
+ connect(sigName: "notify::border-width", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1950
+ connect_after(sigName: "notify::border-width", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1951
+ emit(sigName: "notify::border-width", ...args: any[]): void
1952
+ connect(sigName: "notify::child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1953
+ connect_after(sigName: "notify::child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1954
+ emit(sigName: "notify::child", ...args: any[]): void
1955
+ connect(sigName: "notify::resize-mode", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1956
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1957
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
1958
+ connect(sigName: "notify::app-paintable", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1959
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1960
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
1961
+ connect(sigName: "notify::can-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1962
+ connect_after(sigName: "notify::can-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1963
+ emit(sigName: "notify::can-default", ...args: any[]): void
1964
+ connect(sigName: "notify::can-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1965
+ connect_after(sigName: "notify::can-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1966
+ emit(sigName: "notify::can-focus", ...args: any[]): void
1967
+ connect(sigName: "notify::composite-child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1968
+ connect_after(sigName: "notify::composite-child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1969
+ emit(sigName: "notify::composite-child", ...args: any[]): void
1970
+ connect(sigName: "notify::double-buffered", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1971
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1972
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
1973
+ connect(sigName: "notify::events", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1974
+ connect_after(sigName: "notify::events", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1975
+ emit(sigName: "notify::events", ...args: any[]): void
1976
+ connect(sigName: "notify::expand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1977
+ connect_after(sigName: "notify::expand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1978
+ emit(sigName: "notify::expand", ...args: any[]): void
1979
+ connect(sigName: "notify::focus-on-click", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1980
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1981
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1982
+ connect(sigName: "notify::halign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1983
+ connect_after(sigName: "notify::halign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1984
+ emit(sigName: "notify::halign", ...args: any[]): void
1985
+ connect(sigName: "notify::has-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1986
+ connect_after(sigName: "notify::has-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1987
+ emit(sigName: "notify::has-default", ...args: any[]): void
1988
+ connect(sigName: "notify::has-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1989
+ connect_after(sigName: "notify::has-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1990
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1991
+ connect(sigName: "notify::has-tooltip", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1992
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1993
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1994
+ connect(sigName: "notify::height-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1995
+ connect_after(sigName: "notify::height-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1996
+ emit(sigName: "notify::height-request", ...args: any[]): void
1997
+ connect(sigName: "notify::hexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1998
+ connect_after(sigName: "notify::hexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
1999
+ emit(sigName: "notify::hexpand", ...args: any[]): void
2000
+ connect(sigName: "notify::hexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2001
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2002
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
2003
+ connect(sigName: "notify::is-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2004
+ connect_after(sigName: "notify::is-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2005
+ emit(sigName: "notify::is-focus", ...args: any[]): void
2006
+ connect(sigName: "notify::margin", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2007
+ connect_after(sigName: "notify::margin", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2008
+ emit(sigName: "notify::margin", ...args: any[]): void
2009
+ connect(sigName: "notify::margin-bottom", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2010
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2011
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
2012
+ connect(sigName: "notify::margin-end", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2013
+ connect_after(sigName: "notify::margin-end", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2014
+ emit(sigName: "notify::margin-end", ...args: any[]): void
2015
+ connect(sigName: "notify::margin-left", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2016
+ connect_after(sigName: "notify::margin-left", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2017
+ emit(sigName: "notify::margin-left", ...args: any[]): void
2018
+ connect(sigName: "notify::margin-right", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2019
+ connect_after(sigName: "notify::margin-right", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2020
+ emit(sigName: "notify::margin-right", ...args: any[]): void
2021
+ connect(sigName: "notify::margin-start", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2022
+ connect_after(sigName: "notify::margin-start", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2023
+ emit(sigName: "notify::margin-start", ...args: any[]): void
2024
+ connect(sigName: "notify::margin-top", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2025
+ connect_after(sigName: "notify::margin-top", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2026
+ emit(sigName: "notify::margin-top", ...args: any[]): void
2027
+ connect(sigName: "notify::no-show-all", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2028
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2029
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
2030
+ connect(sigName: "notify::opacity", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2031
+ connect_after(sigName: "notify::opacity", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2032
+ emit(sigName: "notify::opacity", ...args: any[]): void
2033
+ connect(sigName: "notify::parent", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2034
+ connect_after(sigName: "notify::parent", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2035
+ emit(sigName: "notify::parent", ...args: any[]): void
2036
+ connect(sigName: "notify::receives-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2037
+ connect_after(sigName: "notify::receives-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2038
+ emit(sigName: "notify::receives-default", ...args: any[]): void
2039
+ connect(sigName: "notify::scale-factor", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2040
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2041
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
2042
+ connect(sigName: "notify::sensitive", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2043
+ connect_after(sigName: "notify::sensitive", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2044
+ emit(sigName: "notify::sensitive", ...args: any[]): void
2045
+ connect(sigName: "notify::style", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2046
+ connect_after(sigName: "notify::style", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2047
+ emit(sigName: "notify::style", ...args: any[]): void
2048
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2049
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2050
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
2051
+ connect(sigName: "notify::tooltip-text", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2052
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2053
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
2054
+ connect(sigName: "notify::valign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2055
+ connect_after(sigName: "notify::valign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2056
+ emit(sigName: "notify::valign", ...args: any[]): void
2057
+ connect(sigName: "notify::vexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2058
+ connect_after(sigName: "notify::vexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2059
+ emit(sigName: "notify::vexpand", ...args: any[]): void
2060
+ connect(sigName: "notify::vexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2061
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2062
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
2063
+ connect(sigName: "notify::visible", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2064
+ connect_after(sigName: "notify::visible", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2065
+ emit(sigName: "notify::visible", ...args: any[]): void
2066
+ connect(sigName: "notify::width-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2067
+ connect_after(sigName: "notify::width-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2068
+ emit(sigName: "notify::width-request", ...args: any[]): void
2069
+ connect(sigName: "notify::window", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2070
+ connect_after(sigName: "notify::window", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2071
+ emit(sigName: "notify::window", ...args: any[]): void
2072
+ connect(sigName: "notify::orientation", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2073
+ connect_after(sigName: "notify::orientation", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2074
+ emit(sigName: "notify::orientation", ...args: any[]): void
2075
+ connect(sigName: string, callback: (...args: any[]) => void): number
2076
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
2077
+ emit(sigName: string, ...args: any[]): void
2078
+ disconnect(id: number): void
2079
+ }
2080
+
2081
+ class Tab extends Gtk.Box {
2082
+
2083
+ // Own properties of Gedit-3.0.Gedit.Tab
2084
+
2085
+ static name: string
2086
+ static $gtype: GObject.GType<Tab>
2087
+
2088
+ // Constructors of Gedit-3.0.Gedit.Tab
2089
+
2090
+ constructor(config?: Tab.ConstructorProperties)
2091
+ _init(config?: Tab.ConstructorProperties): void
2092
+ /**
2093
+ * Gets the #GeditTab associated with `doc`.
2094
+ * @param doc a #GeditDocument
2095
+ * @returns the #GeditTab associated with @doc
2096
+ */
2097
+ static get_from_document(doc: Document): Tab
2098
+ }
2099
+
2100
+ module View {
2101
+
2102
+ // Signal callback interfaces
2103
+
2104
+ /**
2105
+ * Signal callback interface for `drop-uris`
2106
+ */
2107
+ interface DropUrisSignalCallback {
2108
+ ($obj: View, uri_list: string[]): void
2109
+ }
2110
+
2111
+
2112
+ // Constructor properties interface
2113
+
2114
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Scrollable.ConstructorProperties, GtkSource.View.ConstructorProperties {
2115
+ }
2116
+
2117
+ }
2118
+
2119
+ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
2120
+
2121
+ // Conflicting properties
2122
+
2123
+ parent: Gtk.TextView & Gtk.Container & Gtk.Container
2124
+ parent_instance: Gtk.Container & GObject.InitiallyUnowned & GObject.InitiallyUnowned
2125
+
2126
+ // Conflicting methods
2127
+
2128
+ /**
2129
+ * Retrieves the #GdkWindow corresponding to an area of the text view;
2130
+ * possible windows include the overall widget window, child windows
2131
+ * on the left, right, top, bottom, and the window that displays the
2132
+ * text buffer. Windows are %NULL and nonexistent if their width or
2133
+ * height is 0, and are nonexistent before the widget has been
2134
+ * realized.
2135
+ * @param win window to get
2136
+ * @returns a #GdkWindow, or %NULL
2137
+ */
2138
+ get_window(win: Gtk.TextWindowType): Gdk.Window | null
2139
+
2140
+ // Overloads of get_window
2141
+
2142
+ /**
2143
+ * Returns the widget’s window if it is realized, %NULL otherwise
2144
+ * @returns @widget’s window.
2145
+ */
2146
+ get_window(): Gdk.Window | null
2147
+ /**
2148
+ * Returns the widget’s window if it is realized, %NULL otherwise
2149
+ * @returns @widget’s window.
2150
+ */
2151
+ get_window(): Gdk.Window | null
2152
+ /**
2153
+ * Emits a #GtkWidget::child-notify signal for the
2154
+ * [child property][child-properties]
2155
+ * `child_property` on the child.
2156
+ *
2157
+ * This is an analogue of g_object_notify() for child properties.
2158
+ *
2159
+ * Also see gtk_widget_child_notify().
2160
+ * @param child the child widget
2161
+ * @param child_property the name of a child property installed on the class of `container`
2162
+ */
2163
+ child_notify(child: Gtk.Widget, child_property: string | null): void
2164
+
2165
+ // Overloads of child_notify
2166
+
2167
+ /**
2168
+ * Emits a #GtkWidget::child-notify signal for the
2169
+ * [child property][child-properties] `child_property`
2170
+ * on `widget`.
2171
+ *
2172
+ * This is the analogue of g_object_notify() for child properties.
2173
+ *
2174
+ * Also see gtk_container_child_notify().
2175
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2176
+ */
2177
+ child_notify(child_property: string | null): void
2178
+ /**
2179
+ * Emits a #GtkWidget::child-notify signal for the
2180
+ * [child property][child-properties] `child_property`
2181
+ * on `widget`.
2182
+ *
2183
+ * This is the analogue of g_object_notify() for child properties.
2184
+ *
2185
+ * Also see gtk_container_child_notify().
2186
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2187
+ */
2188
+ child_notify(child_property: string | null): void
2189
+
2190
+ // Own virtual methods of Gedit-3.0.Gedit.View
2191
+
2192
+ vfunc_drop_uris(uri_list: string | null): void
2193
+
2194
+ // Own signals of Gedit-3.0.Gedit.View
2195
+
2196
+ connect(sigName: "drop-uris", callback: View.DropUrisSignalCallback): number
2197
+ connect_after(sigName: "drop-uris", callback: View.DropUrisSignalCallback): number
2198
+ emit(sigName: "drop-uris", uri_list: string[], ...args: any[]): void
2199
+
2200
+ // Class property signals of Gedit-3.0.Gedit.View
2201
+
2202
+ connect(sigName: "notify::auto-indent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2203
+ connect_after(sigName: "notify::auto-indent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2204
+ emit(sigName: "notify::auto-indent", ...args: any[]): void
2205
+ connect(sigName: "notify::background-pattern", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2206
+ connect_after(sigName: "notify::background-pattern", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2207
+ emit(sigName: "notify::background-pattern", ...args: any[]): void
2208
+ connect(sigName: "notify::completion", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2209
+ connect_after(sigName: "notify::completion", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2210
+ emit(sigName: "notify::completion", ...args: any[]): void
2211
+ connect(sigName: "notify::highlight-current-line", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2212
+ connect_after(sigName: "notify::highlight-current-line", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2213
+ emit(sigName: "notify::highlight-current-line", ...args: any[]): void
2214
+ connect(sigName: "notify::indent-on-tab", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2215
+ connect_after(sigName: "notify::indent-on-tab", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2216
+ emit(sigName: "notify::indent-on-tab", ...args: any[]): void
2217
+ connect(sigName: "notify::indent-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2218
+ connect_after(sigName: "notify::indent-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2219
+ emit(sigName: "notify::indent-width", ...args: any[]): void
2220
+ connect(sigName: "notify::insert-spaces-instead-of-tabs", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2221
+ connect_after(sigName: "notify::insert-spaces-instead-of-tabs", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2222
+ emit(sigName: "notify::insert-spaces-instead-of-tabs", ...args: any[]): void
2223
+ connect(sigName: "notify::right-margin-position", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2224
+ connect_after(sigName: "notify::right-margin-position", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2225
+ emit(sigName: "notify::right-margin-position", ...args: any[]): void
2226
+ connect(sigName: "notify::show-line-marks", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2227
+ connect_after(sigName: "notify::show-line-marks", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2228
+ emit(sigName: "notify::show-line-marks", ...args: any[]): void
2229
+ connect(sigName: "notify::show-line-numbers", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2230
+ connect_after(sigName: "notify::show-line-numbers", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2231
+ emit(sigName: "notify::show-line-numbers", ...args: any[]): void
2232
+ connect(sigName: "notify::show-right-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2233
+ connect_after(sigName: "notify::show-right-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2234
+ emit(sigName: "notify::show-right-margin", ...args: any[]): void
2235
+ connect(sigName: "notify::smart-backspace", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2236
+ connect_after(sigName: "notify::smart-backspace", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2237
+ emit(sigName: "notify::smart-backspace", ...args: any[]): void
2238
+ connect(sigName: "notify::smart-home-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2239
+ connect_after(sigName: "notify::smart-home-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2240
+ emit(sigName: "notify::smart-home-end", ...args: any[]): void
2241
+ connect(sigName: "notify::space-drawer", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2242
+ connect_after(sigName: "notify::space-drawer", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2243
+ emit(sigName: "notify::space-drawer", ...args: any[]): void
2244
+ connect(sigName: "notify::tab-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2245
+ connect_after(sigName: "notify::tab-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2246
+ emit(sigName: "notify::tab-width", ...args: any[]): void
2247
+ connect(sigName: "notify::accepts-tab", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2248
+ connect_after(sigName: "notify::accepts-tab", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2249
+ emit(sigName: "notify::accepts-tab", ...args: any[]): void
2250
+ connect(sigName: "notify::bottom-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2251
+ connect_after(sigName: "notify::bottom-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2252
+ emit(sigName: "notify::bottom-margin", ...args: any[]): void
2253
+ connect(sigName: "notify::buffer", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2254
+ connect_after(sigName: "notify::buffer", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2255
+ emit(sigName: "notify::buffer", ...args: any[]): void
2256
+ connect(sigName: "notify::cursor-visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2257
+ connect_after(sigName: "notify::cursor-visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2258
+ emit(sigName: "notify::cursor-visible", ...args: any[]): void
2259
+ connect(sigName: "notify::editable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2260
+ connect_after(sigName: "notify::editable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2261
+ emit(sigName: "notify::editable", ...args: any[]): void
2262
+ connect(sigName: "notify::im-module", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2263
+ connect_after(sigName: "notify::im-module", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2264
+ emit(sigName: "notify::im-module", ...args: any[]): void
2265
+ connect(sigName: "notify::indent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2266
+ connect_after(sigName: "notify::indent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2267
+ emit(sigName: "notify::indent", ...args: any[]): void
2268
+ connect(sigName: "notify::input-hints", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2269
+ connect_after(sigName: "notify::input-hints", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2270
+ emit(sigName: "notify::input-hints", ...args: any[]): void
2271
+ connect(sigName: "notify::input-purpose", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2272
+ connect_after(sigName: "notify::input-purpose", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2273
+ emit(sigName: "notify::input-purpose", ...args: any[]): void
2274
+ connect(sigName: "notify::justification", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2275
+ connect_after(sigName: "notify::justification", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2276
+ emit(sigName: "notify::justification", ...args: any[]): void
2277
+ connect(sigName: "notify::left-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2278
+ connect_after(sigName: "notify::left-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2279
+ emit(sigName: "notify::left-margin", ...args: any[]): void
2280
+ connect(sigName: "notify::monospace", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2281
+ connect_after(sigName: "notify::monospace", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2282
+ emit(sigName: "notify::monospace", ...args: any[]): void
2283
+ connect(sigName: "notify::overwrite", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2284
+ connect_after(sigName: "notify::overwrite", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2285
+ emit(sigName: "notify::overwrite", ...args: any[]): void
2286
+ connect(sigName: "notify::pixels-above-lines", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2287
+ connect_after(sigName: "notify::pixels-above-lines", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2288
+ emit(sigName: "notify::pixels-above-lines", ...args: any[]): void
2289
+ connect(sigName: "notify::pixels-below-lines", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2290
+ connect_after(sigName: "notify::pixels-below-lines", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2291
+ emit(sigName: "notify::pixels-below-lines", ...args: any[]): void
2292
+ connect(sigName: "notify::pixels-inside-wrap", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2293
+ connect_after(sigName: "notify::pixels-inside-wrap", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2294
+ emit(sigName: "notify::pixels-inside-wrap", ...args: any[]): void
2295
+ connect(sigName: "notify::populate-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2296
+ connect_after(sigName: "notify::populate-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2297
+ emit(sigName: "notify::populate-all", ...args: any[]): void
2298
+ connect(sigName: "notify::right-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2299
+ connect_after(sigName: "notify::right-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2300
+ emit(sigName: "notify::right-margin", ...args: any[]): void
2301
+ connect(sigName: "notify::tabs", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2302
+ connect_after(sigName: "notify::tabs", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2303
+ emit(sigName: "notify::tabs", ...args: any[]): void
2304
+ connect(sigName: "notify::top-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2305
+ connect_after(sigName: "notify::top-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2306
+ emit(sigName: "notify::top-margin", ...args: any[]): void
2307
+ connect(sigName: "notify::wrap-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2308
+ connect_after(sigName: "notify::wrap-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2309
+ emit(sigName: "notify::wrap-mode", ...args: any[]): void
2310
+ connect(sigName: "notify::border-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2311
+ connect_after(sigName: "notify::border-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2312
+ emit(sigName: "notify::border-width", ...args: any[]): void
2313
+ connect(sigName: "notify::child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2314
+ connect_after(sigName: "notify::child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2315
+ emit(sigName: "notify::child", ...args: any[]): void
2316
+ connect(sigName: "notify::resize-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2317
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2318
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
2319
+ connect(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2320
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2321
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
2322
+ connect(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2323
+ connect_after(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2324
+ emit(sigName: "notify::can-default", ...args: any[]): void
2325
+ connect(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2326
+ connect_after(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2327
+ emit(sigName: "notify::can-focus", ...args: any[]): void
2328
+ connect(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2329
+ connect_after(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2330
+ emit(sigName: "notify::composite-child", ...args: any[]): void
2331
+ connect(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2332
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2333
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
2334
+ connect(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2335
+ connect_after(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2336
+ emit(sigName: "notify::events", ...args: any[]): void
2337
+ connect(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2338
+ connect_after(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2339
+ emit(sigName: "notify::expand", ...args: any[]): void
2340
+ connect(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2341
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2342
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
2343
+ connect(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2344
+ connect_after(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2345
+ emit(sigName: "notify::halign", ...args: any[]): void
2346
+ connect(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2347
+ connect_after(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2348
+ emit(sigName: "notify::has-default", ...args: any[]): void
2349
+ connect(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2350
+ connect_after(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2351
+ emit(sigName: "notify::has-focus", ...args: any[]): void
2352
+ connect(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2353
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2354
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
2355
+ connect(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2356
+ connect_after(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2357
+ emit(sigName: "notify::height-request", ...args: any[]): void
2358
+ connect(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2359
+ connect_after(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2360
+ emit(sigName: "notify::hexpand", ...args: any[]): void
2361
+ connect(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2362
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2363
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
2364
+ connect(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2365
+ connect_after(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2366
+ emit(sigName: "notify::is-focus", ...args: any[]): void
2367
+ connect(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2368
+ connect_after(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2369
+ emit(sigName: "notify::margin", ...args: any[]): void
2370
+ connect(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2371
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2372
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
2373
+ connect(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2374
+ connect_after(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2375
+ emit(sigName: "notify::margin-end", ...args: any[]): void
2376
+ connect(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2377
+ connect_after(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2378
+ emit(sigName: "notify::margin-left", ...args: any[]): void
2379
+ connect(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2380
+ connect_after(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2381
+ emit(sigName: "notify::margin-right", ...args: any[]): void
2382
+ connect(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2383
+ connect_after(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2384
+ emit(sigName: "notify::margin-start", ...args: any[]): void
2385
+ connect(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2386
+ connect_after(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2387
+ emit(sigName: "notify::margin-top", ...args: any[]): void
2388
+ connect(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2389
+ connect_after(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2390
+ emit(sigName: "notify::name", ...args: any[]): void
2391
+ connect(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2392
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2393
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
2394
+ connect(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2395
+ connect_after(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2396
+ emit(sigName: "notify::opacity", ...args: any[]): void
2397
+ connect(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2398
+ connect_after(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2399
+ emit(sigName: "notify::parent", ...args: any[]): void
2400
+ connect(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2401
+ connect_after(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2402
+ emit(sigName: "notify::receives-default", ...args: any[]): void
2403
+ connect(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2404
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2405
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
2406
+ connect(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2407
+ connect_after(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2408
+ emit(sigName: "notify::sensitive", ...args: any[]): void
2409
+ connect(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2410
+ connect_after(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2411
+ emit(sigName: "notify::style", ...args: any[]): void
2412
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2413
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2414
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
2415
+ connect(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2416
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2417
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
2418
+ connect(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2419
+ connect_after(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2420
+ emit(sigName: "notify::valign", ...args: any[]): void
2421
+ connect(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2422
+ connect_after(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2423
+ emit(sigName: "notify::vexpand", ...args: any[]): void
2424
+ connect(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2425
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2426
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
2427
+ connect(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2428
+ connect_after(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2429
+ emit(sigName: "notify::visible", ...args: any[]): void
2430
+ connect(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2431
+ connect_after(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2432
+ emit(sigName: "notify::width-request", ...args: any[]): void
2433
+ connect(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2434
+ connect_after(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2435
+ emit(sigName: "notify::window", ...args: any[]): void
2436
+ connect(sigName: "notify::hadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2437
+ connect_after(sigName: "notify::hadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2438
+ emit(sigName: "notify::hadjustment", ...args: any[]): void
2439
+ connect(sigName: "notify::hscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2440
+ connect_after(sigName: "notify::hscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2441
+ emit(sigName: "notify::hscroll-policy", ...args: any[]): void
2442
+ connect(sigName: "notify::vadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2443
+ connect_after(sigName: "notify::vadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2444
+ emit(sigName: "notify::vadjustment", ...args: any[]): void
2445
+ connect(sigName: "notify::vscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2446
+ connect_after(sigName: "notify::vscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2447
+ emit(sigName: "notify::vscroll-policy", ...args: any[]): void
2448
+ connect(sigName: string, callback: (...args: any[]) => void): number
2449
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
2450
+ emit(sigName: string, ...args: any[]): void
2451
+ disconnect(id: number): void
2452
+ }
2453
+
2454
+ class View extends GtkSource.View {
2455
+
2456
+ // Own properties of Gedit-3.0.Gedit.View
2457
+
2458
+ static name: string
2459
+ static $gtype: GObject.GType<View>
2460
+
2461
+ // Constructors of Gedit-3.0.Gedit.View
2462
+
2463
+ constructor(config?: View.ConstructorProperties)
2464
+ /**
2465
+ * Creates a new #GeditView object displaying the `doc` document.
2466
+ * `doc` cannot be %NULL.
2467
+ * @constructor
2468
+ * @param doc a #GeditDocument
2469
+ * @returns a new #GeditView.
2470
+ */
2471
+ constructor(doc: Document)
2472
+ /**
2473
+ * Creates a new #GeditView object displaying the `doc` document.
2474
+ * `doc` cannot be %NULL.
2475
+ * @constructor
2476
+ * @param doc a #GeditDocument
2477
+ * @returns a new #GeditView.
2478
+ */
2479
+ static new(doc: Document): View
2480
+
2481
+ // Overloads of new
2482
+
2483
+ /**
2484
+ * Creates a new #GtkSourceView.
2485
+ *
2486
+ * By default, an empty #GtkSourceBuffer will be lazily created and can be
2487
+ * retrieved with gtk_text_view_get_buffer().
2488
+ *
2489
+ * If you want to specify your own buffer, either override the
2490
+ * #GtkTextViewClass create_buffer factory method, or use
2491
+ * gtk_source_view_new_with_buffer().
2492
+ * @constructor
2493
+ * @returns a new #GtkSourceView.
2494
+ */
2495
+ static new(): GtkSource.View
2496
+ _init(config?: View.ConstructorProperties): void
2497
+
2498
+ // Conflicting static methods
2499
+
2500
+ static new_with_buffer(...args: any[]): any
2501
+ }
2502
+
2503
+ module Window {
2504
+
2505
+ // Signal callback interfaces
2506
+
2507
+ /**
2508
+ * Signal callback interface for `active-tab-changed`
2509
+ */
2510
+ interface ActiveTabChangedSignalCallback {
2511
+ ($obj: Window, object: Tab): void
2512
+ }
2513
+
2514
+ /**
2515
+ * Signal callback interface for `active-tab-state-changed`
2516
+ */
2517
+ interface ActiveTabStateChangedSignalCallback {
2518
+ ($obj: Window): void
2519
+ }
2520
+
2521
+ /**
2522
+ * Signal callback interface for `tab-added`
2523
+ */
2524
+ interface TabAddedSignalCallback {
2525
+ ($obj: Window, object: Tab): void
2526
+ }
2527
+
2528
+ /**
2529
+ * Signal callback interface for `tab-removed`
2530
+ */
2531
+ interface TabRemovedSignalCallback {
2532
+ ($obj: Window, object: Tab): void
2533
+ }
2534
+
2535
+ /**
2536
+ * Signal callback interface for `tabs-reordered`
2537
+ */
2538
+ interface TabsReorderedSignalCallback {
2539
+ ($obj: Window): void
2540
+ }
2541
+
2542
+
2543
+ // Constructor properties interface
2544
+
2545
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gio.ActionGroup.ConstructorProperties, Gio.ActionMap.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.ApplicationWindow.ConstructorProperties {
2546
+ }
2547
+
2548
+ }
2549
+
2550
+ interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, Gtk.Buildable {
2551
+
2552
+ // Own properties of Gedit-3.0.Gedit.Window
2553
+
2554
+ readonly state: WindowState
2555
+
2556
+ // Conflicting properties
2557
+
2558
+ parent_instance: Gtk.Window & GObject.InitiallyUnowned & GObject.InitiallyUnowned
2559
+
2560
+ // Own fields of Gedit-3.0.Gedit.Window
2561
+
2562
+ readonly window: Gtk.ApplicationWindow & Gdk.Window
2563
+
2564
+ // Owm methods of Gedit-3.0.Gedit.Window
2565
+
2566
+ /**
2567
+ * Closes all opened tabs.
2568
+ */
2569
+ close_all_tabs(): void
2570
+ /**
2571
+ * Closes the `tab`.
2572
+ * @param tab the #GeditTab to close
2573
+ */
2574
+ close_tab(tab: Tab): void
2575
+ /**
2576
+ * Closes all tabs specified by `tabs`.
2577
+ * @param tabs a list of #GeditTab
2578
+ */
2579
+ close_tabs(tabs: Tab[]): void
2580
+ /**
2581
+ * Creates a new #GeditTab and adds the new tab to the #GtkNotebook.
2582
+ * In case `jump_to` is %TRUE the #GtkNotebook switches to that new #GeditTab.
2583
+ * @param jump_to %TRUE to set the new #GeditTab as active
2584
+ * @returns a new #GeditTab
2585
+ */
2586
+ create_tab(jump_to: boolean): Tab
2587
+ /**
2588
+ * Creates a new #GeditTab loading the document specified by `uri`.
2589
+ * In case `jump_to` is %TRUE the #GtkNotebook swithes to that new #GeditTab.
2590
+ * Whether `create` is %TRUE, creates a new empty document if location does
2591
+ * not refer to an existing file
2592
+ * @param location the location of the document
2593
+ * @param encoding a #GtkSourceEncoding, or %NULL
2594
+ * @param line_pos the line position to visualize
2595
+ * @param column_pos the column position to visualize
2596
+ * @param create %TRUE to create a new document in case `uri` does exist
2597
+ * @param jump_to %TRUE to set the new #GeditTab as active
2598
+ * @returns a new #GeditTab
2599
+ */
2600
+ create_tab_from_location(location: Gio.File, encoding: GtkSource.Encoding | null, line_pos: number, column_pos: number, create: boolean, jump_to: boolean): Tab
2601
+ create_tab_from_stream(stream: Gio.InputStream, encoding: GtkSource.Encoding | null, line_pos: number, column_pos: number, jump_to: boolean): Tab
2602
+ /**
2603
+ * Gets the active #GeditDocument.
2604
+ * @returns the active #GeditDocument
2605
+ */
2606
+ get_active_document(): Document
2607
+ /**
2608
+ * Gets the active #GeditTab in the `window`.
2609
+ * @returns the active #GeditTab in the @window.
2610
+ */
2611
+ get_active_tab(): Tab
2612
+ /**
2613
+ * Gets the active #GeditView.
2614
+ * @returns the active #GeditView
2615
+ */
2616
+ get_active_view(): View
2617
+ /**
2618
+ * Gets the bottom panel of the `window`.
2619
+ * @returns the bottom panel's #GtkStack.
2620
+ */
2621
+ get_bottom_panel(): Gtk.Widget
2622
+ /**
2623
+ * Gets a newly allocated list with all the documents in the window.
2624
+ * This list must be freed.
2625
+ * @returns a newly allocated list with all the documents in the window
2626
+ */
2627
+ get_documents(): Document[]
2628
+ /**
2629
+ * Gets the #GtkWindowGroup in which `window` resides.
2630
+ * @returns the #GtkWindowGroup
2631
+ */
2632
+ get_group(): Gtk.WindowGroup
2633
+ /**
2634
+ * Gets the #GeditMessageBus associated with `window`. The returned reference
2635
+ * is owned by the window and should not be unreffed.
2636
+ * @returns the #GeditMessageBus associated with @window
2637
+ */
2638
+ get_message_bus(): MessageBus
2639
+ /**
2640
+ * Gets the side panel of the `window`.
2641
+ * @returns the side panel's #GtkStack.
2642
+ */
2643
+ get_side_panel(): Gtk.Widget
2644
+ /**
2645
+ * Retrieves the state of the `window`.
2646
+ * @returns the current #GeditWindowState of the @window.
2647
+ */
2648
+ get_state(): WindowState
2649
+
2650
+ // Overloads of get_state
2651
+
2652
+ /**
2653
+ * Returns the widget’s state. See gtk_widget_set_state().
2654
+ * @returns the state of @widget.
2655
+ */
2656
+ get_state(): Gtk.StateType
2657
+ /**
2658
+ * Gets the #GeditStatusbar of the `window`.
2659
+ * @returns the #GeditStatusbar of the @window.
2660
+ */
2661
+ get_statusbar(): Gtk.Widget
2662
+ /**
2663
+ * Gets the #GeditTab that matches with the given `location`.
2664
+ * @param location a #GFile
2665
+ * @returns the #GeditTab that matches with the given @location.
2666
+ */
2667
+ get_tab_from_location(location: Gio.File): Tab
2668
+ /**
2669
+ * Gets the list of documents that need to be saved before closing the window.
2670
+ * @returns a list of #GeditDocument that need to be saved before closing the window
2671
+ */
2672
+ get_unsaved_documents(): Document[]
2673
+ /**
2674
+ * Gets a list with all the views in the window. This list must be freed.
2675
+ * @returns a newly allocated list with all the views in the window
2676
+ */
2677
+ get_views(): View[]
2678
+ /**
2679
+ * Switches to the tab that matches with `tab`.
2680
+ * @param tab a #GeditTab
2681
+ */
2682
+ set_active_tab(tab: Tab): void
2683
+
2684
+ // Conflicting methods
2685
+
2686
+ /**
2687
+ * Activates the targets associated with the mnemonic.
2688
+ * @param keyval the mnemonic
2689
+ * @param modifier the modifiers
2690
+ * @returns %TRUE if the activation is done.
2691
+ */
2692
+ mnemonic_activate(keyval: number, modifier: Gdk.ModifierType): boolean
2693
+
2694
+ // Overloads of mnemonic_activate
2695
+
2696
+ /**
2697
+ * Emits the #GtkWidget::mnemonic-activate signal.
2698
+ * @param group_cycling %TRUE if there are other widgets with the same mnemonic
2699
+ * @returns %TRUE if the signal has been handled
2700
+ */
2701
+ mnemonic_activate(group_cycling: boolean): boolean
2702
+ /**
2703
+ * Emits the #GtkWidget::mnemonic-activate signal.
2704
+ * @param group_cycling %TRUE if there are other widgets with the same mnemonic
2705
+ * @returns %TRUE if the signal has been handled
2706
+ */
2707
+ mnemonic_activate(group_cycling: boolean): boolean
2708
+ /**
2709
+ * Emits a #GtkWidget::child-notify signal for the
2710
+ * [child property][child-properties]
2711
+ * `child_property` on the child.
2712
+ *
2713
+ * This is an analogue of g_object_notify() for child properties.
2714
+ *
2715
+ * Also see gtk_widget_child_notify().
2716
+ * @param child the child widget
2717
+ * @param child_property the name of a child property installed on the class of `container`
2718
+ */
2719
+ child_notify(child: Gtk.Widget, child_property: string | null): void
2720
+
2721
+ // Overloads of child_notify
2722
+
2723
+ /**
2724
+ * Emits a #GtkWidget::child-notify signal for the
2725
+ * [child property][child-properties] `child_property`
2726
+ * on `widget`.
2727
+ *
2728
+ * This is the analogue of g_object_notify() for child properties.
2729
+ *
2730
+ * Also see gtk_container_child_notify().
2731
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2732
+ */
2733
+ child_notify(child_property: string | null): void
2734
+ /**
2735
+ * Emits a #GtkWidget::child-notify signal for the
2736
+ * [child property][child-properties] `child_property`
2737
+ * on `widget`.
2738
+ *
2739
+ * This is the analogue of g_object_notify() for child properties.
2740
+ *
2741
+ * Also see gtk_container_child_notify().
2742
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2743
+ */
2744
+ child_notify(child_property: string | null): void
2745
+
2746
+ // Own virtual methods of Gedit-3.0.Gedit.Window
2747
+
2748
+ vfunc_active_tab_changed(tab: Tab): void
2749
+ vfunc_active_tab_state_changed(): void
2750
+ vfunc_tab_added(tab: Tab): void
2751
+ vfunc_tab_removed(tab: Tab): void
2752
+ vfunc_tabs_reordered(): void
2753
+
2754
+ // Own signals of Gedit-3.0.Gedit.Window
2755
+
2756
+ connect(sigName: "active-tab-changed", callback: Window.ActiveTabChangedSignalCallback): number
2757
+ connect_after(sigName: "active-tab-changed", callback: Window.ActiveTabChangedSignalCallback): number
2758
+ emit(sigName: "active-tab-changed", object: Tab, ...args: any[]): void
2759
+ connect(sigName: "active-tab-state-changed", callback: Window.ActiveTabStateChangedSignalCallback): number
2760
+ connect_after(sigName: "active-tab-state-changed", callback: Window.ActiveTabStateChangedSignalCallback): number
2761
+ emit(sigName: "active-tab-state-changed", ...args: any[]): void
2762
+ connect(sigName: "tab-added", callback: Window.TabAddedSignalCallback): number
2763
+ connect_after(sigName: "tab-added", callback: Window.TabAddedSignalCallback): number
2764
+ emit(sigName: "tab-added", object: Tab, ...args: any[]): void
2765
+ connect(sigName: "tab-removed", callback: Window.TabRemovedSignalCallback): number
2766
+ connect_after(sigName: "tab-removed", callback: Window.TabRemovedSignalCallback): number
2767
+ emit(sigName: "tab-removed", object: Tab, ...args: any[]): void
2768
+ connect(sigName: "tabs-reordered", callback: Window.TabsReorderedSignalCallback): number
2769
+ connect_after(sigName: "tabs-reordered", callback: Window.TabsReorderedSignalCallback): number
2770
+ emit(sigName: "tabs-reordered", ...args: any[]): void
2771
+
2772
+ // Class property signals of Gedit-3.0.Gedit.Window
2773
+
2774
+ connect(sigName: "notify::state", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2775
+ connect_after(sigName: "notify::state", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2776
+ emit(sigName: "notify::state", ...args: any[]): void
2777
+ connect(sigName: "notify::show-menubar", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2778
+ connect_after(sigName: "notify::show-menubar", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2779
+ emit(sigName: "notify::show-menubar", ...args: any[]): void
2780
+ connect(sigName: "notify::accept-focus", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2781
+ connect_after(sigName: "notify::accept-focus", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2782
+ emit(sigName: "notify::accept-focus", ...args: any[]): void
2783
+ connect(sigName: "notify::application", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2784
+ connect_after(sigName: "notify::application", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2785
+ emit(sigName: "notify::application", ...args: any[]): void
2786
+ connect(sigName: "notify::attached-to", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2787
+ connect_after(sigName: "notify::attached-to", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2788
+ emit(sigName: "notify::attached-to", ...args: any[]): void
2789
+ connect(sigName: "notify::decorated", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2790
+ connect_after(sigName: "notify::decorated", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2791
+ emit(sigName: "notify::decorated", ...args: any[]): void
2792
+ connect(sigName: "notify::default-height", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2793
+ connect_after(sigName: "notify::default-height", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2794
+ emit(sigName: "notify::default-height", ...args: any[]): void
2795
+ connect(sigName: "notify::default-width", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2796
+ connect_after(sigName: "notify::default-width", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2797
+ emit(sigName: "notify::default-width", ...args: any[]): void
2798
+ connect(sigName: "notify::deletable", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2799
+ connect_after(sigName: "notify::deletable", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2800
+ emit(sigName: "notify::deletable", ...args: any[]): void
2801
+ connect(sigName: "notify::destroy-with-parent", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2802
+ connect_after(sigName: "notify::destroy-with-parent", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2803
+ emit(sigName: "notify::destroy-with-parent", ...args: any[]): void
2804
+ connect(sigName: "notify::focus-on-map", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2805
+ connect_after(sigName: "notify::focus-on-map", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2806
+ emit(sigName: "notify::focus-on-map", ...args: any[]): void
2807
+ connect(sigName: "notify::focus-visible", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2808
+ connect_after(sigName: "notify::focus-visible", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2809
+ emit(sigName: "notify::focus-visible", ...args: any[]): void
2810
+ connect(sigName: "notify::gravity", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2811
+ connect_after(sigName: "notify::gravity", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2812
+ emit(sigName: "notify::gravity", ...args: any[]): void
2813
+ connect(sigName: "notify::has-resize-grip", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2814
+ connect_after(sigName: "notify::has-resize-grip", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2815
+ emit(sigName: "notify::has-resize-grip", ...args: any[]): void
2816
+ connect(sigName: "notify::has-toplevel-focus", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2817
+ connect_after(sigName: "notify::has-toplevel-focus", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2818
+ emit(sigName: "notify::has-toplevel-focus", ...args: any[]): void
2819
+ connect(sigName: "notify::hide-titlebar-when-maximized", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2820
+ connect_after(sigName: "notify::hide-titlebar-when-maximized", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2821
+ emit(sigName: "notify::hide-titlebar-when-maximized", ...args: any[]): void
2822
+ connect(sigName: "notify::icon", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2823
+ connect_after(sigName: "notify::icon", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2824
+ emit(sigName: "notify::icon", ...args: any[]): void
2825
+ connect(sigName: "notify::icon-name", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2826
+ connect_after(sigName: "notify::icon-name", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2827
+ emit(sigName: "notify::icon-name", ...args: any[]): void
2828
+ connect(sigName: "notify::is-active", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2829
+ connect_after(sigName: "notify::is-active", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2830
+ emit(sigName: "notify::is-active", ...args: any[]): void
2831
+ connect(sigName: "notify::is-maximized", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2832
+ connect_after(sigName: "notify::is-maximized", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2833
+ emit(sigName: "notify::is-maximized", ...args: any[]): void
2834
+ connect(sigName: "notify::mnemonics-visible", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2835
+ connect_after(sigName: "notify::mnemonics-visible", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2836
+ emit(sigName: "notify::mnemonics-visible", ...args: any[]): void
2837
+ connect(sigName: "notify::modal", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2838
+ connect_after(sigName: "notify::modal", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2839
+ emit(sigName: "notify::modal", ...args: any[]): void
2840
+ connect(sigName: "notify::resizable", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2841
+ connect_after(sigName: "notify::resizable", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2842
+ emit(sigName: "notify::resizable", ...args: any[]): void
2843
+ connect(sigName: "notify::resize-grip-visible", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2844
+ connect_after(sigName: "notify::resize-grip-visible", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2845
+ emit(sigName: "notify::resize-grip-visible", ...args: any[]): void
2846
+ connect(sigName: "notify::role", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2847
+ connect_after(sigName: "notify::role", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2848
+ emit(sigName: "notify::role", ...args: any[]): void
2849
+ connect(sigName: "notify::screen", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2850
+ connect_after(sigName: "notify::screen", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2851
+ emit(sigName: "notify::screen", ...args: any[]): void
2852
+ connect(sigName: "notify::skip-pager-hint", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2853
+ connect_after(sigName: "notify::skip-pager-hint", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2854
+ emit(sigName: "notify::skip-pager-hint", ...args: any[]): void
2855
+ connect(sigName: "notify::skip-taskbar-hint", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2856
+ connect_after(sigName: "notify::skip-taskbar-hint", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2857
+ emit(sigName: "notify::skip-taskbar-hint", ...args: any[]): void
2858
+ connect(sigName: "notify::startup-id", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2859
+ connect_after(sigName: "notify::startup-id", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2860
+ emit(sigName: "notify::startup-id", ...args: any[]): void
2861
+ connect(sigName: "notify::title", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2862
+ connect_after(sigName: "notify::title", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2863
+ emit(sigName: "notify::title", ...args: any[]): void
2864
+ connect(sigName: "notify::transient-for", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2865
+ connect_after(sigName: "notify::transient-for", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2866
+ emit(sigName: "notify::transient-for", ...args: any[]): void
2867
+ connect(sigName: "notify::type", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2868
+ connect_after(sigName: "notify::type", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2869
+ emit(sigName: "notify::type", ...args: any[]): void
2870
+ connect(sigName: "notify::type-hint", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2871
+ connect_after(sigName: "notify::type-hint", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2872
+ emit(sigName: "notify::type-hint", ...args: any[]): void
2873
+ connect(sigName: "notify::urgency-hint", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2874
+ connect_after(sigName: "notify::urgency-hint", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2875
+ emit(sigName: "notify::urgency-hint", ...args: any[]): void
2876
+ connect(sigName: "notify::window-position", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2877
+ connect_after(sigName: "notify::window-position", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2878
+ emit(sigName: "notify::window-position", ...args: any[]): void
2879
+ connect(sigName: "notify::border-width", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2880
+ connect_after(sigName: "notify::border-width", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2881
+ emit(sigName: "notify::border-width", ...args: any[]): void
2882
+ connect(sigName: "notify::child", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2883
+ connect_after(sigName: "notify::child", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2884
+ emit(sigName: "notify::child", ...args: any[]): void
2885
+ connect(sigName: "notify::resize-mode", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2886
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2887
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
2888
+ connect(sigName: "notify::app-paintable", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2889
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2890
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
2891
+ connect(sigName: "notify::can-default", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2892
+ connect_after(sigName: "notify::can-default", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2893
+ emit(sigName: "notify::can-default", ...args: any[]): void
2894
+ connect(sigName: "notify::can-focus", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2895
+ connect_after(sigName: "notify::can-focus", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2896
+ emit(sigName: "notify::can-focus", ...args: any[]): void
2897
+ connect(sigName: "notify::composite-child", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2898
+ connect_after(sigName: "notify::composite-child", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2899
+ emit(sigName: "notify::composite-child", ...args: any[]): void
2900
+ connect(sigName: "notify::double-buffered", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2901
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2902
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
2903
+ connect(sigName: "notify::events", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2904
+ connect_after(sigName: "notify::events", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2905
+ emit(sigName: "notify::events", ...args: any[]): void
2906
+ connect(sigName: "notify::expand", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2907
+ connect_after(sigName: "notify::expand", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2908
+ emit(sigName: "notify::expand", ...args: any[]): void
2909
+ connect(sigName: "notify::focus-on-click", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2910
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2911
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
2912
+ connect(sigName: "notify::halign", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2913
+ connect_after(sigName: "notify::halign", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2914
+ emit(sigName: "notify::halign", ...args: any[]): void
2915
+ connect(sigName: "notify::has-default", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2916
+ connect_after(sigName: "notify::has-default", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2917
+ emit(sigName: "notify::has-default", ...args: any[]): void
2918
+ connect(sigName: "notify::has-focus", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2919
+ connect_after(sigName: "notify::has-focus", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2920
+ emit(sigName: "notify::has-focus", ...args: any[]): void
2921
+ connect(sigName: "notify::has-tooltip", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2922
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2923
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
2924
+ connect(sigName: "notify::height-request", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2925
+ connect_after(sigName: "notify::height-request", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2926
+ emit(sigName: "notify::height-request", ...args: any[]): void
2927
+ connect(sigName: "notify::hexpand", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2928
+ connect_after(sigName: "notify::hexpand", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2929
+ emit(sigName: "notify::hexpand", ...args: any[]): void
2930
+ connect(sigName: "notify::hexpand-set", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2931
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2932
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
2933
+ connect(sigName: "notify::is-focus", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2934
+ connect_after(sigName: "notify::is-focus", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2935
+ emit(sigName: "notify::is-focus", ...args: any[]): void
2936
+ connect(sigName: "notify::margin", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2937
+ connect_after(sigName: "notify::margin", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2938
+ emit(sigName: "notify::margin", ...args: any[]): void
2939
+ connect(sigName: "notify::margin-bottom", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2940
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2941
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
2942
+ connect(sigName: "notify::margin-end", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2943
+ connect_after(sigName: "notify::margin-end", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2944
+ emit(sigName: "notify::margin-end", ...args: any[]): void
2945
+ connect(sigName: "notify::margin-left", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2946
+ connect_after(sigName: "notify::margin-left", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2947
+ emit(sigName: "notify::margin-left", ...args: any[]): void
2948
+ connect(sigName: "notify::margin-right", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2949
+ connect_after(sigName: "notify::margin-right", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2950
+ emit(sigName: "notify::margin-right", ...args: any[]): void
2951
+ connect(sigName: "notify::margin-start", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2952
+ connect_after(sigName: "notify::margin-start", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2953
+ emit(sigName: "notify::margin-start", ...args: any[]): void
2954
+ connect(sigName: "notify::margin-top", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2955
+ connect_after(sigName: "notify::margin-top", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2956
+ emit(sigName: "notify::margin-top", ...args: any[]): void
2957
+ connect(sigName: "notify::name", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2958
+ connect_after(sigName: "notify::name", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2959
+ emit(sigName: "notify::name", ...args: any[]): void
2960
+ connect(sigName: "notify::no-show-all", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2961
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2962
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
2963
+ connect(sigName: "notify::opacity", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2964
+ connect_after(sigName: "notify::opacity", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2965
+ emit(sigName: "notify::opacity", ...args: any[]): void
2966
+ connect(sigName: "notify::parent", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2967
+ connect_after(sigName: "notify::parent", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2968
+ emit(sigName: "notify::parent", ...args: any[]): void
2969
+ connect(sigName: "notify::receives-default", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2970
+ connect_after(sigName: "notify::receives-default", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2971
+ emit(sigName: "notify::receives-default", ...args: any[]): void
2972
+ connect(sigName: "notify::scale-factor", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2973
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2974
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
2975
+ connect(sigName: "notify::sensitive", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2976
+ connect_after(sigName: "notify::sensitive", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2977
+ emit(sigName: "notify::sensitive", ...args: any[]): void
2978
+ connect(sigName: "notify::style", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2979
+ connect_after(sigName: "notify::style", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2980
+ emit(sigName: "notify::style", ...args: any[]): void
2981
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2982
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2983
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
2984
+ connect(sigName: "notify::tooltip-text", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2985
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2986
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
2987
+ connect(sigName: "notify::valign", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2988
+ connect_after(sigName: "notify::valign", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2989
+ emit(sigName: "notify::valign", ...args: any[]): void
2990
+ connect(sigName: "notify::vexpand", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2991
+ connect_after(sigName: "notify::vexpand", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2992
+ emit(sigName: "notify::vexpand", ...args: any[]): void
2993
+ connect(sigName: "notify::vexpand-set", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2994
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2995
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
2996
+ connect(sigName: "notify::visible", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2997
+ connect_after(sigName: "notify::visible", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
2998
+ emit(sigName: "notify::visible", ...args: any[]): void
2999
+ connect(sigName: "notify::width-request", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
3000
+ connect_after(sigName: "notify::width-request", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
3001
+ emit(sigName: "notify::width-request", ...args: any[]): void
3002
+ connect(sigName: "notify::window", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
3003
+ connect_after(sigName: "notify::window", callback: (($obj: Window, pspec: GObject.ParamSpec) => void)): number
3004
+ emit(sigName: "notify::window", ...args: any[]): void
3005
+ connect(sigName: string, callback: (...args: any[]) => void): number
3006
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
3007
+ emit(sigName: string, ...args: any[]): void
3008
+ disconnect(id: number): void
3009
+ }
3010
+
3011
+ class Window extends Gtk.ApplicationWindow {
3012
+
3013
+ // Own properties of Gedit-3.0.Gedit.Window
3014
+
3015
+ static name: string
3016
+ static $gtype: GObject.GType<Window>
3017
+
3018
+ // Constructors of Gedit-3.0.Gedit.Window
3019
+
3020
+ constructor(config?: Window.ConstructorProperties)
3021
+ _init(config?: Window.ConstructorProperties): void
3022
+
3023
+ // Conflicting static methods
3024
+
3025
+ static new(...args: any[]): any
3026
+ }
3027
+
3028
+ interface AppActivatableInterface {
3029
+
3030
+ // Own fields of Gedit-3.0.Gedit.AppActivatableInterface
3031
+
3032
+ g_iface: GObject.TypeInterface
3033
+ activate: (activatable: AppActivatable) => void
3034
+ deactivate: (activatable: AppActivatable) => void
3035
+ }
3036
+
3037
+ abstract class AppActivatableInterface {
3038
+
3039
+ // Own properties of Gedit-3.0.Gedit.AppActivatableInterface
3040
+
3041
+ static name: string
3042
+ }
3043
+
3044
+ interface AppClass {
3045
+
3046
+ // Own fields of Gedit-3.0.Gedit.AppClass
3047
+
3048
+ parent_class: Gtk.ApplicationClass
3049
+ show_help: (app: App, parent: Gtk.Window, name: string | null, link_id: string | null) => boolean
3050
+ help_link_id: (app: App, name: string | null, link_id: string | null) => string | null
3051
+ set_window_title: (app: App, window: Window, title: string | null) => void
3052
+ process_window_event: (app: App, window: Window, event: Gdk.Event) => boolean
3053
+ }
3054
+
3055
+ abstract class AppClass {
3056
+
3057
+ // Own properties of Gedit-3.0.Gedit.AppClass
3058
+
3059
+ static name: string
3060
+ }
3061
+
3062
+ interface DocumentClass {
3063
+
3064
+ // Own fields of Gedit-3.0.Gedit.DocumentClass
3065
+
3066
+ load: (document: Document) => void
3067
+ loaded: (document: Document) => void
3068
+ save: (document: Document) => void
3069
+ saved: (document: Document) => void
3070
+ }
3071
+
3072
+ abstract class DocumentClass {
3073
+
3074
+ // Own properties of Gedit-3.0.Gedit.DocumentClass
3075
+
3076
+ static name: string
3077
+ }
3078
+
3079
+ interface EncodingsComboBoxClass {
3080
+
3081
+ // Own fields of Gedit-3.0.Gedit.EncodingsComboBoxClass
3082
+
3083
+ parent_class: Gtk.ComboBoxClass
3084
+ }
3085
+
3086
+ abstract class EncodingsComboBoxClass {
3087
+
3088
+ // Own properties of Gedit-3.0.Gedit.EncodingsComboBoxClass
3089
+
3090
+ static name: string
3091
+ }
3092
+
3093
+ interface MenuExtensionClass {
3094
+
3095
+ // Own fields of Gedit-3.0.Gedit.MenuExtensionClass
3096
+
3097
+ parent_class: GObject.ObjectClass
3098
+ }
3099
+
3100
+ abstract class MenuExtensionClass {
3101
+
3102
+ // Own properties of Gedit-3.0.Gedit.MenuExtensionClass
3103
+
3104
+ static name: string
3105
+ }
3106
+
3107
+ interface MessageBusClass {
3108
+
3109
+ // Own fields of Gedit-3.0.Gedit.MessageBusClass
3110
+
3111
+ parent_class: GObject.ObjectClass
3112
+ dispatch: (bus: MessageBus, message: Message) => void
3113
+ registered: (bus: MessageBus, object_path: string | null, method: string | null) => void
3114
+ unregistered: (bus: MessageBus, object_path: string | null, method: string | null) => void
3115
+ }
3116
+
3117
+ abstract class MessageBusClass {
3118
+
3119
+ // Own properties of Gedit-3.0.Gedit.MessageBusClass
3120
+
3121
+ static name: string
3122
+ }
3123
+
3124
+ interface MessageBusPrivate {
3125
+ }
3126
+
3127
+ class MessageBusPrivate {
3128
+
3129
+ // Own properties of Gedit-3.0.Gedit.MessageBusPrivate
3130
+
3131
+ static name: string
3132
+ }
3133
+
3134
+ interface MessageClass {
3135
+
3136
+ // Own fields of Gedit-3.0.Gedit.MessageClass
3137
+
3138
+ parent_class: GObject.ObjectClass
3139
+ }
3140
+
3141
+ abstract class MessageClass {
3142
+
3143
+ // Own properties of Gedit-3.0.Gedit.MessageClass
3144
+
3145
+ static name: string
3146
+ }
3147
+
3148
+ interface MessagePrivate {
3149
+ }
3150
+
3151
+ class MessagePrivate {
3152
+
3153
+ // Own properties of Gedit-3.0.Gedit.MessagePrivate
3154
+
3155
+ static name: string
3156
+ }
3157
+
3158
+ interface StatusbarClass {
3159
+
3160
+ // Own fields of Gedit-3.0.Gedit.StatusbarClass
3161
+
3162
+ parent_class: Gtk.StatusbarClass
3163
+ }
3164
+
3165
+ abstract class StatusbarClass {
3166
+
3167
+ // Own properties of Gedit-3.0.Gedit.StatusbarClass
3168
+
3169
+ static name: string
3170
+ }
3171
+
3172
+ interface TabClass {
3173
+
3174
+ // Own fields of Gedit-3.0.Gedit.TabClass
3175
+
3176
+ parent_class: Gtk.BoxClass
3177
+ }
3178
+
3179
+ abstract class TabClass {
3180
+
3181
+ // Own properties of Gedit-3.0.Gedit.TabClass
3182
+
3183
+ static name: string
3184
+ }
3185
+
3186
+ interface ViewActivatableInterface {
3187
+
3188
+ // Own fields of Gedit-3.0.Gedit.ViewActivatableInterface
3189
+
3190
+ g_iface: GObject.TypeInterface
3191
+ activate: (activatable: ViewActivatable) => void
3192
+ deactivate: (activatable: ViewActivatable) => void
3193
+ }
3194
+
3195
+ abstract class ViewActivatableInterface {
3196
+
3197
+ // Own properties of Gedit-3.0.Gedit.ViewActivatableInterface
3198
+
3199
+ static name: string
3200
+ }
3201
+
3202
+ interface ViewClass {
3203
+
3204
+ // Own fields of Gedit-3.0.Gedit.ViewClass
3205
+
3206
+ drop_uris: (view: View, uri_list: string | null) => void
3207
+ padding: any
3208
+ }
3209
+
3210
+ abstract class ViewClass {
3211
+
3212
+ // Own properties of Gedit-3.0.Gedit.ViewClass
3213
+
3214
+ static name: string
3215
+ }
3216
+
3217
+ interface ViewPrivate {
3218
+ }
3219
+
3220
+ class ViewPrivate {
3221
+
3222
+ // Own properties of Gedit-3.0.Gedit.ViewPrivate
3223
+
3224
+ static name: string
3225
+ }
3226
+
3227
+ interface WindowActivatableInterface {
3228
+
3229
+ // Own fields of Gedit-3.0.Gedit.WindowActivatableInterface
3230
+
3231
+ g_iface: GObject.TypeInterface
3232
+ activate: (activatable: WindowActivatable) => void
3233
+ deactivate: (activatable: WindowActivatable) => void
3234
+ update_state: (activatable: WindowActivatable) => void
3235
+ }
3236
+
3237
+ abstract class WindowActivatableInterface {
3238
+
3239
+ // Own properties of Gedit-3.0.Gedit.WindowActivatableInterface
3240
+
3241
+ static name: string
3242
+ }
3243
+
3244
+ interface WindowClass {
3245
+
3246
+ // Own fields of Gedit-3.0.Gedit.WindowClass
3247
+
3248
+ parent_class: Gtk.ApplicationWindowClass
3249
+ tab_added: (window: Window, tab: Tab) => void
3250
+ tab_removed: (window: Window, tab: Tab) => void
3251
+ tabs_reordered: (window: Window) => void
3252
+ active_tab_changed: (window: Window, tab: Tab) => void
3253
+ active_tab_state_changed: (window: Window) => void
3254
+ }
3255
+
3256
+ abstract class WindowClass {
3257
+
3258
+ // Own properties of Gedit-3.0.Gedit.WindowClass
3259
+
3260
+ static name: string
3261
+ }
3262
+
3263
+ interface WindowPrivate {
3264
+ }
3265
+
3266
+ class WindowPrivate {
3267
+
3268
+ // Own properties of Gedit-3.0.Gedit.WindowPrivate
3269
+
3270
+ static name: string
3271
+ }
3272
+
3273
+ /**
3274
+ * Name of the imported GIR library
3275
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
3276
+ */
3277
+ const __name__: string
3278
+ /**
3279
+ * Version of the imported GIR library
3280
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
3281
+ */
3282
+ const __version__: string
3283
+ }
3284
+
3285
+ export default Gedit;
3286
+ // END