lcd.drawCombobox¶
lcd.drawCombobox(x, y, w, list, idx [, flags])
Draw a combo box
Parameters¶
| Name | Req | Type | Description |
|---|---|---|---|
x | yes | integer | top left corner position |
y | yes | integer | top left corner position |
w | yes | integer | width of combo box in pixels |
list | yes | table | combo box elements, each element is a string |
idx | yes | integer | index of entry to highlight |
flags | no | integer | drawing flags, the flags can not be combined:
|
Returns¶
None.
Availability¶
- Since:
2.0.0 - Radio support:
bw-lcd
Notes¶
- Only available on Taranis
Source¶
radio/src/lua/api_stdlcd.cpp