summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-02 22:12:11 +0200
committerGitHub <noreply@github.com>2021-07-02 22:12:11 +0200
commita8fb450b3ce568fa8e3c9c013821f9046b9a0396 (patch)
tree07451d1c8a60dd6843c0e6e9a6409dbac6d6d2e2 /doc
parent676027fc3df07ad0c59c7d128bcc15f5ff58ae4a (diff)
parenta829e88ddc0931a36e0b50d5307e93b1489b531b (diff)
Merge pull request #50092 from YeldhamDev/window_get_contents_expose
Expose `Window.get_contents_minimum_size()` to scripts
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Window.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml
index 6ae5a5f449..73a95967bd 100644
--- a/doc/classes/Window.xml
+++ b/doc/classes/Window.xml
@@ -19,6 +19,13 @@
<description>
</description>
</method>
+ <method name="get_contents_minimum_size" qualifiers="const">
+ <return type="Vector2">
+ </return>
+ <description>
+ Returns the combined minimum size from the child [Control] nodes of the window.
+ </description>
+ </method>
<method name="get_flag" qualifiers="const">
<return type="bool">
</return>