Skip to content
0.2.0-dev Download ZIP
16 lines ·922 B Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="InputEventShortcut" inherits="InputEvent" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 Represents a triggered keyboard [Shortcut].
5 </brief_description>
6 <description>
7 InputEventShortcut is a special event that can be received in [method Node._input], [method Node._shortcut_input], and [method Node._unhandled_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].
8 </description>
9 <tutorials>
10 </tutorials>
11 <members>
12 <member name="shortcut" type="Shortcut" setter="set_shortcut" getter="get_shortcut">
13 The [Shortcut] represented by this event. Its [method Shortcut.matches_event] method will always return [code]true[/code] for this event.
14 </member>
15 </members>
16</class>