Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
AcceptDialog¶
Inherits: Window < Viewport < Node < Object
Inherited By: ConfirmationDialog
A base dialog used for user notification.
Description¶
The default use of AcceptDialog is to allow it to only be accepted or closed, with the same result. However, the confirmed and canceled signals allow to make the two actions different, and the add_button method allows to add custom buttons and actions.
Properties¶
|
||
|
||
|
||
|
||
exclusive |
|
|
|
||
title |
|
|
transient |
|
|
visible |
|
|
wrap_controls |
|
Methods¶
add_button ( String text, bool right=false, String action="" ) |
|
add_cancel_button ( String name ) |
|
get_label ( ) |
|
get_ok_button ( ) |
|
void |
register_text_enter ( Control line_edit ) |
void |