class_confirmationdialog.rst 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. Properties
  15. ----------
  16. +-------------------------------+---------------+----------------------------+
  17. | :ref:`Vector2<class_Vector2>` | rect_min_size | **O:** Vector2( 200, 70 ) |
  18. +-------------------------------+---------------+----------------------------+
  19. | :ref:`String<class_String>` | window_title | **O:** "Please Confirm..." |
  20. +-------------------------------+---------------+----------------------------+
  21. Methods
  22. -------
  23. +-----------------------------+---------------------------------------------------------------------------+
  24. | :ref:`Button<class_Button>` | :ref:`get_cancel<class_ConfirmationDialog_method_get_cancel>` **(** **)** |
  25. +-----------------------------+---------------------------------------------------------------------------+
  26. Description
  27. -----------
  28. 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).
  29. Method Descriptions
  30. -------------------
  31. .. _class_ConfirmationDialog_method_get_cancel:
  32. - :ref:`Button<class_Button>` **get_cancel** **(** **)**
  33. Returns the cancel button.