User Tools

Site Tools


4rpl:commands:getunituioptions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:getunituioptions [2021/01/08 16:01] – external edit 127.0.0.14rpl:commands:getunituioptions [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
 +
 +<WRAP tabs>
 +  * [[4rpl:commands:GetUnitUIOptions|Get]]
 +  * [[4rpl:commands:SetUnitUIOptions|Set]]
 +</WRAP>
  
 ====== 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 and empty.\\ +For the Label and Button widgets the options are empty.\\ 
-For the Flip and Choice widget, the options are the valueus shown in the control.\\+For the Flip and Choice widget, the options are the values shown in the control.\\
 \\ \\
 Note that this call only works on custom units.  If used on a built in unit, it will return 0.\\ Note that this call only works on custom units.  If used on a built in unit, it will return 0.\\
4rpl/commands/getunituioptions.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)