ESCDialogOptionsChooser
Extends: Control
Description
Base class for all dialog options implementations
Members
dialog
var dialog: ESCDialog
The dialog to show
Signals
option_chosen
signal option_chosen(option: Variant)
Emitted when an option is chosen.
Parameters
Name |
Type |
Description |
Required? |
|---|---|---|---|
option |
|
The dialog option that was chosen. |
yes |
Methods
set_dialog
func set_dialog(new_dialog: ESCDialog) -> void
Sets the dialog used for the chooser.
Parameters
Name |
Type |
Description |
Required? |
|---|---|---|---|
new_dialog |
|
Dialog to set. |
yes |
Returns
Returns nothing.
show_chooser
func show_chooser() -> void
Shows the dialog chooser UI.
Parameters
None.
Returns
Returns nothing.
hide_chooser
func hide_chooser() -> void
Hides the dialog chooser UI.
Parameters
None.
Returns
Returns nothing.