summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-02-28 23:11:37 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-02-28 23:11:37 -0300
commit640443be6a81c2b5a0f7182bf51b6196fbfc6215 (patch)
treef772a9dd55d23bffd0034b2dc2398df9f6aa319f /doc
parent96b60c281fcaee977b1116dfa0ca8c3064fefa36 (diff)
parent3546403af2a95e6d209ce1113e78bef7bfb9440b (diff)
Merge pull request #3864 from leezh/editorplugin_extras
Adds EditorPlugin::remove_control_from_bottom_panel()
Diffstat (limited to 'doc')
-rw-r--r--doc/base/classes.xml20
1 files changed, 13 insertions, 7 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 12948d4489..4b623ea590 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -10261,21 +10261,18 @@ Returns an empty String "" at the end of the list.
remove your custom controls too.
</description>
</method>
- <method name="add_control_to_bottom_dock">
+ <method name="add_control_to_bottom_panel">
<argument index="0" name="control" type="Control">
</argument>
<argument index="1" name="title" type="String">
</argument>
<description>
- Add a control to the bottom dock (together with
+ Add a control to the bottom panel (together with
Output, Debug, Animation, etc).
- Please remember that you have to manage the
- visibility of your custom controls yourself (and likely
- hide it after adding it).
-
If your plugin is being removed, also make sure to
- remove your custom controls too.
+ remove your control by calling [method
+ remove_control_from_bottom_panel].
</description>
</method>
<method name="add_control_to_dock">
@@ -10305,6 +10302,15 @@ Returns an empty String "" at the end of the list.
the layout and remove it cleanly.
</description>
</method>
+ <method name="remove_control_from_bottom_panel">
+ <argument index="0" name="control" type="Control">
+ </argument>
+ <description>
+ Remove the control from the bottom panel. Don't forget
+ to call this if you added one, so the editor can
+ remove it cleanly.
+ </description>
+ </method>
<method name="add_custom_type">
<argument index="0" name="type" type="String">
</argument>