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 a popup() method.

More...

Members

Aliases

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

Functions

_browsePath
void _browsePath(bool arg0, bool arg1)
_builtInPressed
void _builtInPressed()
_classNameChanged
void _classNameChanged(StringArg0 arg0)
_fileSelected
void _fileSelected(StringArg0 arg0)
_langChanged
void _langChanged(long arg0)
_parentNameChanged
void _parentNameChanged(StringArg0 arg0)
_pathChanged
void _pathChanged(StringArg0 arg0)
_pathEntered
void _pathEntered(StringArg0 arg0)
_templateChanged
void _templateChanged(long arg0)
config
void config(StringArg0 inherits, StringArg1 path, bool built_in_enabled)

Prefills required fields to configure the ScriptCreateDialog for use.

opAssign
ScriptCreateDialog opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(ScriptCreateDialog other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Static functions

_new
ScriptCreateDialog _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
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
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
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