@girs/gtef-2 2.0.0-3.3.0 → 2.0.0-4.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gtef-2.d.cts DELETED
@@ -1,3303 +0,0 @@
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-gir
7
- */
8
-
9
- import './gtef-2-ambient.d.ts';
10
- import './gtef-2-import.d.ts';
11
- /**
12
- * Gtef-2
13
- */
14
-
15
- import type GtkSource from '@girs/gtksource-3.0';
16
- import type Gtk from '@girs/gtk-3.0';
17
- import type xlib from '@girs/xlib-2.0';
18
- import type Gdk from '@girs/gdk-3.0';
19
- import type cairo from '@girs/cairo-1.0';
20
- import type GObject from '@girs/gobject-2.0';
21
- import type GLib from '@girs/glib-2.0';
22
- import type Pango from '@girs/pango-1.0';
23
- import type HarfBuzz from '@girs/harfbuzz-0.0';
24
- import type freetype2 from '@girs/freetype2-2.0';
25
- import type Gio from '@girs/gio-2.0';
26
- import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
27
- import type GModule from '@girs/gmodule-2.0';
28
- import type Atk from '@girs/atk-1.0';
29
-
30
- export enum CompressionType {
31
- /**
32
- * plain text.
33
- */
34
- NONE,
35
- /**
36
- * gzip compression.
37
- */
38
- GZIP,
39
- }
40
- /**
41
- * An error code used with the %GTEF_FILE_LOADER_ERROR domain.
42
- */
43
- export enum FileLoaderError {
44
- /**
45
- * The file is too big.
46
- */
47
- TOO_BIG,
48
- /**
49
- * It is not possible to
50
- * detect the encoding automatically.
51
- */
52
- ENCODING_AUTO_DETECTION_FAILED,
53
- }
54
- /**
55
- * An error code used with the %GTEF_FILE_SAVER_ERROR domain.
56
- */
57
- export enum FileSaverError {
58
- /**
59
- * The buffer contains invalid
60
- * characters.
61
- */
62
- INVALID_CHARS,
63
- /**
64
- * The file is externally
65
- * modified.
66
- */
67
- EXTERNALLY_MODIFIED,
68
- }
69
- export enum NewlineType {
70
- /**
71
- * line feed, used on UNIX.
72
- */
73
- LF,
74
- /**
75
- * carriage return, used on Mac.
76
- */
77
- CR,
78
- /**
79
- * carriage return followed by a line feed, used
80
- * on Windows.
81
- */
82
- CR_LF,
83
- }
84
- export enum SelectionType {
85
- /**
86
- * No selection.
87
- */
88
- NO_SELECTION,
89
- /**
90
- * The start and end selection bounds are on
91
- * the same line.
92
- */
93
- ON_SAME_LINE,
94
- /**
95
- * The selection spans multiple lines.
96
- */
97
- MULTIPLE_LINES,
98
- }
99
- /**
100
- * Flags to define the behavior of a #GtefFileSaver.
101
- * @bitfield
102
- */
103
- export enum FileSaverFlags {
104
- /**
105
- * No flags.
106
- */
107
- NONE,
108
- /**
109
- * Ignore invalid characters.
110
- */
111
- IGNORE_INVALID_CHARS,
112
- /**
113
- * Save file despite external modifications.
114
- */
115
- IGNORE_MODIFICATION_TIME,
116
- /**
117
- * Create a backup before saving the file.
118
- */
119
- CREATE_BACKUP,
120
- }
121
- /**
122
- * The folding state at a certain line in the #GtkTextBuffer.
123
- *
124
- * Since #GtefGutterRendererFolds has a flat view of the folding tree, some
125
- * states can be combined; for example, %GTEF_GUTTER_RENDERER_FOLDS_STATE_END
126
- * and %GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE.
127
- * @bitfield
128
- */
129
- export enum GutterRendererFoldsState {
130
- /**
131
- * No code folding here.
132
- */
133
- NONE,
134
- /**
135
- * Start of currently folded
136
- * fold region.
137
- */
138
- START_FOLDED,
139
- /**
140
- * Start of currently opened
141
- * fold region.
142
- */
143
- START_OPENED,
144
- /**
145
- * Fold region continues.
146
- */
147
- CONTINUE,
148
- /**
149
- * End of fold region.
150
- */
151
- END,
152
- }
153
- /**
154
- * A wrapper function for g_action_map_add_action_entries() that checks
155
- * duplicates.
156
- *
157
- * This function first checks - for each entry - that the `action_map` doesn't
158
- * already contain a #GAction with the same name. A warning is printed if an old
159
- * action will be dropped. In any case, it then calls
160
- * g_action_map_add_action_entries() with the same arguments as passed to this
161
- * function.
162
- *
163
- * This function also checks if there are duplicates in the `entries` array
164
- * itself.
165
- * @param action_map a #GActionMap.
166
- * @param entries a pointer to the first item in an array of #GActionEntry structs.
167
- * @param user_data the user data for signal connections.
168
- */
169
- export function action_map_add_action_entries_check_dups(action_map: Gio.ActionMap, entries: Gio.ActionEntry[], user_data: any | null): void
170
- /**
171
- * Gets a list of all encodings known by #GtefEncoding.
172
- * @returns a list of #GtefEncoding's.
173
- */
174
- export function encoding_get_all(): Encoding[]
175
- /**
176
- * Gets the list of default candidate encodings to try when loading a file. See
177
- * gtk_source_file_loader_set_candidate_encodings().
178
- *
179
- * This function returns a different list depending on the current locale (i.e.
180
- * language, country and default encoding). The UTF-8 encoding and the current
181
- * locale encoding are guaranteed to be present in the returned list.
182
- * @returns the list of default candidate encodings.
183
- */
184
- export function encoding_get_default_candidates(): Encoding[]
185
- export function file_loader_error_quark(): GLib.Quark
186
- export function file_saver_error_quark(): GLib.Quark
187
- /**
188
- * Gets the indentation, as a string, of the line at `iter`. `iter` can be
189
- * anywhere in the line.
190
- *
191
- * Possible use-case: to implement an action that inserts some text in a
192
- * #GtkTextBuffer. If the text to insert spans multiple lines, it is usually
193
- * desired to keep the same indentation level.
194
- * @param iter a #GtkTextIter.
195
- * @returns the line indentation at @iter. Free with g_free().
196
- */
197
- export function iter_get_line_indentation(iter: Gtk.TextIter): string | null
198
- export function menu_item_get_long_description(menu_item: Gtk.MenuItem): string | null
199
- /**
200
- * Sets an icon to a #GtkMenuItem.
201
- *
202
- * If the child widget of `item` is already a #GtkBox, all #GtkImage widgets
203
- * inside that box are first destroyed. A #GtkImage for `icon_name` is then
204
- * inserted to the box.
205
- *
206
- * If the child widget of `item` is not a #GtkBox (it's usually the
207
- * #GtkAccelLabel), it is replaced by a new #GtkBox and the initial child widget
208
- * is inserted to the #GtkBox, alongside the icon.
209
- *
210
- * As a consequence, if you want to call functions on the #GtkAccelLabel, it's
211
- * easier to do it before calling this function.
212
- * @param item a #GtkMenuItem.
213
- * @param icon_name an icon name.
214
- */
215
- export function menu_item_set_icon_name(item: Gtk.MenuItem, icon_name: string): void
216
- /**
217
- * Sets the long description of `menu_item`. A possible use-case is to display it
218
- * in a #GtkStatusbar, or as a tooltip.
219
- * @param menu_item a #GtkMenuItem.
220
- * @param long_description the long description, or %NULL to unset it.
221
- */
222
- export function menu_item_set_long_description(menu_item: Gtk.MenuItem, long_description: string | null): void
223
- /**
224
- * This function initializes the metadata manager.
225
- *
226
- * The `metadata_path` must be different for each process. It is advised for your
227
- * application to rely on #GApplication process uniqueness.
228
- *
229
- * A good place to store the metadata is in a sub-directory of the user data
230
- * directory. See g_get_user_data_dir().
231
- * @param metadata_path the filename where the metadata is stored.
232
- */
233
- export function metadata_manager_init(metadata_path: string): void
234
- /**
235
- * This function saves synchronously metadata if they need to be saved, and
236
- * frees the internal data of the metadata manager.
237
- */
238
- export function metadata_manager_shutdown(): void
239
- /**
240
- * Gets the URI of `item`. `item` must be a child of `menu`. `menu` must be a
241
- * #GtkRecentChooserMenu.
242
- *
243
- * This function has been written because the value returned by
244
- * gtk_recent_chooser_get_current_uri() is not updated when #GtkMenuItem's of a
245
- * #GtkRecentChooserMenu are selected/deselected.
246
- * @param menu a #GtkRecentChooserMenu.
247
- * @param item a #GtkMenuItem.
248
- * @returns the URI of @item. Free with g_free() when no longer needed.
249
- */
250
- export function utils_recent_chooser_menu_get_item_uri(menu: Gtk.RecentChooserMenu, item: Gtk.MenuItem): string | null
251
- export module ActionInfoCentralStore {
252
-
253
- // Constructor properties interface
254
-
255
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
256
- }
257
-
258
- }
259
-
260
- export interface ActionInfoCentralStore {
261
-
262
- // Own fields of Gtef-2.Gtef.ActionInfoCentralStore
263
-
264
- parent: GObject.Object
265
- priv: ActionInfoCentralStorePrivate
266
-
267
- // Owm methods of Gtef-2.Gtef.ActionInfoCentralStore
268
-
269
- lookup(action_name: string): ActionInfo
270
-
271
- // Class property signals of Gtef-2.Gtef.ActionInfoCentralStore
272
-
273
- connect(sigName: string, callback: (...args: any[]) => void): number
274
- connect_after(sigName: string, callback: (...args: any[]) => void): number
275
- emit(sigName: string, ...args: any[]): void
276
- disconnect(id: number): void
277
- }
278
-
279
- export class ActionInfoCentralStore extends GObject.Object {
280
-
281
- // Own properties of Gtef-2.Gtef.ActionInfoCentralStore
282
-
283
- static name: string
284
- static $gtype: GObject.GType<ActionInfoCentralStore>
285
-
286
- // Constructors of Gtef-2.Gtef.ActionInfoCentralStore
287
-
288
- constructor(config?: ActionInfoCentralStore.ConstructorProperties)
289
- _init(config?: ActionInfoCentralStore.ConstructorProperties): void
290
- static get_instance(): ActionInfoCentralStore
291
- }
292
-
293
- export module ActionInfoStore {
294
-
295
- // Constructor properties interface
296
-
297
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
298
-
299
- // Own constructor properties of Gtef-2.Gtef.ActionInfoStore
300
-
301
- /**
302
- * The associated #GtkApplication. #GtefActionInfoStore has a weak
303
- * reference to the #GtkApplication.
304
- */
305
- application?: Gtk.Application | null
306
- }
307
-
308
- }
309
-
310
- export interface ActionInfoStore {
311
-
312
- // Own properties of Gtef-2.Gtef.ActionInfoStore
313
-
314
- /**
315
- * The associated #GtkApplication. #GtefActionInfoStore has a weak
316
- * reference to the #GtkApplication.
317
- */
318
- readonly application: Gtk.Application
319
-
320
- // Own fields of Gtef-2.Gtef.ActionInfoStore
321
-
322
- parent: GObject.Object
323
- priv: ActionInfoStorePrivate
324
-
325
- // Owm methods of Gtef-2.Gtef.ActionInfoStore
326
-
327
- /**
328
- * Inserts `info` into `store` and into the #GtefActionInfoCentralStore. Both the
329
- * `store` and central store must <emphasis>not</emphasis> already contain a
330
- * #GtefActionInfo with the same action name. The stores take their own
331
- * reference on `info`.
332
- * @param info a #GtefActionInfo.
333
- */
334
- add(info: ActionInfo): void
335
- /**
336
- * Calls gtef_action_info_store_add() for each entry.
337
- *
338
- * If `translation_domain` is not %NULL, g_dgettext() is used to translate the
339
- * `label` and `tooltip` of each entry before setting them to the #GtefActionInfo.
340
- *
341
- * An API similar to g_action_map_add_action_entries().
342
- * @param entries a pointer to the first item in an array of #GtefActionInfoEntry structs.
343
- * @param translation_domain a gettext domain, or %NULL.
344
- */
345
- add_entries(entries: ActionInfoEntry[], translation_domain: string | null): void
346
- /**
347
- * Checks that all #GtefActionInfo's of `store` have been used by
348
- * gtef_action_info_store_create_menu_item(). If not, a warning is printed and
349
- * might indicate dead code.
350
- *
351
- * You probably want to call this function on the store returned by
352
- * gtef_application_get_app_action_info_store(). But it can also be useful for a
353
- * store provided by a library, to easily see which actions you don't use.
354
- */
355
- check_all_used(): void
356
- /**
357
- * Creates a new #GtkMenuItem for `action_name`. The `store` must contain a
358
- * #GtefActionInfo for `action_name`.
359
- *
360
- * gtk_actionable_set_action_name() is called on the menu item with
361
- * `action_name`. The label is set with the #GtkMenuItem:use-underline property
362
- * enabled. The first accelerator is set to the #GtkAccelLabel of the menu item.
363
- * The icon is set. And the tooltip is set with
364
- * gtef_menu_item_set_long_description().
365
- *
366
- * If #GtefActionInfoStore:application is non-%NULL, this function also calls
367
- * gtk_application_set_accels_for_action() with the accelerators returned by
368
- * gtef_action_info_get_accels() (this will erase previously set accelerators
369
- * for that action, if any).
370
- * @param action_name an action name.
371
- * @returns a new #GtkMenuItem for @action_name.
372
- */
373
- create_menu_item(action_name: string): Gtk.Widget
374
- get_application(): Gtk.Application | null
375
- lookup(action_name: string): ActionInfo
376
-
377
- // Class property signals of Gtef-2.Gtef.ActionInfoStore
378
-
379
- connect(sigName: "notify::application", callback: (($obj: ActionInfoStore, pspec: GObject.ParamSpec) => void)): number
380
- connect_after(sigName: "notify::application", callback: (($obj: ActionInfoStore, pspec: GObject.ParamSpec) => void)): number
381
- emit(sigName: "notify::application", ...args: any[]): void
382
- connect(sigName: string, callback: (...args: any[]) => void): number
383
- connect_after(sigName: string, callback: (...args: any[]) => void): number
384
- emit(sigName: string, ...args: any[]): void
385
- disconnect(id: number): void
386
- }
387
-
388
- export class ActionInfoStore extends GObject.Object {
389
-
390
- // Own properties of Gtef-2.Gtef.ActionInfoStore
391
-
392
- static name: string
393
- static $gtype: GObject.GType<ActionInfoStore>
394
-
395
- // Constructors of Gtef-2.Gtef.ActionInfoStore
396
-
397
- constructor(config?: ActionInfoStore.ConstructorProperties)
398
- /**
399
- * Creates a new #GtefActionInfoStore object. Associating a #GtkApplication is
400
- * optional.
401
- * @constructor
402
- * @param application a #GtkApplication, or %NULL.
403
- * @returns a new #GtefActionInfoStore.
404
- */
405
- constructor(application: Gtk.Application | null)
406
- /**
407
- * Creates a new #GtefActionInfoStore object. Associating a #GtkApplication is
408
- * optional.
409
- * @constructor
410
- * @param application a #GtkApplication, or %NULL.
411
- * @returns a new #GtefActionInfoStore.
412
- */
413
- static new(application: Gtk.Application | null): ActionInfoStore
414
- _init(config?: ActionInfoStore.ConstructorProperties): void
415
- }
416
-
417
- export module Application {
418
-
419
- // Constructor properties interface
420
-
421
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
422
-
423
- // Own constructor properties of Gtef-2.Gtef.Application
424
-
425
- /**
426
- * The #GtkApplication.
427
- */
428
- application?: Gtk.Application | null
429
- }
430
-
431
- }
432
-
433
- export interface Application {
434
-
435
- // Own properties of Gtef-2.Gtef.Application
436
-
437
- /**
438
- * The #GtkApplication.
439
- */
440
- readonly application: Gtk.Application
441
-
442
- // Own fields of Gtef-2.Gtef.Application
443
-
444
- parent: GObject.Object
445
- priv: ApplicationPrivate
446
-
447
- // Owm methods of Gtef-2.Gtef.Application
448
-
449
- /**
450
- * Returns an initially empty #GtefActionInfoStore reserved for the
451
- * application-specific actions. Libraries should not add #GtefActionInfo's to
452
- * this store. Libraries should provide their own store if they want to share
453
- * #GtefActionInfo's.
454
- * @returns the #GtefActionInfoStore reserved for the application.
455
- */
456
- get_app_action_info_store(): ActionInfoStore
457
- get_application(): Gtk.Application
458
- /**
459
- * Calls g_application_open() with a single file and an empty hint.
460
- * @param file a #GFile.
461
- */
462
- open_simple(file: Gio.File): void
463
-
464
- // Class property signals of Gtef-2.Gtef.Application
465
-
466
- connect(sigName: "notify::application", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
467
- connect_after(sigName: "notify::application", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
468
- emit(sigName: "notify::application", ...args: any[]): void
469
- connect(sigName: string, callback: (...args: any[]) => void): number
470
- connect_after(sigName: string, callback: (...args: any[]) => void): number
471
- emit(sigName: string, ...args: any[]): void
472
- disconnect(id: number): void
473
- }
474
-
475
- export class Application extends GObject.Object {
476
-
477
- // Own properties of Gtef-2.Gtef.Application
478
-
479
- static name: string
480
- static $gtype: GObject.GType<Application>
481
-
482
- // Constructors of Gtef-2.Gtef.Application
483
-
484
- constructor(config?: Application.ConstructorProperties)
485
- _init(config?: Application.ConstructorProperties): void
486
- /**
487
- * Convenience function that calls g_application_get_default() followed by
488
- * gtef_application_get_from_gtk_application(). The object returned by
489
- * g_application_get_default() must be a #GtkApplication.
490
- * @returns the default #GtefApplication.
491
- */
492
- static get_default(): Application
493
- /**
494
- * Returns the #GtefApplication of `gtk_app`. The returned object is guaranteed
495
- * to be the same for the lifetime of `gtk_app`.
496
- * @param gtk_app a #GtkApplication.
497
- * @returns the #GtefApplication of @gtk_app.
498
- */
499
- static get_from_gtk_application(gtk_app: Gtk.Application): Application
500
- }
501
-
502
- export module ApplicationWindow {
503
-
504
- // Constructor properties interface
505
-
506
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
507
-
508
- // Own constructor properties of Gtef-2.Gtef.ApplicationWindow
509
-
510
- /**
511
- * The #GtkApplicationWindow.
512
- */
513
- applicationWindow?: Gtk.ApplicationWindow | null
514
- /**
515
- * The #GtkStatusbar. %NULL by default.
516
- */
517
- statusbar?: Gtk.Statusbar | null
518
- }
519
-
520
- }
521
-
522
- export interface ApplicationWindow {
523
-
524
- // Own properties of Gtef-2.Gtef.ApplicationWindow
525
-
526
- /**
527
- * The #GtkApplicationWindow.
528
- */
529
- readonly applicationWindow: Gtk.ApplicationWindow
530
- /**
531
- * The #GtkStatusbar. %NULL by default.
532
- */
533
- statusbar: Gtk.Statusbar
534
-
535
- // Own fields of Gtef-2.Gtef.ApplicationWindow
536
-
537
- parent: GObject.Object
538
- priv: ApplicationWindowPrivate
539
-
540
- // Owm methods of Gtef-2.Gtef.ApplicationWindow
541
-
542
- /**
543
- * Connect to the #GtefMenuShell::menu-item-selected and
544
- * #GtefMenuShell::menu-item-deselected signals of `gtef_menu_shell` to push/pop
545
- * the long description of #GtkMenuItem's to the
546
- * #GtefApplicationWindow:statusbar.
547
- *
548
- * The long description is retrieved with gtef_menu_item_get_long_description().
549
- * So gtef_menu_item_set_long_description() must have been called, which is the
550
- * case if the #GtkMenuItem has been created with the functions available in
551
- * #GtefActionInfoStore.
552
- * @param gtef_menu_shell a #GtefMenuShell.
553
- */
554
- connect_menu_to_statusbar(gtef_menu_shell: MenuShell): void
555
- /**
556
- * An alternative to gtk_recent_chooser_set_show_tips(). Shows the full path in
557
- * the #GtefApplicationWindow:statusbar when a #GtkMenuItem of `menu` is
558
- * selected.
559
- *
560
- * The full path is retrieved with
561
- * gtef_utils_recent_chooser_menu_get_item_uri().
562
- * @param menu a #GtkRecentChooserMenu.
563
- */
564
- connect_recent_chooser_menu_to_statusbar(menu: Gtk.RecentChooserMenu): void
565
- /**
566
- * Creates a #GtkMenuItem with a simple and generic #GtkRecentChooserMenu as
567
- * submenu.
568
- *
569
- * The #GtkRecentChooser is configured to show files only recently used with the
570
- * current application, as returned by g_get_application_name(). If recent files
571
- * are added to the default #GtkRecentManager with
572
- * gtk_recent_manager_add_item(), the files will normally show up in the
573
- * #GtkRecentChooserMenu.
574
- *
575
- * The #GtkRecentChooserMenu is connected to the statusbar with
576
- * gtef_application_window_connect_recent_chooser_menu_to_statusbar().
577
- *
578
- * When the #GtkRecentChooser::item-activated signal is emitted,
579
- * gtef_application_open_simple() is called, so the #GApplication must have the
580
- * %G_APPLICATION_HANDLES_OPEN flag set.
581
- * @returns a new #GtkMenuItem.
582
- */
583
- create_open_recent_menu_item(): Gtk.Widget
584
- get_application_window(): Gtk.ApplicationWindow
585
- get_statusbar(): Gtk.Statusbar | null
586
- /**
587
- * Sets the #GtefApplicationWindow:statusbar property.
588
- * @param statusbar a #GtkStatusbar, or %NULL.
589
- */
590
- set_statusbar(statusbar: Gtk.Statusbar | null): void
591
-
592
- // Class property signals of Gtef-2.Gtef.ApplicationWindow
593
-
594
- connect(sigName: "notify::application-window", callback: (($obj: ApplicationWindow, pspec: GObject.ParamSpec) => void)): number
595
- connect_after(sigName: "notify::application-window", callback: (($obj: ApplicationWindow, pspec: GObject.ParamSpec) => void)): number
596
- emit(sigName: "notify::application-window", ...args: any[]): void
597
- connect(sigName: "notify::statusbar", callback: (($obj: ApplicationWindow, pspec: GObject.ParamSpec) => void)): number
598
- connect_after(sigName: "notify::statusbar", callback: (($obj: ApplicationWindow, pspec: GObject.ParamSpec) => void)): number
599
- emit(sigName: "notify::statusbar", ...args: any[]): void
600
- connect(sigName: string, callback: (...args: any[]) => void): number
601
- connect_after(sigName: string, callback: (...args: any[]) => void): number
602
- emit(sigName: string, ...args: any[]): void
603
- disconnect(id: number): void
604
- }
605
-
606
- export class ApplicationWindow extends GObject.Object {
607
-
608
- // Own properties of Gtef-2.Gtef.ApplicationWindow
609
-
610
- static name: string
611
- static $gtype: GObject.GType<ApplicationWindow>
612
-
613
- // Constructors of Gtef-2.Gtef.ApplicationWindow
614
-
615
- constructor(config?: ApplicationWindow.ConstructorProperties)
616
- _init(config?: ApplicationWindow.ConstructorProperties): void
617
- /**
618
- * Returns the #GtefApplicationWindow of `gtk_window`. The returned object is
619
- * guaranteed to be the same for the lifetime of `gtk_window`.
620
- * @param gtk_window a #GtkApplicationWindow.
621
- * @returns the #GtefApplicationWindow of @gtk_window.
622
- */
623
- static get_from_gtk_application_window(gtk_window: Gtk.ApplicationWindow): ApplicationWindow
624
- }
625
-
626
- export module Buffer {
627
-
628
- // Signal callback interfaces
629
-
630
- /**
631
- * Signal callback interface for `gtef-cursor-moved`
632
- */
633
- export interface GtefCursorMovedSignalCallback {
634
- ($obj: Buffer): void
635
- }
636
-
637
-
638
- // Constructor properties interface
639
-
640
- export interface ConstructorProperties extends GtkSource.Buffer.ConstructorProperties {
641
-
642
- // Own constructor properties of Gtef-2.Gtef.Buffer
643
-
644
- /**
645
- * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
646
- * useful for binding it to a #GSettings key.
647
- *
648
- * When the #GtkSourceBuffer:style-scheme is %NULL,
649
- * #GtefBuffer:gtef-style-scheme-id contains the empty string.
650
- */
651
- gtefStyleSchemeId?: string | null
652
- }
653
-
654
- }
655
-
656
- export interface Buffer {
657
-
658
- // Own properties of Gtef-2.Gtef.Buffer
659
-
660
- /**
661
- * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
662
- * useful for binding it to a #GSettings key.
663
- *
664
- * When the #GtkSourceBuffer:style-scheme is %NULL,
665
- * #GtefBuffer:gtef-style-scheme-id contains the empty string.
666
- */
667
- gtefStyleSchemeId: string | null
668
- /**
669
- * The buffer title. See gtef_buffer_get_title().
670
- */
671
- readonly gtefTitle: string | null
672
-
673
- // Conflicting properties
674
-
675
- priv: any & Gtk.TextBufferPrivate
676
-
677
- // Own fields of Gtef-2.Gtef.Buffer
678
-
679
- parent_instance: GtkSource.Buffer & Gtk.TextBuffer & GObject.Object & GObject.Object
680
-
681
- // Owm methods of Gtef-2.Gtef.Buffer
682
-
683
- /**
684
- * Returns the #GtefFile of `buffer`. The returned object is guaranteed to be the
685
- * same for the lifetime of `buffer`.
686
- * @returns the associated #GtefFile.
687
- */
688
- get_file(): File
689
- get_selection_type(): SelectionType
690
- get_style_scheme_id(): string | null
691
- /**
692
- * Returns a title suitable for a #GtkWindow title. It contains (in that order):
693
- * - '*' if the buffer is modified;
694
- * - the #GtefFile:short-name;
695
- * - the directory path in parenthesis if the #GtefFile:location isn't
696
- * %NULL.
697
- * @returns the @buffer title. Free the return value with g_free() when no longer needed.
698
- */
699
- get_title(): string | null
700
- /**
701
- * Returns whether `buffer` is untouched.
702
- *
703
- * This function is for example useful to know if we can re-use this buffer to
704
- * load a file, instead of opening a new tab or window.
705
- *
706
- * For this function to return %TRUE, the `buffer` must be empty, non-modified,
707
- * the undo/redo #GtkSourceBuffer history must be empty, and the
708
- * #GtefFile:location must be %NULL.
709
- * @returns %TRUE if @buffer has not been touched, %FALSE otherwise.
710
- */
711
- is_untouched(): boolean
712
- /**
713
- * Sets the #GtefBuffer:gtef-style-scheme-id property.
714
- *
715
- * The #GtkSourceStyleScheme is taken from the default
716
- * #GtkSourceStyleSchemeManager as returned by
717
- * gtk_source_style_scheme_manager_get_default().
718
- * @param style_scheme_id the new value.
719
- */
720
- set_style_scheme_id(style_scheme_id: string): void
721
-
722
- // Own virtual methods of Gtef-2.Gtef.Buffer
723
-
724
- vfunc_gtef_cursor_moved(): void
725
-
726
- // Own signals of Gtef-2.Gtef.Buffer
727
-
728
- connect(sigName: "gtef-cursor-moved", callback: Buffer.GtefCursorMovedSignalCallback): number
729
- connect_after(sigName: "gtef-cursor-moved", callback: Buffer.GtefCursorMovedSignalCallback): number
730
- emit(sigName: "gtef-cursor-moved", ...args: any[]): void
731
-
732
- // Class property signals of Gtef-2.Gtef.Buffer
733
-
734
- connect(sigName: "notify::gtef-style-scheme-id", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
735
- connect_after(sigName: "notify::gtef-style-scheme-id", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
736
- emit(sigName: "notify::gtef-style-scheme-id", ...args: any[]): void
737
- connect(sigName: "notify::gtef-title", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
738
- connect_after(sigName: "notify::gtef-title", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
739
- emit(sigName: "notify::gtef-title", ...args: any[]): void
740
- connect(sigName: "notify::can-redo", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
741
- connect_after(sigName: "notify::can-redo", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
742
- emit(sigName: "notify::can-redo", ...args: any[]): void
743
- connect(sigName: "notify::can-undo", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
744
- connect_after(sigName: "notify::can-undo", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
745
- emit(sigName: "notify::can-undo", ...args: any[]): void
746
- connect(sigName: "notify::highlight-matching-brackets", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
747
- connect_after(sigName: "notify::highlight-matching-brackets", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
748
- emit(sigName: "notify::highlight-matching-brackets", ...args: any[]): void
749
- connect(sigName: "notify::highlight-syntax", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
750
- connect_after(sigName: "notify::highlight-syntax", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
751
- emit(sigName: "notify::highlight-syntax", ...args: any[]): void
752
- connect(sigName: "notify::implicit-trailing-newline", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
753
- connect_after(sigName: "notify::implicit-trailing-newline", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
754
- emit(sigName: "notify::implicit-trailing-newline", ...args: any[]): void
755
- connect(sigName: "notify::language", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
756
- connect_after(sigName: "notify::language", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
757
- emit(sigName: "notify::language", ...args: any[]): void
758
- connect(sigName: "notify::max-undo-levels", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
759
- connect_after(sigName: "notify::max-undo-levels", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
760
- emit(sigName: "notify::max-undo-levels", ...args: any[]): void
761
- connect(sigName: "notify::style-scheme", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
762
- connect_after(sigName: "notify::style-scheme", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
763
- emit(sigName: "notify::style-scheme", ...args: any[]): void
764
- connect(sigName: "notify::undo-manager", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
765
- connect_after(sigName: "notify::undo-manager", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
766
- emit(sigName: "notify::undo-manager", ...args: any[]): void
767
- connect(sigName: "notify::copy-target-list", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
768
- connect_after(sigName: "notify::copy-target-list", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
769
- emit(sigName: "notify::copy-target-list", ...args: any[]): void
770
- connect(sigName: "notify::cursor-position", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
771
- connect_after(sigName: "notify::cursor-position", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
772
- emit(sigName: "notify::cursor-position", ...args: any[]): void
773
- connect(sigName: "notify::has-selection", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
774
- connect_after(sigName: "notify::has-selection", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
775
- emit(sigName: "notify::has-selection", ...args: any[]): void
776
- connect(sigName: "notify::paste-target-list", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
777
- connect_after(sigName: "notify::paste-target-list", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
778
- emit(sigName: "notify::paste-target-list", ...args: any[]): void
779
- connect(sigName: "notify::tag-table", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
780
- connect_after(sigName: "notify::tag-table", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
781
- emit(sigName: "notify::tag-table", ...args: any[]): void
782
- connect(sigName: "notify::text", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
783
- connect_after(sigName: "notify::text", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
784
- emit(sigName: "notify::text", ...args: any[]): void
785
- connect(sigName: string, callback: (...args: any[]) => void): number
786
- connect_after(sigName: string, callback: (...args: any[]) => void): number
787
- emit(sigName: string, ...args: any[]): void
788
- disconnect(id: number): void
789
- }
790
-
791
- export class Buffer extends GtkSource.Buffer {
792
-
793
- // Own properties of Gtef-2.Gtef.Buffer
794
-
795
- static name: string
796
- static $gtype: GObject.GType<Buffer>
797
-
798
- // Constructors of Gtef-2.Gtef.Buffer
799
-
800
- constructor(config?: Buffer.ConstructorProperties)
801
- constructor()
802
- static new(): Buffer
803
-
804
- // Overloads of new
805
-
806
- /**
807
- * Creates a new source buffer.
808
- * @constructor
809
- * @param table a #GtkTextTagTable, or %NULL to create a new one.
810
- * @returns a new source buffer.
811
- */
812
- static new(table: Gtk.TextTagTable | null): GtkSource.Buffer
813
- /**
814
- * Creates a new text buffer.
815
- * @constructor
816
- * @param table a tag table, or %NULL to create a new one
817
- * @returns a new text buffer
818
- */
819
- static new(table: Gtk.TextTagTable | null): Gtk.TextBuffer
820
- _init(config?: Buffer.ConstructorProperties): void
821
- }
822
-
823
- export module File {
824
-
825
- // Constructor properties interface
826
-
827
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
828
-
829
- // Own constructor properties of Gtef-2.Gtef.File
830
-
831
- /**
832
- * The location.
833
- */
834
- location?: Gio.File | null
835
- }
836
-
837
- }
838
-
839
- export interface File {
840
-
841
- // Own properties of Gtef-2.Gtef.File
842
-
843
- /**
844
- * The compression type.
845
- */
846
- readonly compressionType: CompressionType
847
- /**
848
- * The character encoding, initially %NULL. After a successful file
849
- * loading or saving operation, the encoding is non-%NULL.
850
- */
851
- readonly encoding: Encoding
852
- /**
853
- * The location.
854
- */
855
- location: Gio.File
856
- /**
857
- * The line ending type.
858
- */
859
- readonly newlineType: NewlineType
860
- /**
861
- * Whether the file is read-only or not. The value of this property is
862
- * not updated automatically (there is no file monitors).
863
- */
864
- readonly readOnly: boolean
865
- /**
866
- * The file short name. See gtef_file_get_short_name().
867
- */
868
- readonly shortName: string | null
869
-
870
- // Own fields of Gtef-2.Gtef.File
871
-
872
- parent_instance: GObject.Object
873
-
874
- // Owm methods of Gtef-2.Gtef.File
875
-
876
- /**
877
- * Checks synchronously the file on disk, to know whether the file is externally
878
- * modified, or has been deleted, and whether the file is read-only.
879
- *
880
- * #GtefFile doesn't create a #GFileMonitor to track those properties, so
881
- * this function needs to be called instead. Creating lots of #GFileMonitor's
882
- * would take lots of resources.
883
- *
884
- * Since this function is synchronous, it is advised to call it only on local
885
- * files. See gtef_file_is_local().
886
- */
887
- check_file_on_disk(): void
888
- get_compression_type(): CompressionType
889
- /**
890
- * The encoding is initially %NULL. After a successful file loading or saving
891
- * operation, the encoding is non-%NULL.
892
- * @returns the character encoding.
893
- */
894
- get_encoding(): Encoding
895
- get_file_metadata(): FileMetadata
896
- get_location(): Gio.File
897
- get_newline_type(): NewlineType
898
- /**
899
- * Gets the `file` short name. If the #GtefFile:location isn't %NULL,
900
- * returns its display-name (see #G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME).
901
- * Otherwise returns "Untitled File N", with N the Nth untitled file of the
902
- * application, starting at 1. When an untitled file is closed, its number is
903
- * released and can be used by a later untitled file.
904
- * @returns the @file short name.
905
- */
906
- get_short_name(): string
907
- /**
908
- * Returns whether the file has been deleted. If the
909
- * #GtefFile:location is %NULL, returns %FALSE.
910
- *
911
- * To have an up-to-date value, you must first call
912
- * gtef_file_check_file_on_disk().
913
- * @returns whether the file has been deleted.
914
- */
915
- is_deleted(): boolean
916
- /**
917
- * Returns whether the file is externally modified. If the
918
- * #GtefFile:location is %NULL, returns %FALSE.
919
- *
920
- * To have an up-to-date value, you must first call
921
- * gtef_file_check_file_on_disk().
922
- * @returns whether the file is externally modified.
923
- */
924
- is_externally_modified(): boolean
925
- /**
926
- * Returns whether the file is local. If the #GtefFile:location is %NULL,
927
- * returns %FALSE.
928
- * @returns whether the file is local.
929
- */
930
- is_local(): boolean
931
- /**
932
- * Returns whether the file is read-only. If the
933
- * #GtefFile:location is %NULL, returns %FALSE.
934
- *
935
- * To have an up-to-date value, you must first call
936
- * gtef_file_check_file_on_disk().
937
- * @returns whether the file is read-only.
938
- */
939
- is_readonly(): boolean
940
- /**
941
- * Sets the location.
942
- * @param location the new #GFile, or %NULL.
943
- */
944
- set_location(location: Gio.File | null): void
945
-
946
- // Class property signals of Gtef-2.Gtef.File
947
-
948
- connect(sigName: "notify::compression-type", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
949
- connect_after(sigName: "notify::compression-type", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
950
- emit(sigName: "notify::compression-type", ...args: any[]): void
951
- connect(sigName: "notify::encoding", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
952
- connect_after(sigName: "notify::encoding", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
953
- emit(sigName: "notify::encoding", ...args: any[]): void
954
- connect(sigName: "notify::location", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
955
- connect_after(sigName: "notify::location", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
956
- emit(sigName: "notify::location", ...args: any[]): void
957
- connect(sigName: "notify::newline-type", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
958
- connect_after(sigName: "notify::newline-type", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
959
- emit(sigName: "notify::newline-type", ...args: any[]): void
960
- connect(sigName: "notify::read-only", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
961
- connect_after(sigName: "notify::read-only", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
962
- emit(sigName: "notify::read-only", ...args: any[]): void
963
- connect(sigName: "notify::short-name", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
964
- connect_after(sigName: "notify::short-name", callback: (($obj: File, pspec: GObject.ParamSpec) => void)): number
965
- emit(sigName: "notify::short-name", ...args: any[]): void
966
- connect(sigName: string, callback: (...args: any[]) => void): number
967
- connect_after(sigName: string, callback: (...args: any[]) => void): number
968
- emit(sigName: string, ...args: any[]): void
969
- disconnect(id: number): void
970
- }
971
-
972
- export class File extends GObject.Object {
973
-
974
- // Own properties of Gtef-2.Gtef.File
975
-
976
- static name: string
977
- static $gtype: GObject.GType<File>
978
-
979
- // Constructors of Gtef-2.Gtef.File
980
-
981
- constructor(config?: File.ConstructorProperties)
982
- constructor()
983
- static new(): File
984
- _init(config?: File.ConstructorProperties): void
985
- }
986
-
987
- export module FileLoader {
988
-
989
- // Constructor properties interface
990
-
991
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
992
-
993
- // Own constructor properties of Gtef-2.Gtef.FileLoader
994
-
995
- /**
996
- * The #GtefBuffer to load the content into. The #GtefFileLoader object
997
- * has a weak reference to the buffer.
998
- */
999
- buffer?: Buffer | null
1000
- /**
1001
- * The chunk size, in bytes. The content is loaded chunk by chunk. It
1002
- * permits to avoid allocating a too big contiguous memory area, as well
1003
- * as reporting progress information after each chunk read.
1004
- *
1005
- * A small chunk size is better when loading a remote file with a slow
1006
- * connection. For local files, the chunk size can be larger.
1007
- */
1008
- chunkSize?: number | null
1009
- /**
1010
- * The #GtefFile. The #GtefFileLoader object has a weak
1011
- * reference to the file.
1012
- */
1013
- file?: File | null
1014
- /**
1015
- * The #GFile to load. By default the location is taken from the
1016
- * #GtefFile at construction time.
1017
- */
1018
- location?: Gio.File | null
1019
- /**
1020
- * The maximum content size, in bytes. Keep in mind that all the
1021
- * content is loaded in memory, and when loaded into a #GtkTextBuffer
1022
- * it takes more memory than just the content size.
1023
- *
1024
- * Set to -1 for unlimited size.
1025
- */
1026
- maxSize?: number | null
1027
- }
1028
-
1029
- }
1030
-
1031
- export interface FileLoader {
1032
-
1033
- // Own properties of Gtef-2.Gtef.FileLoader
1034
-
1035
- /**
1036
- * The #GtefBuffer to load the content into. The #GtefFileLoader object
1037
- * has a weak reference to the buffer.
1038
- */
1039
- readonly buffer: Buffer
1040
- /**
1041
- * The chunk size, in bytes. The content is loaded chunk by chunk. It
1042
- * permits to avoid allocating a too big contiguous memory area, as well
1043
- * as reporting progress information after each chunk read.
1044
- *
1045
- * A small chunk size is better when loading a remote file with a slow
1046
- * connection. For local files, the chunk size can be larger.
1047
- */
1048
- chunkSize: number
1049
- /**
1050
- * The #GtefFile. The #GtefFileLoader object has a weak
1051
- * reference to the file.
1052
- */
1053
- readonly file: File
1054
- /**
1055
- * The #GFile to load. By default the location is taken from the
1056
- * #GtefFile at construction time.
1057
- */
1058
- readonly location: Gio.File
1059
- /**
1060
- * The maximum content size, in bytes. Keep in mind that all the
1061
- * content is loaded in memory, and when loaded into a #GtkTextBuffer
1062
- * it takes more memory than just the content size.
1063
- *
1064
- * Set to -1 for unlimited size.
1065
- */
1066
- maxSize: number
1067
-
1068
- // Own fields of Gtef-2.Gtef.FileLoader
1069
-
1070
- parent_instance: GObject.Object
1071
-
1072
- // Owm methods of Gtef-2.Gtef.FileLoader
1073
-
1074
- get_buffer(): Buffer | null
1075
- get_chunk_size(): number
1076
- get_encoding(): Encoding | null
1077
- get_file(): File | null
1078
- get_location(): Gio.File | null
1079
- get_max_size(): number
1080
- get_newline_type(): NewlineType
1081
- /**
1082
- * Loads asynchronously the file content into the #GtefBuffer.
1083
- *
1084
- * See the #GAsyncResult documentation to know how to use this function.
1085
- * @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
1086
- * @param cancellable optional #GCancellable object, %NULL to ignore.
1087
- * @param progress_callback function to call back with progress information, or %NULL if progress information is not needed.
1088
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied.
1089
- */
1090
- load_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null, callback: Gio.AsyncReadyCallback<this> | null): void
1091
-
1092
- // Overloads of load_async
1093
-
1094
- /**
1095
- * Promisified version of {@link load_async}
1096
- *
1097
- * Loads asynchronously the file content into the #GtefBuffer.
1098
- *
1099
- * See the #GAsyncResult documentation to know how to use this function.
1100
- * @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
1101
- * @param cancellable optional #GCancellable object, %NULL to ignore.
1102
- * @param progress_callback function to call back with progress information, or %NULL if progress information is not needed.
1103
- * @returns A Promise of: whether the content has been loaded successfully.
1104
- */
1105
- load_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null): globalThis.Promise<boolean>
1106
- /**
1107
- * Finishes a file loading started with gtef_file_loader_load_async().
1108
- * @param result a #GAsyncResult.
1109
- * @returns whether the content has been loaded successfully.
1110
- */
1111
- load_finish(result: Gio.AsyncResult): boolean
1112
- set_chunk_size(chunk_size: number): void
1113
- set_max_size(max_size: number): void
1114
-
1115
- // Class property signals of Gtef-2.Gtef.FileLoader
1116
-
1117
- connect(sigName: "notify::buffer", callback: (($obj: FileLoader, pspec: GObject.ParamSpec) => void)): number
1118
- connect_after(sigName: "notify::buffer", callback: (($obj: FileLoader, pspec: GObject.ParamSpec) => void)): number
1119
- emit(sigName: "notify::buffer", ...args: any[]): void
1120
- connect(sigName: "notify::chunk-size", callback: (($obj: FileLoader, pspec: GObject.ParamSpec) => void)): number
1121
- connect_after(sigName: "notify::chunk-size", callback: (($obj: FileLoader, pspec: GObject.ParamSpec) => void)): number
1122
- emit(sigName: "notify::chunk-size", ...args: any[]): void
1123
- connect(sigName: "notify::file", callback: (($obj: FileLoader, pspec: GObject.ParamSpec) => void)): number
1124
- connect_after(sigName: "notify::file", callback: (($obj: FileLoader, pspec: GObject.ParamSpec) => void)): number
1125
- emit(sigName: "notify::file", ...args: any[]): void
1126
- connect(sigName: "notify::location", callback: (($obj: FileLoader, pspec: GObject.ParamSpec) => void)): number
1127
- connect_after(sigName: "notify::location", callback: (($obj: FileLoader, pspec: GObject.ParamSpec) => void)): number
1128
- emit(sigName: "notify::location", ...args: any[]): void
1129
- connect(sigName: "notify::max-size", callback: (($obj: FileLoader, pspec: GObject.ParamSpec) => void)): number
1130
- connect_after(sigName: "notify::max-size", callback: (($obj: FileLoader, pspec: GObject.ParamSpec) => void)): number
1131
- emit(sigName: "notify::max-size", ...args: any[]): void
1132
- connect(sigName: string, callback: (...args: any[]) => void): number
1133
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1134
- emit(sigName: string, ...args: any[]): void
1135
- disconnect(id: number): void
1136
- }
1137
-
1138
- export class FileLoader extends GObject.Object {
1139
-
1140
- // Own properties of Gtef-2.Gtef.FileLoader
1141
-
1142
- static name: string
1143
- static $gtype: GObject.GType<FileLoader>
1144
-
1145
- // Constructors of Gtef-2.Gtef.FileLoader
1146
-
1147
- constructor(config?: FileLoader.ConstructorProperties)
1148
- /**
1149
- * Creates a new #GtefFileLoader object. The content is read from the #GtefFile
1150
- * location.
1151
- *
1152
- * If not already done, call gtef_file_set_location() before calling this
1153
- * constructor. The previous location is anyway not needed, because as soon as
1154
- * the file loading begins, the `buffer` is emptied. Setting the #GtefFile
1155
- * location directly permits to update the UI, to display the good location when
1156
- * the file is loading.
1157
- * @constructor
1158
- * @param buffer the #GtefBuffer to load the content into.
1159
- * @param file the #GtefFile.
1160
- * @returns a new #GtefFileLoader object.
1161
- */
1162
- constructor(buffer: Buffer, file: File)
1163
- /**
1164
- * Creates a new #GtefFileLoader object. The content is read from the #GtefFile
1165
- * location.
1166
- *
1167
- * If not already done, call gtef_file_set_location() before calling this
1168
- * constructor. The previous location is anyway not needed, because as soon as
1169
- * the file loading begins, the `buffer` is emptied. Setting the #GtefFile
1170
- * location directly permits to update the UI, to display the good location when
1171
- * the file is loading.
1172
- * @constructor
1173
- * @param buffer the #GtefBuffer to load the content into.
1174
- * @param file the #GtefFile.
1175
- * @returns a new #GtefFileLoader object.
1176
- */
1177
- static new(buffer: Buffer, file: File): FileLoader
1178
- _init(config?: FileLoader.ConstructorProperties): void
1179
- }
1180
-
1181
- export module FileMetadata {
1182
-
1183
- // Constructor properties interface
1184
-
1185
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1186
-
1187
- // Own constructor properties of Gtef-2.Gtef.FileMetadata
1188
-
1189
- /**
1190
- * The #GtefFile that the metadata belong to.
1191
- */
1192
- file?: File | null
1193
- }
1194
-
1195
- }
1196
-
1197
- export interface FileMetadata {
1198
-
1199
- // Own properties of Gtef-2.Gtef.FileMetadata
1200
-
1201
- /**
1202
- * The #GtefFile that the metadata belong to.
1203
- */
1204
- readonly file: File
1205
-
1206
- // Own fields of Gtef-2.Gtef.FileMetadata
1207
-
1208
- parent_instance: GObject.Object
1209
-
1210
- // Owm methods of Gtef-2.Gtef.FileMetadata
1211
-
1212
- /**
1213
- * Gets the value of a metadata stored in the `metadata` object memory.
1214
- * @param key the name of the metadata.
1215
- * @returns the value of the metadata, or %NULL if the metadata doesn't exist. Free with g_free().
1216
- */
1217
- get(key: string): string | null
1218
- get_file(): File
1219
- /**
1220
- * Loads synchronously the metadata from #GtefFile:location. The loaded
1221
- * metadata values can then be accessed with gtef_file_metadata_get().
1222
- *
1223
- * If the metadata are loaded successfully, this function deletes all previous
1224
- * metadata stored in the `metadata` object memory.
1225
- *
1226
- * The file at #GtefFile:location, if non-%NULL, must exist on the
1227
- * filesystem, otherwise an error is returned.
1228
- *
1229
- * If #GtefFile:location is %NULL, %FALSE is simply returned.
1230
- * @param cancellable optional #GCancellable object, %NULL to ignore.
1231
- * @returns whether the metadata was loaded successfully.
1232
- */
1233
- load(cancellable: Gio.Cancellable | null): boolean
1234
- /**
1235
- * The asynchronous version of gtef_file_metadata_load().
1236
- *
1237
- * If the metadata is loaded from the metadata manager (i.e. not with GVfs),
1238
- * this function loads the metadata synchronously. A future version might fix
1239
- * this.
1240
- *
1241
- * See the #GAsyncResult documentation to know how to use this function.
1242
- * @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
1243
- * @param cancellable optional #GCancellable object, %NULL to ignore.
1244
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied.
1245
- */
1246
- load_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1247
-
1248
- // Overloads of load_async
1249
-
1250
- /**
1251
- * Promisified version of {@link load_async}
1252
- *
1253
- * The asynchronous version of gtef_file_metadata_load().
1254
- *
1255
- * If the metadata is loaded from the metadata manager (i.e. not with GVfs),
1256
- * this function loads the metadata synchronously. A future version might fix
1257
- * this.
1258
- *
1259
- * See the #GAsyncResult documentation to know how to use this function.
1260
- * @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
1261
- * @param cancellable optional #GCancellable object, %NULL to ignore.
1262
- * @returns A Promise of: whether the metadata was loaded successfully.
1263
- */
1264
- load_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
1265
- /**
1266
- * Finishes the metadata loading started with gtef_file_metadata_load_async().
1267
- * @param result a #GAsyncResult.
1268
- * @returns whether the metadata was loaded successfully.
1269
- */
1270
- load_finish(result: Gio.AsyncResult): boolean
1271
- /**
1272
- * Saves synchronously the metadata for #GtefFile:location.
1273
- *
1274
- * The file at #GtefFile:location, if non-%NULL, must exist on the
1275
- * filesystem, otherwise an error is returned.
1276
- *
1277
- * If #GtefFile:location is %NULL, %FALSE is simply returned.
1278
- * @param cancellable optional #GCancellable object, %NULL to ignore.
1279
- * @returns whether the metadata was saved successfully.
1280
- */
1281
- save(cancellable: Gio.Cancellable | null): boolean
1282
- /**
1283
- * The asynchronous version of gtef_file_metadata_save().
1284
- *
1285
- * If the metadata is saved with the metadata manager (i.e. not with GVfs), this
1286
- * function saves the metadata synchronously. A future version might fix this.
1287
- *
1288
- * See the #GAsyncResult documentation to know how to use this function.
1289
- * @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
1290
- * @param cancellable optional #GCancellable object, %NULL to ignore.
1291
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied.
1292
- */
1293
- save_async(io_priority: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
1294
-
1295
- // Overloads of save_async
1296
-
1297
- /**
1298
- * Promisified version of {@link save_async}
1299
- *
1300
- * The asynchronous version of gtef_file_metadata_save().
1301
- *
1302
- * If the metadata is saved with the metadata manager (i.e. not with GVfs), this
1303
- * function saves the metadata synchronously. A future version might fix this.
1304
- *
1305
- * See the #GAsyncResult documentation to know how to use this function.
1306
- * @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
1307
- * @param cancellable optional #GCancellable object, %NULL to ignore.
1308
- * @returns A Promise of: whether the metadata was saved successfully.
1309
- */
1310
- save_async(io_priority: number, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
1311
- /**
1312
- * Finishes the metadata saving started with gtef_file_metadata_save_async().
1313
- * @param result a #GAsyncResult.
1314
- * @returns whether the metadata was saved successfully.
1315
- */
1316
- save_finish(result: Gio.AsyncResult): boolean
1317
- /**
1318
- * Sets the value of a metadata. It's preferable that `key` starts with a
1319
- * namespace, to not get metadata conflicts between applications.
1320
- *
1321
- * This function just stores the new metadata value in the `metadata` object
1322
- * memory.
1323
- * @param key the name of the metadata.
1324
- * @param value the value of the metadata, or %NULL to unset.
1325
- */
1326
- set(key: string, value: string | null): void
1327
-
1328
- // Class property signals of Gtef-2.Gtef.FileMetadata
1329
-
1330
- connect(sigName: "notify::file", callback: (($obj: FileMetadata, pspec: GObject.ParamSpec) => void)): number
1331
- connect_after(sigName: "notify::file", callback: (($obj: FileMetadata, pspec: GObject.ParamSpec) => void)): number
1332
- emit(sigName: "notify::file", ...args: any[]): void
1333
- connect(sigName: string, callback: (...args: any[]) => void): number
1334
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1335
- emit(sigName: string, ...args: any[]): void
1336
- disconnect(id: number): void
1337
- }
1338
-
1339
- export class FileMetadata extends GObject.Object {
1340
-
1341
- // Own properties of Gtef-2.Gtef.FileMetadata
1342
-
1343
- static name: string
1344
- static $gtype: GObject.GType<FileMetadata>
1345
-
1346
- // Constructors of Gtef-2.Gtef.FileMetadata
1347
-
1348
- constructor(config?: FileMetadata.ConstructorProperties)
1349
- constructor(file: File)
1350
- static new(file: File): FileMetadata
1351
- _init(config?: FileMetadata.ConstructorProperties): void
1352
- }
1353
-
1354
- export module FileSaver {
1355
-
1356
- // Constructor properties interface
1357
-
1358
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1359
-
1360
- // Own constructor properties of Gtef-2.Gtef.FileSaver
1361
-
1362
- /**
1363
- * The #GtefBuffer to save. The #GtefFileSaver object has a weak
1364
- * reference to the buffer.
1365
- */
1366
- buffer?: GtkSource.Buffer | null
1367
- /**
1368
- * The compression type.
1369
- */
1370
- compressionType?: GtkSource.CompressionType | null
1371
- /**
1372
- * The file's encoding.
1373
- */
1374
- encoding?: Encoding | null
1375
- /**
1376
- * The #GtefFile. The #GtefFileSaver object has a weak
1377
- * reference to the file.
1378
- */
1379
- file?: File | null
1380
- /**
1381
- * File saving flags.
1382
- */
1383
- flags?: FileSaverFlags | null
1384
- /**
1385
- * The #GFile where to save the buffer. By default the location is taken
1386
- * from the #GtefFile at construction time.
1387
- */
1388
- location?: Gio.File | null
1389
- /**
1390
- * The newline type.
1391
- */
1392
- newlineType?: GtkSource.NewlineType | null
1393
- }
1394
-
1395
- }
1396
-
1397
- export interface FileSaver {
1398
-
1399
- // Own properties of Gtef-2.Gtef.FileSaver
1400
-
1401
- /**
1402
- * The #GtefBuffer to save. The #GtefFileSaver object has a weak
1403
- * reference to the buffer.
1404
- */
1405
- readonly buffer: GtkSource.Buffer
1406
- /**
1407
- * The compression type.
1408
- */
1409
- compressionType: GtkSource.CompressionType
1410
- /**
1411
- * The file's encoding.
1412
- */
1413
- encoding: Encoding
1414
- /**
1415
- * The #GtefFile. The #GtefFileSaver object has a weak
1416
- * reference to the file.
1417
- */
1418
- readonly file: File
1419
- /**
1420
- * File saving flags.
1421
- */
1422
- flags: FileSaverFlags
1423
- /**
1424
- * The #GFile where to save the buffer. By default the location is taken
1425
- * from the #GtefFile at construction time.
1426
- */
1427
- readonly location: Gio.File
1428
- /**
1429
- * The newline type.
1430
- */
1431
- newlineType: GtkSource.NewlineType
1432
-
1433
- // Own fields of Gtef-2.Gtef.FileSaver
1434
-
1435
- object: GObject.Object
1436
- priv: FileSaverPrivate
1437
-
1438
- // Owm methods of Gtef-2.Gtef.FileSaver
1439
-
1440
- get_buffer(): Buffer
1441
- get_compression_type(): CompressionType
1442
- get_encoding(): Encoding
1443
- get_file(): File
1444
- get_flags(): FileSaverFlags
1445
- get_location(): Gio.File
1446
- get_newline_type(): NewlineType
1447
- /**
1448
- * Saves asynchronously the buffer into the file. See the #GAsyncResult
1449
- * documentation to know how to use this function.
1450
- * @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
1451
- * @param cancellable optional #GCancellable object, %NULL to ignore.
1452
- * @param progress_callback function to call back with progress information, or %NULL if progress information is not needed.
1453
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied.
1454
- */
1455
- save_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null, callback: Gio.AsyncReadyCallback<this> | null): void
1456
-
1457
- // Overloads of save_async
1458
-
1459
- /**
1460
- * Promisified version of {@link save_async}
1461
- *
1462
- * Saves asynchronously the buffer into the file. See the #GAsyncResult
1463
- * documentation to know how to use this function.
1464
- * @param io_priority the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
1465
- * @param cancellable optional #GCancellable object, %NULL to ignore.
1466
- * @param progress_callback function to call back with progress information, or %NULL if progress information is not needed.
1467
- * @returns A Promise of: whether the file was saved successfully.
1468
- */
1469
- save_async(io_priority: number, cancellable: Gio.Cancellable | null, progress_callback: Gio.FileProgressCallback | null): globalThis.Promise<boolean>
1470
- /**
1471
- * Finishes a file saving started with gtef_file_saver_save_async().
1472
- *
1473
- * If the file has been saved successfully, the following #GtefFile
1474
- * properties will be updated: the location, the encoding, the newline type and
1475
- * the compression type.
1476
- *
1477
- * gtk_text_buffer_set_modified() is called with %FALSE if the file has been
1478
- * saved successfully.
1479
- * @param result a #GAsyncResult.
1480
- * @returns whether the file was saved successfully.
1481
- */
1482
- save_finish(result: Gio.AsyncResult): boolean
1483
- /**
1484
- * Sets the compression type. By default the compression type is taken from the
1485
- * #GtefFile.
1486
- * @param compression_type the new compression type.
1487
- */
1488
- set_compression_type(compression_type: CompressionType): void
1489
- /**
1490
- * Sets the encoding. If `encoding` is %NULL, the UTF-8 encoding will be set.
1491
- * By default the encoding is taken from the #GtefFile.
1492
- * @param encoding the new encoding, or %NULL for UTF-8.
1493
- */
1494
- set_encoding(encoding: Encoding | null): void
1495
- set_flags(flags: FileSaverFlags): void
1496
- /**
1497
- * Sets the newline type. By default the newline type is taken from the
1498
- * #GtefFile.
1499
- * @param newline_type the new newline type.
1500
- */
1501
- set_newline_type(newline_type: NewlineType): void
1502
-
1503
- // Class property signals of Gtef-2.Gtef.FileSaver
1504
-
1505
- connect(sigName: "notify::buffer", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1506
- connect_after(sigName: "notify::buffer", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1507
- emit(sigName: "notify::buffer", ...args: any[]): void
1508
- connect(sigName: "notify::compression-type", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1509
- connect_after(sigName: "notify::compression-type", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1510
- emit(sigName: "notify::compression-type", ...args: any[]): void
1511
- connect(sigName: "notify::encoding", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1512
- connect_after(sigName: "notify::encoding", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1513
- emit(sigName: "notify::encoding", ...args: any[]): void
1514
- connect(sigName: "notify::file", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1515
- connect_after(sigName: "notify::file", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1516
- emit(sigName: "notify::file", ...args: any[]): void
1517
- connect(sigName: "notify::flags", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1518
- connect_after(sigName: "notify::flags", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1519
- emit(sigName: "notify::flags", ...args: any[]): void
1520
- connect(sigName: "notify::location", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1521
- connect_after(sigName: "notify::location", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1522
- emit(sigName: "notify::location", ...args: any[]): void
1523
- connect(sigName: "notify::newline-type", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1524
- connect_after(sigName: "notify::newline-type", callback: (($obj: FileSaver, pspec: GObject.ParamSpec) => void)): number
1525
- emit(sigName: "notify::newline-type", ...args: any[]): void
1526
- connect(sigName: string, callback: (...args: any[]) => void): number
1527
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1528
- emit(sigName: string, ...args: any[]): void
1529
- disconnect(id: number): void
1530
- }
1531
-
1532
- export class FileSaver extends GObject.Object {
1533
-
1534
- // Own properties of Gtef-2.Gtef.FileSaver
1535
-
1536
- static name: string
1537
- static $gtype: GObject.GType<FileSaver>
1538
-
1539
- // Constructors of Gtef-2.Gtef.FileSaver
1540
-
1541
- constructor(config?: FileSaver.ConstructorProperties)
1542
- /**
1543
- * Creates a new #GtefFileSaver object. The `buffer` will be saved to the
1544
- * #GtefFile's location.
1545
- *
1546
- * This constructor is suitable for a simple "save" operation, when the `file`
1547
- * already contains a non-%NULL #GtefFile:location.
1548
- * @constructor
1549
- * @param buffer the #GtefBuffer to save.
1550
- * @param file the #GtefFile.
1551
- * @returns a new #GtefFileSaver object.
1552
- */
1553
- constructor(buffer: Buffer, file: File)
1554
- /**
1555
- * Creates a new #GtefFileSaver object. The `buffer` will be saved to the
1556
- * #GtefFile's location.
1557
- *
1558
- * This constructor is suitable for a simple "save" operation, when the `file`
1559
- * already contains a non-%NULL #GtefFile:location.
1560
- * @constructor
1561
- * @param buffer the #GtefBuffer to save.
1562
- * @param file the #GtefFile.
1563
- * @returns a new #GtefFileSaver object.
1564
- */
1565
- static new(buffer: Buffer, file: File): FileSaver
1566
- /**
1567
- * Creates a new #GtefFileSaver object with a target location. When the
1568
- * file saving is finished successfully, `target_location` is set to the `file'`s
1569
- * #GtefFile:location property. If an error occurs, the previous valid
1570
- * location is still available in #GtefFile.
1571
- *
1572
- * This constructor adds %GTEF_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME to the
1573
- * #GtefFileSaver:flags property.
1574
- *
1575
- * This constructor is suitable for a "save as" operation, or for saving a new
1576
- * buffer for the first time.
1577
- * @constructor
1578
- * @param buffer the #GtefBuffer to save.
1579
- * @param file the #GtefFile.
1580
- * @param target_location the #GFile where to save the buffer to.
1581
- * @returns a new #GtefFileSaver object.
1582
- */
1583
- static new_with_target(buffer: Buffer, file: File, target_location: Gio.File): FileSaver
1584
- _init(config?: FileSaver.ConstructorProperties): void
1585
- }
1586
-
1587
- export module FoldRegion {
1588
-
1589
- // Constructor properties interface
1590
-
1591
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1592
-
1593
- // Own constructor properties of Gtef-2.Gtef.FoldRegion
1594
-
1595
- /**
1596
- * The #GtkTextBuffer where the fold region is applied. The
1597
- * #GtefFoldRegion object has a weak reference to the buffer.
1598
- */
1599
- buffer?: Gtk.TextBuffer | null
1600
- /**
1601
- * Whether the #GtefFoldRegion is folded or not.
1602
- */
1603
- folded?: boolean | null
1604
- }
1605
-
1606
- }
1607
-
1608
- export interface FoldRegion {
1609
-
1610
- // Own properties of Gtef-2.Gtef.FoldRegion
1611
-
1612
- /**
1613
- * The #GtkTextBuffer where the fold region is applied. The
1614
- * #GtefFoldRegion object has a weak reference to the buffer.
1615
- */
1616
- readonly buffer: Gtk.TextBuffer
1617
- /**
1618
- * Whether the #GtefFoldRegion is folded or not.
1619
- */
1620
- folded: boolean
1621
-
1622
- // Own fields of Gtef-2.Gtef.FoldRegion
1623
-
1624
- parent_instance: GObject.Object
1625
-
1626
- // Owm methods of Gtef-2.Gtef.FoldRegion
1627
-
1628
- /**
1629
- * Obtains iterators pointing to the start and end of the #GtefFoldRegion.
1630
- * @returns %TRUE on success, %FALSE otherwise.
1631
- */
1632
- get_bounds(): [ /* returnType */ boolean, /* start */ Gtk.TextIter, /* end */ Gtk.TextIter ]
1633
- get_buffer(): Gtk.TextBuffer | null
1634
- get_folded(): boolean
1635
- /**
1636
- * Sets the start and end of the #GtefFoldRegion.
1637
- * @param start a #GtkTextIter.
1638
- * @param end a #GtkTextIter.
1639
- */
1640
- set_bounds(start: Gtk.TextIter, end: Gtk.TextIter): void
1641
- /**
1642
- * Folds or unfolds the region.
1643
- * @param folded the new value.
1644
- */
1645
- set_folded(folded: boolean): void
1646
-
1647
- // Class property signals of Gtef-2.Gtef.FoldRegion
1648
-
1649
- connect(sigName: "notify::buffer", callback: (($obj: FoldRegion, pspec: GObject.ParamSpec) => void)): number
1650
- connect_after(sigName: "notify::buffer", callback: (($obj: FoldRegion, pspec: GObject.ParamSpec) => void)): number
1651
- emit(sigName: "notify::buffer", ...args: any[]): void
1652
- connect(sigName: "notify::folded", callback: (($obj: FoldRegion, pspec: GObject.ParamSpec) => void)): number
1653
- connect_after(sigName: "notify::folded", callback: (($obj: FoldRegion, pspec: GObject.ParamSpec) => void)): number
1654
- emit(sigName: "notify::folded", ...args: any[]): void
1655
- connect(sigName: string, callback: (...args: any[]) => void): number
1656
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1657
- emit(sigName: string, ...args: any[]): void
1658
- disconnect(id: number): void
1659
- }
1660
-
1661
- export class FoldRegion extends GObject.Object {
1662
-
1663
- // Own properties of Gtef-2.Gtef.FoldRegion
1664
-
1665
- static name: string
1666
- static $gtype: GObject.GType<FoldRegion>
1667
-
1668
- // Constructors of Gtef-2.Gtef.FoldRegion
1669
-
1670
- constructor(config?: FoldRegion.ConstructorProperties)
1671
- constructor(buffer: Gtk.TextBuffer, start: Gtk.TextIter, end: Gtk.TextIter)
1672
- static new(buffer: Gtk.TextBuffer, start: Gtk.TextIter, end: Gtk.TextIter): FoldRegion
1673
- _init(config?: FoldRegion.ConstructorProperties): void
1674
- }
1675
-
1676
- export module GutterRendererFolds {
1677
-
1678
- // Constructor properties interface
1679
-
1680
- export interface ConstructorProperties extends GtkSource.GutterRenderer.ConstructorProperties {
1681
- }
1682
-
1683
- }
1684
-
1685
- export interface GutterRendererFolds {
1686
-
1687
- // Own fields of Gtef-2.Gtef.GutterRendererFolds
1688
-
1689
- parent_instance: GtkSource.GutterRenderer
1690
-
1691
- // Owm methods of Gtef-2.Gtef.GutterRendererFolds
1692
-
1693
- /**
1694
- * Sets the folding state of the next cell to be drawn.
1695
- *
1696
- * This function is intended to be called from a subclass' draw method before
1697
- * chaining-up to its parent's draw method.
1698
- * @param state a #GtefGutterRendererFoldsState.
1699
- */
1700
- set_state(state: GutterRendererFoldsState): void
1701
-
1702
- // Class property signals of Gtef-2.Gtef.GutterRendererFolds
1703
-
1704
- connect(sigName: "notify::alignment-mode", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1705
- connect_after(sigName: "notify::alignment-mode", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1706
- emit(sigName: "notify::alignment-mode", ...args: any[]): void
1707
- connect(sigName: "notify::background-rgba", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1708
- connect_after(sigName: "notify::background-rgba", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1709
- emit(sigName: "notify::background-rgba", ...args: any[]): void
1710
- connect(sigName: "notify::background-set", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1711
- connect_after(sigName: "notify::background-set", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1712
- emit(sigName: "notify::background-set", ...args: any[]): void
1713
- connect(sigName: "notify::size", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1714
- connect_after(sigName: "notify::size", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1715
- emit(sigName: "notify::size", ...args: any[]): void
1716
- connect(sigName: "notify::view", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1717
- connect_after(sigName: "notify::view", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1718
- emit(sigName: "notify::view", ...args: any[]): void
1719
- connect(sigName: "notify::visible", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1720
- connect_after(sigName: "notify::visible", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1721
- emit(sigName: "notify::visible", ...args: any[]): void
1722
- connect(sigName: "notify::window-type", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1723
- connect_after(sigName: "notify::window-type", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1724
- emit(sigName: "notify::window-type", ...args: any[]): void
1725
- connect(sigName: "notify::xalign", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1726
- connect_after(sigName: "notify::xalign", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1727
- emit(sigName: "notify::xalign", ...args: any[]): void
1728
- connect(sigName: "notify::xpad", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1729
- connect_after(sigName: "notify::xpad", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1730
- emit(sigName: "notify::xpad", ...args: any[]): void
1731
- connect(sigName: "notify::yalign", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1732
- connect_after(sigName: "notify::yalign", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1733
- emit(sigName: "notify::yalign", ...args: any[]): void
1734
- connect(sigName: "notify::ypad", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1735
- connect_after(sigName: "notify::ypad", callback: (($obj: GutterRendererFolds, pspec: GObject.ParamSpec) => void)): number
1736
- emit(sigName: "notify::ypad", ...args: any[]): void
1737
- connect(sigName: string, callback: (...args: any[]) => void): number
1738
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1739
- emit(sigName: string, ...args: any[]): void
1740
- disconnect(id: number): void
1741
- }
1742
-
1743
- export class GutterRendererFolds extends GtkSource.GutterRenderer {
1744
-
1745
- // Own properties of Gtef-2.Gtef.GutterRendererFolds
1746
-
1747
- static name: string
1748
- static $gtype: GObject.GType<GutterRendererFolds>
1749
-
1750
- // Constructors of Gtef-2.Gtef.GutterRendererFolds
1751
-
1752
- constructor(config?: GutterRendererFolds.ConstructorProperties)
1753
- constructor()
1754
- static new(): GutterRendererFolds
1755
- _init(config?: GutterRendererFolds.ConstructorProperties): void
1756
- }
1757
-
1758
- export module InfoBar {
1759
-
1760
- // Constructor properties interface
1761
-
1762
- export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Orientable.ConstructorProperties, Gtk.InfoBar.ConstructorProperties {
1763
- }
1764
-
1765
- }
1766
-
1767
- export interface InfoBar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
1768
-
1769
- // Conflicting properties
1770
-
1771
- parent: Gtk.Box & Gtk.Container & Gtk.Container
1772
-
1773
- // Own fields of Gtef-2.Gtef.InfoBar
1774
-
1775
- parent_instance: Gtk.InfoBar & GObject.InitiallyUnowned
1776
-
1777
- // Owm methods of Gtef-2.Gtef.InfoBar
1778
-
1779
- /**
1780
- * Calls gtk_info_bar_set_show_close_button(), and additionnally closes the
1781
- * `info_bar` when the #GtkInfoBar::response signal is received with the
1782
- * `response_id` %GTK_RESPONSE_CLOSE.
1783
- */
1784
- add_close_button(): void
1785
- /**
1786
- * Adds `content` to `info_bar`.
1787
- *
1788
- * #GtefInfoBar has an internal container, to be able to add the icon and add
1789
- * primary or secondary messages. The internal container is added to the content
1790
- * area, as returned by gtk_info_bar_get_content_area(). So if you use a
1791
- * #GtefInfoBar and you need to add a custom #GtkWidget, it is better to use
1792
- * this function instead of adding the #GtkWidget directly to the content area.
1793
- * @param content a #GtkWidget.
1794
- */
1795
- add_content_widget(content: Gtk.Widget): void
1796
- /**
1797
- * Adds an icon on the left, determined by the message type. So before calling
1798
- * this function, gtk_info_bar_set_message_type() must have been called.
1799
- *
1800
- * The icon is not updated when the message type changes. Another #GtefInfoBar
1801
- * must be created in that case.
1802
- */
1803
- add_icon(): void
1804
- /**
1805
- * Adds a primary message.
1806
- * @param primary_msg a primary message.
1807
- */
1808
- add_primary_message(primary_msg: string): void
1809
- /**
1810
- * Adds a secondary message.
1811
- * @param secondary_msg a secondary message.
1812
- */
1813
- add_secondary_message(secondary_msg: string): void
1814
-
1815
- // Conflicting methods
1816
-
1817
- /**
1818
- * Emits a #GtkWidget::child-notify signal for the
1819
- * [child property][child-properties]
1820
- * `child_property` on the child.
1821
- *
1822
- * This is an analogue of g_object_notify() for child properties.
1823
- *
1824
- * Also see gtk_widget_child_notify().
1825
- * @param child the child widget
1826
- * @param child_property the name of a child property installed on the class of `container`
1827
- */
1828
- child_notify(child: Gtk.Widget, child_property: string): void
1829
-
1830
- // Overloads of child_notify
1831
-
1832
- /**
1833
- * Emits a #GtkWidget::child-notify signal for the
1834
- * [child property][child-properties] `child_property`
1835
- * on `widget`.
1836
- *
1837
- * This is the analogue of g_object_notify() for child properties.
1838
- *
1839
- * Also see gtk_container_child_notify().
1840
- * @param child_property the name of a child property installed on the class of `widget’`s parent
1841
- */
1842
- child_notify(child_property: string): void
1843
- /**
1844
- * Emits a #GtkWidget::child-notify signal for the
1845
- * [child property][child-properties] `child_property`
1846
- * on `widget`.
1847
- *
1848
- * This is the analogue of g_object_notify() for child properties.
1849
- *
1850
- * Also see gtk_container_child_notify().
1851
- * @param child_property the name of a child property installed on the class of `widget’`s parent
1852
- */
1853
- child_notify(child_property: string): void
1854
-
1855
- // Class property signals of Gtef-2.Gtef.InfoBar
1856
-
1857
- connect(sigName: "notify::message-type", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1858
- connect_after(sigName: "notify::message-type", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1859
- emit(sigName: "notify::message-type", ...args: any[]): void
1860
- connect(sigName: "notify::revealed", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1861
- connect_after(sigName: "notify::revealed", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1862
- emit(sigName: "notify::revealed", ...args: any[]): void
1863
- connect(sigName: "notify::show-close-button", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1864
- connect_after(sigName: "notify::show-close-button", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1865
- emit(sigName: "notify::show-close-button", ...args: any[]): void
1866
- connect(sigName: "notify::baseline-position", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1867
- connect_after(sigName: "notify::baseline-position", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1868
- emit(sigName: "notify::baseline-position", ...args: any[]): void
1869
- connect(sigName: "notify::homogeneous", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1870
- connect_after(sigName: "notify::homogeneous", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1871
- emit(sigName: "notify::homogeneous", ...args: any[]): void
1872
- connect(sigName: "notify::spacing", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1873
- connect_after(sigName: "notify::spacing", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1874
- emit(sigName: "notify::spacing", ...args: any[]): void
1875
- connect(sigName: "notify::border-width", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1876
- connect_after(sigName: "notify::border-width", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1877
- emit(sigName: "notify::border-width", ...args: any[]): void
1878
- connect(sigName: "notify::child", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1879
- connect_after(sigName: "notify::child", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1880
- emit(sigName: "notify::child", ...args: any[]): void
1881
- connect(sigName: "notify::resize-mode", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1882
- connect_after(sigName: "notify::resize-mode", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1883
- emit(sigName: "notify::resize-mode", ...args: any[]): void
1884
- connect(sigName: "notify::app-paintable", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1885
- connect_after(sigName: "notify::app-paintable", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1886
- emit(sigName: "notify::app-paintable", ...args: any[]): void
1887
- connect(sigName: "notify::can-default", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1888
- connect_after(sigName: "notify::can-default", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1889
- emit(sigName: "notify::can-default", ...args: any[]): void
1890
- connect(sigName: "notify::can-focus", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1891
- connect_after(sigName: "notify::can-focus", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1892
- emit(sigName: "notify::can-focus", ...args: any[]): void
1893
- connect(sigName: "notify::composite-child", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1894
- connect_after(sigName: "notify::composite-child", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1895
- emit(sigName: "notify::composite-child", ...args: any[]): void
1896
- connect(sigName: "notify::double-buffered", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1897
- connect_after(sigName: "notify::double-buffered", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1898
- emit(sigName: "notify::double-buffered", ...args: any[]): void
1899
- connect(sigName: "notify::events", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1900
- connect_after(sigName: "notify::events", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1901
- emit(sigName: "notify::events", ...args: any[]): void
1902
- connect(sigName: "notify::expand", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1903
- connect_after(sigName: "notify::expand", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1904
- emit(sigName: "notify::expand", ...args: any[]): void
1905
- connect(sigName: "notify::focus-on-click", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1906
- connect_after(sigName: "notify::focus-on-click", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1907
- emit(sigName: "notify::focus-on-click", ...args: any[]): void
1908
- connect(sigName: "notify::halign", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1909
- connect_after(sigName: "notify::halign", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1910
- emit(sigName: "notify::halign", ...args: any[]): void
1911
- connect(sigName: "notify::has-default", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1912
- connect_after(sigName: "notify::has-default", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1913
- emit(sigName: "notify::has-default", ...args: any[]): void
1914
- connect(sigName: "notify::has-focus", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1915
- connect_after(sigName: "notify::has-focus", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1916
- emit(sigName: "notify::has-focus", ...args: any[]): void
1917
- connect(sigName: "notify::has-tooltip", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1918
- connect_after(sigName: "notify::has-tooltip", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1919
- emit(sigName: "notify::has-tooltip", ...args: any[]): void
1920
- connect(sigName: "notify::height-request", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1921
- connect_after(sigName: "notify::height-request", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1922
- emit(sigName: "notify::height-request", ...args: any[]): void
1923
- connect(sigName: "notify::hexpand", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1924
- connect_after(sigName: "notify::hexpand", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1925
- emit(sigName: "notify::hexpand", ...args: any[]): void
1926
- connect(sigName: "notify::hexpand-set", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1927
- connect_after(sigName: "notify::hexpand-set", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1928
- emit(sigName: "notify::hexpand-set", ...args: any[]): void
1929
- connect(sigName: "notify::is-focus", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1930
- connect_after(sigName: "notify::is-focus", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1931
- emit(sigName: "notify::is-focus", ...args: any[]): void
1932
- connect(sigName: "notify::margin", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1933
- connect_after(sigName: "notify::margin", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1934
- emit(sigName: "notify::margin", ...args: any[]): void
1935
- connect(sigName: "notify::margin-bottom", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1936
- connect_after(sigName: "notify::margin-bottom", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1937
- emit(sigName: "notify::margin-bottom", ...args: any[]): void
1938
- connect(sigName: "notify::margin-end", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1939
- connect_after(sigName: "notify::margin-end", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1940
- emit(sigName: "notify::margin-end", ...args: any[]): void
1941
- connect(sigName: "notify::margin-left", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1942
- connect_after(sigName: "notify::margin-left", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1943
- emit(sigName: "notify::margin-left", ...args: any[]): void
1944
- connect(sigName: "notify::margin-right", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1945
- connect_after(sigName: "notify::margin-right", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1946
- emit(sigName: "notify::margin-right", ...args: any[]): void
1947
- connect(sigName: "notify::margin-start", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1948
- connect_after(sigName: "notify::margin-start", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1949
- emit(sigName: "notify::margin-start", ...args: any[]): void
1950
- connect(sigName: "notify::margin-top", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1951
- connect_after(sigName: "notify::margin-top", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1952
- emit(sigName: "notify::margin-top", ...args: any[]): void
1953
- connect(sigName: "notify::name", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1954
- connect_after(sigName: "notify::name", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1955
- emit(sigName: "notify::name", ...args: any[]): void
1956
- connect(sigName: "notify::no-show-all", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1957
- connect_after(sigName: "notify::no-show-all", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1958
- emit(sigName: "notify::no-show-all", ...args: any[]): void
1959
- connect(sigName: "notify::opacity", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1960
- connect_after(sigName: "notify::opacity", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1961
- emit(sigName: "notify::opacity", ...args: any[]): void
1962
- connect(sigName: "notify::parent", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1963
- connect_after(sigName: "notify::parent", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1964
- emit(sigName: "notify::parent", ...args: any[]): void
1965
- connect(sigName: "notify::receives-default", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1966
- connect_after(sigName: "notify::receives-default", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1967
- emit(sigName: "notify::receives-default", ...args: any[]): void
1968
- connect(sigName: "notify::scale-factor", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1969
- connect_after(sigName: "notify::scale-factor", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1970
- emit(sigName: "notify::scale-factor", ...args: any[]): void
1971
- connect(sigName: "notify::sensitive", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1972
- connect_after(sigName: "notify::sensitive", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1973
- emit(sigName: "notify::sensitive", ...args: any[]): void
1974
- connect(sigName: "notify::style", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1975
- connect_after(sigName: "notify::style", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1976
- emit(sigName: "notify::style", ...args: any[]): void
1977
- connect(sigName: "notify::tooltip-markup", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1978
- connect_after(sigName: "notify::tooltip-markup", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1979
- emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1980
- connect(sigName: "notify::tooltip-text", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1981
- connect_after(sigName: "notify::tooltip-text", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1982
- emit(sigName: "notify::tooltip-text", ...args: any[]): void
1983
- connect(sigName: "notify::valign", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1984
- connect_after(sigName: "notify::valign", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1985
- emit(sigName: "notify::valign", ...args: any[]): void
1986
- connect(sigName: "notify::vexpand", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1987
- connect_after(sigName: "notify::vexpand", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1988
- emit(sigName: "notify::vexpand", ...args: any[]): void
1989
- connect(sigName: "notify::vexpand-set", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1990
- connect_after(sigName: "notify::vexpand-set", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1991
- emit(sigName: "notify::vexpand-set", ...args: any[]): void
1992
- connect(sigName: "notify::visible", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1993
- connect_after(sigName: "notify::visible", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1994
- emit(sigName: "notify::visible", ...args: any[]): void
1995
- connect(sigName: "notify::width-request", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1996
- connect_after(sigName: "notify::width-request", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1997
- emit(sigName: "notify::width-request", ...args: any[]): void
1998
- connect(sigName: "notify::window", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
1999
- connect_after(sigName: "notify::window", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
2000
- emit(sigName: "notify::window", ...args: any[]): void
2001
- connect(sigName: "notify::orientation", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
2002
- connect_after(sigName: "notify::orientation", callback: (($obj: InfoBar, pspec: GObject.ParamSpec) => void)): number
2003
- emit(sigName: "notify::orientation", ...args: any[]): void
2004
- connect(sigName: string, callback: (...args: any[]) => void): number
2005
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2006
- emit(sigName: string, ...args: any[]): void
2007
- disconnect(id: number): void
2008
- }
2009
-
2010
- export class InfoBar extends Gtk.InfoBar {
2011
-
2012
- // Own properties of Gtef-2.Gtef.InfoBar
2013
-
2014
- static name: string
2015
- static $gtype: GObject.GType<InfoBar>
2016
-
2017
- // Constructors of Gtef-2.Gtef.InfoBar
2018
-
2019
- constructor(config?: InfoBar.ConstructorProperties)
2020
- constructor()
2021
- static new(): InfoBar
2022
-
2023
- // Overloads of new
2024
-
2025
- /**
2026
- * Creates a new #GtkInfoBar object.
2027
- * @constructor
2028
- * @returns a new #GtkInfoBar object
2029
- */
2030
- static new(): Gtk.InfoBar
2031
- /**
2032
- * Creates a new #GtkBox.
2033
- * @constructor
2034
- * @param orientation the box’s orientation.
2035
- * @param spacing the number of pixels to place by default between children.
2036
- * @returns a new #GtkBox.
2037
- */
2038
- static new(orientation: Gtk.Orientation, spacing: number): Gtk.Box
2039
- /**
2040
- * Creates a new #GtefInfoBar with an icon (depending on `msg_type)`, a primary
2041
- * message and a secondary message.
2042
- * @constructor
2043
- * @param msg_type the message type.
2044
- * @param primary_msg the primary message.
2045
- * @param secondary_msg the secondary message, or %NULL.
2046
- * @returns a new #GtefInfoBar.
2047
- */
2048
- static new_simple(msg_type: Gtk.MessageType, primary_msg: string, secondary_msg: string | null): InfoBar
2049
- _init(config?: InfoBar.ConstructorProperties): void
2050
- /**
2051
- * Utility function to create a #GtkLabel suitable for a #GtkInfoBar. The
2052
- * wrapping and alignment is configured. The label is also set as selectable,
2053
- * for example to copy an error message and search an explanation on the web.
2054
- * @returns a new #GtkLabel suitable for a #GtkInfoBar.
2055
- */
2056
- static create_label(): Gtk.Label
2057
- }
2058
-
2059
- export module MenuShell {
2060
-
2061
- // Signal callback interfaces
2062
-
2063
- /**
2064
- * Signal callback interface for `menu-item-deselected`
2065
- */
2066
- export interface MenuItemDeselectedSignalCallback {
2067
- ($obj: MenuShell, menu_item: Gtk.MenuItem): void
2068
- }
2069
-
2070
- /**
2071
- * Signal callback interface for `menu-item-selected`
2072
- */
2073
- export interface MenuItemSelectedSignalCallback {
2074
- ($obj: MenuShell, menu_item: Gtk.MenuItem): void
2075
- }
2076
-
2077
-
2078
- // Constructor properties interface
2079
-
2080
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2081
-
2082
- // Own constructor properties of Gtef-2.Gtef.MenuShell
2083
-
2084
- /**
2085
- * The #GtkMenuShell.
2086
- */
2087
- menuShell?: Gtk.MenuShell | null
2088
- }
2089
-
2090
- }
2091
-
2092
- export interface MenuShell {
2093
-
2094
- // Own properties of Gtef-2.Gtef.MenuShell
2095
-
2096
- /**
2097
- * The #GtkMenuShell.
2098
- */
2099
- readonly menuShell: Gtk.MenuShell
2100
-
2101
- // Own fields of Gtef-2.Gtef.MenuShell
2102
-
2103
- parent: GObject.Object
2104
- priv: MenuShellPrivate
2105
-
2106
- // Owm methods of Gtef-2.Gtef.MenuShell
2107
-
2108
- get_menu_shell(): Gtk.MenuShell
2109
-
2110
- // Own virtual methods of Gtef-2.Gtef.MenuShell
2111
-
2112
- vfunc_menu_item_deselected(menu_item: Gtk.MenuItem): void
2113
- vfunc_menu_item_selected(menu_item: Gtk.MenuItem): void
2114
-
2115
- // Own signals of Gtef-2.Gtef.MenuShell
2116
-
2117
- connect(sigName: "menu-item-deselected", callback: MenuShell.MenuItemDeselectedSignalCallback): number
2118
- connect_after(sigName: "menu-item-deselected", callback: MenuShell.MenuItemDeselectedSignalCallback): number
2119
- emit(sigName: "menu-item-deselected", menu_item: Gtk.MenuItem, ...args: any[]): void
2120
- connect(sigName: "menu-item-selected", callback: MenuShell.MenuItemSelectedSignalCallback): number
2121
- connect_after(sigName: "menu-item-selected", callback: MenuShell.MenuItemSelectedSignalCallback): number
2122
- emit(sigName: "menu-item-selected", menu_item: Gtk.MenuItem, ...args: any[]): void
2123
-
2124
- // Class property signals of Gtef-2.Gtef.MenuShell
2125
-
2126
- connect(sigName: "notify::menu-shell", callback: (($obj: MenuShell, pspec: GObject.ParamSpec) => void)): number
2127
- connect_after(sigName: "notify::menu-shell", callback: (($obj: MenuShell, pspec: GObject.ParamSpec) => void)): number
2128
- emit(sigName: "notify::menu-shell", ...args: any[]): void
2129
- connect(sigName: string, callback: (...args: any[]) => void): number
2130
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2131
- emit(sigName: string, ...args: any[]): void
2132
- disconnect(id: number): void
2133
- }
2134
-
2135
- export class MenuShell extends GObject.Object {
2136
-
2137
- // Own properties of Gtef-2.Gtef.MenuShell
2138
-
2139
- static name: string
2140
- static $gtype: GObject.GType<MenuShell>
2141
-
2142
- // Constructors of Gtef-2.Gtef.MenuShell
2143
-
2144
- constructor(config?: MenuShell.ConstructorProperties)
2145
- _init(config?: MenuShell.ConstructorProperties): void
2146
- /**
2147
- * Returns the #GtefMenuShell of `gtk_menu_shell`. The returned object is
2148
- * guaranteed to be the same for the lifetime of `gtk_menu_shell`.
2149
- * @param gtk_menu_shell a #GtkMenuShell.
2150
- * @returns the #GtefMenuShell of @gtk_menu_shell.
2151
- */
2152
- static get_from_gtk_menu_shell(gtk_menu_shell: Gtk.MenuShell): MenuShell
2153
- }
2154
-
2155
- export module Tab {
2156
-
2157
- // Constructor properties interface
2158
-
2159
- export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Orientable.ConstructorProperties, Gtk.Grid.ConstructorProperties {
2160
- }
2161
-
2162
- }
2163
-
2164
- export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
2165
-
2166
- // Own fields of Gtef-2.Gtef.Tab
2167
-
2168
- parent_instance: Gtk.Grid & GObject.InitiallyUnowned
2169
-
2170
- // Owm methods of Gtef-2.Gtef.Tab
2171
-
2172
- /**
2173
- * Attaches `info_bar` to `tab,` above the main widget.
2174
- *
2175
- * If several info bars are added, the first one will be at the top, the second
2176
- * one below the first info bar, etc. With the main widget of `tab` at the
2177
- * bottom.
2178
- * @param info_bar a #GtkInfoBar.
2179
- */
2180
- add_info_bar(info_bar: Gtk.InfoBar): void
2181
-
2182
- // Conflicting methods
2183
-
2184
- /**
2185
- * Emits a #GtkWidget::child-notify signal for the
2186
- * [child property][child-properties]
2187
- * `child_property` on the child.
2188
- *
2189
- * This is an analogue of g_object_notify() for child properties.
2190
- *
2191
- * Also see gtk_widget_child_notify().
2192
- * @param child the child widget
2193
- * @param child_property the name of a child property installed on the class of `container`
2194
- */
2195
- child_notify(child: Gtk.Widget, child_property: string): void
2196
-
2197
- // Overloads of child_notify
2198
-
2199
- /**
2200
- * Emits a #GtkWidget::child-notify signal for the
2201
- * [child property][child-properties] `child_property`
2202
- * on `widget`.
2203
- *
2204
- * This is the analogue of g_object_notify() for child properties.
2205
- *
2206
- * Also see gtk_container_child_notify().
2207
- * @param child_property the name of a child property installed on the class of `widget’`s parent
2208
- */
2209
- child_notify(child_property: string): void
2210
- /**
2211
- * Emits a #GtkWidget::child-notify signal for the
2212
- * [child property][child-properties] `child_property`
2213
- * on `widget`.
2214
- *
2215
- * This is the analogue of g_object_notify() for child properties.
2216
- *
2217
- * Also see gtk_container_child_notify().
2218
- * @param child_property the name of a child property installed on the class of `widget’`s parent
2219
- */
2220
- child_notify(child_property: string): void
2221
-
2222
- // Class property signals of Gtef-2.Gtef.Tab
2223
-
2224
- connect(sigName: "notify::baseline-row", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2225
- connect_after(sigName: "notify::baseline-row", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2226
- emit(sigName: "notify::baseline-row", ...args: any[]): void
2227
- connect(sigName: "notify::column-homogeneous", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2228
- connect_after(sigName: "notify::column-homogeneous", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2229
- emit(sigName: "notify::column-homogeneous", ...args: any[]): void
2230
- connect(sigName: "notify::column-spacing", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2231
- connect_after(sigName: "notify::column-spacing", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2232
- emit(sigName: "notify::column-spacing", ...args: any[]): void
2233
- connect(sigName: "notify::row-homogeneous", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2234
- connect_after(sigName: "notify::row-homogeneous", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2235
- emit(sigName: "notify::row-homogeneous", ...args: any[]): void
2236
- connect(sigName: "notify::row-spacing", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2237
- connect_after(sigName: "notify::row-spacing", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2238
- emit(sigName: "notify::row-spacing", ...args: any[]): void
2239
- connect(sigName: "notify::border-width", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2240
- connect_after(sigName: "notify::border-width", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2241
- emit(sigName: "notify::border-width", ...args: any[]): void
2242
- connect(sigName: "notify::child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2243
- connect_after(sigName: "notify::child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2244
- emit(sigName: "notify::child", ...args: any[]): void
2245
- connect(sigName: "notify::resize-mode", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2246
- connect_after(sigName: "notify::resize-mode", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2247
- emit(sigName: "notify::resize-mode", ...args: any[]): void
2248
- connect(sigName: "notify::app-paintable", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2249
- connect_after(sigName: "notify::app-paintable", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2250
- emit(sigName: "notify::app-paintable", ...args: any[]): void
2251
- connect(sigName: "notify::can-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2252
- connect_after(sigName: "notify::can-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2253
- emit(sigName: "notify::can-default", ...args: any[]): void
2254
- connect(sigName: "notify::can-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2255
- connect_after(sigName: "notify::can-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2256
- emit(sigName: "notify::can-focus", ...args: any[]): void
2257
- connect(sigName: "notify::composite-child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2258
- connect_after(sigName: "notify::composite-child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2259
- emit(sigName: "notify::composite-child", ...args: any[]): void
2260
- connect(sigName: "notify::double-buffered", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2261
- connect_after(sigName: "notify::double-buffered", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2262
- emit(sigName: "notify::double-buffered", ...args: any[]): void
2263
- connect(sigName: "notify::events", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2264
- connect_after(sigName: "notify::events", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2265
- emit(sigName: "notify::events", ...args: any[]): void
2266
- connect(sigName: "notify::expand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2267
- connect_after(sigName: "notify::expand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2268
- emit(sigName: "notify::expand", ...args: any[]): void
2269
- connect(sigName: "notify::focus-on-click", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2270
- connect_after(sigName: "notify::focus-on-click", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2271
- emit(sigName: "notify::focus-on-click", ...args: any[]): void
2272
- connect(sigName: "notify::halign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2273
- connect_after(sigName: "notify::halign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2274
- emit(sigName: "notify::halign", ...args: any[]): void
2275
- connect(sigName: "notify::has-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2276
- connect_after(sigName: "notify::has-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2277
- emit(sigName: "notify::has-default", ...args: any[]): void
2278
- connect(sigName: "notify::has-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2279
- connect_after(sigName: "notify::has-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2280
- emit(sigName: "notify::has-focus", ...args: any[]): void
2281
- connect(sigName: "notify::has-tooltip", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2282
- connect_after(sigName: "notify::has-tooltip", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2283
- emit(sigName: "notify::has-tooltip", ...args: any[]): void
2284
- connect(sigName: "notify::height-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2285
- connect_after(sigName: "notify::height-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2286
- emit(sigName: "notify::height-request", ...args: any[]): void
2287
- connect(sigName: "notify::hexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2288
- connect_after(sigName: "notify::hexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2289
- emit(sigName: "notify::hexpand", ...args: any[]): void
2290
- connect(sigName: "notify::hexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2291
- connect_after(sigName: "notify::hexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2292
- emit(sigName: "notify::hexpand-set", ...args: any[]): void
2293
- connect(sigName: "notify::is-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2294
- connect_after(sigName: "notify::is-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2295
- emit(sigName: "notify::is-focus", ...args: any[]): void
2296
- connect(sigName: "notify::margin", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2297
- connect_after(sigName: "notify::margin", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2298
- emit(sigName: "notify::margin", ...args: any[]): void
2299
- connect(sigName: "notify::margin-bottom", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2300
- connect_after(sigName: "notify::margin-bottom", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2301
- emit(sigName: "notify::margin-bottom", ...args: any[]): void
2302
- connect(sigName: "notify::margin-end", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2303
- connect_after(sigName: "notify::margin-end", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2304
- emit(sigName: "notify::margin-end", ...args: any[]): void
2305
- connect(sigName: "notify::margin-left", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2306
- connect_after(sigName: "notify::margin-left", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2307
- emit(sigName: "notify::margin-left", ...args: any[]): void
2308
- connect(sigName: "notify::margin-right", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2309
- connect_after(sigName: "notify::margin-right", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2310
- emit(sigName: "notify::margin-right", ...args: any[]): void
2311
- connect(sigName: "notify::margin-start", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2312
- connect_after(sigName: "notify::margin-start", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2313
- emit(sigName: "notify::margin-start", ...args: any[]): void
2314
- connect(sigName: "notify::margin-top", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2315
- connect_after(sigName: "notify::margin-top", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2316
- emit(sigName: "notify::margin-top", ...args: any[]): void
2317
- connect(sigName: "notify::name", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2318
- connect_after(sigName: "notify::name", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2319
- emit(sigName: "notify::name", ...args: any[]): void
2320
- connect(sigName: "notify::no-show-all", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2321
- connect_after(sigName: "notify::no-show-all", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2322
- emit(sigName: "notify::no-show-all", ...args: any[]): void
2323
- connect(sigName: "notify::opacity", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2324
- connect_after(sigName: "notify::opacity", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2325
- emit(sigName: "notify::opacity", ...args: any[]): void
2326
- connect(sigName: "notify::parent", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2327
- connect_after(sigName: "notify::parent", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2328
- emit(sigName: "notify::parent", ...args: any[]): void
2329
- connect(sigName: "notify::receives-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2330
- connect_after(sigName: "notify::receives-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2331
- emit(sigName: "notify::receives-default", ...args: any[]): void
2332
- connect(sigName: "notify::scale-factor", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2333
- connect_after(sigName: "notify::scale-factor", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2334
- emit(sigName: "notify::scale-factor", ...args: any[]): void
2335
- connect(sigName: "notify::sensitive", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2336
- connect_after(sigName: "notify::sensitive", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2337
- emit(sigName: "notify::sensitive", ...args: any[]): void
2338
- connect(sigName: "notify::style", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2339
- connect_after(sigName: "notify::style", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2340
- emit(sigName: "notify::style", ...args: any[]): void
2341
- connect(sigName: "notify::tooltip-markup", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2342
- connect_after(sigName: "notify::tooltip-markup", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2343
- emit(sigName: "notify::tooltip-markup", ...args: any[]): void
2344
- connect(sigName: "notify::tooltip-text", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2345
- connect_after(sigName: "notify::tooltip-text", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2346
- emit(sigName: "notify::tooltip-text", ...args: any[]): void
2347
- connect(sigName: "notify::valign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2348
- connect_after(sigName: "notify::valign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2349
- emit(sigName: "notify::valign", ...args: any[]): void
2350
- connect(sigName: "notify::vexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2351
- connect_after(sigName: "notify::vexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2352
- emit(sigName: "notify::vexpand", ...args: any[]): void
2353
- connect(sigName: "notify::vexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2354
- connect_after(sigName: "notify::vexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2355
- emit(sigName: "notify::vexpand-set", ...args: any[]): void
2356
- connect(sigName: "notify::visible", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2357
- connect_after(sigName: "notify::visible", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2358
- emit(sigName: "notify::visible", ...args: any[]): void
2359
- connect(sigName: "notify::width-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2360
- connect_after(sigName: "notify::width-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2361
- emit(sigName: "notify::width-request", ...args: any[]): void
2362
- connect(sigName: "notify::window", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2363
- connect_after(sigName: "notify::window", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2364
- emit(sigName: "notify::window", ...args: any[]): void
2365
- connect(sigName: "notify::orientation", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2366
- connect_after(sigName: "notify::orientation", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2367
- emit(sigName: "notify::orientation", ...args: any[]): void
2368
- connect(sigName: string, callback: (...args: any[]) => void): number
2369
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2370
- emit(sigName: string, ...args: any[]): void
2371
- disconnect(id: number): void
2372
- }
2373
-
2374
- export class Tab extends Gtk.Grid {
2375
-
2376
- // Own properties of Gtef-2.Gtef.Tab
2377
-
2378
- static name: string
2379
- static $gtype: GObject.GType<Tab>
2380
-
2381
- // Constructors of Gtef-2.Gtef.Tab
2382
-
2383
- constructor(config?: Tab.ConstructorProperties)
2384
- constructor(main_widget: Gtk.Widget)
2385
- static new(main_widget: Gtk.Widget): Tab
2386
-
2387
- // Overloads of new
2388
-
2389
- /**
2390
- * Creates a new grid widget.
2391
- * @constructor
2392
- * @returns the new #GtkGrid
2393
- */
2394
- static new(): Gtk.Grid
2395
- _init(config?: Tab.ConstructorProperties): void
2396
- }
2397
-
2398
- export module View {
2399
-
2400
- // Constructor properties interface
2401
-
2402
- export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Scrollable.ConstructorProperties, GtkSource.View.ConstructorProperties {
2403
- }
2404
-
2405
- }
2406
-
2407
- export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
2408
-
2409
- // Conflicting properties
2410
-
2411
- parent: Gtk.TextView & Gtk.Container & Gtk.Container
2412
-
2413
- // Own fields of Gtef-2.Gtef.View
2414
-
2415
- parent_instance: GtkSource.View & Gtk.Container & GObject.InitiallyUnowned & GObject.InitiallyUnowned
2416
-
2417
- // Owm methods of Gtef-2.Gtef.View
2418
-
2419
- /**
2420
- * Copies the clipboard.
2421
- */
2422
- copy_clipboard(): void
2423
- /**
2424
- * Cuts the clipboard and then scrolls to the cursor position.
2425
- */
2426
- cut_clipboard(): void
2427
- /**
2428
- * Deletes the text currently selected in the #GtkTextBuffer associated
2429
- * to the view and then scrolls to the cursor position.
2430
- */
2431
- delete_selection(): void
2432
- /**
2433
- * Places the cursor at the position returned by
2434
- * gtk_text_buffer_get_iter_at_line(), and scrolls to that position.
2435
- * @param line a line number, counting from 0.
2436
- * @returns %TRUE if the cursor has been moved exactly to @line, %FALSE if that line didn't exist.
2437
- */
2438
- goto_line(line: number): boolean
2439
- /**
2440
- * Places the cursor at the position returned by
2441
- * gtk_text_buffer_get_iter_at_line_offset(), and scrolls to that position.
2442
- * @param line a line number, counting from 0.
2443
- * @param line_offset the line offset, in characters (not bytes).
2444
- * @returns %TRUE if the cursor has been moved exactly to @line and @line_offset, %FALSE if that position didn't exist.
2445
- */
2446
- goto_line_offset(line: number, line_offset: number): boolean
2447
- /**
2448
- * Pastes the clipboard and then scrolls to the cursor position.
2449
- */
2450
- paste_clipboard(): void
2451
- /**
2452
- * Scrolls the `view` to the cursor position.
2453
- */
2454
- scroll_to_cursor(): void
2455
- /**
2456
- * Selects all the text.
2457
- */
2458
- select_all(): void
2459
- /**
2460
- * Selects the lines between `start_line` and `end_line` included, counting from
2461
- * zero. And then scrolls to the cursor.
2462
- *
2463
- * Possible use-case: line numbers coming from a compilation output, to go to
2464
- * the place where a warning or error occurred.
2465
- * @param start_line start of the region to select.
2466
- * @param end_line end of the region to select.
2467
- */
2468
- select_lines(start_line: number, end_line: number): void
2469
-
2470
- // Conflicting methods
2471
-
2472
- /**
2473
- * Retrieves the #GdkWindow corresponding to an area of the text view;
2474
- * possible windows include the overall widget window, child windows
2475
- * on the left, right, top, bottom, and the window that displays the
2476
- * text buffer. Windows are %NULL and nonexistent if their width or
2477
- * height is 0, and are nonexistent before the widget has been
2478
- * realized.
2479
- * @param win window to get
2480
- * @returns a #GdkWindow, or %NULL
2481
- */
2482
- get_window(win: Gtk.TextWindowType): Gdk.Window | null
2483
-
2484
- // Overloads of get_window
2485
-
2486
- /**
2487
- * Returns the widget’s window if it is realized, %NULL otherwise
2488
- * @returns @widget’s window.
2489
- */
2490
- get_window(): Gdk.Window | null
2491
- /**
2492
- * Returns the widget’s window if it is realized, %NULL otherwise
2493
- * @returns @widget’s window.
2494
- */
2495
- get_window(): Gdk.Window | null
2496
- /**
2497
- * Emits a #GtkWidget::child-notify signal for the
2498
- * [child property][child-properties]
2499
- * `child_property` on the child.
2500
- *
2501
- * This is an analogue of g_object_notify() for child properties.
2502
- *
2503
- * Also see gtk_widget_child_notify().
2504
- * @param child the child widget
2505
- * @param child_property the name of a child property installed on the class of `container`
2506
- */
2507
- child_notify(child: Gtk.Widget, child_property: string): void
2508
-
2509
- // Overloads of child_notify
2510
-
2511
- /**
2512
- * Emits a #GtkWidget::child-notify signal for the
2513
- * [child property][child-properties] `child_property`
2514
- * on `widget`.
2515
- *
2516
- * This is the analogue of g_object_notify() for child properties.
2517
- *
2518
- * Also see gtk_container_child_notify().
2519
- * @param child_property the name of a child property installed on the class of `widget’`s parent
2520
- */
2521
- child_notify(child_property: string): void
2522
- /**
2523
- * Emits a #GtkWidget::child-notify signal for the
2524
- * [child property][child-properties] `child_property`
2525
- * on `widget`.
2526
- *
2527
- * This is the analogue of g_object_notify() for child properties.
2528
- *
2529
- * Also see gtk_container_child_notify().
2530
- * @param child_property the name of a child property installed on the class of `widget’`s parent
2531
- */
2532
- child_notify(child_property: string): void
2533
-
2534
- // Class property signals of Gtef-2.Gtef.View
2535
-
2536
- connect(sigName: "notify::auto-indent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2537
- connect_after(sigName: "notify::auto-indent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2538
- emit(sigName: "notify::auto-indent", ...args: any[]): void
2539
- connect(sigName: "notify::background-pattern", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2540
- connect_after(sigName: "notify::background-pattern", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2541
- emit(sigName: "notify::background-pattern", ...args: any[]): void
2542
- connect(sigName: "notify::completion", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2543
- connect_after(sigName: "notify::completion", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2544
- emit(sigName: "notify::completion", ...args: any[]): void
2545
- connect(sigName: "notify::draw-spaces", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2546
- connect_after(sigName: "notify::draw-spaces", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2547
- emit(sigName: "notify::draw-spaces", ...args: any[]): void
2548
- connect(sigName: "notify::highlight-current-line", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2549
- connect_after(sigName: "notify::highlight-current-line", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2550
- emit(sigName: "notify::highlight-current-line", ...args: any[]): void
2551
- connect(sigName: "notify::indent-on-tab", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2552
- connect_after(sigName: "notify::indent-on-tab", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2553
- emit(sigName: "notify::indent-on-tab", ...args: any[]): void
2554
- connect(sigName: "notify::indent-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2555
- connect_after(sigName: "notify::indent-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2556
- emit(sigName: "notify::indent-width", ...args: any[]): void
2557
- connect(sigName: "notify::insert-spaces-instead-of-tabs", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2558
- connect_after(sigName: "notify::insert-spaces-instead-of-tabs", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2559
- emit(sigName: "notify::insert-spaces-instead-of-tabs", ...args: any[]): void
2560
- connect(sigName: "notify::right-margin-position", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2561
- connect_after(sigName: "notify::right-margin-position", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2562
- emit(sigName: "notify::right-margin-position", ...args: any[]): void
2563
- connect(sigName: "notify::show-line-marks", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2564
- connect_after(sigName: "notify::show-line-marks", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2565
- emit(sigName: "notify::show-line-marks", ...args: any[]): void
2566
- connect(sigName: "notify::show-line-numbers", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2567
- connect_after(sigName: "notify::show-line-numbers", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2568
- emit(sigName: "notify::show-line-numbers", ...args: any[]): void
2569
- connect(sigName: "notify::show-right-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2570
- connect_after(sigName: "notify::show-right-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2571
- emit(sigName: "notify::show-right-margin", ...args: any[]): void
2572
- connect(sigName: "notify::smart-backspace", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2573
- connect_after(sigName: "notify::smart-backspace", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2574
- emit(sigName: "notify::smart-backspace", ...args: any[]): void
2575
- connect(sigName: "notify::smart-home-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2576
- connect_after(sigName: "notify::smart-home-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2577
- emit(sigName: "notify::smart-home-end", ...args: any[]): void
2578
- connect(sigName: "notify::space-drawer", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2579
- connect_after(sigName: "notify::space-drawer", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2580
- emit(sigName: "notify::space-drawer", ...args: any[]): void
2581
- connect(sigName: "notify::tab-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2582
- connect_after(sigName: "notify::tab-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2583
- emit(sigName: "notify::tab-width", ...args: any[]): void
2584
- connect(sigName: "notify::accepts-tab", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2585
- connect_after(sigName: "notify::accepts-tab", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2586
- emit(sigName: "notify::accepts-tab", ...args: any[]): void
2587
- connect(sigName: "notify::bottom-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2588
- connect_after(sigName: "notify::bottom-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2589
- emit(sigName: "notify::bottom-margin", ...args: any[]): void
2590
- connect(sigName: "notify::buffer", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2591
- connect_after(sigName: "notify::buffer", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2592
- emit(sigName: "notify::buffer", ...args: any[]): void
2593
- connect(sigName: "notify::cursor-visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2594
- connect_after(sigName: "notify::cursor-visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2595
- emit(sigName: "notify::cursor-visible", ...args: any[]): void
2596
- connect(sigName: "notify::editable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2597
- connect_after(sigName: "notify::editable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2598
- emit(sigName: "notify::editable", ...args: any[]): void
2599
- connect(sigName: "notify::im-module", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2600
- connect_after(sigName: "notify::im-module", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2601
- emit(sigName: "notify::im-module", ...args: any[]): void
2602
- connect(sigName: "notify::indent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2603
- connect_after(sigName: "notify::indent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2604
- emit(sigName: "notify::indent", ...args: any[]): void
2605
- connect(sigName: "notify::input-hints", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2606
- connect_after(sigName: "notify::input-hints", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2607
- emit(sigName: "notify::input-hints", ...args: any[]): void
2608
- connect(sigName: "notify::input-purpose", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2609
- connect_after(sigName: "notify::input-purpose", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2610
- emit(sigName: "notify::input-purpose", ...args: any[]): void
2611
- connect(sigName: "notify::justification", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2612
- connect_after(sigName: "notify::justification", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2613
- emit(sigName: "notify::justification", ...args: any[]): void
2614
- connect(sigName: "notify::left-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2615
- connect_after(sigName: "notify::left-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2616
- emit(sigName: "notify::left-margin", ...args: any[]): void
2617
- connect(sigName: "notify::monospace", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2618
- connect_after(sigName: "notify::monospace", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2619
- emit(sigName: "notify::monospace", ...args: any[]): void
2620
- connect(sigName: "notify::overwrite", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2621
- connect_after(sigName: "notify::overwrite", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2622
- emit(sigName: "notify::overwrite", ...args: any[]): void
2623
- connect(sigName: "notify::pixels-above-lines", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2624
- connect_after(sigName: "notify::pixels-above-lines", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2625
- emit(sigName: "notify::pixels-above-lines", ...args: any[]): void
2626
- connect(sigName: "notify::pixels-below-lines", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2627
- connect_after(sigName: "notify::pixels-below-lines", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2628
- emit(sigName: "notify::pixels-below-lines", ...args: any[]): void
2629
- connect(sigName: "notify::pixels-inside-wrap", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2630
- connect_after(sigName: "notify::pixels-inside-wrap", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2631
- emit(sigName: "notify::pixels-inside-wrap", ...args: any[]): void
2632
- connect(sigName: "notify::populate-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2633
- connect_after(sigName: "notify::populate-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2634
- emit(sigName: "notify::populate-all", ...args: any[]): void
2635
- connect(sigName: "notify::right-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2636
- connect_after(sigName: "notify::right-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2637
- emit(sigName: "notify::right-margin", ...args: any[]): void
2638
- connect(sigName: "notify::tabs", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2639
- connect_after(sigName: "notify::tabs", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2640
- emit(sigName: "notify::tabs", ...args: any[]): void
2641
- connect(sigName: "notify::top-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2642
- connect_after(sigName: "notify::top-margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2643
- emit(sigName: "notify::top-margin", ...args: any[]): void
2644
- connect(sigName: "notify::wrap-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2645
- connect_after(sigName: "notify::wrap-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2646
- emit(sigName: "notify::wrap-mode", ...args: any[]): void
2647
- connect(sigName: "notify::border-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2648
- connect_after(sigName: "notify::border-width", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2649
- emit(sigName: "notify::border-width", ...args: any[]): void
2650
- connect(sigName: "notify::child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2651
- connect_after(sigName: "notify::child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2652
- emit(sigName: "notify::child", ...args: any[]): void
2653
- connect(sigName: "notify::resize-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2654
- connect_after(sigName: "notify::resize-mode", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2655
- emit(sigName: "notify::resize-mode", ...args: any[]): void
2656
- connect(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2657
- connect_after(sigName: "notify::app-paintable", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2658
- emit(sigName: "notify::app-paintable", ...args: any[]): void
2659
- connect(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2660
- connect_after(sigName: "notify::can-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2661
- emit(sigName: "notify::can-default", ...args: any[]): void
2662
- connect(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2663
- connect_after(sigName: "notify::can-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2664
- emit(sigName: "notify::can-focus", ...args: any[]): void
2665
- connect(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2666
- connect_after(sigName: "notify::composite-child", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2667
- emit(sigName: "notify::composite-child", ...args: any[]): void
2668
- connect(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2669
- connect_after(sigName: "notify::double-buffered", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2670
- emit(sigName: "notify::double-buffered", ...args: any[]): void
2671
- connect(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2672
- connect_after(sigName: "notify::events", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2673
- emit(sigName: "notify::events", ...args: any[]): void
2674
- connect(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2675
- connect_after(sigName: "notify::expand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2676
- emit(sigName: "notify::expand", ...args: any[]): void
2677
- connect(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2678
- connect_after(sigName: "notify::focus-on-click", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2679
- emit(sigName: "notify::focus-on-click", ...args: any[]): void
2680
- connect(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2681
- connect_after(sigName: "notify::halign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2682
- emit(sigName: "notify::halign", ...args: any[]): void
2683
- connect(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2684
- connect_after(sigName: "notify::has-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2685
- emit(sigName: "notify::has-default", ...args: any[]): void
2686
- connect(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2687
- connect_after(sigName: "notify::has-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2688
- emit(sigName: "notify::has-focus", ...args: any[]): void
2689
- connect(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2690
- connect_after(sigName: "notify::has-tooltip", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2691
- emit(sigName: "notify::has-tooltip", ...args: any[]): void
2692
- connect(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2693
- connect_after(sigName: "notify::height-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2694
- emit(sigName: "notify::height-request", ...args: any[]): void
2695
- connect(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2696
- connect_after(sigName: "notify::hexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2697
- emit(sigName: "notify::hexpand", ...args: any[]): void
2698
- connect(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2699
- connect_after(sigName: "notify::hexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2700
- emit(sigName: "notify::hexpand-set", ...args: any[]): void
2701
- connect(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2702
- connect_after(sigName: "notify::is-focus", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2703
- emit(sigName: "notify::is-focus", ...args: any[]): void
2704
- connect(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2705
- connect_after(sigName: "notify::margin", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2706
- emit(sigName: "notify::margin", ...args: any[]): void
2707
- connect(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2708
- connect_after(sigName: "notify::margin-bottom", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2709
- emit(sigName: "notify::margin-bottom", ...args: any[]): void
2710
- connect(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2711
- connect_after(sigName: "notify::margin-end", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2712
- emit(sigName: "notify::margin-end", ...args: any[]): void
2713
- connect(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2714
- connect_after(sigName: "notify::margin-left", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2715
- emit(sigName: "notify::margin-left", ...args: any[]): void
2716
- connect(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2717
- connect_after(sigName: "notify::margin-right", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2718
- emit(sigName: "notify::margin-right", ...args: any[]): void
2719
- connect(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2720
- connect_after(sigName: "notify::margin-start", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2721
- emit(sigName: "notify::margin-start", ...args: any[]): void
2722
- connect(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2723
- connect_after(sigName: "notify::margin-top", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2724
- emit(sigName: "notify::margin-top", ...args: any[]): void
2725
- connect(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2726
- connect_after(sigName: "notify::name", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2727
- emit(sigName: "notify::name", ...args: any[]): void
2728
- connect(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2729
- connect_after(sigName: "notify::no-show-all", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2730
- emit(sigName: "notify::no-show-all", ...args: any[]): void
2731
- connect(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2732
- connect_after(sigName: "notify::opacity", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2733
- emit(sigName: "notify::opacity", ...args: any[]): void
2734
- connect(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2735
- connect_after(sigName: "notify::parent", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2736
- emit(sigName: "notify::parent", ...args: any[]): void
2737
- connect(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2738
- connect_after(sigName: "notify::receives-default", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2739
- emit(sigName: "notify::receives-default", ...args: any[]): void
2740
- connect(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2741
- connect_after(sigName: "notify::scale-factor", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2742
- emit(sigName: "notify::scale-factor", ...args: any[]): void
2743
- connect(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2744
- connect_after(sigName: "notify::sensitive", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2745
- emit(sigName: "notify::sensitive", ...args: any[]): void
2746
- connect(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2747
- connect_after(sigName: "notify::style", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2748
- emit(sigName: "notify::style", ...args: any[]): void
2749
- connect(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2750
- connect_after(sigName: "notify::tooltip-markup", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2751
- emit(sigName: "notify::tooltip-markup", ...args: any[]): void
2752
- connect(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2753
- connect_after(sigName: "notify::tooltip-text", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2754
- emit(sigName: "notify::tooltip-text", ...args: any[]): void
2755
- connect(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2756
- connect_after(sigName: "notify::valign", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2757
- emit(sigName: "notify::valign", ...args: any[]): void
2758
- connect(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2759
- connect_after(sigName: "notify::vexpand", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2760
- emit(sigName: "notify::vexpand", ...args: any[]): void
2761
- connect(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2762
- connect_after(sigName: "notify::vexpand-set", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2763
- emit(sigName: "notify::vexpand-set", ...args: any[]): void
2764
- connect(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2765
- connect_after(sigName: "notify::visible", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2766
- emit(sigName: "notify::visible", ...args: any[]): void
2767
- connect(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2768
- connect_after(sigName: "notify::width-request", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2769
- emit(sigName: "notify::width-request", ...args: any[]): void
2770
- connect(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2771
- connect_after(sigName: "notify::window", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2772
- emit(sigName: "notify::window", ...args: any[]): void
2773
- connect(sigName: "notify::hadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2774
- connect_after(sigName: "notify::hadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2775
- emit(sigName: "notify::hadjustment", ...args: any[]): void
2776
- connect(sigName: "notify::hscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2777
- connect_after(sigName: "notify::hscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2778
- emit(sigName: "notify::hscroll-policy", ...args: any[]): void
2779
- connect(sigName: "notify::vadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2780
- connect_after(sigName: "notify::vadjustment", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2781
- emit(sigName: "notify::vadjustment", ...args: any[]): void
2782
- connect(sigName: "notify::vscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2783
- connect_after(sigName: "notify::vscroll-policy", callback: (($obj: View, pspec: GObject.ParamSpec) => void)): number
2784
- emit(sigName: "notify::vscroll-policy", ...args: any[]): void
2785
- connect(sigName: string, callback: (...args: any[]) => void): number
2786
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2787
- emit(sigName: string, ...args: any[]): void
2788
- disconnect(id: number): void
2789
- }
2790
-
2791
- export class View extends GtkSource.View {
2792
-
2793
- // Own properties of Gtef-2.Gtef.View
2794
-
2795
- static name: string
2796
- static $gtype: GObject.GType<View>
2797
-
2798
- // Constructors of Gtef-2.Gtef.View
2799
-
2800
- constructor(config?: View.ConstructorProperties)
2801
- constructor()
2802
- static new(): View
2803
- _init(config?: View.ConstructorProperties): void
2804
-
2805
- // Conflicting static methods
2806
-
2807
- static new_with_buffer(...args: any[]): any
2808
- }
2809
-
2810
- export interface ActionInfo {
2811
-
2812
- // Owm methods of Gtef-2.Gtef.ActionInfo
2813
-
2814
- copy(): ActionInfo
2815
- /**
2816
- * Returns the accelerators. This function never returns %NULL, it always
2817
- * returns a %NULL-terminated array, to be suitable for
2818
- * gtk_application_set_accels_for_action().
2819
- * @returns a %NULL-terminated array of accelerators in the format understood by gtk_accelerator_parse().
2820
- */
2821
- get_accels(): string[]
2822
- get_action_name(): string | null
2823
- get_icon_name(): string | null
2824
- get_label(): string | null
2825
- get_tooltip(): string | null
2826
- /**
2827
- * Increments the reference count of `info` by one.
2828
- * @returns the passed in @info.
2829
- */
2830
- ref(): ActionInfo
2831
- /**
2832
- * A function similar to gtk_application_set_accels_for_action().
2833
- *
2834
- * `accels` must not be %NULL, it must be a %NULL-terminated array, to be
2835
- * consistent with gtk_application_set_accels_for_action().
2836
- * @param accels a %NULL-terminated array of accelerators in the format understood by gtk_accelerator_parse().
2837
- */
2838
- set_accels(accels: string[]): void
2839
- /**
2840
- * Sets the action name, for example `"win.save"`.
2841
- * @param action_name the action name.
2842
- */
2843
- set_action_name(action_name: string): void
2844
- set_icon_name(icon_name: string | null): void
2845
- set_label(label: string | null): void
2846
- set_tooltip(tooltip: string | null): void
2847
- /**
2848
- * Decrements the reference count of `info` by one. If the reference count drops
2849
- * to 0, `info` is freed.
2850
- */
2851
- unref(): void
2852
- }
2853
-
2854
- export class ActionInfo {
2855
-
2856
- // Own properties of Gtef-2.Gtef.ActionInfo
2857
-
2858
- static name: string
2859
-
2860
- // Constructors of Gtef-2.Gtef.ActionInfo
2861
-
2862
- constructor()
2863
- static new(): ActionInfo
2864
- /**
2865
- * Creates a new #GtefActionInfo from a #GtefActionInfoEntry.
2866
- *
2867
- * If `translation_domain` is not %NULL, g_dgettext() is used to translate the
2868
- * `label` and `tooltip` before setting them to the #GtefActionInfo.
2869
- * @constructor
2870
- * @param info_entry a #GtefActionInfoEntry.
2871
- * @param translation_domain a gettext domain, or %NULL.
2872
- * @returns a new #GtefActionInfo.
2873
- */
2874
- static new_from_entry(info_entry: ActionInfoEntry, translation_domain: string | null): ActionInfo
2875
- }
2876
-
2877
- export interface ActionInfoCentralStoreClass {
2878
-
2879
- // Own fields of Gtef-2.Gtef.ActionInfoCentralStoreClass
2880
-
2881
- parent_class: GObject.ObjectClass
2882
- padding: any[]
2883
- }
2884
-
2885
- export abstract class ActionInfoCentralStoreClass {
2886
-
2887
- // Own properties of Gtef-2.Gtef.ActionInfoCentralStoreClass
2888
-
2889
- static name: string
2890
- }
2891
-
2892
- export interface ActionInfoCentralStorePrivate {
2893
- }
2894
-
2895
- export class ActionInfoCentralStorePrivate {
2896
-
2897
- // Own properties of Gtef-2.Gtef.ActionInfoCentralStorePrivate
2898
-
2899
- static name: string
2900
- }
2901
-
2902
- export interface ActionInfoEntry {
2903
-
2904
- // Own fields of Gtef-2.Gtef.ActionInfoEntry
2905
-
2906
- /**
2907
- * the action name.
2908
- * @field
2909
- */
2910
- action_name: string
2911
- /**
2912
- * the icon name, or %NULL.
2913
- * @field
2914
- */
2915
- icon_name: string
2916
- /**
2917
- * the label (i.e. a short description), or %NULL.
2918
- * @field
2919
- */
2920
- label: string
2921
- /**
2922
- * the accelerator, in the format understood by gtk_accelerator_parse().
2923
- * Or %NULL.
2924
- * @field
2925
- */
2926
- accel: string
2927
- /**
2928
- * the tooltip (i.e. a long description), or %NULL.
2929
- * @field
2930
- */
2931
- tooltip: string
2932
- }
2933
-
2934
- /**
2935
- * This struct defines a set of information for a single action. It is for use
2936
- * with gtef_action_info_store_add_entries().
2937
- *
2938
- * Like #GActionEntry, it is permissible to use an incomplete initialiser in
2939
- * order to leave some of the later values as %NULL. Additional optional fields
2940
- * may be added in the future.
2941
- * @record
2942
- */
2943
- export class ActionInfoEntry {
2944
-
2945
- // Own properties of Gtef-2.Gtef.ActionInfoEntry
2946
-
2947
- static name: string
2948
- }
2949
-
2950
- export interface ActionInfoStoreClass {
2951
-
2952
- // Own fields of Gtef-2.Gtef.ActionInfoStoreClass
2953
-
2954
- parent_class: GObject.ObjectClass
2955
- padding: any[]
2956
- }
2957
-
2958
- export abstract class ActionInfoStoreClass {
2959
-
2960
- // Own properties of Gtef-2.Gtef.ActionInfoStoreClass
2961
-
2962
- static name: string
2963
- }
2964
-
2965
- export interface ActionInfoStorePrivate {
2966
- }
2967
-
2968
- export class ActionInfoStorePrivate {
2969
-
2970
- // Own properties of Gtef-2.Gtef.ActionInfoStorePrivate
2971
-
2972
- static name: string
2973
- }
2974
-
2975
- export interface ApplicationClass {
2976
-
2977
- // Own fields of Gtef-2.Gtef.ApplicationClass
2978
-
2979
- parent_class: GObject.ObjectClass
2980
- padding: any[]
2981
- }
2982
-
2983
- export abstract class ApplicationClass {
2984
-
2985
- // Own properties of Gtef-2.Gtef.ApplicationClass
2986
-
2987
- static name: string
2988
- }
2989
-
2990
- export interface ApplicationPrivate {
2991
- }
2992
-
2993
- export class ApplicationPrivate {
2994
-
2995
- // Own properties of Gtef-2.Gtef.ApplicationPrivate
2996
-
2997
- static name: string
2998
- }
2999
-
3000
- export interface ApplicationWindowClass {
3001
-
3002
- // Own fields of Gtef-2.Gtef.ApplicationWindowClass
3003
-
3004
- parent_class: GObject.ObjectClass
3005
- padding: any[]
3006
- }
3007
-
3008
- export abstract class ApplicationWindowClass {
3009
-
3010
- // Own properties of Gtef-2.Gtef.ApplicationWindowClass
3011
-
3012
- static name: string
3013
- }
3014
-
3015
- export interface ApplicationWindowPrivate {
3016
- }
3017
-
3018
- export class ApplicationWindowPrivate {
3019
-
3020
- // Own properties of Gtef-2.Gtef.ApplicationWindowPrivate
3021
-
3022
- static name: string
3023
- }
3024
-
3025
- export interface BufferClass {
3026
-
3027
- // Own fields of Gtef-2.Gtef.BufferClass
3028
-
3029
- parent_class: GtkSource.BufferClass
3030
- gtef_cursor_moved: (buffer: Buffer) => void
3031
- padding: any[]
3032
- }
3033
-
3034
- export abstract class BufferClass {
3035
-
3036
- // Own properties of Gtef-2.Gtef.BufferClass
3037
-
3038
- static name: string
3039
- }
3040
-
3041
- export interface Encoding {
3042
-
3043
- // Owm methods of Gtef-2.Gtef.Encoding
3044
-
3045
- copy(): Encoding
3046
- equals(enc2: Encoding | null): boolean
3047
- free(): void
3048
- /**
3049
- * Gets the character set of the #GtefEncoding, such as "UTF-8" or "ISO-8859-1".
3050
- * @returns the character set of the #GtefEncoding.
3051
- */
3052
- get_charset(): string
3053
- /**
3054
- * Gets the name of the #GtefEncoding such as "Unicode" or "Western".
3055
- * @returns the name of the #GtefEncoding.
3056
- */
3057
- get_name(): string
3058
- is_utf8(): boolean
3059
- /**
3060
- * Returns the encoding name with the charset in parenthesis, for example
3061
- * "Unicode (UTF-8)". If the name is unknown, just the charset is returned.
3062
- * @returns a string representation. Free with g_free() when no longer needed.
3063
- */
3064
- to_string(): string | null
3065
- }
3066
-
3067
- export class Encoding {
3068
-
3069
- // Own properties of Gtef-2.Gtef.Encoding
3070
-
3071
- static name: string
3072
-
3073
- // Constructors of Gtef-2.Gtef.Encoding
3074
-
3075
- /**
3076
- * Creates a new #GtefEncoding from a character set such as "UTF-8" or
3077
- * "ISO-8859-1".
3078
- * @constructor
3079
- * @param charset a character set.
3080
- * @returns the new #GtefEncoding. Free with gtef_encoding_free().
3081
- */
3082
- constructor(charset: string)
3083
- /**
3084
- * Creates a new #GtefEncoding from a character set such as "UTF-8" or
3085
- * "ISO-8859-1".
3086
- * @constructor
3087
- * @param charset a character set.
3088
- * @returns the new #GtefEncoding. Free with gtef_encoding_free().
3089
- */
3090
- static new(charset: string): Encoding
3091
- /**
3092
- * Creates a new #GtefEncoding from the current locale, as returned by
3093
- * g_get_charset().
3094
- * @constructor
3095
- * @returns the new #GtefEncoding. Free with gtef_encoding_free().
3096
- */
3097
- static new_from_locale(): Encoding
3098
- /**
3099
- * Creates a new #GtefEncoding with the "UTF-8" character set.
3100
- * @constructor
3101
- * @returns the new #GtefEncoding. Free with gtef_encoding_free().
3102
- */
3103
- static new_utf8(): Encoding
3104
- /**
3105
- * Gets a list of all encodings known by #GtefEncoding.
3106
- * @returns a list of #GtefEncoding's.
3107
- */
3108
- static get_all(): Encoding[]
3109
- /**
3110
- * Gets the list of default candidate encodings to try when loading a file. See
3111
- * gtk_source_file_loader_set_candidate_encodings().
3112
- *
3113
- * This function returns a different list depending on the current locale (i.e.
3114
- * language, country and default encoding). The UTF-8 encoding and the current
3115
- * locale encoding are guaranteed to be present in the returned list.
3116
- * @returns the list of default candidate encodings.
3117
- */
3118
- static get_default_candidates(): Encoding[]
3119
- }
3120
-
3121
- export interface FileClass {
3122
-
3123
- // Own fields of Gtef-2.Gtef.FileClass
3124
-
3125
- parent_class: GObject.ObjectClass
3126
- padding: any[]
3127
- }
3128
-
3129
- export abstract class FileClass {
3130
-
3131
- // Own properties of Gtef-2.Gtef.FileClass
3132
-
3133
- static name: string
3134
- }
3135
-
3136
- export interface FileLoaderClass {
3137
-
3138
- // Own fields of Gtef-2.Gtef.FileLoaderClass
3139
-
3140
- parent_class: GObject.ObjectClass
3141
- padding: any[]
3142
- }
3143
-
3144
- export abstract class FileLoaderClass {
3145
-
3146
- // Own properties of Gtef-2.Gtef.FileLoaderClass
3147
-
3148
- static name: string
3149
- }
3150
-
3151
- export interface FileMetadataClass {
3152
-
3153
- // Own fields of Gtef-2.Gtef.FileMetadataClass
3154
-
3155
- parent_class: GObject.ObjectClass
3156
- padding: any[]
3157
- }
3158
-
3159
- export abstract class FileMetadataClass {
3160
-
3161
- // Own properties of Gtef-2.Gtef.FileMetadataClass
3162
-
3163
- static name: string
3164
- }
3165
-
3166
- export interface FileSaverClass {
3167
-
3168
- // Own fields of Gtef-2.Gtef.FileSaverClass
3169
-
3170
- parent_class: GObject.ObjectClass
3171
- padding: any[]
3172
- }
3173
-
3174
- export abstract class FileSaverClass {
3175
-
3176
- // Own properties of Gtef-2.Gtef.FileSaverClass
3177
-
3178
- static name: string
3179
- }
3180
-
3181
- export interface FileSaverPrivate {
3182
- }
3183
-
3184
- export class FileSaverPrivate {
3185
-
3186
- // Own properties of Gtef-2.Gtef.FileSaverPrivate
3187
-
3188
- static name: string
3189
- }
3190
-
3191
- export interface FoldRegionClass {
3192
-
3193
- // Own fields of Gtef-2.Gtef.FoldRegionClass
3194
-
3195
- parent_class: GObject.ObjectClass
3196
- padding: any[]
3197
- }
3198
-
3199
- export abstract class FoldRegionClass {
3200
-
3201
- // Own properties of Gtef-2.Gtef.FoldRegionClass
3202
-
3203
- static name: string
3204
- }
3205
-
3206
- export interface GutterRendererFoldsClass {
3207
-
3208
- // Own fields of Gtef-2.Gtef.GutterRendererFoldsClass
3209
-
3210
- parent_class: GtkSource.GutterRendererClass
3211
- padding: any[]
3212
- }
3213
-
3214
- export abstract class GutterRendererFoldsClass {
3215
-
3216
- // Own properties of Gtef-2.Gtef.GutterRendererFoldsClass
3217
-
3218
- static name: string
3219
- }
3220
-
3221
- export interface InfoBarClass {
3222
-
3223
- // Own fields of Gtef-2.Gtef.InfoBarClass
3224
-
3225
- parent_class: Gtk.InfoBarClass
3226
- padding: any[]
3227
- }
3228
-
3229
- export abstract class InfoBarClass {
3230
-
3231
- // Own properties of Gtef-2.Gtef.InfoBarClass
3232
-
3233
- static name: string
3234
- }
3235
-
3236
- export interface MenuShellClass {
3237
-
3238
- // Own fields of Gtef-2.Gtef.MenuShellClass
3239
-
3240
- parent_class: GObject.ObjectClass
3241
- menu_item_selected: (gtef_menu_shell: MenuShell, menu_item: Gtk.MenuItem) => void
3242
- menu_item_deselected: (gtef_menu_shell: MenuShell, menu_item: Gtk.MenuItem) => void
3243
- padding: any[]
3244
- }
3245
-
3246
- export abstract class MenuShellClass {
3247
-
3248
- // Own properties of Gtef-2.Gtef.MenuShellClass
3249
-
3250
- static name: string
3251
- }
3252
-
3253
- export interface MenuShellPrivate {
3254
- }
3255
-
3256
- export class MenuShellPrivate {
3257
-
3258
- // Own properties of Gtef-2.Gtef.MenuShellPrivate
3259
-
3260
- static name: string
3261
- }
3262
-
3263
- export interface TabClass {
3264
-
3265
- // Own fields of Gtef-2.Gtef.TabClass
3266
-
3267
- parent_class: Gtk.GridClass
3268
- padding: any[]
3269
- }
3270
-
3271
- export abstract class TabClass {
3272
-
3273
- // Own properties of Gtef-2.Gtef.TabClass
3274
-
3275
- static name: string
3276
- }
3277
-
3278
- export interface ViewClass {
3279
-
3280
- // Own fields of Gtef-2.Gtef.ViewClass
3281
-
3282
- parent_class: GtkSource.ViewClass
3283
- padding: any[]
3284
- }
3285
-
3286
- export abstract class ViewClass {
3287
-
3288
- // Own properties of Gtef-2.Gtef.ViewClass
3289
-
3290
- static name: string
3291
- }
3292
-
3293
- /**
3294
- * Name of the imported GIR library
3295
- * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
3296
- */
3297
- export const __name__: string
3298
- /**
3299
- * Version of the imported GIR library
3300
- * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
3301
- */
3302
- export const __version__: string
3303
- // END