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