class_confirmationdialog.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the ConfirmationDialog.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_ConfirmationDialog:
  5. ConfirmationDialog
  6. ==================
  7. **Inherits:** :ref:`AcceptDialog<class_acceptdialog>` **<** :ref:`WindowDialog<class_windowdialog>` **<** :ref:`Popup<class_popup>` **<** :ref:`Control<class_control>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  8. **Inherited By:** :ref:`EditorFileDialog<class_editorfiledialog>`, :ref:`FileDialog<class_filedialog>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. Dialog for confirmation of actions.
  13. Member Functions
  14. ----------------
  15. +------------------------------+--------------------------------------------------------------------+
  16. | :ref:`Button<class_button>` | :ref:`get_cancel<class_ConfirmationDialog_get_cancel>` **(** **)** |
  17. +------------------------------+--------------------------------------------------------------------+
  18. Description
  19. -----------
  20. Dialog for confirmation of actions. This dialog inherits from :ref:`AcceptDialog<class_acceptdialog>`, but has by default an OK and Cancel button (in host OS order).
  21. Member Function Description
  22. ---------------------------
  23. .. _class_ConfirmationDialog_get_cancel:
  24. - :ref:`Button<class_button>` **get_cancel** **(** **)**
  25. Return the cancel button.