mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Sync with current master branch (61accf0)
This commit is contained in:
@@ -76,6 +76,8 @@ Properties
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------------------+
|
||||
| :ref:`Vector2i<class_Vector2i>` | :ref:`position<class_Window_property_position>` | ``Vector2i(0, 0)`` |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`sharp_corners<class_Window_property_sharp_corners>` | ``false`` |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------------------+
|
||||
| :ref:`Vector2i<class_Vector2i>` | :ref:`size<class_Window_property_size>` | ``Vector2i(100, 100)`` |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------------------+
|
||||
| :ref:`Theme<class_Theme>` | :ref:`theme<class_Window_property_theme>` | |
|
||||
@@ -623,11 +625,23 @@ All mouse events are passed to the underlying window of the same application.
|
||||
|
||||
\ **Note:** This flag has no effect in embedded windows.
|
||||
|
||||
.. _class_Window_constant_FLAG_SHARP_CORNERS:
|
||||
|
||||
.. rst-class:: classref-enumeration-constant
|
||||
|
||||
:ref:`Flags<enum_Window_Flags>` **FLAG_SHARP_CORNERS** = ``8``
|
||||
|
||||
Window style is overridden, forcing sharp corners.
|
||||
|
||||
\ **Note:** This flag has no effect in embedded windows.
|
||||
|
||||
\ **Note:** This flag is implemented only on Windows (11).
|
||||
|
||||
.. _class_Window_constant_FLAG_MAX:
|
||||
|
||||
.. rst-class:: classref-enumeration-constant
|
||||
|
||||
:ref:`Flags<enum_Window_Flags>` **FLAG_MAX** = ``8``
|
||||
:ref:`Flags<enum_Window_Flags>` **FLAG_MAX** = ``9``
|
||||
|
||||
Max value of the :ref:`Flags<enum_Window_Flags>`.
|
||||
|
||||
@@ -759,11 +773,11 @@ enum **LayoutDirection**: :ref:`🔗<enum_Window_LayoutDirection>`
|
||||
|
||||
Automatic layout direction, determined from the parent window layout direction.
|
||||
|
||||
.. _class_Window_constant_LAYOUT_DIRECTION_LOCALE:
|
||||
.. _class_Window_constant_LAYOUT_DIRECTION_APPLICATION_LOCALE:
|
||||
|
||||
.. rst-class:: classref-enumeration-constant
|
||||
|
||||
:ref:`LayoutDirection<enum_Window_LayoutDirection>` **LAYOUT_DIRECTION_LOCALE** = ``1``
|
||||
:ref:`LayoutDirection<enum_Window_LayoutDirection>` **LAYOUT_DIRECTION_APPLICATION_LOCALE** = ``1``
|
||||
|
||||
Automatic layout direction, determined from the current locale.
|
||||
|
||||
@@ -783,6 +797,32 @@ Left-to-right layout direction.
|
||||
|
||||
Right-to-left layout direction.
|
||||
|
||||
.. _class_Window_constant_LAYOUT_DIRECTION_SYSTEM_LOCALE:
|
||||
|
||||
.. rst-class:: classref-enumeration-constant
|
||||
|
||||
:ref:`LayoutDirection<enum_Window_LayoutDirection>` **LAYOUT_DIRECTION_SYSTEM_LOCALE** = ``4``
|
||||
|
||||
Automatic layout direction, determined from the system locale.
|
||||
|
||||
.. _class_Window_constant_LAYOUT_DIRECTION_MAX:
|
||||
|
||||
.. rst-class:: classref-enumeration-constant
|
||||
|
||||
:ref:`LayoutDirection<enum_Window_LayoutDirection>` **LAYOUT_DIRECTION_MAX** = ``5``
|
||||
|
||||
Represents the size of the :ref:`LayoutDirection<enum_Window_LayoutDirection>` enum.
|
||||
|
||||
.. _class_Window_constant_LAYOUT_DIRECTION_LOCALE:
|
||||
|
||||
.. rst-class:: classref-enumeration-constant
|
||||
|
||||
:ref:`LayoutDirection<enum_Window_LayoutDirection>` **LAYOUT_DIRECTION_LOCALE** = ``1``
|
||||
|
||||
**Deprecated:** Use :ref:`LAYOUT_DIRECTION_APPLICATION_LOCALE<class_Window_constant_LAYOUT_DIRECTION_APPLICATION_LOCALE>` instead.
|
||||
|
||||
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
----
|
||||
@@ -1301,6 +1341,27 @@ If :ref:`ProjectSettings.display/window/subwindows/embed_subwindows<class_Projec
|
||||
|
||||
----
|
||||
|
||||
.. _class_Window_property_sharp_corners:
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`bool<class_bool>` **sharp_corners** = ``false`` :ref:`🔗<class_Window_property_sharp_corners>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
- |void| **set_flag**\ (\ flag\: :ref:`Flags<enum_Window_Flags>`, enabled\: :ref:`bool<class_bool>`\ )
|
||||
- :ref:`bool<class_bool>` **get_flag**\ (\ flag\: :ref:`Flags<enum_Window_Flags>`\ ) |const|
|
||||
|
||||
If ``true``, the **Window** will override the OS window style to display sharp corners.
|
||||
|
||||
\ **Note:** This property is implemented only on Windows (11).
|
||||
|
||||
\ **Note:** This property only works with native windows.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
----
|
||||
|
||||
.. _class_Window_property_size:
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
Reference in New Issue
Block a user