This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:getunituioptions [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:getunituioptions [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
< | < | ||
+ | |||
+ | <WRAP tabs> | ||
+ | * [[4rpl: | ||
+ | * [[4rpl: | ||
+ | </ | ||
====== GetUnitUIOptions ====== | ====== GetUnitUIOptions ====== | ||
Line 8: | Line 13: | ||
Gets the list of options for a given UI control slot. Custom units can have UI configuration widgets. These are configured in the CPack manager. | Gets the list of options for a given UI control slot. Custom units can have UI configuration widgets. These are configured in the CPack manager. | ||
Each widget occupies a slot, 0-7. Each widget also has options. | Each widget occupies a slot, 0-7. Each widget also has options. | ||
- | For the Label and Button widgets the options | + | For the Label and Button widgets the options |
- | For the Flip and Choice widget, the options are the valueus | + | For the Flip and Choice widget, the options are the values |
\\ | \\ | ||
Note that this call only works on custom units. | Note that this call only works on custom units. |