DatabaseArrayControl ​
Inherits: VBoxContainer
Simple array control for database resources Two modes: OptionButton per entry OR Button that opens ListCatalog per entry
Variables ​
Mode | mode | Mode.OPTION_BUTTON |
String | database | "" |
DialogManager | dialog_manager | null |
Array[int] | current_ids | [] |
bool | allow_duplicates | false |
bool | include_none | false |
ScrollContainer | scroll_container | |
VBoxContainer | entries_container | |
Button | add_button |
Methods ​
void | setup( p_mode: Mode, p_database: String, p_initial_ids: Array[int], p_dialog_manager: DialogManager = null, p_options: Dictionary = {} ) |
Array[int] | get_ids() |
void | set_ids( new_ids: Array[int] ) |
Signals ​
array_changed( ids: Array[int] ) ​
Enumerations ​
enum Mode ​
- OPTION_BUTTON =
0
Variable descriptions ​
Mode mode = Mode.OPTION_BUTTON ​
No description yet.
String database = "" ​
No description yet.
DialogManager dialog_manager = null ​
No description yet.
Array[int] current_ids = [] ​
No description yet.
bool allow_duplicates = false ​
No description yet.
bool include_none = false ​
No description yet.
ScrollContainer scroll_container ​
No description yet.
VBoxContainer entries_container ​
No description yet.
Button add_button ​
No description yet.
Method descriptions ​
void setup( p_mode: Mode, p_database: String, p_initial_ids: Array[int], p_dialog_manager: DialogManager = null, p_options: Dictionary = {} ) ​
No description yet.
Array[int] get_ids() ​
No description yet.
void set_ids( new_ids: Array[int] ) ​
No description yet.