ScriptCreateDialog

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 one of the Popup.popup methods.

More...

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

_browseClassInTree
void _browseClassInTree()
_browsePath
void _browsePath(bool arg0, bool arg1)
_builtInPressed
void _builtInPressed()
_classNameChanged
void _classNameChanged(String arg0)
_create
void _create()
_fileSelected
void _fileSelected(String arg0)
_langChanged
void _langChanged(long arg0)
_parentNameChanged
void _parentNameChanged(String arg0)
_pathChanged
void _pathChanged(String arg0)
_pathEntered
void _pathEntered(String arg0)
_pathHboxSorted
void _pathHboxSorted()
_templateChanged
void _templateChanged(long arg0)
config
void config(String inherits, String path, bool built_in_enabled, bool load_enabled)

Prefills required fields to configure the ScriptCreateDialog for use.

opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(ScriptCreateDialog other)
opEquals
bool opEquals(typeof(null) n)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Static functions

_new
ScriptCreateDialog _new()

Construct a new instance of ScriptCreateDialog. Note: use memnew!ScriptCreateDialog instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Detailed Description

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()

Meta