Gkbd.KeyboardConfig¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
config_listener_id |
r/w |
||
engine |
r/w |
||
layouts_variants |
r/w |
||
model |
r/w |
||
options |
r/w |
||
settings |
r/w |
Methods¶
class |
|
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Gkbd.KeyboardConfig¶
- classmethod add_default_switch_option_if_necessary(layouts_list, options_list, was_appended)¶
- classmethod format_full_description(layout_descr, variant_descr)¶
- classmethod get_descriptions(config_registry, name, layout_short_descr, layout_descr, variant_short_descr, variant_descr)¶
- classmethod split_items(merged, parent, child)¶
- equals(kbd_config2)¶
- Parameters:
kbd_config2 (
Gkbd.KeyboardConfig
) –- Return type:
- init(engine)¶
- Parameters:
engine (
Xkl.Engine
) –
- load(kbd_config_default)¶
- Parameters:
kbd_config_default (
Gkbd.KeyboardConfig
) –
- load_from_x_current(buf)¶
- Parameters:
buf (
Xkl.ConfigRec
) –
- load_from_x_initial(buf)¶
- Parameters:
buf (
Xkl.ConfigRec
) –
- save()¶
- start_listen(func, *user_data)¶
- Parameters:
func (
GObject.Callback
) – a function to call when settings are changed
- stop_listen()¶
- term()¶