feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -108,6 +108,12 @@
|
|||
Returns [code]true[/code] if the [param flag] is set.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_focused_window" qualifiers="static">
|
||||
<return type="Window" />
|
||||
<description>
|
||||
Returns the focused window.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_layout_direction" qualifiers="const">
|
||||
<return type="int" enum="Window.LayoutDirection" />
|
||||
<description>
|
||||
|
|
@ -338,7 +344,7 @@
|
|||
<method name="is_layout_rtl" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if layout is right-to-left.
|
||||
Returns [code]true[/code] if the layout is right-to-left.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_maximize_allowed" qualifiers="const">
|
||||
|
|
@ -600,7 +606,9 @@
|
|||
The screen the window is currently on.
|
||||
</member>
|
||||
<member name="exclude_from_capture" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
Windows is excluded from screenshots taken by [method DisplayServer.screen_get_image], [method DisplayServer.screen_get_image_rect], and [method DisplayServer.screen_get_pixel].
|
||||
If [code]true[/code], the [Window] is excluded from screenshots taken by [method DisplayServer.screen_get_image], [method DisplayServer.screen_get_image_rect], and [method DisplayServer.screen_get_pixel].
|
||||
[b]Note:[/b] This property is implemented on macOS and Windows.
|
||||
[b]Note:[/b] Enabling this setting does [b]NOT[/b] prevent other apps from capturing an image. It should not be used as a security measure.
|
||||
</member>
|
||||
<member name="exclusive" type="bool" setter="set_exclusive" getter="is_exclusive" default="false">
|
||||
If [code]true[/code], the [Window] will be in exclusive mode. Exclusive windows are always on top of their parent and will block all input going to the parent [Window].
|
||||
|
|
@ -624,10 +632,20 @@
|
|||
If non-zero, the [Window] can't be resized to be bigger than this size.
|
||||
[b]Note:[/b] This property will be ignored if the value is lower than [member min_size].
|
||||
</member>
|
||||
<member name="maximize_disabled" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
If [code]true[/code], the [Window]'s maximize button is disabled.
|
||||
[b]Note:[/b] If both minimize and maximize buttons are disabled, buttons are fully hidden, and only close button is visible.
|
||||
[b]Note:[/b] This property is implemented only on macOS and Windows.
|
||||
</member>
|
||||
<member name="min_size" type="Vector2i" setter="set_min_size" getter="get_min_size" default="Vector2i(0, 0)">
|
||||
If non-zero, the [Window] can't be resized to be smaller than this size.
|
||||
[b]Note:[/b] This property will be ignored in favor of [method get_contents_minimum_size] if [member wrap_controls] is enabled and if its size is bigger.
|
||||
</member>
|
||||
<member name="minimize_disabled" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
If [code]true[/code], the [Window]'s minimize button is disabled.
|
||||
[b]Note:[/b] If both minimize and maximize buttons are disabled, buttons are fully hidden, and only close button is visible.
|
||||
[b]Note:[/b] This property is implemented only on macOS and Windows.
|
||||
</member>
|
||||
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="Window.Mode" default="0">
|
||||
Set's the window's current mode.
|
||||
[b]Note:[/b] Fullscreen mode is not exclusive full screen on Windows and Linux.
|
||||
|
|
@ -670,6 +688,9 @@
|
|||
<member name="popup_window" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
If [code]true[/code], the [Window] will be considered a popup. Popups are sub-windows that don't show as separate windows in system's window manager's window list and will send close request when anything is clicked outside of them (unless [member exclusive] is enabled).
|
||||
</member>
|
||||
<member name="popup_wm_hint" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
If [code]true[/code], the [Window] will signal to the window manager that it is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window).
|
||||
</member>
|
||||
<member name="position" type="Vector2i" setter="set_position" getter="get_position" default="Vector2i(0, 0)">
|
||||
The window's position in pixels.
|
||||
If [member ProjectSettings.display/window/subwindows/embed_subwindows] is [code]false[/code], the position is in absolute screen coordinates. This typically applies to editor plugins. If the setting is [code]true[/code], the window's position is in the coordinates of its parent [Viewport].
|
||||
|
|
@ -709,7 +730,7 @@
|
|||
If [code]true[/code], the [Window] can't be focused nor interacted with. It can still be visible.
|
||||
</member>
|
||||
<member name="unresizable" type="bool" setter="set_flag" getter="get_flag" default="false">
|
||||
If [code]true[/code], the window can't be resized. Minimize and maximize buttons are disabled.
|
||||
If [code]true[/code], the window can't be resized.
|
||||
</member>
|
||||
<member name="visible" type="bool" setter="set_visible" getter="is_visible" default="true">
|
||||
If [code]true[/code], the window is visible.
|
||||
|
|
@ -734,7 +755,7 @@
|
|||
<signal name="dpi_changed">
|
||||
<description>
|
||||
Emitted when the [Window]'s DPI changes as a result of OS-level changes (e.g. moving the window from a Retina display to a lower resolution one).
|
||||
[b]Note:[/b] Only implemented on macOS.
|
||||
[b]Note:[/b] Only implemented on macOS and Linux (Wayland).
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="files_dropped">
|
||||
|
|
@ -879,7 +900,18 @@
|
|||
[b]Note:[/b] This flag is implemented on macOS and Windows.
|
||||
[b]Note:[/b] Setting this flag will [b]NOT[/b] prevent other apps from capturing an image, it should not be used as a security measure.
|
||||
</constant>
|
||||
<constant name="FLAG_MAX" value="10" enum="Flags">
|
||||
<constant name="FLAG_POPUP_WM_HINT" value="10" enum="Flags">
|
||||
Signals the window manager that this window is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window).
|
||||
</constant>
|
||||
<constant name="FLAG_MINIMIZE_DISABLED" value="11" enum="Flags">
|
||||
Window minimize button is disabled.
|
||||
[b]Note:[/b] This flag is implemented on macOS and Windows.
|
||||
</constant>
|
||||
<constant name="FLAG_MAXIMIZE_DISABLED" value="12" enum="Flags">
|
||||
Window maximize button is disabled.
|
||||
[b]Note:[/b] This flag is implemented on macOS and Windows.
|
||||
</constant>
|
||||
<constant name="FLAG_MAX" value="13" enum="Flags">
|
||||
Max value of the [enum Flags].
|
||||
</constant>
|
||||
<constant name="CONTENT_SCALE_MODE_DISABLED" value="0" enum="ContentScaleMode">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue