DatabaseOptionButton ​
Inherits: OptionButton
OptionButton that auto-populates from database and uses IDs in metadata
Variables ​
String | database | "" |
bool | include_none | true |
String | none_text | "(None)" |
int | current_id | 0 |
Methods ​
void | setup( p_database: String, p_initial_id: int = 0, p_options: Dictionary = {} ) |
int | get_selected_id() |
void | set_selected_id( id: int ) |
Signals ​
id_selected( id: int ) ​
Variable descriptions ​
String database = "" ​
No description yet.
bool include_none = true ​
No description yet.
String none_text = "(None)" ​
No description yet.
int current_id = 0 ​
No description yet.
Method descriptions ​
void setup( p_database: String, p_initial_id: int = 0, p_options: Dictionary = {} ) ​
No description yet.
int get_selected_id() ​
No description yet.
void set_selected_id( id: int ) ​
No description yet.