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