summaryrefslogtreecommitdiff
path: root/doc/classes/EditorInspectorPlugin.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/EditorInspectorPlugin.xml')
-rw-r--r--doc/classes/EditorInspectorPlugin.xml63
1 files changed, 21 insertions, 42 deletions
diff --git a/doc/classes/EditorInspectorPlugin.xml b/doc/classes/EditorInspectorPlugin.xml
index c992d0fbb4..085568466a 100644
--- a/doc/classes/EditorInspectorPlugin.xml
+++ b/doc/classes/EditorInspectorPlugin.xml
@@ -16,83 +16,62 @@
</tutorials>
<methods>
<method name="_can_handle" qualifiers="virtual">
- <return type="bool">
- </return>
- <argument index="0" name="object" type="Object">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="object" type="Object" />
<description>
Returns [code]true[/code] if this object can be handled by this plugin.
</description>
</method>
<method name="_parse_begin" qualifiers="virtual">
- <return type="void">
- </return>
+ <return type="void" />
<description>
Called to allow adding controls at the beginning of the list.
</description>
</method>
<method name="_parse_category" qualifiers="virtual">
- <return type="void">
- </return>
- <argument index="0" name="category" type="String">
- </argument>
+ <return type="void" />
+ <argument index="0" name="category" type="String" />
<description>
Called to allow adding controls at the beginning of the category.
</description>
</method>
<method name="_parse_end" qualifiers="virtual">
- <return type="void">
- </return>
+ <return type="void" />
<description>
Called to allow adding controls at the end of the list.
</description>
</method>
<method name="_parse_property" qualifiers="virtual">
- <return type="bool">
- </return>
- <argument index="0" name="type" type="int">
- </argument>
- <argument index="1" name="path" type="String">
- </argument>
- <argument index="2" name="hint" type="int">
- </argument>
- <argument index="3" name="hint_text" type="String">
- </argument>
- <argument index="4" name="usage" type="int">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="type" type="int" />
+ <argument index="1" name="path" type="String" />
+ <argument index="2" name="hint" type="int" />
+ <argument index="3" name="hint_text" type="String" />
+ <argument index="4" name="usage" type="int" />
<description>
Called to allow adding property specific editors to the inspector. Usually these inherit [EditorProperty]. Returning [code]true[/code] removes the built-in editor for this property, otherwise allows to insert a custom editor before the built-in one.
</description>
</method>
<method name="add_custom_control">
- <return type="void">
- </return>
- <argument index="0" name="control" type="Control">
- </argument>
+ <return type="void" />
+ <argument index="0" name="control" type="Control" />
<description>
Adds a custom control, not necessarily a property editor.
</description>
</method>
<method name="add_property_editor">
- <return type="void">
- </return>
- <argument index="0" name="property" type="String">
- </argument>
- <argument index="1" name="editor" type="Control">
- </argument>
+ <return type="void" />
+ <argument index="0" name="property" type="String" />
+ <argument index="1" name="editor" type="Control" />
<description>
Adds a property editor, this must inherit [EditorProperty].
</description>
</method>
<method name="add_property_editor_for_multiple_properties">
- <return type="void">
- </return>
- <argument index="0" name="label" type="String">
- </argument>
- <argument index="1" name="properties" type="PackedStringArray">
- </argument>
- <argument index="2" name="editor" type="Control">
- </argument>
+ <return type="void" />
+ <argument index="0" name="label" type="String" />
+ <argument index="1" name="properties" type="PackedStringArray" />
+ <argument index="2" name="editor" type="Control" />
<description>
Adds an editor that allows modifying multiple properties, this must inherit [EditorProperty].
</description>