Struct ScriptCreateDialog
The Editor's popup dialog for creating new Script
files.
struct ScriptCreateDialog
;
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 one of the Popup
methods.
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()
Methods
Name | Description |
---|---|
_browseClassInTree
|
|
_browsePath
|
|
_builtInPressed
|
|
_classNameChanged
|
|
_create
|
|
_fileSelected
|
|
_langChanged
|
|
_parentNameChanged
|
|
_pathChanged
|
|
_pathEntered
|
|
_pathHboxSorted
|
|
_templateChanged
|
|
config
|
Prefills required fields to configure the ScriptCreateDialog for use. |