DatabaseResourceButton ​
Inherits: HBoxContainer
Button that opens ListCatalog to select a database resource Shows resource name, has optional clear button
Variables ​
String | database | "" |
DialogManager | dialog_manager | null |
int | current_id | 0 |
bool | show_clear | false |
Button | select_button | |
Button | clear_button |
Methods ​
void | setup( p_database: String, p_initial_id: int, p_dialog_manager: DialogManager, p_options: Dictionary = {} ) |
int | get_selected_id() |
void | set_selected_id( id: int ) |
Signals ​
resource_selected( id: int ) ​
Variable descriptions ​
String database = "" ​
No description yet.
DialogManager dialog_manager = null ​
No description yet.
int current_id = 0 ​
No description yet.
bool show_clear = false ​
No description yet.
Button select_button ​
No description yet.
Button clear_button ​
No description yet.
Method descriptions ​
void setup( p_database: String, p_initial_id: int, p_dialog_manager: DialogManager, p_options: Dictionary = {} ) ​
No description yet.
int get_selected_id() ​
No description yet.
void set_selected_id( id: int ) ​
No description yet.