mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2026-01-05 14:10:19 +03:00
62 lines
2.9 KiB
ReStructuredText
62 lines
2.9 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. _class_InputEventShortcut:
|
|
|
|
InputEventShortcut
|
|
==================
|
|
|
|
**Eredita:** :ref:`InputEvent<class_InputEvent>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
|
|
|
|
Rappresenta una :ref:`Shortcut<class_Shortcut>` attivata da tastiera.
|
|
|
|
.. rst-class:: classref-introduction-group
|
|
|
|
Descrizione
|
|
----------------------
|
|
|
|
InputEventShortcut è un evento speciale che può essere ricevuto in :ref:`Node._unhandled_key_input()<class_Node_private_method__unhandled_key_input>`. Viene in genere inviato dalla Tavolozza dei comandi dell'editor per attivare azioni, ma può anche essere inviato manualmente tramite :ref:`Viewport.push_input()<class_Viewport_method_push_input>`.
|
|
|
|
.. rst-class:: classref-reftable-group
|
|
|
|
Proprietà
|
|
------------------
|
|
|
|
.. table::
|
|
:widths: auto
|
|
|
|
+---------------------------------+-------------------------------------------------------------+
|
|
| :ref:`Shortcut<class_Shortcut>` | :ref:`shortcut<class_InputEventShortcut_property_shortcut>` |
|
|
+---------------------------------+-------------------------------------------------------------+
|
|
|
|
.. rst-class:: classref-section-separator
|
|
|
|
----
|
|
|
|
.. rst-class:: classref-descriptions-group
|
|
|
|
Descrizioni delle proprietà
|
|
------------------------------------------------------
|
|
|
|
.. _class_InputEventShortcut_property_shortcut:
|
|
|
|
.. rst-class:: classref-property
|
|
|
|
:ref:`Shortcut<class_Shortcut>` **shortcut** :ref:`🔗<class_InputEventShortcut_property_shortcut>`
|
|
|
|
.. rst-class:: classref-property-setget
|
|
|
|
- |void| **set_shortcut**\ (\ value\: :ref:`Shortcut<class_Shortcut>`\ )
|
|
- :ref:`Shortcut<class_Shortcut>` **get_shortcut**\ (\ )
|
|
|
|
La :ref:`Shortcut<class_Shortcut>` rappresentata da questo evento. Il suo metodo :ref:`Shortcut.matches_event()<class_Shortcut_method_matches_event>` restituirà sempre ``true`` per questo evento.
|
|
|
|
.. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)`
|
|
.. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
|
|
.. |const| replace:: :abbr:`const (Questo metodo non ha effetti collaterali. Non modifica alcuna variabile appartenente all'istanza.)`
|
|
.. |vararg| replace:: :abbr:`vararg (Questo metodo accetta qualsiasi numero di argomenti oltre a quelli descritti qui.)`
|
|
.. |constructor| replace:: :abbr:`constructor (Questo metodo è utilizzato per creare un tipo.)`
|
|
.. |static| replace:: :abbr:`static (Questo metodo non necessita di alcun'istanza per essere chiamato, quindi può essere chiamato direttamente usando il nome della classe.)`
|
|
.. |operator| replace:: :abbr:`operator (Questo metodo descrive un operatore valido da usare con questo tipo come operando di sinistra.)`
|
|
.. |bitfield| replace:: :abbr:`BitField (Questo valore è un intero composto da una maschera di bit dei seguenti flag.)`
|
|
.. |void| replace:: :abbr:`void (Nessun valore restituito.)`
|