class_inputeventwithmodifiers.rst 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the InputEventWithModifiers.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_InputEventWithModifiers:
  6. InputEventWithModifiers
  7. =======================
  8. **Inherits:** :ref:`InputEvent<class_InputEvent>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. **Inherited By:** :ref:`InputEventGesture<class_InputEventGesture>`, :ref:`InputEventKey<class_InputEventKey>`, :ref:`InputEventMouse<class_InputEventMouse>`
  10. Base class for keys events with modifiers.
  11. Description
  12. -----------
  13. Contains keys events information with modifiers support like ``Shift`` or ``Alt``. See :ref:`Node._input<class_Node_method__input>`.
  14. Tutorials
  15. ---------
  16. - :doc:`../tutorials/inputs/inputevent`
  17. Properties
  18. ----------
  19. +-------------------------+----------------------------------------------------------------+-----------+
  20. | :ref:`bool<class_bool>` | :ref:`alt<class_InputEventWithModifiers_property_alt>` | ``false`` |
  21. +-------------------------+----------------------------------------------------------------+-----------+
  22. | :ref:`bool<class_bool>` | :ref:`command<class_InputEventWithModifiers_property_command>` | ``false`` |
  23. +-------------------------+----------------------------------------------------------------+-----------+
  24. | :ref:`bool<class_bool>` | :ref:`control<class_InputEventWithModifiers_property_control>` | ``false`` |
  25. +-------------------------+----------------------------------------------------------------+-----------+
  26. | :ref:`bool<class_bool>` | :ref:`meta<class_InputEventWithModifiers_property_meta>` | ``false`` |
  27. +-------------------------+----------------------------------------------------------------+-----------+
  28. | :ref:`bool<class_bool>` | :ref:`shift<class_InputEventWithModifiers_property_shift>` | ``false`` |
  29. +-------------------------+----------------------------------------------------------------+-----------+
  30. Property Descriptions
  31. ---------------------
  32. .. _class_InputEventWithModifiers_property_alt:
  33. - :ref:`bool<class_bool>` **alt**
  34. +-----------+----------------+
  35. | *Default* | ``false`` |
  36. +-----------+----------------+
  37. | *Setter* | set_alt(value) |
  38. +-----------+----------------+
  39. | *Getter* | get_alt() |
  40. +-----------+----------------+
  41. State of the ``Alt`` modifier.
  42. ----
  43. .. _class_InputEventWithModifiers_property_command:
  44. - :ref:`bool<class_bool>` **command**
  45. +-----------+--------------------+
  46. | *Default* | ``false`` |
  47. +-----------+--------------------+
  48. | *Setter* | set_command(value) |
  49. +-----------+--------------------+
  50. | *Getter* | get_command() |
  51. +-----------+--------------------+
  52. State of the ``Command`` modifier.
  53. ----
  54. .. _class_InputEventWithModifiers_property_control:
  55. - :ref:`bool<class_bool>` **control**
  56. +-----------+--------------------+
  57. | *Default* | ``false`` |
  58. +-----------+--------------------+
  59. | *Setter* | set_control(value) |
  60. +-----------+--------------------+
  61. | *Getter* | get_control() |
  62. +-----------+--------------------+
  63. State of the ``Ctrl`` modifier.
  64. ----
  65. .. _class_InputEventWithModifiers_property_meta:
  66. - :ref:`bool<class_bool>` **meta**
  67. +-----------+--------------------+
  68. | *Default* | ``false`` |
  69. +-----------+--------------------+
  70. | *Setter* | set_metakey(value) |
  71. +-----------+--------------------+
  72. | *Getter* | get_metakey() |
  73. +-----------+--------------------+
  74. State of the ``Meta`` modifier.
  75. ----
  76. .. _class_InputEventWithModifiers_property_shift:
  77. - :ref:`bool<class_bool>` **shift**
  78. +-----------+------------------+
  79. | *Default* | ``false`` |
  80. +-----------+------------------+
  81. | *Setter* | set_shift(value) |
  82. +-----------+------------------+
  83. | *Getter* | get_shift() |
  84. +-----------+------------------+
  85. State of the ``Shift`` modifier.
  86. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  87. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  88. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`