class_confirmationdialog.rst 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the ConfirmationDialog.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_ConfirmationDialog:
  6. ConfirmationDialog
  7. ==================
  8. **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>`
  9. **Inherited By:** :ref:`EditorFileDialog<class_EditorFileDialog>`, :ref:`FileDialog<class_FileDialog>`, :ref:`ScriptCreateDialog<class_ScriptCreateDialog>`
  10. **Category:** Core
  11. Brief Description
  12. -----------------
  13. Dialog for confirmation of actions.
  14. Methods
  15. -------
  16. +-----------------------------+---------------------------------------------------------------------------+
  17. | :ref:`Button<class_Button>` | :ref:`get_cancel<class_ConfirmationDialog_method_get_cancel>` **(** **)** |
  18. +-----------------------------+---------------------------------------------------------------------------+
  19. Description
  20. -----------
  21. 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).
  22. Method Descriptions
  23. -------------------
  24. .. _class_ConfirmationDialog_method_get_cancel:
  25. - :ref:`Button<class_Button>` **get_cancel** **(** **)**
  26. Returns the cancel button.