diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2021-07-02 15:35:56 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2021-07-02 15:35:56 -0300 |
commit | a829e88ddc0931a36e0b50d5307e93b1489b531b (patch) | |
tree | f7bb0fa0ccb8a9b306af31dc7c6d8ec56d491acb /doc/classes | |
parent | 5710adda72a08f81c4df00147f560eebacf3b473 (diff) |
Expose `Window.get_contents_minimum_size()` to scripts
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Window.xml | 7 |
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> |