This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:getunituioptions [2021/01/09 19:41] – Regallion | 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 values shown in the control.\\ | For the Flip and Choice widget, the options are the values shown in the control.\\ | ||
\\ | \\ |