oh-my-git/scripts/input_dialog.gd

14 lines
219 B
GDScript3
Raw Normal View History

2023-09-06 16:04:23 +02:00
extends Window
2020-11-10 22:20:40 +01:00
signal entered(text)
func _text_entered(text):
emit_signal("entered", text)
queue_free()
func _notification(what):
2023-09-06 16:04:23 +02:00
pass
#ToDo
#if what == Popup.NOTIFICATION_POST_POPUP:
# $LineEdit.grab_focus()