Skip to content

Dropdown

Inherits: BoxContainer

Properties

Type Name Default
String title
String description
bool disabled
int selected
Label label
Label description_label
OptionButton option_button

Methods

Returns Signature
void add_item(text: String, id: int = -1)
void clear()
void select(idx: int)
void set_option_disabled(idx: int, is_disabled: bool)

Property Descriptions

title

String title

Note

There is currently no description for this property. Please help us by contributing one!

description

String description

Note

There is currently no description for this property. Please help us by contributing one!

disabled

bool disabled

Note

There is currently no description for this property. Please help us by contributing one!

selected

int selected

Note

There is currently no description for this property. Please help us by contributing one!

label

Label label

Note

There is currently no description for this property. Please help us by contributing one!

description_label

Label description_label

Note

There is currently no description for this property. Please help us by contributing one!

option_button

OptionButton option_button

Note

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

add_item()

void add_item(text: String, id: int = -1)

Note

There is currently no description for this method. Please help us by contributing one!

clear()

void clear()

Note

There is currently no description for this method. Please help us by contributing one!

select()

void select(idx: int)

Note

There is currently no description for this method. Please help us by contributing one!

set_option_disabled()

void set_option_disabled(idx: int, is_disabled: bool)

Note

There is currently no description for this method. Please help us by contributing one!