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