Skip to content

Dialog

Inherits: Control

Properties

Type Name Default
String text
String confirm_text "OK"
String cancel_text "Cancel"
bool cancel_visible true
bool close_on_selected true
Label label
CardButton confirm_button
CardButton cancel_button
Effect fade_effect

Methods

Returns Signature
void open(return_node: Control, message: String = "", confirm_txt: String = "", cancel_txt: String = "")

Property Descriptions

text

String text

Text to display in the dialog box

confirm_text

String confirm_text = "OK"

Confirm button text

cancel_text

String cancel_text = "Cancel"

Cancel button text

cancel_visible

bool cancel_visible = true

Note

There is currently no description for this property. Please help us by contributing one!

close_on_selected

bool close_on_selected = true

Close the dialog when the user selects an option

label

Label label

Note

There is currently no description for this property. Please help us by contributing one!

confirm_button

CardButton confirm_button

Note

There is currently no description for this property. Please help us by contributing one!

cancel_button

CardButton cancel_button

Note

There is currently no description for this property. Please help us by contributing one!

fade_effect

Effect fade_effect

Note

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

open()

void open(return_node: Control, message: String = "", confirm_txt: String = "", cancel_txt: String = "")

Opens the dialog box with the given settings