Functions

install_glib_log_appender ()

keyboard_config_add_default_switch_option_if_necessary (layouts_list, options_list, was_appended)

keyboard_config_format_full_description (layout_descr, variant_descr)

keyboard_config_get_descriptions (config_registry, name, layout_short_descr, layout_descr, variant_short_descr, variant_descr)

keyboard_config_merge_items (parent, child)

keyboard_config_split_items (merged, parent, child)

preview_load_position ()

preview_save_position (rect)

strv_append (arr, element)

strv_behead (arr)

strv_remove (arr, element)

Details

Gkbd.install_glib_log_appender()
Gkbd.keyboard_config_add_default_switch_option_if_necessary(layouts_list, options_list, was_appended)
Parameters:
  • layouts_list (str) –

  • options_list (str) –

  • was_appended (bool) –

Returns:

List of options

Return type:

[str]

Gkbd.keyboard_config_format_full_description(layout_descr, variant_descr)
Parameters:
  • layout_descr (str) –

  • variant_descr (str) –

Return type:

str

Gkbd.keyboard_config_get_descriptions(config_registry, name, layout_short_descr, layout_descr, variant_short_descr, variant_descr)
Parameters:
Return type:

bool

Gkbd.keyboard_config_merge_items(parent, child)
Parameters:
  • parent (str) –

  • child (str) –

Return type:

str

Gkbd.keyboard_config_split_items(merged, parent, child)
Parameters:
  • merged (str) –

  • parent (str) –

  • child (str) –

Return type:

bool

Gkbd.preview_load_position()
Returns:

A rectangle to use

Return type:

Gdk.Rectangle

Gkbd.preview_save_position(rect)
Parameters:

rect (Gdk.Rectangle) –

Gkbd.strv_append(arr, element)
Parameters:
  • arr (str) –

  • element (str) –

Returns:

Append string to strv array

Return type:

[str]

Gkbd.strv_behead(arr)
Parameters:

arr (str) –

Gkbd.strv_remove(arr, element)
Parameters:
  • arr (str) –

  • element (str) –

Return type:

bool