mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Sync with current master branch (6fd949a)
This commit is contained in:
@@ -82,6 +82,8 @@ Properties
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------------------+
|
||||
| :ref:`PackedVector2Array<class_PackedVector2Array>` | :ref:`mouse_passthrough_polygon<class_Window_property_mouse_passthrough_polygon>` | ``PackedVector2Array()`` |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------------------+
|
||||
| :ref:`Rect2i<class_Rect2i>` | :ref:`nonclient_area<class_Window_property_nonclient_area>` | ``Rect2i(0, 0, 0, 0)`` |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`popup_window<class_Window_property_popup_window>` | ``false`` |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`popup_wm_hint<class_Window_property_popup_wm_hint>` | ``false`` |
|
||||
@@ -440,6 +442,18 @@ Emitted when the mouse cursor leaves the **Window**'s visible area, that is not
|
||||
|
||||
----
|
||||
|
||||
.. _class_Window_signal_nonclient_window_input:
|
||||
|
||||
.. rst-class:: classref-signal
|
||||
|
||||
**nonclient_window_input**\ (\ event\: :ref:`InputEvent<class_InputEvent>`\ ) :ref:`🔗<class_Window_signal_nonclient_window_input>`
|
||||
|
||||
Emitted when the mouse event is received by the custom decoration area defined by :ref:`nonclient_area<class_Window_property_nonclient_area>`, and normal input to the window is blocked (such as when it has an exclusive child opened). ``event``'s position is in the embedder's coordinate system.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
----
|
||||
|
||||
.. _class_Window_signal_theme_changed:
|
||||
|
||||
.. rst-class:: classref-signal
|
||||
@@ -1476,6 +1490,23 @@ Passing an empty array will disable passthrough support (all mouse events will b
|
||||
|
||||
----
|
||||
|
||||
.. _class_Window_property_nonclient_area:
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Rect2i<class_Rect2i>` **nonclient_area** = ``Rect2i(0, 0, 0, 0)`` :ref:`🔗<class_Window_property_nonclient_area>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
- |void| **set_nonclient_area**\ (\ value\: :ref:`Rect2i<class_Rect2i>`\ )
|
||||
- :ref:`Rect2i<class_Rect2i>` **get_nonclient_area**\ (\ )
|
||||
|
||||
If set, defines the window's custom decoration area which will receive mouse input, even if normal input to the window is blocked (such as when it has an exclusive child opened). See also :ref:`nonclient_window_input<class_Window_signal_nonclient_window_input>`.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
----
|
||||
|
||||
.. _class_Window_property_popup_window:
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
Reference in New Issue
Block a user