ColorPickerButton¶
Inherits: Button < BaseButton < Control < CanvasItem < Node < Object
Category: Core
Brief Description¶
Button that pops out a ColorPicker
Member Functions¶
get_color ( ) const |
|
get_picker ( ) |
|
is_editing_alpha ( ) const |
|
void |
|
void |
set_edit_alpha ( bool show ) |
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_color ( ) const
Gets the current color
ColorPicker get_picker ( )
bool is_editing_alpha ( ) const
See ColorPicker.is_edit_alpha
void set_color ( Color color )
Sets the current color
void set_edit_alpha ( bool show )