Skip to content

Latest commit

 

History

History
95 lines (56 loc) · 5.23 KB

class_scripteditor.rst

File metadata and controls

95 lines (56 loc) · 5.23 KB
github_url:hide

ScriptEditor

Inherits: :ref:`PanelContainer<class_PanelContainer>` < :ref:`Container<class_Container>` < :ref:`Control<class_Control>` < :ref:`CanvasItem<class_CanvasItem>` < :ref:`Node<class_Node>` < :ref:`Object<class_Object>`

Category: Core

Brief Description

Methods

:ref:`bool<class_bool>` :ref:`can_drop_data_fw<class_ScriptEditor_method_can_drop_data_fw>` ( :ref:`Vector2<class_Vector2>` point, :ref:`Variant<class_Variant>` data, :ref:`Control<class_Control>` from ) const
void :ref:`drop_data_fw<class_ScriptEditor_method_drop_data_fw>` ( :ref:`Vector2<class_Vector2>` point, :ref:`Variant<class_Variant>` data, :ref:`Control<class_Control>` from )
:ref:`Script<class_Script>` :ref:`get_current_script<class_ScriptEditor_method_get_current_script>` ( )
:ref:`Variant<class_Variant>` :ref:`get_drag_data_fw<class_ScriptEditor_method_get_drag_data_fw>` ( :ref:`Vector2<class_Vector2>` point, :ref:`Control<class_Control>` from )
:ref:`Array<class_Array>` :ref:`get_open_scripts<class_ScriptEditor_method_get_open_scripts>` ( ) const
void :ref:`open_script_create_dialog<class_ScriptEditor_method_open_script_create_dialog>` ( :ref:`String<class_String>` base_name, :ref:`String<class_String>` base_path )

Signals

Emitted when user changed active script. Argument is a freshly activated :ref:`Script<class_Script>`.


Emitted when editor is about to close the active script. Argument is a :ref:`Script<class_Script>` that is going to be closed.

Method Descriptions



Returns a :ref:`Script<class_Script>` that is currently active in editor.



Returns an array with all :ref:`Script<class_Script>` objects which are currently open in editor.