Shortcut
Chord
constructor
name
append_
event
copy
free
get_
label
get_
length
get_
nth_
key
has_
modifier
match
to_
string
equal
hash
new_
from_
event
new_
from_
string
GJS API Reference
Dazzle-1.0
Dazzle
ShortcutChord
Class ShortcutChord
Hierarchy
ShortcutChord
Index
Constructors
constructor
Properties
name
Methods
append_
event
copy
free
get_
label
get_
length
get_
nth_
key
has_
modifier
match
to_
string
equal
hash
new_
from_
event
new_
from_
string
Constructors
constructor
new
Shortcut
Chord
(
)
:
ShortcutChord
Returns
ShortcutChord
Properties
Static
name
name
:
string
Methods
append_
event
append_
event
(
event
:
Gdk
.
EventKey
)
:
boolean
Parameters
event:
Gdk
.
EventKey
Returns
boolean
copy
copy
(
)
:
ShortcutChord
Returns
ShortcutChord
free
free
(
)
:
void
Returns
void
get_
label
get_
label
(
)
:
string
Returns
string
get_
length
get_
length
(
)
:
number
Returns
number
get_
nth_
key
get_
nth_
key
(
nth
:
number
, keyval
:
number
, modifier
:
Gdk
.
ModifierType
)
:
void
Parameters
nth:
number
keyval:
number
modifier:
Gdk
.
ModifierType
Returns
void
has_
modifier
has_
modifier
(
)
:
boolean
Returns
boolean
match
match
(
other
:
ShortcutChord
)
:
ShortcutMatch
Parameters
other:
ShortcutChord
Returns
ShortcutMatch
to_
string
to_
string
(
)
:
string
Returns
string
Static
equal
equal
(
data1
:
object
, data2
:
object
)
:
boolean
Parameters
data1:
object
data2:
object
Returns
boolean
Static
hash
hash
(
data
:
object
)
:
number
Parameters
data:
object
Returns
number
Static
new_
from_
event
new_
from_
event
(
event
:
Gdk
.
EventKey
)
:
ShortcutChord
Parameters
event:
Gdk
.
EventKey
Returns
ShortcutChord
Static
new_
from_
string
new_
from_
string
(
accelerator
:
string
)
:
ShortcutChord
Parameters
accelerator:
string
Returns
ShortcutChord
Shortcut
Chord
constructor
name
append_
event
copy
free
get_
label
get_
length
get_
nth_
key
has_
modifier
match
to_
string
equal
hash
new_
from_
event
new_
from_
string
base64:eyJwYWdlTmF2aWdhdGlvb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