ColorPickerButton

Button that pops out a ColorPicker.

Encapsulates a ColorPicker making it accessible by pressing a button. Pressing the button will toggle the ColorPicker visibility. See also BaseButton which contains common properties and methods associated with this node.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

_colorChanged
void _colorChanged(Color arg0)
_modalClosed
void _modalClosed()
getPickColor
Color getPickColor()
getPicker
ColorPicker getPicker()

Returns the ColorPicker that this node toggles.

getPopup
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.

isEditingAlpha
bool isEditingAlpha()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(ColorPickerButton other)
opEquals
bool opEquals(typeof(null) n)
setEditAlpha
void setEditAlpha(bool show)
setPickColor
void setPickColor(Color color)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

color
Color color [@property getter]
Color color [@property setter]

The currently selected color.

editAlpha
bool editAlpha [@property getter]
bool editAlpha [@property setter]

If true, the alpha channel in the displayed ColorPicker will be visible.

Static functions

_new
ColorPickerButton _new()

Construct a new instance of ColorPickerButton. Note: use memnew!ColorPickerButton instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta