2021-08-22 23:37:22 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 16:08:05 +08:00
<class name= "InputEventShortcut" inherits= "InputEvent" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2021-08-22 23:37:22 +08:00
<brief_description >
2023-04-28 07:35:33 +08:00
Represents a triggered keyboard [Shortcut].
2021-08-22 23:37:22 +08:00
</brief_description>
<description >
2023-05-11 03:51:50 +08:00
InputEventShortcut is a special event that can be received in [method Node._unhandled_key_input]. It is typically sent by the editor's Command Palette to trigger actions, but can also be sent manually using [method Viewport.push_input].
2021-08-22 23:37:22 +08:00
</description>
<tutorials >
</tutorials>
<members >
<member name= "shortcut" type= "Shortcut" setter= "set_shortcut" getter= "get_shortcut" >
2023-02-28 22:06:21 +08:00
The [Shortcut] represented by this event. Its [method Shortcut.matches_event] method will always return [code]true[/code] for this event.
2021-08-22 23:37:22 +08:00
</member>
</members>
</class>