.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/AcceptDialog.xml. .. _class_AcceptDialog: AcceptDialog ============ **Inherits:** :ref:`Window` **<** :ref:`Viewport` **<** :ref:`Node` **<** :ref:`Object` **Inherited By:** :ref:`ConfirmationDialog` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`dialog_autowrap` | ``false`` | +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`dialog_close_on_escape` | ``true`` | +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`dialog_hide_on_ok` | ``true`` | +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | :ref:`String` | :ref:`dialog_text` | ``""`` | +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | :ref:`bool` | exclusive | ``true`` (overrides :ref:`Window`) | +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | :ref:`bool` | keep_title_visible | ``true`` (overrides :ref:`Window`) | +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | :ref:`String` | :ref:`ok_button_text` | ``"OK"`` | +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | :ref:`String` | title | ``"Alert!"`` (overrides :ref:`Window`) | +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | :ref:`bool` | transient | ``true`` (overrides :ref:`Window`) | +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | :ref:`bool` | visible | ``false`` (overrides :ref:`Window`) | +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ | :ref:`bool` | wrap_controls | ``true`` (overrides :ref:`Window`) | +-----------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Button` | :ref:`add_button` **(** :ref:`String` text, :ref:`bool` right=false, :ref:`String` action="" **)** | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Button` | :ref:`add_cancel_button` **(** :ref:`String` name **)** | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Label` | :ref:`get_label` **(** **)** | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Button` | :ref:`get_ok_button` **(** **)** | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`register_text_enter` **(** :ref:`LineEdit` line_edit **)** | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_button` **(** :ref:`Button` button **)** | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Theme Properties ---------------- .. table:: :widths: auto +---------------------------------+---------------------------------------------------------------------------------+--------+ | :ref:`int` | :ref:`buttons_min_height` | ``0`` | +---------------------------------+---------------------------------------------------------------------------------+--------+ | :ref:`int` | :ref:`buttons_min_width` | ``0`` | +---------------------------------+---------------------------------------------------------------------------------+--------+ | :ref:`int` | :ref:`buttons_separation` | ``10`` | +---------------------------------+---------------------------------------------------------------------------------+--------+ | :ref:`StyleBox` | :ref:`panel` | | +---------------------------------+---------------------------------------------------------------------------------+--------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Signals ------- .. _class_AcceptDialog_signal_canceled: .. rst-class:: classref-signal **canceled** **(** **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_signal_confirmed: .. rst-class:: classref-signal **confirmed** **(** **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_signal_custom_action: .. rst-class:: classref-signal **custom_action** **(** :ref:`StringName` action **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_AcceptDialog_property_dialog_autowrap: .. rst-class:: classref-property :ref:`bool` **dialog_autowrap** = ``false`` .. rst-class:: classref-property-setget - void **set_autowrap** **(** :ref:`bool` value **)** - :ref:`bool` **has_autowrap** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_property_dialog_close_on_escape: .. rst-class:: classref-property :ref:`bool` **dialog_close_on_escape** = ``true`` .. rst-class:: classref-property-setget - void **set_close_on_escape** **(** :ref:`bool` value **)** - :ref:`bool` **get_close_on_escape** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_property_dialog_hide_on_ok: .. rst-class:: classref-property :ref:`bool` **dialog_hide_on_ok** = ``true`` .. rst-class:: classref-property-setget - void **set_hide_on_ok** **(** :ref:`bool` value **)** - :ref:`bool` **get_hide_on_ok** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_property_dialog_text: .. rst-class:: classref-property :ref:`String` **dialog_text** = ``""`` .. rst-class:: classref-property-setget - void **set_text** **(** :ref:`String` value **)** - :ref:`String` **get_text** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_property_ok_button_text: .. rst-class:: classref-property :ref:`String` **ok_button_text** = ``"OK"`` .. rst-class:: classref-property-setget - void **set_ok_button_text** **(** :ref:`String` value **)** - :ref:`String` **get_ok_button_text** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_AcceptDialog_method_add_button: .. rst-class:: classref-method :ref:`Button` **add_button** **(** :ref:`String` text, :ref:`bool` right=false, :ref:`String` action="" **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_method_add_cancel_button: .. rst-class:: classref-method :ref:`Button` **add_cancel_button** **(** :ref:`String` name **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_method_get_label: .. rst-class:: classref-method :ref:`Label` **get_label** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_method_get_ok_button: .. rst-class:: classref-method :ref:`Button` **get_ok_button** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_method_register_text_enter: .. rst-class:: classref-method void **register_text_enter** **(** :ref:`LineEdit` line_edit **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_method_remove_button: .. rst-class:: classref-method void **remove_button** **(** :ref:`Button` button **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Theme Property Descriptions --------------------------- .. _class_AcceptDialog_theme_constant_buttons_min_height: .. rst-class:: classref-themeproperty :ref:`int` **buttons_min_height** = ``0`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_theme_constant_buttons_min_width: .. rst-class:: classref-themeproperty :ref:`int` **buttons_min_width** = ``0`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_theme_constant_buttons_separation: .. rst-class:: classref-themeproperty :ref:`int` **buttons_separation** = ``10`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AcceptDialog_theme_style_panel: .. rst-class:: classref-themeproperty :ref:`StyleBox` **panel** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`