Keyboard
Config
constructor
config_
listener_
id
engine
layouts_
variants
model
options
settings
name
activate
equals
init
load
load_
from_
x_
current
load_
from_
x_
initial
save
start_
listen
stop_
listen
term
to_
string
add_
default_
switch_
option_
if_
necessary
format_
full_
description
get_
descriptions
merge_
items
split_
items
GJS API Reference
Gkbd-3.0
Gkbd
KeyboardConfig
Class KeyboardConfig
Hierarchy
KeyboardConfig
Index
Constructors
constructor
Properties
config_
listener_
id
engine
layouts_
variants
model
options
settings
name
Methods
activate
equals
init
load
load_
from_
x_
current
load_
from_
x_
initial
save
start_
listen
stop_
listen
term
to_
string
add_
default_
switch_
option_
if_
necessary
format_
full_
description
get_
descriptions
merge_
items
split_
items
Constructors
constructor
new
Keyboard
Config
(
)
:
KeyboardConfig
Returns
KeyboardConfig
Properties
config_
listener_
id
config_
listener_
id
:
number
engine
engine
:
Xkl
.
Engine
layouts_
variants
layouts_
variants
:
string
model
model
:
string
options
options
:
string
settings
settings
:
Gio
.
Settings
Static
name
name
:
string
Methods
activate
activate
(
)
:
boolean
Returns
boolean
equals
equals
(
kbd_config2
:
KeyboardConfig
)
:
boolean
Parameters
kbd_config2:
KeyboardConfig
Returns
boolean
init
init
(
engine
:
Xkl
.
Engine
)
:
void
Parameters
engine:
Xkl
.
Engine
Returns
void
load
load
(
kbd_config_default
:
KeyboardConfig
)
:
void
Parameters
kbd_config_default:
KeyboardConfig
Returns
void
load_
from_
x_
current
load_
from_
x_
current
(
buf
:
ConfigRec
)
:
void
Parameters
buf:
ConfigRec
Returns
void
load_
from_
x_
initial
load_
from_
x_
initial
(
buf
:
ConfigRec
)
:
void
Parameters
buf:
ConfigRec
Returns
void
save
save
(
)
:
void
Returns
void
start_
listen
start_
listen
(
func
:
GObject
.
Callback
)
:
void
Parameters
func:
GObject
.
Callback
Returns
void
stop_
listen
stop_
listen
(
)
:
void
Returns
void
term
term
(
)
:
void
Returns
void
to_
string
to_
string
(
)
:
string
Returns
string
Static
add_
default_
switch_
option_
if_
necessary
add_
default_
switch_
option_
if_
necessary
(
layouts_list
:
string
, options_list
:
string
, was_appended
:
boolean
)
:
string
[]
Parameters
layouts_list:
string
options_list:
string
was_appended:
boolean
Returns
string
[]
Static
format_
full_
description
format_
full_
description
(
layout_descr
:
string
, variant_descr
:
string
)
:
string
Parameters
layout_descr:
string
variant_descr:
string
Returns
string
Static
get_
descriptions
get_
descriptions
(
config_registry
:
ConfigRegistry
, name
:
string
, layout_short_descr
:
string
, layout_descr
:
string
, variant_short_descr
:
string
, variant_descr
:
string
)
:
boolean
Parameters
config_registry:
ConfigRegistry
name:
string
layout_short_descr:
string
layout_descr:
string
variant_short_descr:
string
variant_descr:
string
Returns
boolean
Static
merge_
items
merge_
items
(
parent
:
string
, child
:
string
)
:
string
Parameters
parent:
string
child:
string
Returns
string
Static
split_
items
split_
items
(
merged
:
string
, parent
:
string
, child
:
string
)
:
boolean
Parameters
merged:
string
parent:
string
child:
string
Returns
boolean
Keyboard
Config
constructor
config_
listener_
id
engine
layouts_
variants
model
options
settings
name
activate
equals
init
load
load_
from_
x_
current
load_
from_
x_
initial
save
start_
listen
stop_
listen
term
to_
string
add_
default_
switch_
option_
if_
necessary
format_
full_
description
get_
descriptions
merge_
items
split_
items
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHa2JkXzNfMC5Ha2JkLktleWJvYXJkQ29uZmlnLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHa2JkXzNfMC5Ha2JkLktleWJvYXJkQ29uZmlnLmh0bWwjY29uZmlnX2xpc3Rlbm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