ColorPickerButton

Inherits: Button < BaseButton < Control < CanvasItem < Node < Object

Category: Core

Brief Description

Button that pops out a ColorPicker

Member Functions

Color get_pick_color ( ) const
ColorPicker get_picker ( )
bool is_editing_alpha ( ) const
void set_edit_alpha ( bool show )
void set_pick_color ( Color color )

Signals

  • color_changed ( Color color )

Emitted when the color is changed.

Description

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

Member Function Description

  • Color get_pick_color ( ) const
  • bool is_editing_alpha ( ) const

See ColorPicker.is_edit_alpha

  • void set_edit_alpha ( bool show )

See ColorPicker.set_edit_alpha

  • void set_pick_color ( Color color )