[Window] Allow to override viewport and project settings and force use of native window.

This commit is contained in:
bruvzg
2024-03-04 20:21:10 +02:00
parent a07dd0d6a5
commit cfdb968848
3 changed files with 29 additions and 0 deletions

View File

@@ -590,6 +590,9 @@
[b]Note:[/b] This property is implemented only on macOS.
[b]Note:[/b] This property only works with native windows.
</member>
<member name="force_native" type="bool" setter="set_force_native" getter="get_force_native" default="false">
If [code]true[/code], native window will be used regardless of parent viewport and project settings.
</member>
<member name="initial_position" type="int" setter="set_initial_position" getter="get_initial_position" enum="Window.WindowInitialPosition" default="0">
Specifies the initial type of position for the [Window]. See [enum WindowInitialPosition] constants.
</member>