Event
Controller
Key_
Key
Pressed
Signal
Callback
GJS API Reference
Gtk-4.0
Gtk
EventControllerKey_KeyPressedSignalCallback
Interface EventControllerKey_KeyPressedSignalCallback
Hierarchy
EventControllerKey_KeyPressedSignalCallback
Callable
Event
Controller
Key_
Key
Pressed
Signal
Callback
(
$obj
:
Gtk
.
EventControllerKey
, keyval
:
number
, keycode
:
number
, state
:
Gdk
.
ModifierType
)
:
boolean
Signal callback interface for
key-pressed
Parameters
$obj:
Gtk
.
EventControllerKey
keyval:
number
keycode:
number
state:
Gdk
.
ModifierType
Returns
boolean
Event
Controller
Key_
Key
Pressed
Signal
Callback
base64:eyJwYWdlTmF2aWdhdGlvbiI6W10sImNsYXNzTmFtZXMiOiJjdXJyZW50IHRzZC1raW5kLWludGVyZmFjZSB0c2QtcGFyZW50LWtpbmQtbmFtZXNwYWNlIiwiaHJlZiI6Ikd0a180XzAuR3RrLkV2ZW50Q29udHJvbGxlcktleV9LZXlQcmVzc2VkU2lnbmFsQ2FsbGJhY2suaHRtbCIsIm5hbWUiOiJFdmVudENvbnRyb2xsZXJLZXlfS2V5UHJlc3NlZFNpZ25hbENhbGxiYWNrIn0=
Signal callback interface for
key-pressed