@girs/gkbd-3.0 3.0.0-3.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gkbd-3.0.d.ts ADDED
@@ -0,0 +1,969 @@
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
+ * Gkbd-3.0
10
+ */
11
+
12
+ import type xlib from '@girs/xlib-2.0';
13
+ import type Xkl from '@girs/xkl-1.0';
14
+ import type GObject from '@girs/gobject-2.0';
15
+ import type GLib from '@girs/glib-2.0';
16
+ import type Gtk from '@girs/gtk-3.0';
17
+ import type Gdk from '@girs/gdk-3.0';
18
+ import type cairo from '@girs/cairo-1.0';
19
+ import type Pango from '@girs/pango-1.0';
20
+ import type HarfBuzz from '@girs/harfbuzz-0.0';
21
+ import type freetype2 from '@girs/freetype2-2.0';
22
+ import type Gio from '@girs/gio-2.0';
23
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
24
+ import type GModule from '@girs/gmodule-2.0';
25
+ import type Atk from '@girs/atk-1.0';
26
+
27
+ export namespace Gkbd {
28
+
29
+ enum KeyboardDrawingGroupLevelPosition {
30
+ TOPLEFT,
31
+ TOPRIGHT,
32
+ BOTTOMLEFT,
33
+ BOTTOMRIGHT,
34
+ TOTAL,
35
+ FIRST,
36
+ LAST,
37
+ }
38
+ enum KeyboardDrawingItemType {
39
+ INVALID,
40
+ KEY,
41
+ KEY_EXTRA,
42
+ DOODAD,
43
+ }
44
+ const DESKTOP_SCHEMA: string | null
45
+ const KEYBOARD_DRAWING_H: number
46
+ const KEYBOARD_SCHEMA: string | null
47
+ function install_glib_log_appender(): void
48
+ function keyboard_config_add_default_switch_option_if_necessary(layouts_list: string | null, options_list: string | null, was_appended: boolean): string[]
49
+ function keyboard_config_format_full_description(layout_descr: string | null, variant_descr: string | null): string | null
50
+ function keyboard_config_get_descriptions(config_registry: Xkl.ConfigRegistry, name: string | null, layout_short_descr: string | null, layout_descr: string | null, variant_short_descr: string | null, variant_descr: string | null): boolean
51
+ function keyboard_config_merge_items(parent: string | null, child: string | null): string | null
52
+ function keyboard_config_split_items(merged: string | null, parent: string | null, child: string | null): boolean
53
+ function preview_load_position(): Gdk.Rectangle
54
+ function preview_save_position(rect: Gdk.Rectangle): void
55
+ function strv_append(arr: string | null, element: string | null): string[]
56
+ function strv_behead(arr: string | null): void
57
+ function strv_remove(arr: string | null, element: string | null): boolean
58
+ module Configuration {
59
+
60
+ // Signal callback interfaces
61
+
62
+ /**
63
+ * Signal callback interface for `changed`
64
+ */
65
+ interface ChangedSignalCallback {
66
+ ($obj: Configuration): void
67
+ }
68
+
69
+ /**
70
+ * Signal callback interface for `group-changed`
71
+ */
72
+ interface GroupChangedSignalCallback {
73
+ ($obj: Configuration, object: number): void
74
+ }
75
+
76
+ /**
77
+ * Signal callback interface for `indicators-changed`
78
+ */
79
+ interface IndicatorsChangedSignalCallback {
80
+ ($obj: Configuration): void
81
+ }
82
+
83
+
84
+ // Constructor properties interface
85
+
86
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
87
+ }
88
+
89
+ }
90
+
91
+ interface Configuration {
92
+
93
+ // Own fields of Gkbd-3.0.Gkbd.Configuration
94
+
95
+ parent_instance: GObject.Object
96
+
97
+ // Owm methods of Gkbd-3.0.Gkbd.Configuration
98
+
99
+ append_object(obj: GObject.Object): void
100
+ extract_layout_name(group: number): string | null
101
+ free_images(images: GdkPixbuf.Pixbuf[]): void
102
+ get_all_objects(): GObject.Object[]
103
+ get_caps_lock_state(): boolean
104
+ get_current_group(): number
105
+ get_current_tooltip(): string | null
106
+ get_group_name(group: number): string | null
107
+ get_group_names(): string[]
108
+ get_image_filename(group: number): string | null
109
+ get_indicator_config(): IndicatorConfig
110
+ get_keyboard_config(): KeyboardConfig
111
+ get_num_lock_state(): boolean
112
+ get_scroll_lock_state(): boolean
113
+ get_short_group_names(): string[]
114
+ get_xkl_engine(): Xkl.Engine
115
+ if_any_object_exists(): boolean
116
+ if_flags_shown(): boolean
117
+ load_images(): GdkPixbuf.Pixbuf[]
118
+ lock_group(group: number): void
119
+ lock_next_group(): void
120
+ remove_object(obj: GObject.Object): void
121
+ start_listen(): void
122
+ stop_listen(): void
123
+
124
+ // Own signals of Gkbd-3.0.Gkbd.Configuration
125
+
126
+ connect(sigName: "changed", callback: Configuration.ChangedSignalCallback): number
127
+ connect_after(sigName: "changed", callback: Configuration.ChangedSignalCallback): number
128
+ emit(sigName: "changed", ...args: any[]): void
129
+ connect(sigName: "group-changed", callback: Configuration.GroupChangedSignalCallback): number
130
+ connect_after(sigName: "group-changed", callback: Configuration.GroupChangedSignalCallback): number
131
+ emit(sigName: "group-changed", object: number, ...args: any[]): void
132
+ connect(sigName: "indicators-changed", callback: Configuration.IndicatorsChangedSignalCallback): number
133
+ connect_after(sigName: "indicators-changed", callback: Configuration.IndicatorsChangedSignalCallback): number
134
+ emit(sigName: "indicators-changed", ...args: any[]): void
135
+
136
+ // Class property signals of Gkbd-3.0.Gkbd.Configuration
137
+
138
+ connect(sigName: string, callback: (...args: any[]) => void): number
139
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
140
+ emit(sigName: string, ...args: any[]): void
141
+ disconnect(id: number): void
142
+ }
143
+
144
+ class Configuration extends GObject.Object {
145
+
146
+ // Own properties of Gkbd-3.0.Gkbd.Configuration
147
+
148
+ static name: string
149
+ static $gtype: GObject.GType<Configuration>
150
+
151
+ // Constructors of Gkbd-3.0.Gkbd.Configuration
152
+
153
+ constructor(config?: Configuration.ConstructorProperties)
154
+ _init(config?: Configuration.ConstructorProperties): void
155
+ static create_label_title(group: number, ln2cnt_map: GLib.HashTable, layout_name: string | null): string | null
156
+ static get(): Configuration
157
+ }
158
+
159
+ module Indicator {
160
+
161
+ // Signal callback interfaces
162
+
163
+ /**
164
+ * Signal callback interface for `reinit-ui`
165
+ */
166
+ interface ReinitUiSignalCallback {
167
+ ($obj: Indicator): void
168
+ }
169
+
170
+
171
+ // Constructor properties interface
172
+
173
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Notebook.ConstructorProperties {
174
+ }
175
+
176
+ }
177
+
178
+ interface Indicator extends Atk.ImplementorIface, Gtk.Buildable {
179
+
180
+ // Own fields of Gkbd-3.0.Gkbd.Indicator
181
+
182
+ parent_instance: Gtk.Notebook & GObject.InitiallyUnowned
183
+
184
+ // Owm methods of Gkbd-3.0.Gkbd.Indicator
185
+
186
+ reinit_ui(): void
187
+ set_angle(angle: number): void
188
+ set_parent_tooltips(ifset: boolean): void
189
+
190
+ // Conflicting methods
191
+
192
+ /**
193
+ * Emits a #GtkWidget::child-notify signal for the
194
+ * [child property][child-properties]
195
+ * `child_property` on the child.
196
+ *
197
+ * This is an analogue of g_object_notify() for child properties.
198
+ *
199
+ * Also see gtk_widget_child_notify().
200
+ * @param child the child widget
201
+ * @param child_property the name of a child property installed on the class of `container`
202
+ */
203
+ child_notify(child: Gtk.Widget, child_property: string | null): void
204
+
205
+ // Overloads of child_notify
206
+
207
+ /**
208
+ * Emits a #GtkWidget::child-notify signal for the
209
+ * [child property][child-properties] `child_property`
210
+ * on `widget`.
211
+ *
212
+ * This is the analogue of g_object_notify() for child properties.
213
+ *
214
+ * Also see gtk_container_child_notify().
215
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
216
+ */
217
+ child_notify(child_property: string | null): void
218
+ /**
219
+ * Emits a #GtkWidget::child-notify signal for the
220
+ * [child property][child-properties] `child_property`
221
+ * on `widget`.
222
+ *
223
+ * This is the analogue of g_object_notify() for child properties.
224
+ *
225
+ * Also see gtk_container_child_notify().
226
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
227
+ */
228
+ child_notify(child_property: string | null): void
229
+
230
+ // Own virtual methods of Gkbd-3.0.Gkbd.Indicator
231
+
232
+ vfunc_reinit_ui(): void
233
+
234
+ // Own signals of Gkbd-3.0.Gkbd.Indicator
235
+
236
+ connect(sigName: "reinit-ui", callback: Indicator.ReinitUiSignalCallback): number
237
+ connect_after(sigName: "reinit-ui", callback: Indicator.ReinitUiSignalCallback): number
238
+ emit(sigName: "reinit-ui", ...args: any[]): void
239
+
240
+ // Class property signals of Gkbd-3.0.Gkbd.Indicator
241
+
242
+ connect(sigName: "notify::enable-popup", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
243
+ connect_after(sigName: "notify::enable-popup", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
244
+ emit(sigName: "notify::enable-popup", ...args: any[]): void
245
+ connect(sigName: "notify::group-name", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
246
+ connect_after(sigName: "notify::group-name", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
247
+ emit(sigName: "notify::group-name", ...args: any[]): void
248
+ connect(sigName: "notify::page", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
249
+ connect_after(sigName: "notify::page", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
250
+ emit(sigName: "notify::page", ...args: any[]): void
251
+ connect(sigName: "notify::scrollable", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
252
+ connect_after(sigName: "notify::scrollable", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
253
+ emit(sigName: "notify::scrollable", ...args: any[]): void
254
+ connect(sigName: "notify::show-border", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
255
+ connect_after(sigName: "notify::show-border", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
256
+ emit(sigName: "notify::show-border", ...args: any[]): void
257
+ connect(sigName: "notify::show-tabs", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
258
+ connect_after(sigName: "notify::show-tabs", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
259
+ emit(sigName: "notify::show-tabs", ...args: any[]): void
260
+ connect(sigName: "notify::tab-pos", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
261
+ connect_after(sigName: "notify::tab-pos", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
262
+ emit(sigName: "notify::tab-pos", ...args: any[]): void
263
+ connect(sigName: "notify::border-width", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
264
+ connect_after(sigName: "notify::border-width", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
265
+ emit(sigName: "notify::border-width", ...args: any[]): void
266
+ connect(sigName: "notify::child", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
267
+ connect_after(sigName: "notify::child", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
268
+ emit(sigName: "notify::child", ...args: any[]): void
269
+ connect(sigName: "notify::resize-mode", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
270
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
271
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
272
+ connect(sigName: "notify::app-paintable", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
273
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
274
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
275
+ connect(sigName: "notify::can-default", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
276
+ connect_after(sigName: "notify::can-default", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
277
+ emit(sigName: "notify::can-default", ...args: any[]): void
278
+ connect(sigName: "notify::can-focus", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
279
+ connect_after(sigName: "notify::can-focus", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
280
+ emit(sigName: "notify::can-focus", ...args: any[]): void
281
+ connect(sigName: "notify::composite-child", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
282
+ connect_after(sigName: "notify::composite-child", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
283
+ emit(sigName: "notify::composite-child", ...args: any[]): void
284
+ connect(sigName: "notify::double-buffered", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
285
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
286
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
287
+ connect(sigName: "notify::events", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
288
+ connect_after(sigName: "notify::events", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
289
+ emit(sigName: "notify::events", ...args: any[]): void
290
+ connect(sigName: "notify::expand", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
291
+ connect_after(sigName: "notify::expand", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
292
+ emit(sigName: "notify::expand", ...args: any[]): void
293
+ connect(sigName: "notify::focus-on-click", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
294
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
295
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
296
+ connect(sigName: "notify::halign", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
297
+ connect_after(sigName: "notify::halign", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
298
+ emit(sigName: "notify::halign", ...args: any[]): void
299
+ connect(sigName: "notify::has-default", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
300
+ connect_after(sigName: "notify::has-default", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
301
+ emit(sigName: "notify::has-default", ...args: any[]): void
302
+ connect(sigName: "notify::has-focus", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
303
+ connect_after(sigName: "notify::has-focus", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
304
+ emit(sigName: "notify::has-focus", ...args: any[]): void
305
+ connect(sigName: "notify::has-tooltip", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
306
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
307
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
308
+ connect(sigName: "notify::height-request", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
309
+ connect_after(sigName: "notify::height-request", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
310
+ emit(sigName: "notify::height-request", ...args: any[]): void
311
+ connect(sigName: "notify::hexpand", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
312
+ connect_after(sigName: "notify::hexpand", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
313
+ emit(sigName: "notify::hexpand", ...args: any[]): void
314
+ connect(sigName: "notify::hexpand-set", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
315
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
316
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
317
+ connect(sigName: "notify::is-focus", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
318
+ connect_after(sigName: "notify::is-focus", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
319
+ emit(sigName: "notify::is-focus", ...args: any[]): void
320
+ connect(sigName: "notify::margin", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
321
+ connect_after(sigName: "notify::margin", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
322
+ emit(sigName: "notify::margin", ...args: any[]): void
323
+ connect(sigName: "notify::margin-bottom", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
324
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
325
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
326
+ connect(sigName: "notify::margin-end", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
327
+ connect_after(sigName: "notify::margin-end", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
328
+ emit(sigName: "notify::margin-end", ...args: any[]): void
329
+ connect(sigName: "notify::margin-left", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
330
+ connect_after(sigName: "notify::margin-left", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
331
+ emit(sigName: "notify::margin-left", ...args: any[]): void
332
+ connect(sigName: "notify::margin-right", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
333
+ connect_after(sigName: "notify::margin-right", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
334
+ emit(sigName: "notify::margin-right", ...args: any[]): void
335
+ connect(sigName: "notify::margin-start", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
336
+ connect_after(sigName: "notify::margin-start", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
337
+ emit(sigName: "notify::margin-start", ...args: any[]): void
338
+ connect(sigName: "notify::margin-top", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
339
+ connect_after(sigName: "notify::margin-top", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
340
+ emit(sigName: "notify::margin-top", ...args: any[]): void
341
+ connect(sigName: "notify::name", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
342
+ connect_after(sigName: "notify::name", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
343
+ emit(sigName: "notify::name", ...args: any[]): void
344
+ connect(sigName: "notify::no-show-all", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
345
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
346
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
347
+ connect(sigName: "notify::opacity", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
348
+ connect_after(sigName: "notify::opacity", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
349
+ emit(sigName: "notify::opacity", ...args: any[]): void
350
+ connect(sigName: "notify::parent", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
351
+ connect_after(sigName: "notify::parent", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
352
+ emit(sigName: "notify::parent", ...args: any[]): void
353
+ connect(sigName: "notify::receives-default", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
354
+ connect_after(sigName: "notify::receives-default", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
355
+ emit(sigName: "notify::receives-default", ...args: any[]): void
356
+ connect(sigName: "notify::scale-factor", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
357
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
358
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
359
+ connect(sigName: "notify::sensitive", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
360
+ connect_after(sigName: "notify::sensitive", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
361
+ emit(sigName: "notify::sensitive", ...args: any[]): void
362
+ connect(sigName: "notify::style", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
363
+ connect_after(sigName: "notify::style", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
364
+ emit(sigName: "notify::style", ...args: any[]): void
365
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
366
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
367
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
368
+ connect(sigName: "notify::tooltip-text", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
369
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
370
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
371
+ connect(sigName: "notify::valign", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
372
+ connect_after(sigName: "notify::valign", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
373
+ emit(sigName: "notify::valign", ...args: any[]): void
374
+ connect(sigName: "notify::vexpand", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
375
+ connect_after(sigName: "notify::vexpand", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
376
+ emit(sigName: "notify::vexpand", ...args: any[]): void
377
+ connect(sigName: "notify::vexpand-set", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
378
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
379
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
380
+ connect(sigName: "notify::visible", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
381
+ connect_after(sigName: "notify::visible", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
382
+ emit(sigName: "notify::visible", ...args: any[]): void
383
+ connect(sigName: "notify::width-request", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
384
+ connect_after(sigName: "notify::width-request", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
385
+ emit(sigName: "notify::width-request", ...args: any[]): void
386
+ connect(sigName: "notify::window", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
387
+ connect_after(sigName: "notify::window", callback: (($obj: Indicator, pspec: GObject.ParamSpec) => void)): number
388
+ emit(sigName: "notify::window", ...args: any[]): void
389
+ connect(sigName: string, callback: (...args: any[]) => void): number
390
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
391
+ emit(sigName: string, ...args: any[]): void
392
+ disconnect(id: number): void
393
+ }
394
+
395
+ class Indicator extends Gtk.Notebook {
396
+
397
+ // Own properties of Gkbd-3.0.Gkbd.Indicator
398
+
399
+ static name: string
400
+ static $gtype: GObject.GType<Indicator>
401
+
402
+ // Constructors of Gkbd-3.0.Gkbd.Indicator
403
+
404
+ constructor(config?: Indicator.ConstructorProperties)
405
+ constructor()
406
+ static new(): Indicator
407
+ _init(config?: Indicator.ConstructorProperties): void
408
+ static get_group_names(): string[]
409
+ static get_image_filename(group: number): string | null
410
+ static get_max_width_height_ratio(): number
411
+ static get_xkl_engine(): Xkl.Engine
412
+ }
413
+
414
+ module KeyboardDrawing {
415
+
416
+ // Signal callback interfaces
417
+
418
+ /**
419
+ * Signal callback interface for `bad-keycode`
420
+ */
421
+ interface BadKeycodeSignalCallback {
422
+ ($obj: KeyboardDrawing, object: number): void
423
+ }
424
+
425
+
426
+ // Constructor properties interface
427
+
428
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.DrawingArea.ConstructorProperties {
429
+ }
430
+
431
+ }
432
+
433
+ interface KeyboardDrawing extends Atk.ImplementorIface, Gtk.Buildable {
434
+
435
+ // Owm methods of Gkbd-3.0.Gkbd.KeyboardDrawing
436
+
437
+ get_compat(): string | null
438
+ get_geometry(): string | null
439
+ get_keycodes(): string | null
440
+ get_symbols(): string | null
441
+ get_types(): string | null
442
+ print(parent_window: Gtk.Window, description: string | null): void
443
+ /**
444
+ * Renders a keyboard layout to a cairo_t context. `cr` and `layout` can be got
445
+ * from e.g. a GtkWidget or a GtkPrintContext. `cr` and `layout` may be modified
446
+ * by the function but will not be unreffed.
447
+ * @param cr Cairo context to render to
448
+ * @param layout Pango layout to use to render text
449
+ * @param x left coordinate (pixels) of region to render in
450
+ * @param y top coordinate (pixels) of region to render in
451
+ * @param width width (pixels) of region to render in
452
+ * @param height height (pixels) of region to render in
453
+ * @param dpi_x
454
+ * @param dpi_y
455
+ * @returns %TRUE on success, %FALSE on failure
456
+ */
457
+ render(cr: cairo.Context, layout: Pango.Layout, x: number, y: number, width: number, height: number, dpi_x: number, dpi_y: number): boolean
458
+ set_groups_levels(groupLevels: KeyboardDrawingGroupLevel): void
459
+ set_layout(id: string | null): void
460
+ set_track_config(enable: boolean): void
461
+ set_track_modifiers(enable: boolean): void
462
+
463
+ // Own virtual methods of Gkbd-3.0.Gkbd.KeyboardDrawing
464
+
465
+ vfunc_bad_keycode(keycode: number): void
466
+
467
+ // Own signals of Gkbd-3.0.Gkbd.KeyboardDrawing
468
+
469
+ connect(sigName: "bad-keycode", callback: KeyboardDrawing.BadKeycodeSignalCallback): number
470
+ connect_after(sigName: "bad-keycode", callback: KeyboardDrawing.BadKeycodeSignalCallback): number
471
+ emit(sigName: "bad-keycode", object: number, ...args: any[]): void
472
+
473
+ // Class property signals of Gkbd-3.0.Gkbd.KeyboardDrawing
474
+
475
+ connect(sigName: "notify::app-paintable", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
476
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
477
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
478
+ connect(sigName: "notify::can-default", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
479
+ connect_after(sigName: "notify::can-default", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
480
+ emit(sigName: "notify::can-default", ...args: any[]): void
481
+ connect(sigName: "notify::can-focus", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
482
+ connect_after(sigName: "notify::can-focus", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
483
+ emit(sigName: "notify::can-focus", ...args: any[]): void
484
+ connect(sigName: "notify::composite-child", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
485
+ connect_after(sigName: "notify::composite-child", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
486
+ emit(sigName: "notify::composite-child", ...args: any[]): void
487
+ connect(sigName: "notify::double-buffered", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
488
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
489
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
490
+ connect(sigName: "notify::events", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
491
+ connect_after(sigName: "notify::events", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
492
+ emit(sigName: "notify::events", ...args: any[]): void
493
+ connect(sigName: "notify::expand", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
494
+ connect_after(sigName: "notify::expand", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
495
+ emit(sigName: "notify::expand", ...args: any[]): void
496
+ connect(sigName: "notify::focus-on-click", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
497
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
498
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
499
+ connect(sigName: "notify::halign", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
500
+ connect_after(sigName: "notify::halign", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
501
+ emit(sigName: "notify::halign", ...args: any[]): void
502
+ connect(sigName: "notify::has-default", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
503
+ connect_after(sigName: "notify::has-default", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
504
+ emit(sigName: "notify::has-default", ...args: any[]): void
505
+ connect(sigName: "notify::has-focus", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
506
+ connect_after(sigName: "notify::has-focus", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
507
+ emit(sigName: "notify::has-focus", ...args: any[]): void
508
+ connect(sigName: "notify::has-tooltip", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
509
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
510
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
511
+ connect(sigName: "notify::height-request", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
512
+ connect_after(sigName: "notify::height-request", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
513
+ emit(sigName: "notify::height-request", ...args: any[]): void
514
+ connect(sigName: "notify::hexpand", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
515
+ connect_after(sigName: "notify::hexpand", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
516
+ emit(sigName: "notify::hexpand", ...args: any[]): void
517
+ connect(sigName: "notify::hexpand-set", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
518
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
519
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
520
+ connect(sigName: "notify::is-focus", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
521
+ connect_after(sigName: "notify::is-focus", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
522
+ emit(sigName: "notify::is-focus", ...args: any[]): void
523
+ connect(sigName: "notify::margin", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
524
+ connect_after(sigName: "notify::margin", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
525
+ emit(sigName: "notify::margin", ...args: any[]): void
526
+ connect(sigName: "notify::margin-bottom", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
527
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
528
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
529
+ connect(sigName: "notify::margin-end", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
530
+ connect_after(sigName: "notify::margin-end", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
531
+ emit(sigName: "notify::margin-end", ...args: any[]): void
532
+ connect(sigName: "notify::margin-left", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
533
+ connect_after(sigName: "notify::margin-left", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
534
+ emit(sigName: "notify::margin-left", ...args: any[]): void
535
+ connect(sigName: "notify::margin-right", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
536
+ connect_after(sigName: "notify::margin-right", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
537
+ emit(sigName: "notify::margin-right", ...args: any[]): void
538
+ connect(sigName: "notify::margin-start", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
539
+ connect_after(sigName: "notify::margin-start", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
540
+ emit(sigName: "notify::margin-start", ...args: any[]): void
541
+ connect(sigName: "notify::margin-top", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
542
+ connect_after(sigName: "notify::margin-top", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
543
+ emit(sigName: "notify::margin-top", ...args: any[]): void
544
+ connect(sigName: "notify::name", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
545
+ connect_after(sigName: "notify::name", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
546
+ emit(sigName: "notify::name", ...args: any[]): void
547
+ connect(sigName: "notify::no-show-all", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
548
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
549
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
550
+ connect(sigName: "notify::opacity", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
551
+ connect_after(sigName: "notify::opacity", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
552
+ emit(sigName: "notify::opacity", ...args: any[]): void
553
+ connect(sigName: "notify::parent", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
554
+ connect_after(sigName: "notify::parent", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
555
+ emit(sigName: "notify::parent", ...args: any[]): void
556
+ connect(sigName: "notify::receives-default", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
557
+ connect_after(sigName: "notify::receives-default", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
558
+ emit(sigName: "notify::receives-default", ...args: any[]): void
559
+ connect(sigName: "notify::scale-factor", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
560
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
561
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
562
+ connect(sigName: "notify::sensitive", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
563
+ connect_after(sigName: "notify::sensitive", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
564
+ emit(sigName: "notify::sensitive", ...args: any[]): void
565
+ connect(sigName: "notify::style", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
566
+ connect_after(sigName: "notify::style", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
567
+ emit(sigName: "notify::style", ...args: any[]): void
568
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
569
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
570
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
571
+ connect(sigName: "notify::tooltip-text", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
572
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
573
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
574
+ connect(sigName: "notify::valign", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
575
+ connect_after(sigName: "notify::valign", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
576
+ emit(sigName: "notify::valign", ...args: any[]): void
577
+ connect(sigName: "notify::vexpand", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
578
+ connect_after(sigName: "notify::vexpand", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
579
+ emit(sigName: "notify::vexpand", ...args: any[]): void
580
+ connect(sigName: "notify::vexpand-set", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
581
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
582
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
583
+ connect(sigName: "notify::visible", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
584
+ connect_after(sigName: "notify::visible", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
585
+ emit(sigName: "notify::visible", ...args: any[]): void
586
+ connect(sigName: "notify::width-request", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
587
+ connect_after(sigName: "notify::width-request", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
588
+ emit(sigName: "notify::width-request", ...args: any[]): void
589
+ connect(sigName: "notify::window", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
590
+ connect_after(sigName: "notify::window", callback: (($obj: KeyboardDrawing, pspec: GObject.ParamSpec) => void)): number
591
+ emit(sigName: "notify::window", ...args: any[]): void
592
+ connect(sigName: string, callback: (...args: any[]) => void): number
593
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
594
+ emit(sigName: string, ...args: any[]): void
595
+ disconnect(id: number): void
596
+ }
597
+
598
+ class KeyboardDrawing extends Gtk.DrawingArea {
599
+
600
+ // Own properties of Gkbd-3.0.Gkbd.KeyboardDrawing
601
+
602
+ static name: string
603
+ static $gtype: GObject.GType<KeyboardDrawing>
604
+
605
+ // Constructors of Gkbd-3.0.Gkbd.KeyboardDrawing
606
+
607
+ constructor(config?: KeyboardDrawing.ConstructorProperties)
608
+ static dialog_new(): KeyboardDrawing
609
+ constructor()
610
+ static new(): KeyboardDrawing
611
+ _init(config?: KeyboardDrawing.ConstructorProperties): void
612
+ static dialog_set_group(dialog: Gtk.Widget, registry: Xkl.ConfigRegistry, group: number): void
613
+ static dialog_set_layout(dialog: Gtk.Widget, registry: Xkl.ConfigRegistry, layout: string | null): void
614
+ }
615
+
616
+ module Status {
617
+
618
+ // Constructor properties interface
619
+
620
+ interface ConstructorProperties extends Gtk.StatusIcon.ConstructorProperties {
621
+ }
622
+
623
+ }
624
+
625
+ interface Status {
626
+
627
+ // Own fields of Gkbd-3.0.Gkbd.Status
628
+
629
+ parent: Gtk.StatusIcon
630
+ priv: any
631
+
632
+ // Owm methods of Gkbd-3.0.Gkbd.Status
633
+
634
+ reinit_ui(): void
635
+
636
+ // Class property signals of Gkbd-3.0.Gkbd.Status
637
+
638
+ connect(sigName: "notify::embedded", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
639
+ connect_after(sigName: "notify::embedded", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
640
+ emit(sigName: "notify::embedded", ...args: any[]): void
641
+ connect(sigName: "notify::file", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
642
+ connect_after(sigName: "notify::file", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
643
+ emit(sigName: "notify::file", ...args: any[]): void
644
+ connect(sigName: "notify::gicon", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
645
+ connect_after(sigName: "notify::gicon", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
646
+ emit(sigName: "notify::gicon", ...args: any[]): void
647
+ connect(sigName: "notify::has-tooltip", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
648
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
649
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
650
+ connect(sigName: "notify::icon-name", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
651
+ connect_after(sigName: "notify::icon-name", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
652
+ emit(sigName: "notify::icon-name", ...args: any[]): void
653
+ connect(sigName: "notify::orientation", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
654
+ connect_after(sigName: "notify::orientation", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
655
+ emit(sigName: "notify::orientation", ...args: any[]): void
656
+ connect(sigName: "notify::pixbuf", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
657
+ connect_after(sigName: "notify::pixbuf", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
658
+ emit(sigName: "notify::pixbuf", ...args: any[]): void
659
+ connect(sigName: "notify::screen", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
660
+ connect_after(sigName: "notify::screen", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
661
+ emit(sigName: "notify::screen", ...args: any[]): void
662
+ connect(sigName: "notify::size", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
663
+ connect_after(sigName: "notify::size", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
664
+ emit(sigName: "notify::size", ...args: any[]): void
665
+ connect(sigName: "notify::stock", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
666
+ connect_after(sigName: "notify::stock", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
667
+ emit(sigName: "notify::stock", ...args: any[]): void
668
+ connect(sigName: "notify::storage-type", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
669
+ connect_after(sigName: "notify::storage-type", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
670
+ emit(sigName: "notify::storage-type", ...args: any[]): void
671
+ connect(sigName: "notify::title", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
672
+ connect_after(sigName: "notify::title", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
673
+ emit(sigName: "notify::title", ...args: any[]): void
674
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
675
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
676
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
677
+ connect(sigName: "notify::tooltip-text", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
678
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
679
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
680
+ connect(sigName: "notify::visible", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
681
+ connect_after(sigName: "notify::visible", callback: (($obj: Status, pspec: GObject.ParamSpec) => void)): number
682
+ emit(sigName: "notify::visible", ...args: any[]): void
683
+ connect(sigName: string, callback: (...args: any[]) => void): number
684
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
685
+ emit(sigName: string, ...args: any[]): void
686
+ disconnect(id: number): void
687
+ }
688
+
689
+ class Status extends Gtk.StatusIcon {
690
+
691
+ // Own properties of Gkbd-3.0.Gkbd.Status
692
+
693
+ static name: string
694
+ static $gtype: GObject.GType<Status>
695
+
696
+ // Constructors of Gkbd-3.0.Gkbd.Status
697
+
698
+ constructor(config?: Status.ConstructorProperties)
699
+ constructor()
700
+ static new(): Status
701
+ _init(config?: Status.ConstructorProperties): void
702
+ static get_group_names(): string[]
703
+ static get_image_filename(group: number): string | null
704
+ static get_xkl_engine(): Xkl.Engine
705
+ }
706
+
707
+ interface ConfigurationClass {
708
+
709
+ // Own fields of Gkbd-3.0.Gkbd.ConfigurationClass
710
+
711
+ parent_class: GObject.ObjectClass
712
+ }
713
+
714
+ abstract class ConfigurationClass {
715
+
716
+ // Own properties of Gkbd-3.0.Gkbd.ConfigurationClass
717
+
718
+ static name: string
719
+ }
720
+
721
+ interface DesktopConfig {
722
+
723
+ // Own fields of Gkbd-3.0.Gkbd.DesktopConfig
724
+
725
+ default_group: number
726
+ group_per_app: boolean
727
+ handle_indicators: boolean
728
+ layout_names_as_group_names: boolean
729
+ load_extra_items: boolean
730
+ settings: Gio.Settings
731
+ config_listener_id: number
732
+ engine: Xkl.Engine
733
+
734
+ // Owm methods of Gkbd-3.0.Gkbd.DesktopConfig
735
+
736
+ activate(): boolean
737
+ init(engine: Xkl.Engine): void
738
+ load(): void
739
+ load_group_descriptions(registry: Xkl.ConfigRegistry, layout_ids: string | null, variant_ids: string | null, short_group_names: string | null, full_group_names: string | null): boolean
740
+ lock_next_group(): void
741
+ lock_prev_group(): void
742
+ restore_group(): void
743
+ save(): void
744
+ start_listen(func: GObject.Callback): void
745
+ stop_listen(): void
746
+ term(): void
747
+ }
748
+
749
+ class DesktopConfig {
750
+
751
+ // Own properties of Gkbd-3.0.Gkbd.DesktopConfig
752
+
753
+ static name: string
754
+ }
755
+
756
+ interface IndicatorClass {
757
+
758
+ // Own fields of Gkbd-3.0.Gkbd.IndicatorClass
759
+
760
+ parent_class: Gtk.NotebookClass
761
+ reinit_ui: (gki: Indicator) => void
762
+ }
763
+
764
+ abstract class IndicatorClass {
765
+
766
+ // Own properties of Gkbd-3.0.Gkbd.IndicatorClass
767
+
768
+ static name: string
769
+ }
770
+
771
+ interface IndicatorConfig {
772
+
773
+ // Own fields of Gkbd-3.0.Gkbd.IndicatorConfig
774
+
775
+ secondary_groups_mask: number
776
+ show_flags: boolean
777
+ font_family: string | null
778
+ font_size: number
779
+ foreground_color: string | null
780
+ background_color: string | null
781
+ settings: Gio.Settings
782
+ image_filenames: any[]
783
+ icon_theme: Gtk.IconTheme
784
+ config_listener_id: number
785
+ engine: Xkl.Engine
786
+
787
+ // Owm methods of Gkbd-3.0.Gkbd.IndicatorConfig
788
+
789
+ activate(): void
790
+ free_image_filenames(): void
791
+ get_fg_color_for_widget(widget: Gtk.Widget): string | null
792
+ get_font_for_widget(widget: Gtk.Widget, font_family: string | null, font_size: number): void
793
+ get_images_file(kbd_config: KeyboardConfig, group: number): string | null
794
+ init(engine: Xkl.Engine): void
795
+ load(): void
796
+ load_image_filenames(kbd_config: KeyboardConfig): void
797
+ refresh_style(): void
798
+ save(): void
799
+ start_listen(func: GObject.Callback): void
800
+ stop_listen(): void
801
+ term(): void
802
+ }
803
+
804
+ class IndicatorConfig {
805
+
806
+ // Own properties of Gkbd-3.0.Gkbd.IndicatorConfig
807
+
808
+ static name: string
809
+ }
810
+
811
+ interface KeyboardConfig {
812
+
813
+ // Own fields of Gkbd-3.0.Gkbd.KeyboardConfig
814
+
815
+ model: string | null
816
+ layouts_variants: string | null
817
+ options: string | null
818
+ settings: Gio.Settings
819
+ config_listener_id: number
820
+ engine: Xkl.Engine
821
+
822
+ // Owm methods of Gkbd-3.0.Gkbd.KeyboardConfig
823
+
824
+ activate(): boolean
825
+ equals(kbd_config2: KeyboardConfig): boolean
826
+ init(engine: Xkl.Engine): void
827
+ load(kbd_config_default: KeyboardConfig): void
828
+ load_from_x_current(buf: Xkl.ConfigRec): void
829
+ load_from_x_initial(buf: Xkl.ConfigRec): void
830
+ save(): void
831
+ start_listen(func: GObject.Callback): void
832
+ stop_listen(): void
833
+ term(): void
834
+ to_string(): string | null
835
+ }
836
+
837
+ class KeyboardConfig {
838
+
839
+ // Own properties of Gkbd-3.0.Gkbd.KeyboardConfig
840
+
841
+ static name: string
842
+
843
+ // Constructors of Gkbd-3.0.Gkbd.KeyboardConfig
844
+
845
+ static add_default_switch_option_if_necessary(layouts_list: string | null, options_list: string | null, was_appended: boolean): string[]
846
+ static format_full_description(layout_descr: string | null, variant_descr: string | null): string | null
847
+ static get_descriptions(config_registry: Xkl.ConfigRegistry, name: string | null, layout_short_descr: string | null, layout_descr: string | null, variant_short_descr: string | null, variant_descr: string | null): boolean
848
+ static merge_items(parent: string | null, child: string | null): string | null
849
+ static split_items(merged: string | null, parent: string | null, child: string | null): boolean
850
+ }
851
+
852
+ interface KeyboardDrawingClass {
853
+
854
+ // Own fields of Gkbd-3.0.Gkbd.KeyboardDrawingClass
855
+
856
+ parent_class: Gtk.DrawingAreaClass
857
+ bad_keycode: (drawing: KeyboardDrawing, keycode: number) => void
858
+ }
859
+
860
+ abstract class KeyboardDrawingClass {
861
+
862
+ // Own properties of Gkbd-3.0.Gkbd.KeyboardDrawingClass
863
+
864
+ static name: string
865
+ }
866
+
867
+ interface KeyboardDrawingDoodad {
868
+ }
869
+
870
+ class KeyboardDrawingDoodad {
871
+
872
+ // Own properties of Gkbd-3.0.Gkbd.KeyboardDrawingDoodad
873
+
874
+ static name: string
875
+ }
876
+
877
+ interface KeyboardDrawingGroupLevel {
878
+
879
+ // Own fields of Gkbd-3.0.Gkbd.KeyboardDrawingGroupLevel
880
+
881
+ group: number
882
+ level: number
883
+ }
884
+
885
+ class KeyboardDrawingGroupLevel {
886
+
887
+ // Own properties of Gkbd-3.0.Gkbd.KeyboardDrawingGroupLevel
888
+
889
+ static name: string
890
+ }
891
+
892
+ interface KeyboardDrawingItem {
893
+ }
894
+
895
+ class KeyboardDrawingItem {
896
+
897
+ // Own properties of Gkbd-3.0.Gkbd.KeyboardDrawingItem
898
+
899
+ static name: string
900
+ }
901
+
902
+ interface KeyboardDrawingKey {
903
+ }
904
+
905
+ class KeyboardDrawingKey {
906
+
907
+ // Own properties of Gkbd-3.0.Gkbd.KeyboardDrawingKey
908
+
909
+ static name: string
910
+ }
911
+
912
+ interface KeyboardDrawingRenderContext {
913
+
914
+ // Own fields of Gkbd-3.0.Gkbd.KeyboardDrawingRenderContext
915
+
916
+ cr: cairo.Context
917
+ angle: number
918
+ layout: Pango.Layout
919
+ font_desc: Pango.FontDescription
920
+ scale_numerator: number
921
+ scale_denominator: number
922
+ dark_color: Gdk.RGBA
923
+ }
924
+
925
+ class KeyboardDrawingRenderContext {
926
+
927
+ // Own properties of Gkbd-3.0.Gkbd.KeyboardDrawingRenderContext
928
+
929
+ static name: string
930
+ }
931
+
932
+ interface StatusClass {
933
+
934
+ // Own fields of Gkbd-3.0.Gkbd.StatusClass
935
+
936
+ parent_class: Gtk.StatusIconClass
937
+ }
938
+
939
+ abstract class StatusClass {
940
+
941
+ // Own properties of Gkbd-3.0.Gkbd.StatusClass
942
+
943
+ static name: string
944
+ }
945
+
946
+ interface StatusPrivate {
947
+ }
948
+
949
+ class StatusPrivate {
950
+
951
+ // Own properties of Gkbd-3.0.Gkbd.StatusPrivate
952
+
953
+ static name: string
954
+ }
955
+
956
+ /**
957
+ * Name of the imported GIR library
958
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
959
+ */
960
+ const __name__: string
961
+ /**
962
+ * Version of the imported GIR library
963
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
964
+ */
965
+ const __version__: string
966
+ }
967
+
968
+ export default Gkbd;
969
+ // END