SettingsOptionButton ​
Inherits: Control
Modern option button component that works with any enum 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.
Constants ​
PackedStringArrayLANGUAGE_SETTINGS =["text_language", "voice_language"]- The settings that hold a language code instead of an enum: the options are the languages of the game (the Localization tab)
Variable descriptions ​
String property_name = "" ​
The property name in Settings (e.g. "window_mode", "vsync_mode")
SettingsManager settings_manager ​
SettingsManagerRef
Method descriptions ​
void initialize( p_settings_manager: SettingsManager ) ​
Call this after instantiation to set up the control