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