class_colorpickerbutton.rst 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .. _class_ColorPickerButton:
  2. ColorPickerButton
  3. =================
  4. **Inherits:** :ref:`Button<class_button>` **<** :ref:`BaseButton<class_basebutton>` **<** :ref:`Control<class_control>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  5. **Category:** Core
  6. Brief Description
  7. -----------------
  8. Member Functions
  9. ----------------
  10. +----------------------------+----------------------------------------------------------------------------------------------------------+
  11. | void | :ref:`set_color<class_ColorPickerButton_set_color>` **(** :ref:`Color<class_color>` color **)** |
  12. +----------------------------+----------------------------------------------------------------------------------------------------------+
  13. | :ref:`Color<class_color>` | :ref:`get_color<class_ColorPickerButton_get_color>` **(** **)** const |
  14. +----------------------------+----------------------------------------------------------------------------------------------------------+
  15. | void | :ref:`set_edit_alpha<class_ColorPickerButton_set_edit_alpha>` **(** :ref:`bool<class_bool>` show **)** |
  16. +----------------------------+----------------------------------------------------------------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`is_editing_alpha<class_ColorPickerButton_is_editing_alpha>` **(** **)** const |
  18. +----------------------------+----------------------------------------------------------------------------------------------------------+
  19. Signals
  20. -------
  21. - **color_changed** **(** :ref:`Color<class_color>` color **)**
  22. Member Function Description
  23. ---------------------------
  24. .. _class_ColorPickerButton_set_color:
  25. - void **set_color** **(** :ref:`Color<class_color>` color **)**
  26. .. _class_ColorPickerButton_get_color:
  27. - :ref:`Color<class_color>` **get_color** **(** **)** const
  28. .. _class_ColorPickerButton_set_edit_alpha:
  29. - void **set_edit_alpha** **(** :ref:`bool<class_bool>` show **)**
  30. .. _class_ColorPickerButton_is_editing_alpha:
  31. - :ref:`bool<class_bool>` **is_editing_alpha** **(** **)** const