@girs/gspell-1 1.0.0-3.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gspell-1.d.cts ADDED
@@ -0,0 +1,2131 @@
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
+ * Gspell-1
10
+ */
11
+
12
+ import type Gtk from '@girs/gtk-3.0';
13
+ import type xlib from '@girs/xlib-2.0';
14
+ import type Gdk from '@girs/gdk-3.0';
15
+ import type cairo from '@girs/cairo-1.0';
16
+ import type Pango from '@girs/pango-1.0';
17
+ import type HarfBuzz from '@girs/harfbuzz-0.0';
18
+ import type freetype2 from '@girs/freetype2-2.0';
19
+ import type GObject from '@girs/gobject-2.0';
20
+ import type GLib from '@girs/glib-2.0';
21
+ import type Gio from '@girs/gio-2.0';
22
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
23
+ import type GModule from '@girs/gmodule-2.0';
24
+ import type Atk from '@girs/atk-1.0';
25
+
26
+ /**
27
+ * An error code used with %GSPELL_CHECKER_ERROR in a #GError returned
28
+ * from a spell-checker-related function.
29
+ */
30
+ export enum CheckerError {
31
+ /**
32
+ * dictionary error.
33
+ */
34
+ DICTIONARY,
35
+ /**
36
+ * no language set.
37
+ */
38
+ NO_LANGUAGE_SET,
39
+ }
40
+ export function checker_error_quark(): GLib.Quark
41
+ export function language_get_available(): Language[]
42
+ /**
43
+ * Finds the best available language based on the current locale.
44
+ * @returns the default #GspellLanguage, or %NULL if no dictionaries are available.
45
+ */
46
+ export function language_get_default(): Language | null
47
+ export function language_lookup(language_code: string | null): Language | null
48
+ export module LanguageChooser {
49
+
50
+ // Constructor properties interface
51
+
52
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
53
+
54
+ // Own constructor properties of Gspell-1.Gspell.LanguageChooser
55
+
56
+ /**
57
+ * The selected #GspellLanguage.
58
+ */
59
+ language?: Language | null
60
+ /**
61
+ * The empty string if the default language was set and the selection
62
+ * hasn't changed. Or the language code if an explicit language was set
63
+ * or if the selection has changed.
64
+ */
65
+ language_code?: string | null
66
+ }
67
+
68
+ }
69
+
70
+ export interface LanguageChooser {
71
+
72
+ // Own properties of Gspell-1.Gspell.LanguageChooser
73
+
74
+ /**
75
+ * The selected #GspellLanguage.
76
+ */
77
+ language: Language
78
+ /**
79
+ * The empty string if the default language was set and the selection
80
+ * hasn't changed. Or the language code if an explicit language was set
81
+ * or if the selection has changed.
82
+ */
83
+ language_code: string | null
84
+
85
+ // Owm methods of Gspell-1.Gspell.LanguageChooser
86
+
87
+ get_language(): Language | null
88
+ get_language_code(): string | null
89
+ /**
90
+ * Sets the selected language.
91
+ * @param language a #GspellLanguage or %NULL to pick the default language.
92
+ */
93
+ set_language(language: Language | null): void
94
+ set_language_code(language_code: string | null): void
95
+
96
+ // Own virtual methods of Gspell-1.Gspell.LanguageChooser
97
+
98
+ vfunc_get_language_full(default_language: boolean): Language
99
+ /**
100
+ * Sets the selected language.
101
+ * @virtual
102
+ * @param language a #GspellLanguage or %NULL to pick the default language.
103
+ */
104
+ vfunc_set_language(language: Language | null): void
105
+
106
+ // Class property signals of Gspell-1.Gspell.LanguageChooser
107
+
108
+ connect(sigName: "notify::language", callback: (($obj: LanguageChooser, pspec: GObject.ParamSpec) => void)): number
109
+ connect_after(sigName: "notify::language", callback: (($obj: LanguageChooser, pspec: GObject.ParamSpec) => void)): number
110
+ emit(sigName: "notify::language", ...args: any[]): void
111
+ connect(sigName: "notify::language-code", callback: (($obj: LanguageChooser, pspec: GObject.ParamSpec) => void)): number
112
+ connect_after(sigName: "notify::language-code", callback: (($obj: LanguageChooser, pspec: GObject.ParamSpec) => void)): number
113
+ emit(sigName: "notify::language-code", ...args: any[]): void
114
+ connect(sigName: string, callback: (...args: any[]) => void): number
115
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
116
+ emit(sigName: string, ...args: any[]): void
117
+ disconnect(id: number): void
118
+ }
119
+
120
+ export class LanguageChooser extends GObject.Object {
121
+
122
+ // Own properties of Gspell-1.Gspell.LanguageChooser
123
+
124
+ static name: string
125
+ static $gtype: GObject.GType<LanguageChooser>
126
+
127
+ // Constructors of Gspell-1.Gspell.LanguageChooser
128
+
129
+ constructor(config?: LanguageChooser.ConstructorProperties)
130
+ _init(config?: LanguageChooser.ConstructorProperties): void
131
+ }
132
+
133
+ export module Navigator {
134
+
135
+ // Constructor properties interface
136
+
137
+ export interface ConstructorProperties extends GObject.InitiallyUnowned.ConstructorProperties, GObject.Object.ConstructorProperties {
138
+ }
139
+
140
+ }
141
+
142
+ export interface Navigator extends GObject.InitiallyUnowned {
143
+
144
+ // Owm methods of Gspell-1.Gspell.Navigator
145
+
146
+ /**
147
+ * Changes the current `word` by `change_to` in the text. `word` must be the same
148
+ * as returned by the last call to gspell_navigator_goto_next().
149
+ *
150
+ * This function doesn't call gspell_checker_set_correction(). A widget using a
151
+ * #GspellNavigator should call gspell_checker_set_correction() in addition to
152
+ * this function.
153
+ * @param word the word to change.
154
+ * @param change_to the replacement.
155
+ */
156
+ change(word: string | null, change_to: string | null): void
157
+ /**
158
+ * Changes all occurrences of `word` by `change_to` in the text.
159
+ *
160
+ * This function doesn't call gspell_checker_set_correction(). A widget using a
161
+ * #GspellNavigator should call gspell_checker_set_correction() in addition to
162
+ * this function.
163
+ * @param word the word to change.
164
+ * @param change_to the replacement.
165
+ */
166
+ change_all(word: string | null, change_to: string | null): void
167
+ /**
168
+ * Goes to the next misspelled word. When called the first time, goes to the
169
+ * first misspelled word.
170
+ * @returns %TRUE if a next misspelled word has been found, %FALSE if the spell checking is finished or if an error occurred.
171
+ */
172
+ goto_next(): [ /* returnType */ boolean, /* word */ string | null, /* spell_checker */ Checker ]
173
+
174
+ // Own virtual methods of Gspell-1.Gspell.Navigator
175
+
176
+ /**
177
+ * Changes the current `word` by `change_to` in the text. `word` must be the same
178
+ * as returned by the last call to gspell_navigator_goto_next().
179
+ *
180
+ * This function doesn't call gspell_checker_set_correction(). A widget using a
181
+ * #GspellNavigator should call gspell_checker_set_correction() in addition to
182
+ * this function.
183
+ * @virtual
184
+ * @param word the word to change.
185
+ * @param change_to the replacement.
186
+ */
187
+ vfunc_change(word: string | null, change_to: string | null): void
188
+ /**
189
+ * Changes all occurrences of `word` by `change_to` in the text.
190
+ *
191
+ * This function doesn't call gspell_checker_set_correction(). A widget using a
192
+ * #GspellNavigator should call gspell_checker_set_correction() in addition to
193
+ * this function.
194
+ * @virtual
195
+ * @param word the word to change.
196
+ * @param change_to the replacement.
197
+ */
198
+ vfunc_change_all(word: string | null, change_to: string | null): void
199
+ /**
200
+ * Goes to the next misspelled word. When called the first time, goes to the
201
+ * first misspelled word.
202
+ * @virtual
203
+ * @returns %TRUE if a next misspelled word has been found, %FALSE if the spell checking is finished or if an error occurred.
204
+ */
205
+ vfunc_goto_next(): [ /* returnType */ boolean, /* word */ string | null, /* spell_checker */ Checker ]
206
+
207
+ // Class property signals of Gspell-1.Gspell.Navigator
208
+
209
+ connect(sigName: string, callback: (...args: any[]) => void): number
210
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
211
+ emit(sigName: string, ...args: any[]): void
212
+ disconnect(id: number): void
213
+ }
214
+
215
+ export class Navigator extends GObject.Object {
216
+
217
+ // Own properties of Gspell-1.Gspell.Navigator
218
+
219
+ static name: string
220
+ static $gtype: GObject.GType<Navigator>
221
+
222
+ // Constructors of Gspell-1.Gspell.Navigator
223
+
224
+ constructor(config?: Navigator.ConstructorProperties)
225
+ _init(config?: Navigator.ConstructorProperties): void
226
+ }
227
+
228
+ export module Checker {
229
+
230
+ // Signal callback interfaces
231
+
232
+ /**
233
+ * Signal callback interface for `session-cleared`
234
+ */
235
+ export interface SessionClearedSignalCallback {
236
+ ($obj: Checker): void
237
+ }
238
+
239
+ /**
240
+ * Signal callback interface for `word-added-to-personal`
241
+ */
242
+ export interface WordAddedToPersonalSignalCallback {
243
+ ($obj: Checker, word: string | null): void
244
+ }
245
+
246
+ /**
247
+ * Signal callback interface for `word-added-to-session`
248
+ */
249
+ export interface WordAddedToSessionSignalCallback {
250
+ ($obj: Checker, word: string | null): void
251
+ }
252
+
253
+
254
+ // Constructor properties interface
255
+
256
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
257
+
258
+ // Own constructor properties of Gspell-1.Gspell.Checker
259
+
260
+ /**
261
+ * The #GspellLanguage used.
262
+ */
263
+ language?: Language | null
264
+ }
265
+
266
+ }
267
+
268
+ export interface Checker {
269
+
270
+ // Own properties of Gspell-1.Gspell.Checker
271
+
272
+ /**
273
+ * The #GspellLanguage used.
274
+ */
275
+ language: Language
276
+
277
+ // Own fields of Gspell-1.Gspell.Checker
278
+
279
+ parent_instance: GObject.Object
280
+
281
+ // Owm methods of Gspell-1.Gspell.Checker
282
+
283
+ /**
284
+ * Adds a word to the personal dictionary. It is typically saved in the user's
285
+ * home directory.
286
+ * @param word a word.
287
+ * @param word_length the byte length of `word,` or -1 if `word` is nul-terminated.
288
+ */
289
+ add_word_to_personal(word: string | null, word_length: number): void
290
+ /**
291
+ * Adds a word to the session dictionary. Each #GspellChecker instance has a
292
+ * different session dictionary. The session dictionary is lost when the
293
+ * #GspellChecker:language property changes or when `checker` is destroyed or
294
+ * when gspell_checker_clear_session() is called.
295
+ *
296
+ * This function is typically called for an “Ignore All” action.
297
+ * @param word a word.
298
+ * @param word_length the byte length of `word,` or -1 if `word` is nul-terminated.
299
+ */
300
+ add_word_to_session(word: string | null, word_length: number): void
301
+ /**
302
+ * If the #GspellChecker:language is %NULL, i.e. when no dictonaries are
303
+ * available, this function returns %TRUE to limit the damage.
304
+ * @param word the word to check.
305
+ * @param word_length the byte length of `word,` or -1 if `word` is nul-terminated.
306
+ * @returns %TRUE if @word is correctly spelled, %FALSE otherwise.
307
+ */
308
+ check_word(word: string | null, word_length: number): boolean
309
+ /**
310
+ * Clears the session dictionary.
311
+ */
312
+ clear_session(): void
313
+ get_language(): Language | null
314
+ /**
315
+ * Gets the suggestions for `word`. Free the return value with
316
+ * g_slist_free_full(suggestions, g_free).
317
+ * @param word a misspelled word.
318
+ * @param word_length the byte length of `word,` or -1 if `word` is nul-terminated.
319
+ * @returns the list of suggestions.
320
+ */
321
+ get_suggestions(word: string | null, word_length: number): string[]
322
+ /**
323
+ * Informs the spell checker that `word` is replaced/corrected by `replacement`.
324
+ * @param word a word.
325
+ * @param word_length the byte length of `word,` or -1 if `word` is nul-terminated.
326
+ * @param replacement the replacement word.
327
+ * @param replacement_length the byte length of `replacement,` or -1 if `replacement` is nul-terminated.
328
+ */
329
+ set_correction(word: string | null, word_length: number, replacement: string | null, replacement_length: number): void
330
+ /**
331
+ * Sets the language to use for the spell checking. If `language` is %NULL, the
332
+ * default language is picked with gspell_language_get_default().
333
+ * @param language the #GspellLanguage to use, or %NULL.
334
+ */
335
+ set_language(language: Language | null): void
336
+
337
+ // Own virtual methods of Gspell-1.Gspell.Checker
338
+
339
+ vfunc_session_cleared(): void
340
+ vfunc_word_added_to_personal(word: string | null): void
341
+ vfunc_word_added_to_session(word: string | null): void
342
+
343
+ // Own signals of Gspell-1.Gspell.Checker
344
+
345
+ connect(sigName: "session-cleared", callback: Checker.SessionClearedSignalCallback): number
346
+ connect_after(sigName: "session-cleared", callback: Checker.SessionClearedSignalCallback): number
347
+ emit(sigName: "session-cleared", ...args: any[]): void
348
+ connect(sigName: "word-added-to-personal", callback: Checker.WordAddedToPersonalSignalCallback): number
349
+ connect_after(sigName: "word-added-to-personal", callback: Checker.WordAddedToPersonalSignalCallback): number
350
+ emit(sigName: "word-added-to-personal", word: string | null, ...args: any[]): void
351
+ connect(sigName: "word-added-to-session", callback: Checker.WordAddedToSessionSignalCallback): number
352
+ connect_after(sigName: "word-added-to-session", callback: Checker.WordAddedToSessionSignalCallback): number
353
+ emit(sigName: "word-added-to-session", word: string | null, ...args: any[]): void
354
+
355
+ // Class property signals of Gspell-1.Gspell.Checker
356
+
357
+ connect(sigName: "notify::language", callback: (($obj: Checker, pspec: GObject.ParamSpec) => void)): number
358
+ connect_after(sigName: "notify::language", callback: (($obj: Checker, pspec: GObject.ParamSpec) => void)): number
359
+ emit(sigName: "notify::language", ...args: any[]): void
360
+ connect(sigName: string, callback: (...args: any[]) => void): number
361
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
362
+ emit(sigName: string, ...args: any[]): void
363
+ disconnect(id: number): void
364
+ }
365
+
366
+ export class Checker extends GObject.Object {
367
+
368
+ // Own properties of Gspell-1.Gspell.Checker
369
+
370
+ static name: string
371
+ static $gtype: GObject.GType<Checker>
372
+
373
+ // Constructors of Gspell-1.Gspell.Checker
374
+
375
+ constructor(config?: Checker.ConstructorProperties)
376
+ /**
377
+ * Creates a new #GspellChecker. If `language` is %NULL, the default language is
378
+ * picked with gspell_language_get_default().
379
+ * @constructor
380
+ * @param language the #GspellLanguage to use, or %NULL.
381
+ * @returns a new #GspellChecker object.
382
+ */
383
+ constructor(language: Language | null)
384
+ /**
385
+ * Creates a new #GspellChecker. If `language` is %NULL, the default language is
386
+ * picked with gspell_language_get_default().
387
+ * @constructor
388
+ * @param language the #GspellLanguage to use, or %NULL.
389
+ * @returns a new #GspellChecker object.
390
+ */
391
+ static new(language: Language | null): Checker
392
+ _init(config?: Checker.ConstructorProperties): void
393
+ }
394
+
395
+ export module CheckerDialog {
396
+
397
+ // Constructor properties interface
398
+
399
+ export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Dialog.ConstructorProperties {
400
+
401
+ // Own constructor properties of Gspell-1.Gspell.CheckerDialog
402
+
403
+ /**
404
+ * The #GspellNavigator to use.
405
+ */
406
+ spell_navigator?: Navigator | null
407
+ }
408
+
409
+ }
410
+
411
+ export interface CheckerDialog extends Atk.ImplementorIface, Gtk.Buildable {
412
+
413
+ // Own properties of Gspell-1.Gspell.CheckerDialog
414
+
415
+ /**
416
+ * The #GspellNavigator to use.
417
+ */
418
+ readonly spell_navigator: Navigator
419
+
420
+ // Conflicting properties
421
+
422
+ readonly window: Gtk.Window & Gdk.Window & Gdk.Window
423
+
424
+ // Own fields of Gspell-1.Gspell.CheckerDialog
425
+
426
+ parent_instance: Gtk.Dialog & GObject.InitiallyUnowned
427
+
428
+ // Owm methods of Gspell-1.Gspell.CheckerDialog
429
+
430
+ get_spell_navigator(): Navigator
431
+
432
+ // Conflicting methods
433
+
434
+ /**
435
+ * Activates the targets associated with the mnemonic.
436
+ * @param keyval the mnemonic
437
+ * @param modifier the modifiers
438
+ * @returns %TRUE if the activation is done.
439
+ */
440
+ mnemonic_activate(keyval: number, modifier: Gdk.ModifierType): boolean
441
+
442
+ // Overloads of mnemonic_activate
443
+
444
+ /**
445
+ * Emits the #GtkWidget::mnemonic-activate signal.
446
+ * @param group_cycling %TRUE if there are other widgets with the same mnemonic
447
+ * @returns %TRUE if the signal has been handled
448
+ */
449
+ mnemonic_activate(group_cycling: boolean): boolean
450
+ /**
451
+ * Emits the #GtkWidget::mnemonic-activate signal.
452
+ * @param group_cycling %TRUE if there are other widgets with the same mnemonic
453
+ * @returns %TRUE if the signal has been handled
454
+ */
455
+ mnemonic_activate(group_cycling: boolean): boolean
456
+ /**
457
+ * Emits a #GtkWidget::child-notify signal for the
458
+ * [child property][child-properties]
459
+ * `child_property` on the child.
460
+ *
461
+ * This is an analogue of g_object_notify() for child properties.
462
+ *
463
+ * Also see gtk_widget_child_notify().
464
+ * @param child the child widget
465
+ * @param child_property the name of a child property installed on the class of `container`
466
+ */
467
+ child_notify(child: Gtk.Widget, child_property: string | null): void
468
+
469
+ // Overloads of child_notify
470
+
471
+ /**
472
+ * Emits a #GtkWidget::child-notify signal for the
473
+ * [child property][child-properties] `child_property`
474
+ * on `widget`.
475
+ *
476
+ * This is the analogue of g_object_notify() for child properties.
477
+ *
478
+ * Also see gtk_container_child_notify().
479
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
480
+ */
481
+ child_notify(child_property: string | null): void
482
+ /**
483
+ * Emits a #GtkWidget::child-notify signal for the
484
+ * [child property][child-properties] `child_property`
485
+ * on `widget`.
486
+ *
487
+ * This is the analogue of g_object_notify() for child properties.
488
+ *
489
+ * Also see gtk_container_child_notify().
490
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
491
+ */
492
+ child_notify(child_property: string | null): void
493
+
494
+ // Class property signals of Gspell-1.Gspell.CheckerDialog
495
+
496
+ connect(sigName: "notify::spell-navigator", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
497
+ connect_after(sigName: "notify::spell-navigator", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
498
+ emit(sigName: "notify::spell-navigator", ...args: any[]): void
499
+ connect(sigName: "notify::use-header-bar", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
500
+ connect_after(sigName: "notify::use-header-bar", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
501
+ emit(sigName: "notify::use-header-bar", ...args: any[]): void
502
+ connect(sigName: "notify::accept-focus", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
503
+ connect_after(sigName: "notify::accept-focus", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
504
+ emit(sigName: "notify::accept-focus", ...args: any[]): void
505
+ connect(sigName: "notify::application", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
506
+ connect_after(sigName: "notify::application", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
507
+ emit(sigName: "notify::application", ...args: any[]): void
508
+ connect(sigName: "notify::attached-to", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
509
+ connect_after(sigName: "notify::attached-to", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
510
+ emit(sigName: "notify::attached-to", ...args: any[]): void
511
+ connect(sigName: "notify::decorated", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
512
+ connect_after(sigName: "notify::decorated", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
513
+ emit(sigName: "notify::decorated", ...args: any[]): void
514
+ connect(sigName: "notify::default-height", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
515
+ connect_after(sigName: "notify::default-height", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
516
+ emit(sigName: "notify::default-height", ...args: any[]): void
517
+ connect(sigName: "notify::default-width", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
518
+ connect_after(sigName: "notify::default-width", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
519
+ emit(sigName: "notify::default-width", ...args: any[]): void
520
+ connect(sigName: "notify::deletable", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
521
+ connect_after(sigName: "notify::deletable", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
522
+ emit(sigName: "notify::deletable", ...args: any[]): void
523
+ connect(sigName: "notify::destroy-with-parent", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
524
+ connect_after(sigName: "notify::destroy-with-parent", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
525
+ emit(sigName: "notify::destroy-with-parent", ...args: any[]): void
526
+ connect(sigName: "notify::focus-on-map", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
527
+ connect_after(sigName: "notify::focus-on-map", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
528
+ emit(sigName: "notify::focus-on-map", ...args: any[]): void
529
+ connect(sigName: "notify::focus-visible", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
530
+ connect_after(sigName: "notify::focus-visible", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
531
+ emit(sigName: "notify::focus-visible", ...args: any[]): void
532
+ connect(sigName: "notify::gravity", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
533
+ connect_after(sigName: "notify::gravity", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
534
+ emit(sigName: "notify::gravity", ...args: any[]): void
535
+ connect(sigName: "notify::has-resize-grip", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
536
+ connect_after(sigName: "notify::has-resize-grip", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
537
+ emit(sigName: "notify::has-resize-grip", ...args: any[]): void
538
+ connect(sigName: "notify::has-toplevel-focus", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
539
+ connect_after(sigName: "notify::has-toplevel-focus", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
540
+ emit(sigName: "notify::has-toplevel-focus", ...args: any[]): void
541
+ connect(sigName: "notify::hide-titlebar-when-maximized", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
542
+ connect_after(sigName: "notify::hide-titlebar-when-maximized", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
543
+ emit(sigName: "notify::hide-titlebar-when-maximized", ...args: any[]): void
544
+ connect(sigName: "notify::icon", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
545
+ connect_after(sigName: "notify::icon", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
546
+ emit(sigName: "notify::icon", ...args: any[]): void
547
+ connect(sigName: "notify::icon-name", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
548
+ connect_after(sigName: "notify::icon-name", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
549
+ emit(sigName: "notify::icon-name", ...args: any[]): void
550
+ connect(sigName: "notify::is-active", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
551
+ connect_after(sigName: "notify::is-active", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
552
+ emit(sigName: "notify::is-active", ...args: any[]): void
553
+ connect(sigName: "notify::is-maximized", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
554
+ connect_after(sigName: "notify::is-maximized", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
555
+ emit(sigName: "notify::is-maximized", ...args: any[]): void
556
+ connect(sigName: "notify::mnemonics-visible", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
557
+ connect_after(sigName: "notify::mnemonics-visible", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
558
+ emit(sigName: "notify::mnemonics-visible", ...args: any[]): void
559
+ connect(sigName: "notify::modal", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
560
+ connect_after(sigName: "notify::modal", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
561
+ emit(sigName: "notify::modal", ...args: any[]): void
562
+ connect(sigName: "notify::resizable", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
563
+ connect_after(sigName: "notify::resizable", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
564
+ emit(sigName: "notify::resizable", ...args: any[]): void
565
+ connect(sigName: "notify::resize-grip-visible", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
566
+ connect_after(sigName: "notify::resize-grip-visible", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
567
+ emit(sigName: "notify::resize-grip-visible", ...args: any[]): void
568
+ connect(sigName: "notify::role", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
569
+ connect_after(sigName: "notify::role", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
570
+ emit(sigName: "notify::role", ...args: any[]): void
571
+ connect(sigName: "notify::screen", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
572
+ connect_after(sigName: "notify::screen", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
573
+ emit(sigName: "notify::screen", ...args: any[]): void
574
+ connect(sigName: "notify::skip-pager-hint", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
575
+ connect_after(sigName: "notify::skip-pager-hint", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
576
+ emit(sigName: "notify::skip-pager-hint", ...args: any[]): void
577
+ connect(sigName: "notify::skip-taskbar-hint", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
578
+ connect_after(sigName: "notify::skip-taskbar-hint", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
579
+ emit(sigName: "notify::skip-taskbar-hint", ...args: any[]): void
580
+ connect(sigName: "notify::startup-id", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
581
+ connect_after(sigName: "notify::startup-id", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
582
+ emit(sigName: "notify::startup-id", ...args: any[]): void
583
+ connect(sigName: "notify::title", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
584
+ connect_after(sigName: "notify::title", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
585
+ emit(sigName: "notify::title", ...args: any[]): void
586
+ connect(sigName: "notify::transient-for", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
587
+ connect_after(sigName: "notify::transient-for", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
588
+ emit(sigName: "notify::transient-for", ...args: any[]): void
589
+ connect(sigName: "notify::type", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
590
+ connect_after(sigName: "notify::type", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
591
+ emit(sigName: "notify::type", ...args: any[]): void
592
+ connect(sigName: "notify::type-hint", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
593
+ connect_after(sigName: "notify::type-hint", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
594
+ emit(sigName: "notify::type-hint", ...args: any[]): void
595
+ connect(sigName: "notify::urgency-hint", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
596
+ connect_after(sigName: "notify::urgency-hint", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
597
+ emit(sigName: "notify::urgency-hint", ...args: any[]): void
598
+ connect(sigName: "notify::window-position", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
599
+ connect_after(sigName: "notify::window-position", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
600
+ emit(sigName: "notify::window-position", ...args: any[]): void
601
+ connect(sigName: "notify::border-width", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
602
+ connect_after(sigName: "notify::border-width", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
603
+ emit(sigName: "notify::border-width", ...args: any[]): void
604
+ connect(sigName: "notify::child", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
605
+ connect_after(sigName: "notify::child", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
606
+ emit(sigName: "notify::child", ...args: any[]): void
607
+ connect(sigName: "notify::resize-mode", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
608
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
609
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
610
+ connect(sigName: "notify::app-paintable", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
611
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
612
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
613
+ connect(sigName: "notify::can-default", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
614
+ connect_after(sigName: "notify::can-default", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
615
+ emit(sigName: "notify::can-default", ...args: any[]): void
616
+ connect(sigName: "notify::can-focus", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
617
+ connect_after(sigName: "notify::can-focus", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
618
+ emit(sigName: "notify::can-focus", ...args: any[]): void
619
+ connect(sigName: "notify::composite-child", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
620
+ connect_after(sigName: "notify::composite-child", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
621
+ emit(sigName: "notify::composite-child", ...args: any[]): void
622
+ connect(sigName: "notify::double-buffered", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
623
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
624
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
625
+ connect(sigName: "notify::events", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
626
+ connect_after(sigName: "notify::events", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
627
+ emit(sigName: "notify::events", ...args: any[]): void
628
+ connect(sigName: "notify::expand", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
629
+ connect_after(sigName: "notify::expand", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
630
+ emit(sigName: "notify::expand", ...args: any[]): void
631
+ connect(sigName: "notify::focus-on-click", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
632
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
633
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
634
+ connect(sigName: "notify::halign", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
635
+ connect_after(sigName: "notify::halign", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
636
+ emit(sigName: "notify::halign", ...args: any[]): void
637
+ connect(sigName: "notify::has-default", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
638
+ connect_after(sigName: "notify::has-default", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
639
+ emit(sigName: "notify::has-default", ...args: any[]): void
640
+ connect(sigName: "notify::has-focus", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
641
+ connect_after(sigName: "notify::has-focus", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
642
+ emit(sigName: "notify::has-focus", ...args: any[]): void
643
+ connect(sigName: "notify::has-tooltip", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
644
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
645
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
646
+ connect(sigName: "notify::height-request", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
647
+ connect_after(sigName: "notify::height-request", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
648
+ emit(sigName: "notify::height-request", ...args: any[]): void
649
+ connect(sigName: "notify::hexpand", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
650
+ connect_after(sigName: "notify::hexpand", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
651
+ emit(sigName: "notify::hexpand", ...args: any[]): void
652
+ connect(sigName: "notify::hexpand-set", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
653
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
654
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
655
+ connect(sigName: "notify::is-focus", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
656
+ connect_after(sigName: "notify::is-focus", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
657
+ emit(sigName: "notify::is-focus", ...args: any[]): void
658
+ connect(sigName: "notify::margin", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
659
+ connect_after(sigName: "notify::margin", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
660
+ emit(sigName: "notify::margin", ...args: any[]): void
661
+ connect(sigName: "notify::margin-bottom", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
662
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
663
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
664
+ connect(sigName: "notify::margin-end", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
665
+ connect_after(sigName: "notify::margin-end", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
666
+ emit(sigName: "notify::margin-end", ...args: any[]): void
667
+ connect(sigName: "notify::margin-left", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
668
+ connect_after(sigName: "notify::margin-left", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
669
+ emit(sigName: "notify::margin-left", ...args: any[]): void
670
+ connect(sigName: "notify::margin-right", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
671
+ connect_after(sigName: "notify::margin-right", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
672
+ emit(sigName: "notify::margin-right", ...args: any[]): void
673
+ connect(sigName: "notify::margin-start", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
674
+ connect_after(sigName: "notify::margin-start", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
675
+ emit(sigName: "notify::margin-start", ...args: any[]): void
676
+ connect(sigName: "notify::margin-top", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
677
+ connect_after(sigName: "notify::margin-top", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
678
+ emit(sigName: "notify::margin-top", ...args: any[]): void
679
+ connect(sigName: "notify::name", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
680
+ connect_after(sigName: "notify::name", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
681
+ emit(sigName: "notify::name", ...args: any[]): void
682
+ connect(sigName: "notify::no-show-all", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
683
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
684
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
685
+ connect(sigName: "notify::opacity", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
686
+ connect_after(sigName: "notify::opacity", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
687
+ emit(sigName: "notify::opacity", ...args: any[]): void
688
+ connect(sigName: "notify::parent", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
689
+ connect_after(sigName: "notify::parent", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
690
+ emit(sigName: "notify::parent", ...args: any[]): void
691
+ connect(sigName: "notify::receives-default", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
692
+ connect_after(sigName: "notify::receives-default", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
693
+ emit(sigName: "notify::receives-default", ...args: any[]): void
694
+ connect(sigName: "notify::scale-factor", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
695
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
696
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
697
+ connect(sigName: "notify::sensitive", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
698
+ connect_after(sigName: "notify::sensitive", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
699
+ emit(sigName: "notify::sensitive", ...args: any[]): void
700
+ connect(sigName: "notify::style", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
701
+ connect_after(sigName: "notify::style", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
702
+ emit(sigName: "notify::style", ...args: any[]): void
703
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
704
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
705
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
706
+ connect(sigName: "notify::tooltip-text", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
707
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
708
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
709
+ connect(sigName: "notify::valign", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
710
+ connect_after(sigName: "notify::valign", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
711
+ emit(sigName: "notify::valign", ...args: any[]): void
712
+ connect(sigName: "notify::vexpand", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
713
+ connect_after(sigName: "notify::vexpand", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
714
+ emit(sigName: "notify::vexpand", ...args: any[]): void
715
+ connect(sigName: "notify::vexpand-set", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
716
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
717
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
718
+ connect(sigName: "notify::visible", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
719
+ connect_after(sigName: "notify::visible", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
720
+ emit(sigName: "notify::visible", ...args: any[]): void
721
+ connect(sigName: "notify::width-request", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
722
+ connect_after(sigName: "notify::width-request", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
723
+ emit(sigName: "notify::width-request", ...args: any[]): void
724
+ connect(sigName: "notify::window", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
725
+ connect_after(sigName: "notify::window", callback: (($obj: CheckerDialog, pspec: GObject.ParamSpec) => void)): number
726
+ emit(sigName: "notify::window", ...args: any[]): void
727
+ connect(sigName: string, callback: (...args: any[]) => void): number
728
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
729
+ emit(sigName: string, ...args: any[]): void
730
+ disconnect(id: number): void
731
+ }
732
+
733
+ export class CheckerDialog extends Gtk.Dialog {
734
+
735
+ // Own properties of Gspell-1.Gspell.CheckerDialog
736
+
737
+ static name: string
738
+ static $gtype: GObject.GType<CheckerDialog>
739
+
740
+ // Constructors of Gspell-1.Gspell.CheckerDialog
741
+
742
+ constructor(config?: CheckerDialog.ConstructorProperties)
743
+ constructor(parent: Gtk.Window, navigator: Navigator)
744
+ static new(parent: Gtk.Window, navigator: Navigator): CheckerDialog
745
+
746
+ // Overloads of new
747
+
748
+ /**
749
+ * Creates a new dialog box.
750
+ *
751
+ * Widgets should not be packed into this #GtkWindow
752
+ * directly, but into the `vbox` and `action_area,` as described above.
753
+ * @constructor
754
+ * @returns the new dialog as a #GtkWidget
755
+ */
756
+ static new(): Gtk.Dialog
757
+ /**
758
+ * Creates a new #GtkWindow, which is a toplevel window that can
759
+ * contain other widgets. Nearly always, the type of the window should
760
+ * be #GTK_WINDOW_TOPLEVEL. If you’re implementing something like a
761
+ * popup menu from scratch (which is a bad idea, just use #GtkMenu),
762
+ * you might use #GTK_WINDOW_POPUP. #GTK_WINDOW_POPUP is not for
763
+ * dialogs, though in some other toolkits dialogs are called “popups”.
764
+ * In GTK+, #GTK_WINDOW_POPUP means a pop-up menu or pop-up tooltip.
765
+ * On X11, popup windows are not controlled by the
766
+ * [window manager][gtk-X11-arch].
767
+ *
768
+ * If you simply want an undecorated window (no window borders), use
769
+ * gtk_window_set_decorated(), don’t use #GTK_WINDOW_POPUP.
770
+ *
771
+ * All top-level windows created by gtk_window_new() are stored in
772
+ * an internal top-level window list. This list can be obtained from
773
+ * gtk_window_list_toplevels(). Due to Gtk+ keeping a reference to
774
+ * the window internally, gtk_window_new() does not return a reference
775
+ * to the caller.
776
+ *
777
+ * To delete a #GtkWindow, call gtk_widget_destroy().
778
+ * @constructor
779
+ * @param type type of window
780
+ * @returns a new #GtkWindow.
781
+ */
782
+ static new(type: Gtk.WindowType): Gtk.Window
783
+ _init(config?: CheckerDialog.ConstructorProperties): void
784
+ }
785
+
786
+ export module Entry {
787
+
788
+ // Constructor properties interface
789
+
790
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
791
+
792
+ // Own constructor properties of Gspell-1.Gspell.Entry
793
+
794
+ /**
795
+ * The #GtkEntry.
796
+ */
797
+ entry?: Gtk.Entry | null
798
+ /**
799
+ * Whether the inline spell checking is enabled.
800
+ *
801
+ * Even if this property is %TRUE, #GspellEntry disables internally the
802
+ * inline spell checking in case the #GtkEntry:visibility property is
803
+ * %FALSE.
804
+ */
805
+ inline_spell_checking?: boolean | null
806
+ }
807
+
808
+ }
809
+
810
+ export interface Entry {
811
+
812
+ // Own properties of Gspell-1.Gspell.Entry
813
+
814
+ /**
815
+ * The #GtkEntry.
816
+ */
817
+ readonly entry: Gtk.Entry
818
+ /**
819
+ * Whether the inline spell checking is enabled.
820
+ *
821
+ * Even if this property is %TRUE, #GspellEntry disables internally the
822
+ * inline spell checking in case the #GtkEntry:visibility property is
823
+ * %FALSE.
824
+ */
825
+ inline_spell_checking: boolean
826
+
827
+ // Owm methods of Gspell-1.Gspell.Entry
828
+
829
+ /**
830
+ * This function is a convenience function that does the following:
831
+ * - Set a spell checker. The language chosen is the one returned by
832
+ * gspell_language_get_default().
833
+ * - Set the #GspellEntry:inline-spell-checking property to %TRUE.
834
+ *
835
+ * Example:
836
+ *
837
+ * ```
838
+ * GtkEntry *gtk_entry;
839
+ * GspellEntry *gspell_entry;
840
+ *
841
+ * gspell_entry = gspell_entry_get_from_gtk_entry (gtk_entry);
842
+ * gspell_entry_basic_setup (gspell_entry);
843
+ * ```
844
+ *
845
+ *
846
+ * This is equivalent to:
847
+ *
848
+ * ```
849
+ * GtkEntry *gtk_entry;
850
+ * GspellEntry *gspell_entry;
851
+ * GspellChecker *checker;
852
+ * GtkEntryBuffer *gtk_buffer;
853
+ * GspellEntryBuffer *gspell_buffer;
854
+ *
855
+ * checker = gspell_checker_new (NULL);
856
+ * gtk_buffer = gtk_entry_get_buffer (gtk_entry);
857
+ * gspell_buffer = gspell_entry_buffer_get_from_gtk_entry_buffer (gtk_buffer);
858
+ * gspell_entry_buffer_set_spell_checker (gspell_buffer, checker);
859
+ * g_object_unref (checker);
860
+ *
861
+ * gspell_entry = gspell_entry_get_from_gtk_entry (gtk_entry);
862
+ * gspell_entry_set_inline_spell_checking (gspell_entry, TRUE);
863
+ * ```
864
+ *
865
+ */
866
+ basic_setup(): void
867
+ get_entry(): Gtk.Entry
868
+ get_inline_spell_checking(): boolean
869
+ /**
870
+ * Sets the #GspellEntry:inline-spell-checking property.
871
+ * @param enable the new state.
872
+ */
873
+ set_inline_spell_checking(enable: boolean): void
874
+
875
+ // Class property signals of Gspell-1.Gspell.Entry
876
+
877
+ connect(sigName: "notify::entry", callback: (($obj: Entry, pspec: GObject.ParamSpec) => void)): number
878
+ connect_after(sigName: "notify::entry", callback: (($obj: Entry, pspec: GObject.ParamSpec) => void)): number
879
+ emit(sigName: "notify::entry", ...args: any[]): void
880
+ connect(sigName: "notify::inline-spell-checking", callback: (($obj: Entry, pspec: GObject.ParamSpec) => void)): number
881
+ connect_after(sigName: "notify::inline-spell-checking", callback: (($obj: Entry, pspec: GObject.ParamSpec) => void)): number
882
+ emit(sigName: "notify::inline-spell-checking", ...args: any[]): void
883
+ connect(sigName: string, callback: (...args: any[]) => void): number
884
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
885
+ emit(sigName: string, ...args: any[]): void
886
+ disconnect(id: number): void
887
+ }
888
+
889
+ export class Entry extends GObject.Object {
890
+
891
+ // Own properties of Gspell-1.Gspell.Entry
892
+
893
+ static name: string
894
+ static $gtype: GObject.GType<Entry>
895
+
896
+ // Constructors of Gspell-1.Gspell.Entry
897
+
898
+ constructor(config?: Entry.ConstructorProperties)
899
+ _init(config?: Entry.ConstructorProperties): void
900
+ /**
901
+ * Returns the #GspellEntry of `gtk_entry`. The returned object is guaranteed
902
+ * to be the same for the lifetime of `gtk_entry`.
903
+ * @param gtk_entry a #GtkEntry.
904
+ * @returns the #GspellEntry of @gtk_entry.
905
+ */
906
+ static get_from_gtk_entry(gtk_entry: Gtk.Entry): Entry
907
+ }
908
+
909
+ export module EntryBuffer {
910
+
911
+ // Constructor properties interface
912
+
913
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
914
+
915
+ // Own constructor properties of Gspell-1.Gspell.EntryBuffer
916
+
917
+ /**
918
+ * The #GtkEntryBuffer.
919
+ */
920
+ buffer?: Gtk.EntryBuffer | null
921
+ /**
922
+ * The #GspellChecker.
923
+ */
924
+ spell_checker?: Checker | null
925
+ }
926
+
927
+ }
928
+
929
+ export interface EntryBuffer {
930
+
931
+ // Own properties of Gspell-1.Gspell.EntryBuffer
932
+
933
+ /**
934
+ * The #GtkEntryBuffer.
935
+ */
936
+ readonly buffer: Gtk.EntryBuffer
937
+ /**
938
+ * The #GspellChecker.
939
+ */
940
+ spell_checker: Checker
941
+
942
+ // Owm methods of Gspell-1.Gspell.EntryBuffer
943
+
944
+ get_buffer(): Gtk.EntryBuffer
945
+ get_spell_checker(): Checker | null
946
+ /**
947
+ * Sets a #GspellChecker to a #GspellEntryBuffer. The `gspell_buffer` will own a
948
+ * reference to `spell_checker,` so you can release your reference to
949
+ * `spell_checker` if you no longer need it.
950
+ * @param spell_checker a #GspellChecker, or %NULL to unset the spell checker.
951
+ */
952
+ set_spell_checker(spell_checker: Checker | null): void
953
+
954
+ // Class property signals of Gspell-1.Gspell.EntryBuffer
955
+
956
+ connect(sigName: "notify::buffer", callback: (($obj: EntryBuffer, pspec: GObject.ParamSpec) => void)): number
957
+ connect_after(sigName: "notify::buffer", callback: (($obj: EntryBuffer, pspec: GObject.ParamSpec) => void)): number
958
+ emit(sigName: "notify::buffer", ...args: any[]): void
959
+ connect(sigName: "notify::spell-checker", callback: (($obj: EntryBuffer, pspec: GObject.ParamSpec) => void)): number
960
+ connect_after(sigName: "notify::spell-checker", callback: (($obj: EntryBuffer, pspec: GObject.ParamSpec) => void)): number
961
+ emit(sigName: "notify::spell-checker", ...args: any[]): void
962
+ connect(sigName: string, callback: (...args: any[]) => void): number
963
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
964
+ emit(sigName: string, ...args: any[]): void
965
+ disconnect(id: number): void
966
+ }
967
+
968
+ export class EntryBuffer extends GObject.Object {
969
+
970
+ // Own properties of Gspell-1.Gspell.EntryBuffer
971
+
972
+ static name: string
973
+ static $gtype: GObject.GType<EntryBuffer>
974
+
975
+ // Constructors of Gspell-1.Gspell.EntryBuffer
976
+
977
+ constructor(config?: EntryBuffer.ConstructorProperties)
978
+ _init(config?: EntryBuffer.ConstructorProperties): void
979
+ /**
980
+ * Returns the #GspellEntryBuffer of `gtk_buffer`. The returned object is
981
+ * guaranteed to be the same for the lifetime of `gtk_buffer`.
982
+ * @param gtk_buffer a #GtkEntryBuffer.
983
+ * @returns the #GspellEntryBuffer of @gtk_buffer.
984
+ */
985
+ static get_from_gtk_entry_buffer(gtk_buffer: Gtk.EntryBuffer): EntryBuffer
986
+ }
987
+
988
+ export module LanguageChooserButton {
989
+
990
+ // Constructor properties interface
991
+
992
+ export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, LanguageChooser.ConstructorProperties, Gtk.Actionable.ConstructorProperties, Gtk.Activatable.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Button.ConstructorProperties {
993
+ }
994
+
995
+ }
996
+
997
+ export interface LanguageChooserButton extends Atk.ImplementorIface, LanguageChooser, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
998
+
999
+ // Own fields of Gspell-1.Gspell.LanguageChooserButton
1000
+
1001
+ parent_instance: Gtk.Button & GObject.InitiallyUnowned
1002
+
1003
+ // Conflicting methods
1004
+
1005
+ /**
1006
+ * Emits a #GtkWidget::child-notify signal for the
1007
+ * [child property][child-properties] `child_property`
1008
+ * on `widget`.
1009
+ *
1010
+ * This is the analogue of g_object_notify() for child properties.
1011
+ *
1012
+ * Also see gtk_container_child_notify().
1013
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1014
+ */
1015
+ child_notify(child_property: string | null): void
1016
+ /**
1017
+ * Emits a #GtkWidget::child-notify signal for the
1018
+ * [child property][child-properties]
1019
+ * `child_property` on the child.
1020
+ *
1021
+ * This is an analogue of g_object_notify() for child properties.
1022
+ *
1023
+ * Also see gtk_widget_child_notify().
1024
+ * @param child the child widget
1025
+ * @param child_property the name of a child property installed on the class of `container`
1026
+ */
1027
+ child_notify(child: Gtk.Widget, child_property: string | null): void
1028
+
1029
+ // Overloads of child_notify
1030
+
1031
+ /**
1032
+ * Emits a #GtkWidget::child-notify signal for the
1033
+ * [child property][child-properties] `child_property`
1034
+ * on `widget`.
1035
+ *
1036
+ * This is the analogue of g_object_notify() for child properties.
1037
+ *
1038
+ * Also see gtk_container_child_notify().
1039
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1040
+ */
1041
+ child_notify(child_property: string | null): void
1042
+
1043
+ // Class property signals of Gspell-1.Gspell.LanguageChooserButton
1044
+
1045
+ connect(sigName: "notify::always-show-image", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1046
+ connect_after(sigName: "notify::always-show-image", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1047
+ emit(sigName: "notify::always-show-image", ...args: any[]): void
1048
+ connect(sigName: "notify::image", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1049
+ connect_after(sigName: "notify::image", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1050
+ emit(sigName: "notify::image", ...args: any[]): void
1051
+ connect(sigName: "notify::image-position", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1052
+ connect_after(sigName: "notify::image-position", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1053
+ emit(sigName: "notify::image-position", ...args: any[]): void
1054
+ connect(sigName: "notify::label", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1055
+ connect_after(sigName: "notify::label", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1056
+ emit(sigName: "notify::label", ...args: any[]): void
1057
+ connect(sigName: "notify::relief", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1058
+ connect_after(sigName: "notify::relief", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1059
+ emit(sigName: "notify::relief", ...args: any[]): void
1060
+ connect(sigName: "notify::use-stock", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1061
+ connect_after(sigName: "notify::use-stock", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1062
+ emit(sigName: "notify::use-stock", ...args: any[]): void
1063
+ connect(sigName: "notify::use-underline", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1064
+ connect_after(sigName: "notify::use-underline", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1065
+ emit(sigName: "notify::use-underline", ...args: any[]): void
1066
+ connect(sigName: "notify::xalign", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1067
+ connect_after(sigName: "notify::xalign", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1068
+ emit(sigName: "notify::xalign", ...args: any[]): void
1069
+ connect(sigName: "notify::yalign", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1070
+ connect_after(sigName: "notify::yalign", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1071
+ emit(sigName: "notify::yalign", ...args: any[]): void
1072
+ connect(sigName: "notify::border-width", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1073
+ connect_after(sigName: "notify::border-width", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1074
+ emit(sigName: "notify::border-width", ...args: any[]): void
1075
+ connect(sigName: "notify::child", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1076
+ connect_after(sigName: "notify::child", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1077
+ emit(sigName: "notify::child", ...args: any[]): void
1078
+ connect(sigName: "notify::resize-mode", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1079
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1080
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
1081
+ connect(sigName: "notify::app-paintable", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1082
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1083
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
1084
+ connect(sigName: "notify::can-default", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1085
+ connect_after(sigName: "notify::can-default", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1086
+ emit(sigName: "notify::can-default", ...args: any[]): void
1087
+ connect(sigName: "notify::can-focus", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1088
+ connect_after(sigName: "notify::can-focus", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1089
+ emit(sigName: "notify::can-focus", ...args: any[]): void
1090
+ connect(sigName: "notify::composite-child", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1091
+ connect_after(sigName: "notify::composite-child", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1092
+ emit(sigName: "notify::composite-child", ...args: any[]): void
1093
+ connect(sigName: "notify::double-buffered", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1094
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1095
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
1096
+ connect(sigName: "notify::events", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1097
+ connect_after(sigName: "notify::events", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1098
+ emit(sigName: "notify::events", ...args: any[]): void
1099
+ connect(sigName: "notify::expand", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1100
+ connect_after(sigName: "notify::expand", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1101
+ emit(sigName: "notify::expand", ...args: any[]): void
1102
+ connect(sigName: "notify::focus-on-click", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1103
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1104
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1105
+ connect(sigName: "notify::halign", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1106
+ connect_after(sigName: "notify::halign", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1107
+ emit(sigName: "notify::halign", ...args: any[]): void
1108
+ connect(sigName: "notify::has-default", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1109
+ connect_after(sigName: "notify::has-default", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1110
+ emit(sigName: "notify::has-default", ...args: any[]): void
1111
+ connect(sigName: "notify::has-focus", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1112
+ connect_after(sigName: "notify::has-focus", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1113
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1114
+ connect(sigName: "notify::has-tooltip", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1115
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1116
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1117
+ connect(sigName: "notify::height-request", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1118
+ connect_after(sigName: "notify::height-request", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1119
+ emit(sigName: "notify::height-request", ...args: any[]): void
1120
+ connect(sigName: "notify::hexpand", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1121
+ connect_after(sigName: "notify::hexpand", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1122
+ emit(sigName: "notify::hexpand", ...args: any[]): void
1123
+ connect(sigName: "notify::hexpand-set", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1124
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1125
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
1126
+ connect(sigName: "notify::is-focus", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1127
+ connect_after(sigName: "notify::is-focus", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1128
+ emit(sigName: "notify::is-focus", ...args: any[]): void
1129
+ connect(sigName: "notify::margin", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1130
+ connect_after(sigName: "notify::margin", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1131
+ emit(sigName: "notify::margin", ...args: any[]): void
1132
+ connect(sigName: "notify::margin-bottom", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1133
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1134
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
1135
+ connect(sigName: "notify::margin-end", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1136
+ connect_after(sigName: "notify::margin-end", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1137
+ emit(sigName: "notify::margin-end", ...args: any[]): void
1138
+ connect(sigName: "notify::margin-left", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1139
+ connect_after(sigName: "notify::margin-left", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1140
+ emit(sigName: "notify::margin-left", ...args: any[]): void
1141
+ connect(sigName: "notify::margin-right", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1142
+ connect_after(sigName: "notify::margin-right", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1143
+ emit(sigName: "notify::margin-right", ...args: any[]): void
1144
+ connect(sigName: "notify::margin-start", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1145
+ connect_after(sigName: "notify::margin-start", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1146
+ emit(sigName: "notify::margin-start", ...args: any[]): void
1147
+ connect(sigName: "notify::margin-top", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1148
+ connect_after(sigName: "notify::margin-top", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1149
+ emit(sigName: "notify::margin-top", ...args: any[]): void
1150
+ connect(sigName: "notify::name", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1151
+ connect_after(sigName: "notify::name", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1152
+ emit(sigName: "notify::name", ...args: any[]): void
1153
+ connect(sigName: "notify::no-show-all", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1154
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1155
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
1156
+ connect(sigName: "notify::opacity", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1157
+ connect_after(sigName: "notify::opacity", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1158
+ emit(sigName: "notify::opacity", ...args: any[]): void
1159
+ connect(sigName: "notify::parent", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1160
+ connect_after(sigName: "notify::parent", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1161
+ emit(sigName: "notify::parent", ...args: any[]): void
1162
+ connect(sigName: "notify::receives-default", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1163
+ connect_after(sigName: "notify::receives-default", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1164
+ emit(sigName: "notify::receives-default", ...args: any[]): void
1165
+ connect(sigName: "notify::scale-factor", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1166
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1167
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
1168
+ connect(sigName: "notify::sensitive", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1169
+ connect_after(sigName: "notify::sensitive", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1170
+ emit(sigName: "notify::sensitive", ...args: any[]): void
1171
+ connect(sigName: "notify::style", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1172
+ connect_after(sigName: "notify::style", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1173
+ emit(sigName: "notify::style", ...args: any[]): void
1174
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1175
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1176
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1177
+ connect(sigName: "notify::tooltip-text", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1178
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1179
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
1180
+ connect(sigName: "notify::valign", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1181
+ connect_after(sigName: "notify::valign", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1182
+ emit(sigName: "notify::valign", ...args: any[]): void
1183
+ connect(sigName: "notify::vexpand", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1184
+ connect_after(sigName: "notify::vexpand", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1185
+ emit(sigName: "notify::vexpand", ...args: any[]): void
1186
+ connect(sigName: "notify::vexpand-set", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1187
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1188
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
1189
+ connect(sigName: "notify::visible", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1190
+ connect_after(sigName: "notify::visible", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1191
+ emit(sigName: "notify::visible", ...args: any[]): void
1192
+ connect(sigName: "notify::width-request", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1193
+ connect_after(sigName: "notify::width-request", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1194
+ emit(sigName: "notify::width-request", ...args: any[]): void
1195
+ connect(sigName: "notify::window", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1196
+ connect_after(sigName: "notify::window", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1197
+ emit(sigName: "notify::window", ...args: any[]): void
1198
+ connect(sigName: "notify::language", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1199
+ connect_after(sigName: "notify::language", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1200
+ emit(sigName: "notify::language", ...args: any[]): void
1201
+ connect(sigName: "notify::language-code", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1202
+ connect_after(sigName: "notify::language-code", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1203
+ emit(sigName: "notify::language-code", ...args: any[]): void
1204
+ connect(sigName: "notify::action-name", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1205
+ connect_after(sigName: "notify::action-name", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1206
+ emit(sigName: "notify::action-name", ...args: any[]): void
1207
+ connect(sigName: "notify::action-target", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1208
+ connect_after(sigName: "notify::action-target", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1209
+ emit(sigName: "notify::action-target", ...args: any[]): void
1210
+ connect(sigName: "notify::related-action", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1211
+ connect_after(sigName: "notify::related-action", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1212
+ emit(sigName: "notify::related-action", ...args: any[]): void
1213
+ connect(sigName: "notify::use-action-appearance", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1214
+ connect_after(sigName: "notify::use-action-appearance", callback: (($obj: LanguageChooserButton, pspec: GObject.ParamSpec) => void)): number
1215
+ emit(sigName: "notify::use-action-appearance", ...args: any[]): void
1216
+ connect(sigName: string, callback: (...args: any[]) => void): number
1217
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1218
+ emit(sigName: string, ...args: any[]): void
1219
+ disconnect(id: number): void
1220
+ }
1221
+
1222
+ export class LanguageChooserButton extends Gtk.Button {
1223
+
1224
+ // Own properties of Gspell-1.Gspell.LanguageChooserButton
1225
+
1226
+ static name: string
1227
+ static $gtype: GObject.GType<LanguageChooserButton>
1228
+
1229
+ // Constructors of Gspell-1.Gspell.LanguageChooserButton
1230
+
1231
+ constructor(config?: LanguageChooserButton.ConstructorProperties)
1232
+ constructor(current_language: Language | null)
1233
+ static new(current_language: Language | null): LanguageChooserButton
1234
+
1235
+ // Overloads of new
1236
+
1237
+ /**
1238
+ * Creates a new #GtkButton widget. To add a child widget to the button,
1239
+ * use gtk_container_add().
1240
+ * @constructor
1241
+ * @returns The newly created #GtkButton widget.
1242
+ */
1243
+ static new(): Gtk.Button
1244
+ _init(config?: LanguageChooserButton.ConstructorProperties): void
1245
+ }
1246
+
1247
+ export module LanguageChooserDialog {
1248
+
1249
+ // Constructor properties interface
1250
+
1251
+ export interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, LanguageChooser.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Dialog.ConstructorProperties {
1252
+ }
1253
+
1254
+ }
1255
+
1256
+ export interface LanguageChooserDialog extends Atk.ImplementorIface, LanguageChooser, Gtk.Buildable {
1257
+
1258
+ // Conflicting properties
1259
+
1260
+ readonly window: Gtk.Window & Gdk.Window & Gdk.Window
1261
+
1262
+ // Own fields of Gspell-1.Gspell.LanguageChooserDialog
1263
+
1264
+ parent_instance: Gtk.Dialog & GObject.InitiallyUnowned
1265
+
1266
+ // Conflicting methods
1267
+
1268
+ /**
1269
+ * Activates the targets associated with the mnemonic.
1270
+ * @param keyval the mnemonic
1271
+ * @param modifier the modifiers
1272
+ * @returns %TRUE if the activation is done.
1273
+ */
1274
+ mnemonic_activate(keyval: number, modifier: Gdk.ModifierType): boolean
1275
+
1276
+ // Overloads of mnemonic_activate
1277
+
1278
+ /**
1279
+ * Emits the #GtkWidget::mnemonic-activate signal.
1280
+ * @param group_cycling %TRUE if there are other widgets with the same mnemonic
1281
+ * @returns %TRUE if the signal has been handled
1282
+ */
1283
+ mnemonic_activate(group_cycling: boolean): boolean
1284
+ /**
1285
+ * Emits the #GtkWidget::mnemonic-activate signal.
1286
+ * @param group_cycling %TRUE if there are other widgets with the same mnemonic
1287
+ * @returns %TRUE if the signal has been handled
1288
+ */
1289
+ mnemonic_activate(group_cycling: boolean): boolean
1290
+ /**
1291
+ * Emits a #GtkWidget::child-notify signal for the
1292
+ * [child property][child-properties]
1293
+ * `child_property` on the child.
1294
+ *
1295
+ * This is an analogue of g_object_notify() for child properties.
1296
+ *
1297
+ * Also see gtk_widget_child_notify().
1298
+ * @param child the child widget
1299
+ * @param child_property the name of a child property installed on the class of `container`
1300
+ */
1301
+ child_notify(child: Gtk.Widget, child_property: string | null): void
1302
+
1303
+ // Overloads of child_notify
1304
+
1305
+ /**
1306
+ * Emits a #GtkWidget::child-notify signal for the
1307
+ * [child property][child-properties] `child_property`
1308
+ * on `widget`.
1309
+ *
1310
+ * This is the analogue of g_object_notify() for child properties.
1311
+ *
1312
+ * Also see gtk_container_child_notify().
1313
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1314
+ */
1315
+ child_notify(child_property: string | null): void
1316
+ /**
1317
+ * Emits a #GtkWidget::child-notify signal for the
1318
+ * [child property][child-properties] `child_property`
1319
+ * on `widget`.
1320
+ *
1321
+ * This is the analogue of g_object_notify() for child properties.
1322
+ *
1323
+ * Also see gtk_container_child_notify().
1324
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1325
+ */
1326
+ child_notify(child_property: string | null): void
1327
+
1328
+ // Class property signals of Gspell-1.Gspell.LanguageChooserDialog
1329
+
1330
+ connect(sigName: "notify::use-header-bar", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1331
+ connect_after(sigName: "notify::use-header-bar", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1332
+ emit(sigName: "notify::use-header-bar", ...args: any[]): void
1333
+ connect(sigName: "notify::accept-focus", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1334
+ connect_after(sigName: "notify::accept-focus", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1335
+ emit(sigName: "notify::accept-focus", ...args: any[]): void
1336
+ connect(sigName: "notify::application", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1337
+ connect_after(sigName: "notify::application", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1338
+ emit(sigName: "notify::application", ...args: any[]): void
1339
+ connect(sigName: "notify::attached-to", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1340
+ connect_after(sigName: "notify::attached-to", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1341
+ emit(sigName: "notify::attached-to", ...args: any[]): void
1342
+ connect(sigName: "notify::decorated", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1343
+ connect_after(sigName: "notify::decorated", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1344
+ emit(sigName: "notify::decorated", ...args: any[]): void
1345
+ connect(sigName: "notify::default-height", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1346
+ connect_after(sigName: "notify::default-height", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1347
+ emit(sigName: "notify::default-height", ...args: any[]): void
1348
+ connect(sigName: "notify::default-width", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1349
+ connect_after(sigName: "notify::default-width", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1350
+ emit(sigName: "notify::default-width", ...args: any[]): void
1351
+ connect(sigName: "notify::deletable", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1352
+ connect_after(sigName: "notify::deletable", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1353
+ emit(sigName: "notify::deletable", ...args: any[]): void
1354
+ connect(sigName: "notify::destroy-with-parent", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1355
+ connect_after(sigName: "notify::destroy-with-parent", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1356
+ emit(sigName: "notify::destroy-with-parent", ...args: any[]): void
1357
+ connect(sigName: "notify::focus-on-map", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1358
+ connect_after(sigName: "notify::focus-on-map", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1359
+ emit(sigName: "notify::focus-on-map", ...args: any[]): void
1360
+ connect(sigName: "notify::focus-visible", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1361
+ connect_after(sigName: "notify::focus-visible", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1362
+ emit(sigName: "notify::focus-visible", ...args: any[]): void
1363
+ connect(sigName: "notify::gravity", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1364
+ connect_after(sigName: "notify::gravity", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1365
+ emit(sigName: "notify::gravity", ...args: any[]): void
1366
+ connect(sigName: "notify::has-resize-grip", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1367
+ connect_after(sigName: "notify::has-resize-grip", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1368
+ emit(sigName: "notify::has-resize-grip", ...args: any[]): void
1369
+ connect(sigName: "notify::has-toplevel-focus", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1370
+ connect_after(sigName: "notify::has-toplevel-focus", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1371
+ emit(sigName: "notify::has-toplevel-focus", ...args: any[]): void
1372
+ connect(sigName: "notify::hide-titlebar-when-maximized", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1373
+ connect_after(sigName: "notify::hide-titlebar-when-maximized", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1374
+ emit(sigName: "notify::hide-titlebar-when-maximized", ...args: any[]): void
1375
+ connect(sigName: "notify::icon", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1376
+ connect_after(sigName: "notify::icon", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1377
+ emit(sigName: "notify::icon", ...args: any[]): void
1378
+ connect(sigName: "notify::icon-name", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1379
+ connect_after(sigName: "notify::icon-name", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1380
+ emit(sigName: "notify::icon-name", ...args: any[]): void
1381
+ connect(sigName: "notify::is-active", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1382
+ connect_after(sigName: "notify::is-active", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1383
+ emit(sigName: "notify::is-active", ...args: any[]): void
1384
+ connect(sigName: "notify::is-maximized", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1385
+ connect_after(sigName: "notify::is-maximized", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1386
+ emit(sigName: "notify::is-maximized", ...args: any[]): void
1387
+ connect(sigName: "notify::mnemonics-visible", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1388
+ connect_after(sigName: "notify::mnemonics-visible", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1389
+ emit(sigName: "notify::mnemonics-visible", ...args: any[]): void
1390
+ connect(sigName: "notify::modal", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1391
+ connect_after(sigName: "notify::modal", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1392
+ emit(sigName: "notify::modal", ...args: any[]): void
1393
+ connect(sigName: "notify::resizable", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1394
+ connect_after(sigName: "notify::resizable", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1395
+ emit(sigName: "notify::resizable", ...args: any[]): void
1396
+ connect(sigName: "notify::resize-grip-visible", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1397
+ connect_after(sigName: "notify::resize-grip-visible", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1398
+ emit(sigName: "notify::resize-grip-visible", ...args: any[]): void
1399
+ connect(sigName: "notify::role", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1400
+ connect_after(sigName: "notify::role", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1401
+ emit(sigName: "notify::role", ...args: any[]): void
1402
+ connect(sigName: "notify::screen", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1403
+ connect_after(sigName: "notify::screen", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1404
+ emit(sigName: "notify::screen", ...args: any[]): void
1405
+ connect(sigName: "notify::skip-pager-hint", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1406
+ connect_after(sigName: "notify::skip-pager-hint", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1407
+ emit(sigName: "notify::skip-pager-hint", ...args: any[]): void
1408
+ connect(sigName: "notify::skip-taskbar-hint", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1409
+ connect_after(sigName: "notify::skip-taskbar-hint", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1410
+ emit(sigName: "notify::skip-taskbar-hint", ...args: any[]): void
1411
+ connect(sigName: "notify::startup-id", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1412
+ connect_after(sigName: "notify::startup-id", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1413
+ emit(sigName: "notify::startup-id", ...args: any[]): void
1414
+ connect(sigName: "notify::title", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1415
+ connect_after(sigName: "notify::title", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1416
+ emit(sigName: "notify::title", ...args: any[]): void
1417
+ connect(sigName: "notify::transient-for", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1418
+ connect_after(sigName: "notify::transient-for", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1419
+ emit(sigName: "notify::transient-for", ...args: any[]): void
1420
+ connect(sigName: "notify::type", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1421
+ connect_after(sigName: "notify::type", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1422
+ emit(sigName: "notify::type", ...args: any[]): void
1423
+ connect(sigName: "notify::type-hint", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1424
+ connect_after(sigName: "notify::type-hint", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1425
+ emit(sigName: "notify::type-hint", ...args: any[]): void
1426
+ connect(sigName: "notify::urgency-hint", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1427
+ connect_after(sigName: "notify::urgency-hint", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1428
+ emit(sigName: "notify::urgency-hint", ...args: any[]): void
1429
+ connect(sigName: "notify::window-position", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1430
+ connect_after(sigName: "notify::window-position", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1431
+ emit(sigName: "notify::window-position", ...args: any[]): void
1432
+ connect(sigName: "notify::border-width", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1433
+ connect_after(sigName: "notify::border-width", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1434
+ emit(sigName: "notify::border-width", ...args: any[]): void
1435
+ connect(sigName: "notify::child", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1436
+ connect_after(sigName: "notify::child", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1437
+ emit(sigName: "notify::child", ...args: any[]): void
1438
+ connect(sigName: "notify::resize-mode", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1439
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1440
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
1441
+ connect(sigName: "notify::app-paintable", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1442
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1443
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
1444
+ connect(sigName: "notify::can-default", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1445
+ connect_after(sigName: "notify::can-default", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1446
+ emit(sigName: "notify::can-default", ...args: any[]): void
1447
+ connect(sigName: "notify::can-focus", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1448
+ connect_after(sigName: "notify::can-focus", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1449
+ emit(sigName: "notify::can-focus", ...args: any[]): void
1450
+ connect(sigName: "notify::composite-child", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1451
+ connect_after(sigName: "notify::composite-child", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1452
+ emit(sigName: "notify::composite-child", ...args: any[]): void
1453
+ connect(sigName: "notify::double-buffered", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1454
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1455
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
1456
+ connect(sigName: "notify::events", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1457
+ connect_after(sigName: "notify::events", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1458
+ emit(sigName: "notify::events", ...args: any[]): void
1459
+ connect(sigName: "notify::expand", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1460
+ connect_after(sigName: "notify::expand", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1461
+ emit(sigName: "notify::expand", ...args: any[]): void
1462
+ connect(sigName: "notify::focus-on-click", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1463
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1464
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1465
+ connect(sigName: "notify::halign", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1466
+ connect_after(sigName: "notify::halign", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1467
+ emit(sigName: "notify::halign", ...args: any[]): void
1468
+ connect(sigName: "notify::has-default", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1469
+ connect_after(sigName: "notify::has-default", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1470
+ emit(sigName: "notify::has-default", ...args: any[]): void
1471
+ connect(sigName: "notify::has-focus", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1472
+ connect_after(sigName: "notify::has-focus", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1473
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1474
+ connect(sigName: "notify::has-tooltip", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1475
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1476
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1477
+ connect(sigName: "notify::height-request", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1478
+ connect_after(sigName: "notify::height-request", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1479
+ emit(sigName: "notify::height-request", ...args: any[]): void
1480
+ connect(sigName: "notify::hexpand", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1481
+ connect_after(sigName: "notify::hexpand", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1482
+ emit(sigName: "notify::hexpand", ...args: any[]): void
1483
+ connect(sigName: "notify::hexpand-set", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1484
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1485
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
1486
+ connect(sigName: "notify::is-focus", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1487
+ connect_after(sigName: "notify::is-focus", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1488
+ emit(sigName: "notify::is-focus", ...args: any[]): void
1489
+ connect(sigName: "notify::margin", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1490
+ connect_after(sigName: "notify::margin", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1491
+ emit(sigName: "notify::margin", ...args: any[]): void
1492
+ connect(sigName: "notify::margin-bottom", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1493
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1494
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
1495
+ connect(sigName: "notify::margin-end", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1496
+ connect_after(sigName: "notify::margin-end", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1497
+ emit(sigName: "notify::margin-end", ...args: any[]): void
1498
+ connect(sigName: "notify::margin-left", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1499
+ connect_after(sigName: "notify::margin-left", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1500
+ emit(sigName: "notify::margin-left", ...args: any[]): void
1501
+ connect(sigName: "notify::margin-right", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1502
+ connect_after(sigName: "notify::margin-right", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1503
+ emit(sigName: "notify::margin-right", ...args: any[]): void
1504
+ connect(sigName: "notify::margin-start", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1505
+ connect_after(sigName: "notify::margin-start", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1506
+ emit(sigName: "notify::margin-start", ...args: any[]): void
1507
+ connect(sigName: "notify::margin-top", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1508
+ connect_after(sigName: "notify::margin-top", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1509
+ emit(sigName: "notify::margin-top", ...args: any[]): void
1510
+ connect(sigName: "notify::name", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1511
+ connect_after(sigName: "notify::name", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1512
+ emit(sigName: "notify::name", ...args: any[]): void
1513
+ connect(sigName: "notify::no-show-all", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1514
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1515
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
1516
+ connect(sigName: "notify::opacity", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1517
+ connect_after(sigName: "notify::opacity", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1518
+ emit(sigName: "notify::opacity", ...args: any[]): void
1519
+ connect(sigName: "notify::parent", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1520
+ connect_after(sigName: "notify::parent", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1521
+ emit(sigName: "notify::parent", ...args: any[]): void
1522
+ connect(sigName: "notify::receives-default", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1523
+ connect_after(sigName: "notify::receives-default", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1524
+ emit(sigName: "notify::receives-default", ...args: any[]): void
1525
+ connect(sigName: "notify::scale-factor", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1526
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1527
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
1528
+ connect(sigName: "notify::sensitive", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1529
+ connect_after(sigName: "notify::sensitive", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1530
+ emit(sigName: "notify::sensitive", ...args: any[]): void
1531
+ connect(sigName: "notify::style", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1532
+ connect_after(sigName: "notify::style", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1533
+ emit(sigName: "notify::style", ...args: any[]): void
1534
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1535
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1536
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1537
+ connect(sigName: "notify::tooltip-text", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1538
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1539
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
1540
+ connect(sigName: "notify::valign", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1541
+ connect_after(sigName: "notify::valign", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1542
+ emit(sigName: "notify::valign", ...args: any[]): void
1543
+ connect(sigName: "notify::vexpand", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1544
+ connect_after(sigName: "notify::vexpand", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1545
+ emit(sigName: "notify::vexpand", ...args: any[]): void
1546
+ connect(sigName: "notify::vexpand-set", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1547
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1548
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
1549
+ connect(sigName: "notify::visible", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1550
+ connect_after(sigName: "notify::visible", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1551
+ emit(sigName: "notify::visible", ...args: any[]): void
1552
+ connect(sigName: "notify::width-request", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1553
+ connect_after(sigName: "notify::width-request", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1554
+ emit(sigName: "notify::width-request", ...args: any[]): void
1555
+ connect(sigName: "notify::window", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1556
+ connect_after(sigName: "notify::window", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1557
+ emit(sigName: "notify::window", ...args: any[]): void
1558
+ connect(sigName: "notify::language", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1559
+ connect_after(sigName: "notify::language", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1560
+ emit(sigName: "notify::language", ...args: any[]): void
1561
+ connect(sigName: "notify::language-code", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1562
+ connect_after(sigName: "notify::language-code", callback: (($obj: LanguageChooserDialog, pspec: GObject.ParamSpec) => void)): number
1563
+ emit(sigName: "notify::language-code", ...args: any[]): void
1564
+ connect(sigName: string, callback: (...args: any[]) => void): number
1565
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1566
+ emit(sigName: string, ...args: any[]): void
1567
+ disconnect(id: number): void
1568
+ }
1569
+
1570
+ export class LanguageChooserDialog extends Gtk.Dialog {
1571
+
1572
+ // Own properties of Gspell-1.Gspell.LanguageChooserDialog
1573
+
1574
+ static name: string
1575
+ static $gtype: GObject.GType<LanguageChooserDialog>
1576
+
1577
+ // Constructors of Gspell-1.Gspell.LanguageChooserDialog
1578
+
1579
+ constructor(config?: LanguageChooserDialog.ConstructorProperties)
1580
+ constructor(parent: Gtk.Window, current_language: Language | null, flags: Gtk.DialogFlags)
1581
+ static new(parent: Gtk.Window, current_language: Language | null, flags: Gtk.DialogFlags): LanguageChooserDialog
1582
+
1583
+ // Overloads of new
1584
+
1585
+ /**
1586
+ * Creates a new dialog box.
1587
+ *
1588
+ * Widgets should not be packed into this #GtkWindow
1589
+ * directly, but into the `vbox` and `action_area,` as described above.
1590
+ * @constructor
1591
+ * @returns the new dialog as a #GtkWidget
1592
+ */
1593
+ static new(): Gtk.Dialog
1594
+ /**
1595
+ * Creates a new #GtkWindow, which is a toplevel window that can
1596
+ * contain other widgets. Nearly always, the type of the window should
1597
+ * be #GTK_WINDOW_TOPLEVEL. If you’re implementing something like a
1598
+ * popup menu from scratch (which is a bad idea, just use #GtkMenu),
1599
+ * you might use #GTK_WINDOW_POPUP. #GTK_WINDOW_POPUP is not for
1600
+ * dialogs, though in some other toolkits dialogs are called “popups”.
1601
+ * In GTK+, #GTK_WINDOW_POPUP means a pop-up menu or pop-up tooltip.
1602
+ * On X11, popup windows are not controlled by the
1603
+ * [window manager][gtk-X11-arch].
1604
+ *
1605
+ * If you simply want an undecorated window (no window borders), use
1606
+ * gtk_window_set_decorated(), don’t use #GTK_WINDOW_POPUP.
1607
+ *
1608
+ * All top-level windows created by gtk_window_new() are stored in
1609
+ * an internal top-level window list. This list can be obtained from
1610
+ * gtk_window_list_toplevels(). Due to Gtk+ keeping a reference to
1611
+ * the window internally, gtk_window_new() does not return a reference
1612
+ * to the caller.
1613
+ *
1614
+ * To delete a #GtkWindow, call gtk_widget_destroy().
1615
+ * @constructor
1616
+ * @param type type of window
1617
+ * @returns a new #GtkWindow.
1618
+ */
1619
+ static new(type: Gtk.WindowType): Gtk.Window
1620
+ _init(config?: LanguageChooserDialog.ConstructorProperties): void
1621
+ }
1622
+
1623
+ export module NavigatorTextView {
1624
+
1625
+ // Constructor properties interface
1626
+
1627
+ export interface ConstructorProperties extends Navigator.ConstructorProperties, GObject.InitiallyUnowned.ConstructorProperties {
1628
+
1629
+ // Own constructor properties of Gspell-1.Gspell.NavigatorTextView
1630
+
1631
+ /**
1632
+ * The #GtkTextView. The buffer is not sufficient, the view is needed to
1633
+ * scroll to the misspelled words.
1634
+ */
1635
+ view?: Gtk.TextView | null
1636
+ }
1637
+
1638
+ }
1639
+
1640
+ export interface NavigatorTextView extends Navigator {
1641
+
1642
+ // Own properties of Gspell-1.Gspell.NavigatorTextView
1643
+
1644
+ /**
1645
+ * The #GtkTextView. The buffer is not sufficient, the view is needed to
1646
+ * scroll to the misspelled words.
1647
+ */
1648
+ readonly view: Gtk.TextView
1649
+
1650
+ // Own fields of Gspell-1.Gspell.NavigatorTextView
1651
+
1652
+ parent_instance: GObject.InitiallyUnowned
1653
+
1654
+ // Owm methods of Gspell-1.Gspell.NavigatorTextView
1655
+
1656
+ get_view(): Gtk.TextView
1657
+
1658
+ // Class property signals of Gspell-1.Gspell.NavigatorTextView
1659
+
1660
+ connect(sigName: "notify::view", callback: (($obj: NavigatorTextView, pspec: GObject.ParamSpec) => void)): number
1661
+ connect_after(sigName: "notify::view", callback: (($obj: NavigatorTextView, pspec: GObject.ParamSpec) => void)): number
1662
+ emit(sigName: "notify::view", ...args: any[]): void
1663
+ connect(sigName: string, callback: (...args: any[]) => void): number
1664
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1665
+ emit(sigName: string, ...args: any[]): void
1666
+ disconnect(id: number): void
1667
+ }
1668
+
1669
+ export class NavigatorTextView extends GObject.InitiallyUnowned {
1670
+
1671
+ // Own properties of Gspell-1.Gspell.NavigatorTextView
1672
+
1673
+ static name: string
1674
+ static $gtype: GObject.GType<NavigatorTextView>
1675
+
1676
+ // Constructors of Gspell-1.Gspell.NavigatorTextView
1677
+
1678
+ constructor(config?: NavigatorTextView.ConstructorProperties)
1679
+ _init(config?: NavigatorTextView.ConstructorProperties): void
1680
+ static new(view: Gtk.TextView): Navigator
1681
+ }
1682
+
1683
+ export module TextBuffer {
1684
+
1685
+ // Constructor properties interface
1686
+
1687
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1688
+
1689
+ // Own constructor properties of Gspell-1.Gspell.TextBuffer
1690
+
1691
+ /**
1692
+ * The #GtkTextBuffer.
1693
+ */
1694
+ buffer?: Gtk.TextBuffer | null
1695
+ /**
1696
+ * The #GspellChecker.
1697
+ */
1698
+ spell_checker?: Checker | null
1699
+ }
1700
+
1701
+ }
1702
+
1703
+ export interface TextBuffer {
1704
+
1705
+ // Own properties of Gspell-1.Gspell.TextBuffer
1706
+
1707
+ /**
1708
+ * The #GtkTextBuffer.
1709
+ */
1710
+ readonly buffer: Gtk.TextBuffer
1711
+ /**
1712
+ * The #GspellChecker.
1713
+ */
1714
+ spell_checker: Checker
1715
+
1716
+ // Owm methods of Gspell-1.Gspell.TextBuffer
1717
+
1718
+ get_buffer(): Gtk.TextBuffer
1719
+ get_spell_checker(): Checker | null
1720
+ /**
1721
+ * Sets a #GspellChecker to a #GspellTextBuffer. The `gspell_buffer` will own a
1722
+ * reference to `spell_checker,` so you can release your reference to
1723
+ * `spell_checker` if you no longer need it.
1724
+ * @param spell_checker a #GspellChecker, or %NULL to unset the spell checker.
1725
+ */
1726
+ set_spell_checker(spell_checker: Checker | null): void
1727
+
1728
+ // Class property signals of Gspell-1.Gspell.TextBuffer
1729
+
1730
+ connect(sigName: "notify::buffer", callback: (($obj: TextBuffer, pspec: GObject.ParamSpec) => void)): number
1731
+ connect_after(sigName: "notify::buffer", callback: (($obj: TextBuffer, pspec: GObject.ParamSpec) => void)): number
1732
+ emit(sigName: "notify::buffer", ...args: any[]): void
1733
+ connect(sigName: "notify::spell-checker", callback: (($obj: TextBuffer, pspec: GObject.ParamSpec) => void)): number
1734
+ connect_after(sigName: "notify::spell-checker", callback: (($obj: TextBuffer, pspec: GObject.ParamSpec) => void)): number
1735
+ emit(sigName: "notify::spell-checker", ...args: any[]): void
1736
+ connect(sigName: string, callback: (...args: any[]) => void): number
1737
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1738
+ emit(sigName: string, ...args: any[]): void
1739
+ disconnect(id: number): void
1740
+ }
1741
+
1742
+ export class TextBuffer extends GObject.Object {
1743
+
1744
+ // Own properties of Gspell-1.Gspell.TextBuffer
1745
+
1746
+ static name: string
1747
+ static $gtype: GObject.GType<TextBuffer>
1748
+
1749
+ // Constructors of Gspell-1.Gspell.TextBuffer
1750
+
1751
+ constructor(config?: TextBuffer.ConstructorProperties)
1752
+ _init(config?: TextBuffer.ConstructorProperties): void
1753
+ /**
1754
+ * Returns the #GspellTextBuffer of `gtk_buffer`. The returned object is
1755
+ * guaranteed to be the same for the lifetime of `gtk_buffer`.
1756
+ * @param gtk_buffer a #GtkTextBuffer.
1757
+ * @returns the #GspellTextBuffer of @gtk_buffer.
1758
+ */
1759
+ static get_from_gtk_text_buffer(gtk_buffer: Gtk.TextBuffer): TextBuffer
1760
+ }
1761
+
1762
+ export module TextView {
1763
+
1764
+ // Constructor properties interface
1765
+
1766
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1767
+
1768
+ // Own constructor properties of Gspell-1.Gspell.TextView
1769
+
1770
+ /**
1771
+ * When the context menu is shown, whether to add a sub-menu to select
1772
+ * the language for the spell checking.
1773
+ */
1774
+ enable_language_menu?: boolean | null
1775
+ /**
1776
+ * Whether the inline spell checking is enabled.
1777
+ */
1778
+ inline_spell_checking?: boolean | null
1779
+ /**
1780
+ * The #GtkTextView.
1781
+ */
1782
+ view?: Gtk.TextView | null
1783
+ }
1784
+
1785
+ }
1786
+
1787
+ export interface TextView {
1788
+
1789
+ // Own properties of Gspell-1.Gspell.TextView
1790
+
1791
+ /**
1792
+ * When the context menu is shown, whether to add a sub-menu to select
1793
+ * the language for the spell checking.
1794
+ */
1795
+ enable_language_menu: boolean
1796
+ /**
1797
+ * Whether the inline spell checking is enabled.
1798
+ */
1799
+ inline_spell_checking: boolean
1800
+ /**
1801
+ * The #GtkTextView.
1802
+ */
1803
+ readonly view: Gtk.TextView
1804
+
1805
+ // Own fields of Gspell-1.Gspell.TextView
1806
+
1807
+ parent_instance: GObject.Object
1808
+
1809
+ // Owm methods of Gspell-1.Gspell.TextView
1810
+
1811
+ /**
1812
+ * This function is a convenience function that does the following:
1813
+ * - Set a spell checker. The language chosen is the one returned by
1814
+ * gspell_language_get_default().
1815
+ * - Set the #GspellTextView:inline-spell-checking property to %TRUE.
1816
+ * - Set the #GspellTextView:enable-language-menu property to %TRUE.
1817
+ *
1818
+ * Example:
1819
+ *
1820
+ * ```
1821
+ * GtkTextView *gtk_view;
1822
+ * GspellTextView *gspell_view;
1823
+ *
1824
+ * gspell_view = gspell_text_view_get_from_gtk_text_view (gtk_view);
1825
+ * gspell_text_view_basic_setup (gspell_view);
1826
+ * ```
1827
+ *
1828
+ *
1829
+ * This is equivalent to:
1830
+ *
1831
+ * ```
1832
+ * GtkTextView *gtk_view;
1833
+ * GspellTextView *gspell_view;
1834
+ * GspellChecker *checker;
1835
+ * GtkTextBuffer *gtk_buffer;
1836
+ * GspellTextBuffer *gspell_buffer;
1837
+ *
1838
+ * checker = gspell_checker_new (NULL);
1839
+ * gtk_buffer = gtk_text_view_get_buffer (gtk_view);
1840
+ * gspell_buffer = gspell_text_buffer_get_from_gtk_text_buffer (gtk_buffer);
1841
+ * gspell_text_buffer_set_spell_checker (gspell_buffer, checker);
1842
+ * g_object_unref (checker);
1843
+ *
1844
+ * gspell_view = gspell_text_view_get_from_gtk_text_view (gtk_view);
1845
+ * gspell_text_view_set_inline_spell_checking (gspell_view, TRUE);
1846
+ * gspell_text_view_set_enable_language_menu (gspell_view, TRUE);
1847
+ * ```
1848
+ *
1849
+ */
1850
+ basic_setup(): void
1851
+ get_enable_language_menu(): boolean
1852
+ get_inline_spell_checking(): boolean
1853
+ get_view(): Gtk.TextView
1854
+ /**
1855
+ * Sets whether to enable the language context menu. If enabled, doing a right
1856
+ * click on the #GtkTextView will show a sub-menu to choose the language for the
1857
+ * spell checking. If another language is chosen, it changes the
1858
+ * #GspellChecker:language property of the #GspellTextBuffer:spell-checker of
1859
+ * the #GtkTextView:buffer of the #GspellTextView:view.
1860
+ * @param enable_language_menu whether to enable the language context menu.
1861
+ */
1862
+ set_enable_language_menu(enable_language_menu: boolean): void
1863
+ /**
1864
+ * Enables or disables the inline spell checking.
1865
+ * @param enable the new state.
1866
+ */
1867
+ set_inline_spell_checking(enable: boolean): void
1868
+
1869
+ // Class property signals of Gspell-1.Gspell.TextView
1870
+
1871
+ connect(sigName: "notify::enable-language-menu", callback: (($obj: TextView, pspec: GObject.ParamSpec) => void)): number
1872
+ connect_after(sigName: "notify::enable-language-menu", callback: (($obj: TextView, pspec: GObject.ParamSpec) => void)): number
1873
+ emit(sigName: "notify::enable-language-menu", ...args: any[]): void
1874
+ connect(sigName: "notify::inline-spell-checking", callback: (($obj: TextView, pspec: GObject.ParamSpec) => void)): number
1875
+ connect_after(sigName: "notify::inline-spell-checking", callback: (($obj: TextView, pspec: GObject.ParamSpec) => void)): number
1876
+ emit(sigName: "notify::inline-spell-checking", ...args: any[]): void
1877
+ connect(sigName: "notify::view", callback: (($obj: TextView, pspec: GObject.ParamSpec) => void)): number
1878
+ connect_after(sigName: "notify::view", callback: (($obj: TextView, pspec: GObject.ParamSpec) => void)): number
1879
+ emit(sigName: "notify::view", ...args: any[]): void
1880
+ connect(sigName: string, callback: (...args: any[]) => void): number
1881
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1882
+ emit(sigName: string, ...args: any[]): void
1883
+ disconnect(id: number): void
1884
+ }
1885
+
1886
+ export class TextView extends GObject.Object {
1887
+
1888
+ // Own properties of Gspell-1.Gspell.TextView
1889
+
1890
+ static name: string
1891
+ static $gtype: GObject.GType<TextView>
1892
+
1893
+ // Constructors of Gspell-1.Gspell.TextView
1894
+
1895
+ constructor(config?: TextView.ConstructorProperties)
1896
+ _init(config?: TextView.ConstructorProperties): void
1897
+ /**
1898
+ * Returns the #GspellTextView of `gtk_view`. The returned object is guaranteed
1899
+ * to be the same for the lifetime of `gtk_view`.
1900
+ * @param gtk_view a #GtkTextView.
1901
+ * @returns the #GspellTextView of @gtk_view.
1902
+ */
1903
+ static get_from_gtk_text_view(gtk_view: Gtk.TextView): TextView
1904
+ }
1905
+
1906
+ export interface CheckerClass {
1907
+
1908
+ // Own fields of Gspell-1.Gspell.CheckerClass
1909
+
1910
+ parent_class: GObject.ObjectClass
1911
+ word_added_to_personal: (checker: Checker, word: string | null) => void
1912
+ word_added_to_session: (checker: Checker, word: string | null) => void
1913
+ session_cleared: (checker: Checker) => void
1914
+ padding: any[]
1915
+ }
1916
+
1917
+ export abstract class CheckerClass {
1918
+
1919
+ // Own properties of Gspell-1.Gspell.CheckerClass
1920
+
1921
+ static name: string
1922
+ }
1923
+
1924
+ export interface CheckerDialogClass {
1925
+
1926
+ // Own fields of Gspell-1.Gspell.CheckerDialogClass
1927
+
1928
+ parent_class: Gtk.DialogClass
1929
+ padding: any[]
1930
+ }
1931
+
1932
+ export abstract class CheckerDialogClass {
1933
+
1934
+ // Own properties of Gspell-1.Gspell.CheckerDialogClass
1935
+
1936
+ static name: string
1937
+ }
1938
+
1939
+ export interface EntryBufferClass {
1940
+
1941
+ // Own fields of Gspell-1.Gspell.EntryBufferClass
1942
+
1943
+ parent_class: GObject.ObjectClass
1944
+ }
1945
+
1946
+ export abstract class EntryBufferClass {
1947
+
1948
+ // Own properties of Gspell-1.Gspell.EntryBufferClass
1949
+
1950
+ static name: string
1951
+ }
1952
+
1953
+ export interface EntryClass {
1954
+
1955
+ // Own fields of Gspell-1.Gspell.EntryClass
1956
+
1957
+ parent_class: GObject.ObjectClass
1958
+ }
1959
+
1960
+ export abstract class EntryClass {
1961
+
1962
+ // Own properties of Gspell-1.Gspell.EntryClass
1963
+
1964
+ static name: string
1965
+ }
1966
+
1967
+ export interface Language {
1968
+
1969
+ // Owm methods of Gspell-1.Gspell.Language
1970
+
1971
+ /**
1972
+ * Compares alphabetically two languages by their name, as returned by
1973
+ * gspell_language_get_name().
1974
+ * @param language_b another #GspellLanguage.
1975
+ * @returns an integer less than, equal to, or greater than zero, if @language_a is <, == or > than @language_b.
1976
+ */
1977
+ compare(language_b: Language): number
1978
+ /**
1979
+ * Used by language bindings.
1980
+ * @returns a copy of @lang.
1981
+ */
1982
+ copy(): Language
1983
+ /**
1984
+ * Used by language bindings.
1985
+ */
1986
+ free(): void
1987
+ get_code(): string | null
1988
+ /**
1989
+ * Returns the `language` name translated to the current locale. For example
1990
+ * "French (Belgium)" is returned if the current locale is in English and the
1991
+ * `language` code is fr_BE.
1992
+ * @returns the @language name.
1993
+ */
1994
+ get_name(): string | null
1995
+ }
1996
+
1997
+ export class Language {
1998
+
1999
+ // Own properties of Gspell-1.Gspell.Language
2000
+
2001
+ static name: string
2002
+
2003
+ // Constructors of Gspell-1.Gspell.Language
2004
+
2005
+ static get_available(): Language[]
2006
+ /**
2007
+ * Finds the best available language based on the current locale.
2008
+ * @returns the default #GspellLanguage, or %NULL if no dictionaries are available.
2009
+ */
2010
+ static get_default(): Language | null
2011
+ static lookup(language_code: string | null): Language | null
2012
+ }
2013
+
2014
+ export interface LanguageChooserButtonClass {
2015
+
2016
+ // Own fields of Gspell-1.Gspell.LanguageChooserButtonClass
2017
+
2018
+ parent_class: Gtk.ButtonClass
2019
+ padding: any[]
2020
+ }
2021
+
2022
+ export abstract class LanguageChooserButtonClass {
2023
+
2024
+ // Own properties of Gspell-1.Gspell.LanguageChooserButtonClass
2025
+
2026
+ static name: string
2027
+ }
2028
+
2029
+ export interface LanguageChooserDialogClass {
2030
+
2031
+ // Own fields of Gspell-1.Gspell.LanguageChooserDialogClass
2032
+
2033
+ parent_class: Gtk.DialogClass
2034
+ padding: any[]
2035
+ }
2036
+
2037
+ export abstract class LanguageChooserDialogClass {
2038
+
2039
+ // Own properties of Gspell-1.Gspell.LanguageChooserDialogClass
2040
+
2041
+ static name: string
2042
+ }
2043
+
2044
+ export interface LanguageChooserInterface {
2045
+
2046
+ // Own fields of Gspell-1.Gspell.LanguageChooserInterface
2047
+
2048
+ parent_interface: GObject.TypeInterface
2049
+ get_language_full: (chooser: LanguageChooser, default_language: boolean) => Language
2050
+ set_language: (chooser: LanguageChooser, language: Language | null) => void
2051
+ }
2052
+
2053
+ export abstract class LanguageChooserInterface {
2054
+
2055
+ // Own properties of Gspell-1.Gspell.LanguageChooserInterface
2056
+
2057
+ static name: string
2058
+ }
2059
+
2060
+ export interface NavigatorInterface {
2061
+
2062
+ // Own fields of Gspell-1.Gspell.NavigatorInterface
2063
+
2064
+ parent_interface: GObject.TypeInterface
2065
+ goto_next: (navigator: Navigator) => [ /* returnType */ boolean, /* word */ string | null, /* spell_checker */ Checker ]
2066
+ change: (navigator: Navigator, word: string | null, change_to: string | null) => void
2067
+ change_all: (navigator: Navigator, word: string | null, change_to: string | null) => void
2068
+ }
2069
+
2070
+ export abstract class NavigatorInterface {
2071
+
2072
+ // Own properties of Gspell-1.Gspell.NavigatorInterface
2073
+
2074
+ static name: string
2075
+ }
2076
+
2077
+ export interface NavigatorTextViewClass {
2078
+
2079
+ // Own fields of Gspell-1.Gspell.NavigatorTextViewClass
2080
+
2081
+ parent_class: GObject.InitiallyUnownedClass
2082
+ padding: any[]
2083
+ }
2084
+
2085
+ export abstract class NavigatorTextViewClass {
2086
+
2087
+ // Own properties of Gspell-1.Gspell.NavigatorTextViewClass
2088
+
2089
+ static name: string
2090
+ }
2091
+
2092
+ export interface TextBufferClass {
2093
+
2094
+ // Own fields of Gspell-1.Gspell.TextBufferClass
2095
+
2096
+ parent_class: GObject.ObjectClass
2097
+ }
2098
+
2099
+ export abstract class TextBufferClass {
2100
+
2101
+ // Own properties of Gspell-1.Gspell.TextBufferClass
2102
+
2103
+ static name: string
2104
+ }
2105
+
2106
+ export interface TextViewClass {
2107
+
2108
+ // Own fields of Gspell-1.Gspell.TextViewClass
2109
+
2110
+ parent_class: GObject.ObjectClass
2111
+ padding: any[]
2112
+ }
2113
+
2114
+ export abstract class TextViewClass {
2115
+
2116
+ // Own properties of Gspell-1.Gspell.TextViewClass
2117
+
2118
+ static name: string
2119
+ }
2120
+
2121
+ /**
2122
+ * Name of the imported GIR library
2123
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
2124
+ */
2125
+ export const __name__: string
2126
+ /**
2127
+ * Version of the imported GIR library
2128
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
2129
+ */
2130
+ export const __version__: string
2131
+ // END