.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_ShortCut: ShortCut ======== **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +--------------------------------------+--------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_as_text` **(** **)** const | +--------------------------------------+--------------------------------------------------------------------------------------------------------------+ | :ref:`InputEvent` | :ref:`get_shortcut` **(** **)** const | +--------------------------------------+--------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_shortcut` **(** :ref:`InputEvent` event **)** const | +--------------------------------------+--------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_valid` **(** **)** const | +--------------------------------------+--------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_shortcut` **(** :ref:`InputEvent` event **)** | +--------------------------------------+--------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`InputEvent` **shortcut** Member Function Description --------------------------- .. _class_ShortCut_get_as_text: - :ref:`String` **get_as_text** **(** **)** const .. _class_ShortCut_get_shortcut: - :ref:`InputEvent` **get_shortcut** **(** **)** const .. _class_ShortCut_is_shortcut: - :ref:`bool` **is_shortcut** **(** :ref:`InputEvent` event **)** const .. _class_ShortCut_is_valid: - :ref:`bool` **is_valid** **(** **)** const .. _class_ShortCut_set_shortcut: - void **set_shortcut** **(** :ref:`InputEvent` event **)**