AcceptDialog

Inherits: Window < Viewport < Node < Object

Inherited By: ConfirmationDialog

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

Properties

bool

dialog_autowrap

false

bool

dialog_close_on_escape

true

bool

dialog_hide_on_ok

true

String

dialog_text

""

bool

exclusive

true (overrides Window)

bool

keep_title_visible

true (overrides Window)

String

ok_button_text

"OK"

String

title

"Alert!" (overrides Window)

bool

transient

true (overrides Window)

bool

visible

false (overrides Window)

bool

wrap_controls

true (overrides Window)

Methods

Button

add_button ( String text, bool right=false, String action=”” )

Button

add_cancel_button ( String name )

Label

get_label ( )

Button

get_ok_button ( )

void

register_text_enter ( LineEdit line_edit )

void

remove_button ( Button button )

Theme Properties

int

buttons_min_height

0

int

buttons_min_width

0

int

buttons_separation

10

StyleBox

panel


Signals

canceled ( )

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


confirmed ( )

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


custom_action ( StringName action )

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


Property Descriptions

bool dialog_autowrap = false

  • void set_autowrap ( bool value )

  • bool has_autowrap ( )

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


bool dialog_close_on_escape = true

  • void set_close_on_escape ( bool value )

  • bool get_close_on_escape ( )

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


bool dialog_hide_on_ok = true

  • void set_hide_on_ok ( bool value )

  • bool get_hide_on_ok ( )

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


String dialog_text = ""

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


String ok_button_text = "OK"

  • void set_ok_button_text ( String value )

  • String get_ok_button_text ( )

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


Method Descriptions

Button add_button ( String text, bool right=false, String action=”” )

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


Button add_cancel_button ( String name )

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


Label get_label ( )

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


Button get_ok_button ( )

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


void register_text_enter ( LineEdit line_edit )

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


void remove_button ( Button button )

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


Theme Property Descriptions

int buttons_min_height = 0

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


int buttons_min_width = 0

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


int buttons_separation = 10

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


StyleBox panel

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