Display
Adapter
Class
constructor
name
get_
current_
group
get_
groups
keyval_
press
keyval_
release
mod_
latch
mod_
lock
mod_
unlatch
mod_
unlock
register_
button_
func
register_
key_
func
GJS API Reference
Caribou-1.0
Caribou
DisplayAdapterClass
Class DisplayAdapterClass
Hierarchy
DisplayAdapterClass
Index
Constructors
constructor
Properties
name
Methods
get_
current_
group
get_
groups
keyval_
press
keyval_
release
mod_
latch
mod_
lock
mod_
unlatch
mod_
unlock
register_
button_
func
register_
key_
func
Constructors
constructor
new
Display
Adapter
Class
(
)
:
DisplayAdapterClass
Returns
DisplayAdapterClass
Properties
Static
name
name
:
string
Methods
get_
current_
group
get_
current_
group
(
)
:
[
number
,
string
,
string
]
Returns
[
number
,
string
,
string
]
get_
groups
get_
groups
(
)
:
[
string
[]
,
string
[]
]
Returns
[
string
[]
,
string
[]
]
keyval_
press
keyval_
press
(
keyval
:
number
)
:
void
Parameters
keyval:
number
Returns
void
keyval_
release
keyval_
release
(
keyval
:
number
)
:
void
Parameters
keyval:
number
Returns
void
mod_
latch
mod_
latch
(
mask
:
number
)
:
void
Parameters
mask:
number
Returns
void
mod_
lock
mod_
lock
(
mask
:
number
)
:
void
Parameters
mask:
number
Returns
void
mod_
unlatch
mod_
unlatch
(
mask
:
number
)
:
void
Parameters
mask:
number
Returns
void
mod_
unlock
mod_
unlock
(
mask
:
number
)
:
void
Parameters
mask:
number
Returns
void
register_
button_
func
register_
button_
func
(
button
:
number
, func
?:
KeyButtonCallback
)
:
void
Parameters
button:
number
Optional
func:
KeyButtonCallback
Returns
void
register_
key_
func
register_
key_
func
(
keyval
:
number
, func
?:
KeyButtonCallback
)
:
void
Parameters
keyval:
number
Optional
func:
KeyButtonCallback
Returns
void
Display
Adapter
Class
constructor
name
get_
current_
group
get_
groups
keyval_
press
keyval_
release
mod_
latch
mod_
lock
mod_
unlatch
mod_
unlock
register_
button_
func
register_
key_
func
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZ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