The Editor's popup dialog for creating new [Script] files.
The ScriptCreateDialog creates script files according to a given template for a given scripting language. The standard use is to configure its fields prior to calling a [method popup]() method.
[codeblock]
func _ready():
dialog.config("Node", "res://new_node.gd") # for in-engine types
dialog.config("\"res://base_node.gd\"", "res://derived_node.gd") # for script types
dialog.popup_centered()
[/codeblock]
The dialog's "Inherits" field content.
The dialog's "Path" field content.
Prefills required fields to configure the ScriptCreateDialog for use.
Emitted when the user clicks the OK button.