1 /**
2 Godot editor's script editor.
3 
4 Copyright:
5 Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur.  
6 Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md)  
7 Copyright (c) 2017-2018 Godot-D contributors  
8 
9 License: $(LINK2 https://opensource.org/licenses/MIT, MIT License)
10 
11 
12 */
13 module godot.scripteditor;
14 import std.meta : AliasSeq, staticIndexOf;
15 import std.traits : Unqual;
16 import godot.d.traits;
17 import godot.core;
18 import godot.c;
19 import godot.d.bind;
20 import godot.d.reference;
21 import godot.globalenums;
22 import godot.object;
23 import godot.panelcontainer;
24 import godot.container;
25 import godot.control;
26 import godot.canvasitem;
27 import godot.node;
28 import godot.reference;
29 import godot.resource;
30 import godot.script;
31 import godot.inputevent;
32 /**
33 Godot editor's script editor.
34 
35 $(B Note:) This class shouldn't be instantiated directly. Instead, access the singleton using $(D EditorInterface.getScriptEditor).
36 */
37 @GodotBaseClass struct ScriptEditor
38 {
39 	package(godot) enum string _GODOT_internal_name = "ScriptEditor";
40 public:
41 @nogc nothrow:
42 	union { /** */ godot_object _godot_object; /** */ PanelContainer _GODOT_base; }
43 	alias _GODOT_base this;
44 	alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses);
45 	package(godot) __gshared bool _classBindingInitialized = false;
46 	package(godot) static struct GDNativeClassBinding
47 	{
48 		__gshared:
49 		@GodotName("_add_callback") GodotMethod!(void, GodotObject, String, PoolStringArray) _addCallback;
50 		@GodotName("_autosave_scripts") GodotMethod!(void) _autosaveScripts;
51 		@GodotName("_breaked") GodotMethod!(void, bool, bool) _breaked;
52 		@GodotName("_clear_execution") GodotMethod!(void, Reference) _clearExecution;
53 		@GodotName("_close_all_tabs") GodotMethod!(void) _closeAllTabs;
54 		@GodotName("_close_current_tab") GodotMethod!(void, bool) _closeCurrentTab;
55 		@GodotName("_close_discard_current_tab") GodotMethod!(void, String) _closeDiscardCurrentTab;
56 		@GodotName("_close_docs_tab") GodotMethod!(void) _closeDocsTab;
57 		@GodotName("_close_other_tabs") GodotMethod!(void) _closeOtherTabs;
58 		@GodotName("_copy_script_path") GodotMethod!(void) _copyScriptPath;
59 		@GodotName("_editor_pause") GodotMethod!(void) _editorPause;
60 		@GodotName("_editor_play") GodotMethod!(void) _editorPlay;
61 		@GodotName("_editor_settings_changed") GodotMethod!(void) _editorSettingsChanged;
62 		@GodotName("_editor_stop") GodotMethod!(void) _editorStop;
63 		@GodotName("_file_dialog_action") GodotMethod!(void, String) _fileDialogAction;
64 		@GodotName("_filter_methods_text_changed") GodotMethod!(void, String) _filterMethodsTextChanged;
65 		@GodotName("_filter_scripts_text_changed") GodotMethod!(void, String) _filterScriptsTextChanged;
66 		@GodotName("_get_debug_tooltip") GodotMethod!(String, String, Node) _getDebugTooltip;
67 		@GodotName("_goto_script_line") GodotMethod!(void, Reference, long) _gotoScriptLine;
68 		@GodotName("_goto_script_line2") GodotMethod!(void, long) _gotoScriptLine2;
69 		@GodotName("_help_class_goto") GodotMethod!(void, String) _helpClassGoto;
70 		@GodotName("_help_class_open") GodotMethod!(void, String) _helpClassOpen;
71 		@GodotName("_help_overview_selected") GodotMethod!(void, long) _helpOverviewSelected;
72 		@GodotName("_help_search") GodotMethod!(void, String) _helpSearch;
73 		@GodotName("_history_back") GodotMethod!(void) _historyBack;
74 		@GodotName("_history_forward") GodotMethod!(void) _historyForward;
75 		@GodotName("_live_auto_reload_running_scripts") GodotMethod!(void) _liveAutoReloadRunningScripts;
76 		@GodotName("_members_overview_selected") GodotMethod!(void, long) _membersOverviewSelected;
77 		@GodotName("_menu_option") GodotMethod!(void, long) _menuOption;
78 		@GodotName("_on_find_in_files_modified_files") GodotMethod!(void, PoolStringArray) _onFindInFilesModifiedFiles;
79 		@GodotName("_on_find_in_files_requested") GodotMethod!(void, String) _onFindInFilesRequested;
80 		@GodotName("_on_find_in_files_result_selected") GodotMethod!(void, String, long, long, long) _onFindInFilesResultSelected;
81 		@GodotName("_open_recent_script") GodotMethod!(void, long) _openRecentScript;
82 		@GodotName("_reload_scripts") GodotMethod!(void) _reloadScripts;
83 		@GodotName("_request_help") GodotMethod!(void, String) _requestHelp;
84 		@GodotName("_res_saved_callback") GodotMethod!(void, Resource) _resSavedCallback;
85 		@GodotName("_resave_scripts") GodotMethod!(void, String) _resaveScripts;
86 		@GodotName("_save_history") GodotMethod!(void) _saveHistory;
87 		@GodotName("_script_changed") GodotMethod!(void) _scriptChanged;
88 		@GodotName("_script_created") GodotMethod!(void, Script) _scriptCreated;
89 		@GodotName("_script_list_gui_input") GodotMethod!(void, InputEvent) _scriptListGuiInput;
90 		@GodotName("_script_selected") GodotMethod!(void, long) _scriptSelected;
91 		@GodotName("_script_split_dragged") GodotMethod!(void, double) _scriptSplitDragged;
92 		@GodotName("_set_execution") GodotMethod!(void, Reference, long) _setExecution;
93 		@GodotName("_show_debugger") GodotMethod!(void, bool) _showDebugger;
94 		@GodotName("_start_find_in_files") GodotMethod!(void, bool) _startFindInFiles;
95 		@GodotName("_tab_changed") GodotMethod!(void, long) _tabChanged;
96 		@GodotName("_theme_option") GodotMethod!(void, long) _themeOption;
97 		@GodotName("_toggle_members_overview_alpha_sort") GodotMethod!(void, bool) _toggleMembersOverviewAlphaSort;
98 		@GodotName("_tree_changed") GodotMethod!(void) _treeChanged;
99 		@GodotName("_unhandled_input") GodotMethod!(void, InputEvent) _unhandledInput;
100 		@GodotName("_update_autosave_timer") GodotMethod!(void) _updateAutosaveTimer;
101 		@GodotName("_update_members_overview") GodotMethod!(void) _updateMembersOverview;
102 		@GodotName("_update_recent_scripts") GodotMethod!(void) _updateRecentScripts;
103 		@GodotName("_update_script_connections") GodotMethod!(void) _updateScriptConnections;
104 		@GodotName("_update_script_names") GodotMethod!(void) _updateScriptNames;
105 		@GodotName("can_drop_data_fw") GodotMethod!(bool, Vector2, Variant, Control) canDropDataFw;
106 		@GodotName("drop_data_fw") GodotMethod!(void, Vector2, Variant, Control) dropDataFw;
107 		@GodotName("get_current_script") GodotMethod!(Script) getCurrentScript;
108 		@GodotName("get_drag_data_fw") GodotMethod!(Variant, Vector2, Control) getDragDataFw;
109 		@GodotName("get_open_scripts") GodotMethod!(Array) getOpenScripts;
110 		@GodotName("goto_line") GodotMethod!(void, long) gotoLine;
111 		@GodotName("open_script_create_dialog") GodotMethod!(void, String, String) openScriptCreateDialog;
112 	}
113 	/// 
114 	pragma(inline, true) bool opEquals(in ScriptEditor other) const
115 	{ return _godot_object.ptr is other._godot_object.ptr; }
116 	/// 
117 	pragma(inline, true) typeof(null) opAssign(typeof(null) n)
118 	{ _godot_object.ptr = n; return null; }
119 	/// 
120 	pragma(inline, true) bool opEquals(typeof(null) n) const
121 	{ return _godot_object.ptr is n; }
122 	/// 
123 	size_t toHash() const @trusted { return cast(size_t)_godot_object.ptr; }
124 	mixin baseCasts;
125 	/// Construct a new instance of ScriptEditor.
126 	/// Note: use `memnew!ScriptEditor` instead.
127 	static ScriptEditor _new()
128 	{
129 		static godot_class_constructor constructor;
130 		if(constructor is null) constructor = _godot_api.godot_get_class_constructor("ScriptEditor");
131 		if(constructor is null) return typeof(this).init;
132 		return cast(ScriptEditor)(constructor());
133 	}
134 	@disable new(size_t s);
135 	/**
136 	
137 	*/
138 	void _addCallback(GodotObject arg0, in String arg1, in PoolStringArray arg2)
139 	{
140 		Array _GODOT_args = Array.make();
141 		_GODOT_args.append(arg0);
142 		_GODOT_args.append(arg1);
143 		_GODOT_args.append(arg2);
144 		String _GODOT_method_name = String("_add_callback");
145 		this.callv(_GODOT_method_name, _GODOT_args);
146 	}
147 	/**
148 	
149 	*/
150 	void _autosaveScripts()
151 	{
152 		Array _GODOT_args = Array.make();
153 		String _GODOT_method_name = String("_autosave_scripts");
154 		this.callv(_GODOT_method_name, _GODOT_args);
155 	}
156 	/**
157 	
158 	*/
159 	void _breaked(in bool arg0, in bool arg1)
160 	{
161 		Array _GODOT_args = Array.make();
162 		_GODOT_args.append(arg0);
163 		_GODOT_args.append(arg1);
164 		String _GODOT_method_name = String("_breaked");
165 		this.callv(_GODOT_method_name, _GODOT_args);
166 	}
167 	/**
168 	
169 	*/
170 	void _clearExecution(Reference arg0)
171 	{
172 		Array _GODOT_args = Array.make();
173 		_GODOT_args.append(arg0);
174 		String _GODOT_method_name = String("_clear_execution");
175 		this.callv(_GODOT_method_name, _GODOT_args);
176 	}
177 	/**
178 	
179 	*/
180 	void _closeAllTabs()
181 	{
182 		Array _GODOT_args = Array.make();
183 		String _GODOT_method_name = String("_close_all_tabs");
184 		this.callv(_GODOT_method_name, _GODOT_args);
185 	}
186 	/**
187 	
188 	*/
189 	void _closeCurrentTab(in bool arg0)
190 	{
191 		Array _GODOT_args = Array.make();
192 		_GODOT_args.append(arg0);
193 		String _GODOT_method_name = String("_close_current_tab");
194 		this.callv(_GODOT_method_name, _GODOT_args);
195 	}
196 	/**
197 	
198 	*/
199 	void _closeDiscardCurrentTab(in String arg0)
200 	{
201 		Array _GODOT_args = Array.make();
202 		_GODOT_args.append(arg0);
203 		String _GODOT_method_name = String("_close_discard_current_tab");
204 		this.callv(_GODOT_method_name, _GODOT_args);
205 	}
206 	/**
207 	
208 	*/
209 	void _closeDocsTab()
210 	{
211 		Array _GODOT_args = Array.make();
212 		String _GODOT_method_name = String("_close_docs_tab");
213 		this.callv(_GODOT_method_name, _GODOT_args);
214 	}
215 	/**
216 	
217 	*/
218 	void _closeOtherTabs()
219 	{
220 		Array _GODOT_args = Array.make();
221 		String _GODOT_method_name = String("_close_other_tabs");
222 		this.callv(_GODOT_method_name, _GODOT_args);
223 	}
224 	/**
225 	
226 	*/
227 	void _copyScriptPath()
228 	{
229 		Array _GODOT_args = Array.make();
230 		String _GODOT_method_name = String("_copy_script_path");
231 		this.callv(_GODOT_method_name, _GODOT_args);
232 	}
233 	/**
234 	
235 	*/
236 	void _editorPause()
237 	{
238 		Array _GODOT_args = Array.make();
239 		String _GODOT_method_name = String("_editor_pause");
240 		this.callv(_GODOT_method_name, _GODOT_args);
241 	}
242 	/**
243 	
244 	*/
245 	void _editorPlay()
246 	{
247 		Array _GODOT_args = Array.make();
248 		String _GODOT_method_name = String("_editor_play");
249 		this.callv(_GODOT_method_name, _GODOT_args);
250 	}
251 	/**
252 	
253 	*/
254 	void _editorSettingsChanged()
255 	{
256 		Array _GODOT_args = Array.make();
257 		String _GODOT_method_name = String("_editor_settings_changed");
258 		this.callv(_GODOT_method_name, _GODOT_args);
259 	}
260 	/**
261 	
262 	*/
263 	void _editorStop()
264 	{
265 		Array _GODOT_args = Array.make();
266 		String _GODOT_method_name = String("_editor_stop");
267 		this.callv(_GODOT_method_name, _GODOT_args);
268 	}
269 	/**
270 	
271 	*/
272 	void _fileDialogAction(in String arg0)
273 	{
274 		Array _GODOT_args = Array.make();
275 		_GODOT_args.append(arg0);
276 		String _GODOT_method_name = String("_file_dialog_action");
277 		this.callv(_GODOT_method_name, _GODOT_args);
278 	}
279 	/**
280 	
281 	*/
282 	void _filterMethodsTextChanged(in String arg0)
283 	{
284 		Array _GODOT_args = Array.make();
285 		_GODOT_args.append(arg0);
286 		String _GODOT_method_name = String("_filter_methods_text_changed");
287 		this.callv(_GODOT_method_name, _GODOT_args);
288 	}
289 	/**
290 	
291 	*/
292 	void _filterScriptsTextChanged(in String arg0)
293 	{
294 		Array _GODOT_args = Array.make();
295 		_GODOT_args.append(arg0);
296 		String _GODOT_method_name = String("_filter_scripts_text_changed");
297 		this.callv(_GODOT_method_name, _GODOT_args);
298 	}
299 	/**
300 	
301 	*/
302 	String _getDebugTooltip(in String arg0, Node arg1)
303 	{
304 		Array _GODOT_args = Array.make();
305 		_GODOT_args.append(arg0);
306 		_GODOT_args.append(arg1);
307 		String _GODOT_method_name = String("_get_debug_tooltip");
308 		return this.callv(_GODOT_method_name, _GODOT_args).as!(RefOrT!String);
309 	}
310 	/**
311 	
312 	*/
313 	void _gotoScriptLine(Reference arg0, in long arg1)
314 	{
315 		Array _GODOT_args = Array.make();
316 		_GODOT_args.append(arg0);
317 		_GODOT_args.append(arg1);
318 		String _GODOT_method_name = String("_goto_script_line");
319 		this.callv(_GODOT_method_name, _GODOT_args);
320 	}
321 	/**
322 	
323 	*/
324 	void _gotoScriptLine2(in long arg0)
325 	{
326 		Array _GODOT_args = Array.make();
327 		_GODOT_args.append(arg0);
328 		String _GODOT_method_name = String("_goto_script_line2");
329 		this.callv(_GODOT_method_name, _GODOT_args);
330 	}
331 	/**
332 	
333 	*/
334 	void _helpClassGoto(in String arg0)
335 	{
336 		Array _GODOT_args = Array.make();
337 		_GODOT_args.append(arg0);
338 		String _GODOT_method_name = String("_help_class_goto");
339 		this.callv(_GODOT_method_name, _GODOT_args);
340 	}
341 	/**
342 	
343 	*/
344 	void _helpClassOpen(in String arg0)
345 	{
346 		Array _GODOT_args = Array.make();
347 		_GODOT_args.append(arg0);
348 		String _GODOT_method_name = String("_help_class_open");
349 		this.callv(_GODOT_method_name, _GODOT_args);
350 	}
351 	/**
352 	
353 	*/
354 	void _helpOverviewSelected(in long arg0)
355 	{
356 		Array _GODOT_args = Array.make();
357 		_GODOT_args.append(arg0);
358 		String _GODOT_method_name = String("_help_overview_selected");
359 		this.callv(_GODOT_method_name, _GODOT_args);
360 	}
361 	/**
362 	
363 	*/
364 	void _helpSearch(in String arg0)
365 	{
366 		Array _GODOT_args = Array.make();
367 		_GODOT_args.append(arg0);
368 		String _GODOT_method_name = String("_help_search");
369 		this.callv(_GODOT_method_name, _GODOT_args);
370 	}
371 	/**
372 	
373 	*/
374 	void _historyBack()
375 	{
376 		Array _GODOT_args = Array.make();
377 		String _GODOT_method_name = String("_history_back");
378 		this.callv(_GODOT_method_name, _GODOT_args);
379 	}
380 	/**
381 	
382 	*/
383 	void _historyForward()
384 	{
385 		Array _GODOT_args = Array.make();
386 		String _GODOT_method_name = String("_history_forward");
387 		this.callv(_GODOT_method_name, _GODOT_args);
388 	}
389 	/**
390 	
391 	*/
392 	void _liveAutoReloadRunningScripts()
393 	{
394 		Array _GODOT_args = Array.make();
395 		String _GODOT_method_name = String("_live_auto_reload_running_scripts");
396 		this.callv(_GODOT_method_name, _GODOT_args);
397 	}
398 	/**
399 	
400 	*/
401 	void _membersOverviewSelected(in long arg0)
402 	{
403 		Array _GODOT_args = Array.make();
404 		_GODOT_args.append(arg0);
405 		String _GODOT_method_name = String("_members_overview_selected");
406 		this.callv(_GODOT_method_name, _GODOT_args);
407 	}
408 	/**
409 	
410 	*/
411 	void _menuOption(in long arg0)
412 	{
413 		Array _GODOT_args = Array.make();
414 		_GODOT_args.append(arg0);
415 		String _GODOT_method_name = String("_menu_option");
416 		this.callv(_GODOT_method_name, _GODOT_args);
417 	}
418 	/**
419 	
420 	*/
421 	void _onFindInFilesModifiedFiles(in PoolStringArray arg0)
422 	{
423 		Array _GODOT_args = Array.make();
424 		_GODOT_args.append(arg0);
425 		String _GODOT_method_name = String("_on_find_in_files_modified_files");
426 		this.callv(_GODOT_method_name, _GODOT_args);
427 	}
428 	/**
429 	
430 	*/
431 	void _onFindInFilesRequested(in String arg0)
432 	{
433 		Array _GODOT_args = Array.make();
434 		_GODOT_args.append(arg0);
435 		String _GODOT_method_name = String("_on_find_in_files_requested");
436 		this.callv(_GODOT_method_name, _GODOT_args);
437 	}
438 	/**
439 	
440 	*/
441 	void _onFindInFilesResultSelected(in String arg0, in long arg1, in long arg2, in long arg3)
442 	{
443 		Array _GODOT_args = Array.make();
444 		_GODOT_args.append(arg0);
445 		_GODOT_args.append(arg1);
446 		_GODOT_args.append(arg2);
447 		_GODOT_args.append(arg3);
448 		String _GODOT_method_name = String("_on_find_in_files_result_selected");
449 		this.callv(_GODOT_method_name, _GODOT_args);
450 	}
451 	/**
452 	
453 	*/
454 	void _openRecentScript(in long arg0)
455 	{
456 		Array _GODOT_args = Array.make();
457 		_GODOT_args.append(arg0);
458 		String _GODOT_method_name = String("_open_recent_script");
459 		this.callv(_GODOT_method_name, _GODOT_args);
460 	}
461 	/**
462 	
463 	*/
464 	void _reloadScripts()
465 	{
466 		Array _GODOT_args = Array.make();
467 		String _GODOT_method_name = String("_reload_scripts");
468 		this.callv(_GODOT_method_name, _GODOT_args);
469 	}
470 	/**
471 	
472 	*/
473 	void _requestHelp(in String arg0)
474 	{
475 		Array _GODOT_args = Array.make();
476 		_GODOT_args.append(arg0);
477 		String _GODOT_method_name = String("_request_help");
478 		this.callv(_GODOT_method_name, _GODOT_args);
479 	}
480 	/**
481 	
482 	*/
483 	void _resSavedCallback(Resource arg0)
484 	{
485 		Array _GODOT_args = Array.make();
486 		_GODOT_args.append(arg0);
487 		String _GODOT_method_name = String("_res_saved_callback");
488 		this.callv(_GODOT_method_name, _GODOT_args);
489 	}
490 	/**
491 	
492 	*/
493 	void _resaveScripts(in String arg0)
494 	{
495 		Array _GODOT_args = Array.make();
496 		_GODOT_args.append(arg0);
497 		String _GODOT_method_name = String("_resave_scripts");
498 		this.callv(_GODOT_method_name, _GODOT_args);
499 	}
500 	/**
501 	
502 	*/
503 	void _saveHistory()
504 	{
505 		Array _GODOT_args = Array.make();
506 		String _GODOT_method_name = String("_save_history");
507 		this.callv(_GODOT_method_name, _GODOT_args);
508 	}
509 	/**
510 	
511 	*/
512 	void _scriptChanged()
513 	{
514 		Array _GODOT_args = Array.make();
515 		String _GODOT_method_name = String("_script_changed");
516 		this.callv(_GODOT_method_name, _GODOT_args);
517 	}
518 	/**
519 	
520 	*/
521 	void _scriptCreated(Script arg0)
522 	{
523 		Array _GODOT_args = Array.make();
524 		_GODOT_args.append(arg0);
525 		String _GODOT_method_name = String("_script_created");
526 		this.callv(_GODOT_method_name, _GODOT_args);
527 	}
528 	/**
529 	
530 	*/
531 	void _scriptListGuiInput(InputEvent arg0)
532 	{
533 		Array _GODOT_args = Array.make();
534 		_GODOT_args.append(arg0);
535 		String _GODOT_method_name = String("_script_list_gui_input");
536 		this.callv(_GODOT_method_name, _GODOT_args);
537 	}
538 	/**
539 	
540 	*/
541 	void _scriptSelected(in long arg0)
542 	{
543 		Array _GODOT_args = Array.make();
544 		_GODOT_args.append(arg0);
545 		String _GODOT_method_name = String("_script_selected");
546 		this.callv(_GODOT_method_name, _GODOT_args);
547 	}
548 	/**
549 	
550 	*/
551 	void _scriptSplitDragged(in double arg0)
552 	{
553 		Array _GODOT_args = Array.make();
554 		_GODOT_args.append(arg0);
555 		String _GODOT_method_name = String("_script_split_dragged");
556 		this.callv(_GODOT_method_name, _GODOT_args);
557 	}
558 	/**
559 	
560 	*/
561 	void _setExecution(Reference arg0, in long arg1)
562 	{
563 		Array _GODOT_args = Array.make();
564 		_GODOT_args.append(arg0);
565 		_GODOT_args.append(arg1);
566 		String _GODOT_method_name = String("_set_execution");
567 		this.callv(_GODOT_method_name, _GODOT_args);
568 	}
569 	/**
570 	
571 	*/
572 	void _showDebugger(in bool arg0)
573 	{
574 		Array _GODOT_args = Array.make();
575 		_GODOT_args.append(arg0);
576 		String _GODOT_method_name = String("_show_debugger");
577 		this.callv(_GODOT_method_name, _GODOT_args);
578 	}
579 	/**
580 	
581 	*/
582 	void _startFindInFiles(in bool arg0)
583 	{
584 		Array _GODOT_args = Array.make();
585 		_GODOT_args.append(arg0);
586 		String _GODOT_method_name = String("_start_find_in_files");
587 		this.callv(_GODOT_method_name, _GODOT_args);
588 	}
589 	/**
590 	
591 	*/
592 	void _tabChanged(in long arg0)
593 	{
594 		Array _GODOT_args = Array.make();
595 		_GODOT_args.append(arg0);
596 		String _GODOT_method_name = String("_tab_changed");
597 		this.callv(_GODOT_method_name, _GODOT_args);
598 	}
599 	/**
600 	
601 	*/
602 	void _themeOption(in long arg0)
603 	{
604 		Array _GODOT_args = Array.make();
605 		_GODOT_args.append(arg0);
606 		String _GODOT_method_name = String("_theme_option");
607 		this.callv(_GODOT_method_name, _GODOT_args);
608 	}
609 	/**
610 	
611 	*/
612 	void _toggleMembersOverviewAlphaSort(in bool arg0)
613 	{
614 		Array _GODOT_args = Array.make();
615 		_GODOT_args.append(arg0);
616 		String _GODOT_method_name = String("_toggle_members_overview_alpha_sort");
617 		this.callv(_GODOT_method_name, _GODOT_args);
618 	}
619 	/**
620 	
621 	*/
622 	void _treeChanged()
623 	{
624 		Array _GODOT_args = Array.make();
625 		String _GODOT_method_name = String("_tree_changed");
626 		this.callv(_GODOT_method_name, _GODOT_args);
627 	}
628 	/**
629 	
630 	*/
631 	void _unhandledInput(InputEvent arg0)
632 	{
633 		Array _GODOT_args = Array.make();
634 		_GODOT_args.append(arg0);
635 		String _GODOT_method_name = String("_unhandled_input");
636 		this.callv(_GODOT_method_name, _GODOT_args);
637 	}
638 	/**
639 	
640 	*/
641 	void _updateAutosaveTimer()
642 	{
643 		Array _GODOT_args = Array.make();
644 		String _GODOT_method_name = String("_update_autosave_timer");
645 		this.callv(_GODOT_method_name, _GODOT_args);
646 	}
647 	/**
648 	
649 	*/
650 	void _updateMembersOverview()
651 	{
652 		Array _GODOT_args = Array.make();
653 		String _GODOT_method_name = String("_update_members_overview");
654 		this.callv(_GODOT_method_name, _GODOT_args);
655 	}
656 	/**
657 	
658 	*/
659 	void _updateRecentScripts()
660 	{
661 		Array _GODOT_args = Array.make();
662 		String _GODOT_method_name = String("_update_recent_scripts");
663 		this.callv(_GODOT_method_name, _GODOT_args);
664 	}
665 	/**
666 	
667 	*/
668 	void _updateScriptConnections()
669 	{
670 		Array _GODOT_args = Array.make();
671 		String _GODOT_method_name = String("_update_script_connections");
672 		this.callv(_GODOT_method_name, _GODOT_args);
673 	}
674 	/**
675 	
676 	*/
677 	void _updateScriptNames()
678 	{
679 		Array _GODOT_args = Array.make();
680 		String _GODOT_method_name = String("_update_script_names");
681 		this.callv(_GODOT_method_name, _GODOT_args);
682 	}
683 	/**
684 	
685 	*/
686 	bool canDropDataFw(VariantArg1)(in Vector2 point, in VariantArg1 data, Control from) const
687 	{
688 		checkClassBinding!(typeof(this))();
689 		return ptrcall!(bool)(GDNativeClassBinding.canDropDataFw, _godot_object, point, data, from);
690 	}
691 	/**
692 	
693 	*/
694 	void dropDataFw(VariantArg1)(in Vector2 point, in VariantArg1 data, Control from)
695 	{
696 		checkClassBinding!(typeof(this))();
697 		ptrcall!(void)(GDNativeClassBinding.dropDataFw, _godot_object, point, data, from);
698 	}
699 	/**
700 	Returns a $(D Script) that is currently active in editor.
701 	*/
702 	Ref!Script getCurrentScript()
703 	{
704 		checkClassBinding!(typeof(this))();
705 		return ptrcall!(Script)(GDNativeClassBinding.getCurrentScript, _godot_object);
706 	}
707 	/**
708 	
709 	*/
710 	Variant getDragDataFw(in Vector2 point, Control from)
711 	{
712 		checkClassBinding!(typeof(this))();
713 		return ptrcall!(Variant)(GDNativeClassBinding.getDragDataFw, _godot_object, point, from);
714 	}
715 	/**
716 	Returns an array with all $(D Script) objects which are currently open in editor.
717 	*/
718 	Array getOpenScripts() const
719 	{
720 		checkClassBinding!(typeof(this))();
721 		return ptrcall!(Array)(GDNativeClassBinding.getOpenScripts, _godot_object);
722 	}
723 	/**
724 	Goes to the specified line in the current script.
725 	*/
726 	void gotoLine(in long line_number)
727 	{
728 		checkClassBinding!(typeof(this))();
729 		ptrcall!(void)(GDNativeClassBinding.gotoLine, _godot_object, line_number);
730 	}
731 	/**
732 	Opens the script create dialog. The script will extend `base_name`. The file extension can be omitted from `base_path`. It will be added based on the selected scripting language.
733 	*/
734 	void openScriptCreateDialog(in String base_name, in String base_path)
735 	{
736 		checkClassBinding!(typeof(this))();
737 		ptrcall!(void)(GDNativeClassBinding.openScriptCreateDialog, _godot_object, base_name, base_path);
738 	}
739 }