class_shortcut.rst 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_ShortCut:
  4. ShortCut
  5. ========
  6. **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +--------------------------------------+--------------------------------------------------------------------------------------------------------------+
  13. | :ref:`String<class_string>` | :ref:`get_as_text<class_ShortCut_get_as_text>` **(** **)** const |
  14. +--------------------------------------+--------------------------------------------------------------------------------------------------------------+
  15. | :ref:`InputEvent<class_inputevent>` | :ref:`get_shortcut<class_ShortCut_get_shortcut>` **(** **)** const |
  16. +--------------------------------------+--------------------------------------------------------------------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`is_shortcut<class_ShortCut_is_shortcut>` **(** :ref:`InputEvent<class_inputevent>` event **)** const |
  18. +--------------------------------------+--------------------------------------------------------------------------------------------------------------+
  19. | :ref:`bool<class_bool>` | :ref:`is_valid<class_ShortCut_is_valid>` **(** **)** const |
  20. +--------------------------------------+--------------------------------------------------------------------------------------------------------------+
  21. | void | :ref:`set_shortcut<class_ShortCut_set_shortcut>` **(** :ref:`InputEvent<class_inputevent>` event **)** |
  22. +--------------------------------------+--------------------------------------------------------------------------------------------------------------+
  23. Member Function Description
  24. ---------------------------
  25. .. _class_ShortCut_get_as_text:
  26. - :ref:`String<class_string>` **get_as_text** **(** **)** const
  27. .. _class_ShortCut_get_shortcut:
  28. - :ref:`InputEvent<class_inputevent>` **get_shortcut** **(** **)** const
  29. .. _class_ShortCut_is_shortcut:
  30. - :ref:`bool<class_bool>` **is_shortcut** **(** :ref:`InputEvent<class_inputevent>` event **)** const
  31. .. _class_ShortCut_is_valid:
  32. - :ref:`bool<class_bool>` **is_valid** **(** **)** const
  33. .. _class_ShortCut_set_shortcut:
  34. - void **set_shortcut** **(** :ref:`InputEvent<class_inputevent>` event **)**