Click or drag to resize

EditorPluginAddControlToBottomPanel Method

Adds a control to the bottom panel (together with Output, Debug, Animation, etc). Returns a reference to the button added. It's up to you to hide/show the button when needed. When your plugin is deactivated, make sure to remove your custom control with RemoveControlFromBottomPanel(Control) and free it with QueueFree.

Namespace:  Godot
Assembly:  GodotSharpEditor (in GodotSharpEditor.dll) Version: 1.0.0
Syntax
C#
public ToolButton AddControlToBottomPanel(
	Control control,
	string title
)

Parameters

control
Type: GodotControl

[Missing <param name="control"/> documentation for "M:Godot.EditorPlugin.AddControlToBottomPanel(Godot.Control,System.String)"]

title
Type: SystemString

[Missing <param name="title"/> documentation for "M:Godot.EditorPlugin.AddControlToBottomPanel(Godot.Control,System.String)"]

Return Value

Type: ToolButton

[Missing <returns> documentation for "M:Godot.EditorPlugin.AddControlToBottomPanel(Godot.Control,System.String)"]

See Also