SettingsColorButton ​
Inherits: Control
Modern color picker component that works with any Color setting property
Variables ​
String | property_name | "" |
SettingsManager | settings_manager |
Methods ​
void | initialize( p_settings_manager: SettingsManager ) |
Signals ​
mouse_focus_changed( has_focus: bool, property_name: String, description: String ) ​
Emitted when the mouse enters or leaves the setting: whether it has the focus, the name of the setting and its text.
Variable descriptions ​
String property_name = "" ​
The property name in Settings (e.g. "ui_primary_color")
SettingsManager settings_manager ​
SettingsManagerRef
Method descriptions ​
void initialize( p_settings_manager: SettingsManager ) ​
Call this after instantiation to set up the control