diff options
author | Yuri Sizov <yuris@humnom.net> | 2022-09-07 02:30:54 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2022-09-07 03:01:58 +0300 |
commit | 1459507ed28d68e0066ee2631c0b3671c1c76faa (patch) | |
tree | 4bfcd1d91582dd943a158ffec5b986b158207ee6 /doc/classes/EditorInterface.xml | |
parent | 432c4c40a9d29c127a5957944ca8f805dfb836ce (diff) |
Rename EditorInterface.get_editor_main_control to get_editor_main_screen
Diffstat (limited to 'doc/classes/EditorInterface.xml')
-rw-r--r-- | doc/classes/EditorInterface.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/classes/EditorInterface.xml b/doc/classes/EditorInterface.xml index c4bbc7c108..1e3b1f07ee 100644 --- a/doc/classes/EditorInterface.xml +++ b/doc/classes/EditorInterface.xml @@ -60,11 +60,10 @@ Returns the edited (current) scene's root [Node]. </description> </method> - <method name="get_editor_main_control"> - <return type="Control" /> + <method name="get_editor_main_screen"> + <return type="VBoxContainer" /> <description> - Returns the main editor control. Use this as a parent for main screens. - [b]Note:[/b] This returns the main editor control containing the whole editor, not the 2D or 3D viewports specifically. + Returns the editor control responsible for main screen plugins and tools. Use it with plugins that implement [method EditorPlugin._has_main_screen]. [b]Warning:[/b] Removing and freeing this node will render a part of the editor useless and may cause a crash. </description> </method> |