Button that pops out a ColorPicker
    public class ColorPickerButton : Button

Encapsulates a ColorPicker making it accesible by pressing a button, pressing the button will toggle the ColorPicker visibility

Inheritance Chain


    public ColorPickerButton()


    "color_changed" (Color color)

Emitted when the color changes.


    public Color Color { get; set; }

The currently selected color.

    public bool EditAlpha { get; set; }

If true the alpha channel in the displayed ColorPicker will be visible. Default value: true.


    public Color GetPickColor()

Getter for Color

    public ColorPicker GetPicker()

Returns the ColorPicker that this ColorPickerButton toggles.

    public PopupPanel GetPopup()

Returns the control’s PopupPanel which allows you to connect to Popup Signals. This allows you to handle events when the ColorPicker is shown or hidden.

    public bool IsEditingAlpha()

Getter for EditAlpha

    public void SetEditAlpha(bool show)

Setter for EditAlpha

    public void SetPickColor(Color color)

Setter for Color