.. 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. .. _class_ColorPickerButton: ColorPickerButton ================= **Inherits:** :ref:`Button` **<** :ref:`BaseButton` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Button that pops out a :ref:`ColorPicker` Member Functions ---------------- +----------------------------------------+-------------------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`get_pick_color` **(** **)** const | +----------------------------------------+-------------------------------------------------------------------------------------------------------------+ | :ref:`ColorPicker` | :ref:`get_picker` **(** **)** | +----------------------------------------+-------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_editing_alpha` **(** **)** const | +----------------------------------------+-------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_edit_alpha` **(** :ref:`bool` show **)** | +----------------------------------------+-------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_pick_color` **(** :ref:`Color` color **)** | +----------------------------------------+-------------------------------------------------------------------------------------------------------------+ Signals ------- - **color_changed** **(** :ref:`Color` color **)** Emitted when the color is changed. Description ----------- Encapsulates a :ref:`ColorPicker` making it accesible by pressing a button, pressing the button will toggle the :ref:`ColorPicker` visibility Member Function Description --------------------------- .. _class_ColorPickerButton_get_pick_color: - :ref:`Color` **get_pick_color** **(** **)** const .. _class_ColorPickerButton_get_picker: - :ref:`ColorPicker` **get_picker** **(** **)** .. _class_ColorPickerButton_is_editing_alpha: - :ref:`bool` **is_editing_alpha** **(** **)** const See :ref:`ColorPicker.is_edit_alpha` .. _class_ColorPickerButton_set_edit_alpha: - void **set_edit_alpha** **(** :ref:`bool` show **)** See :ref:`ColorPicker.set_edit_alpha` .. _class_ColorPickerButton_set_pick_color: - void **set_pick_color** **(** :ref:`Color` color **)**