EditorSproutyDialogsExpandableTextBox
Inherits: HBoxContainer
Description
Component that extends a text box with an expand button to open a larger text editor.
Methods
| Return Type | Method |
|---|---|
| String | get_text() |
| void | set_text(text: String) |
Signals
signal text_changed(text: String)
Emitted when the text in the text box changes.
signal open_text_editor(text_box: TextEdit)
Emitted when pressing the expand button to open the text editor.
signal update_text_editor(text_box: TextEdit)
Emitted when the text in the text editor is updated.
signal text_box_focus_exited
Emitted when the text box loses focus.
Method Descriptions
func get_text() -> String
Returns the text from the text box.
func set_text(text: String) -> void
Set the text to the text box.