classref: Sync with current upstream master branch

This commit is contained in:
Rémi Verschelde
2017-09-23 11:01:36 +02:00
parent 5e952ae7d5
commit 0cc4b36524
467 changed files with 5484 additions and 2561 deletions

View File

@@ -1,5 +1,6 @@
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
.. DO NOT EDIT THIS FILE, but the AcceptDialog.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_AcceptDialog:
@@ -44,10 +45,10 @@ Signals
-------
- **confirmed** **(** **)**
Emitted when accepted.
Emitted when the dialog is accepted.
- **custom_action** **(** :ref:`String<class_string>` action **)**
Emitted with a custom button is added.
Emitted when a custom button is pressed. See :ref:`add_button<class_AcceptDialog_add_button>`.
Member Variables
@@ -68,15 +69,15 @@ Member Function Description
- :ref:`Button<class_button>` **add_button** **(** :ref:`String<class_string>` text, :ref:`bool<class_bool>` right=false, :ref:`String<class_string>` action="" **)**
Add custom button to the dialog and return the created button.
Adds a button with label *text* and a custom *action* to the dialog and returns the created button. *action* will be passed to the custom_action signal when pressed.
The button titled with *text* and the *action* will be passed to custom_action signal when it is pressed.
If ``true``, *right* will place the button to the right of any sibling buttons. Default value: ``false``.
.. _class_AcceptDialog_add_cancel:
- :ref:`Button<class_button>` **add_cancel** **(** :ref:`String<class_string>` name **)**
Add custom cancel button to the dialog and return the created button.
Adds a button with label *name* and a cancel action to the dialog and returns the created button.
.. _class_AcceptDialog_get_hide_on_ok:
@@ -106,7 +107,7 @@ Return the built-in label text.
- void **register_text_enter** **(** :ref:`Node<class_node>` line_edit **)**
Register a :ref:`LineEdit<class_lineedit>` in the dialog. When the enter key is pressed, the dialog will be accepted.
Registers a :ref:`LineEdit<class_lineedit>` in the dialog. When the enter key is pressed, the dialog will be accepted.
.. _class_AcceptDialog_set_hide_on_ok: