Indicator
Config
constructor
background_
color
config_
listener_
id
engine
font_
family
font_
size
foreground_
color
icon_
theme
image_
filenames
secondary_
groups_
mask
settings
show_
flags
name
activate
free_
image_
filenames
get_
fg_
color_
for_
widget
get_
font_
for_
widget
get_
images_
file
init
load
load_
image_
filenames
refresh_
style
save
start_
listen
stop_
listen
term
GJS API Reference
Gkbd-3.0
Gkbd
IndicatorConfig
Class IndicatorConfig
Hierarchy
IndicatorConfig
Index
Constructors
constructor
Properties
background_
color
config_
listener_
id
engine
font_
family
font_
size
foreground_
color
icon_
theme
image_
filenames
secondary_
groups_
mask
settings
show_
flags
name
Methods
activate
free_
image_
filenames
get_
fg_
color_
for_
widget
get_
font_
for_
widget
get_
images_
file
init
load
load_
image_
filenames
refresh_
style
save
start_
listen
stop_
listen
term
Constructors
constructor
new
Indicator
Config
(
)
:
IndicatorConfig
Returns
IndicatorConfig
Properties
background_
color
background_
color
:
string
config_
listener_
id
config_
listener_
id
:
number
engine
engine
:
Xkl
.
Engine
font_
family
font_
family
:
string
font_
size
font_
size
:
number
foreground_
color
foreground_
color
:
string
icon_
theme
icon_
theme
:
Gtk
.
IconTheme
image_
filenames
image_
filenames
:
object
[]
secondary_
groups_
mask
secondary_
groups_
mask
:
number
settings
settings
:
Gio
.
Settings
show_
flags
show_
flags
:
boolean
Static
name
name
:
string
Methods
activate
activate
(
)
:
void
Returns
void
free_
image_
filenames
free_
image_
filenames
(
)
:
void
Returns
void
get_
fg_
color_
for_
widget
get_
fg_
color_
for_
widget
(
widget
:
Gtk
.
Widget
)
:
string
Parameters
widget:
Gtk
.
Widget
Returns
string
get_
font_
for_
widget
get_
font_
for_
widget
(
widget
:
Gtk
.
Widget
, font_family
:
string
, font_size
:
number
)
:
void
Parameters
widget:
Gtk
.
Widget
font_family:
string
font_size:
number
Returns
void
get_
images_
file
get_
images_
file
(
kbd_config
:
KeyboardConfig
, group
:
number
)
:
string
Parameters
kbd_config:
KeyboardConfig
group:
number
Returns
string
init
init
(
engine
:
Xkl
.
Engine
)
:
void
Parameters
engine:
Xkl
.
Engine
Returns
void
load
load
(
)
:
void
Returns
void
load_
image_
filenames
load_
image_
filenames
(
kbd_config
:
KeyboardConfig
)
:
void
Parameters
kbd_config:
KeyboardConfig
Returns
void
refresh_
style
refresh_
style
(
)
:
void
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
Indicator
Config
constructor
background_
color
config_
listener_
id
engine
font_
family
font_
size
foreground_
color
icon_
theme
image_
filenames
secondary_
groups_
mask
settings
show_
flags
name
activate
free_
image_
filenames
get_
fg_
color_
for_
widget
get_
font_
for_
widget
get_
images_
file
init
load
load_
image_
filenames
refresh_
style
save
start_
listen
stop_
listen
term
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHa2JkXzNfMC5Ha2JkLkluZGljYXRvckNvbmZpZy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR2tiZF8zXzAuR2tiZC5JbmRpY2F0b3JDb25maWcuaHRtbCNiYWNrZ3JvdW5kX2NvbG9yIiwibmFtZSI6ImJhY2tncm91bmRfY29sb3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGF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