INVISIBLE_PARAM_MENU_BUTTON
Active invisible element that displays a menu containing values of the parameter when clicked.
Attributes brief detailed show all inherited
See the PARAM_TEXT widget for text formatting options used in the menu.
Example
- <!-- our test param -->
- <PARAM id="my_color" type="enumeration" enum_values="red;green;blue" />
- <TEXT value=" (INVISIBLE_PARAM_MENU_BUTTON)" background_color="#fad9c1" height="30">
- <INVISIBLE_PARAM_MENU_BUTTON param_id="my_color" cursor="system::hand" width="100%" height="100%" />
- </TEXT>
- <!-- row of colored squares -->
- <ROW spacing="5">
- <WIDGET id="w_red" background_color="#ee4035" width="20" height="20" />
- <WIDGET id="w_green" background_color="#7bc043" width="20" height="20" />
- <WIDGET id="w_blue" background_color="#0392cf" width="20" height="20" />
- <PARAM_LINK from="my_color" to="w_red.opacity" formula="0.1+(x==0)" />
- <PARAM_LINK from="my_color" to="w_green.opacity" formula="0.1+(x==1)" />
- <PARAM_LINK from="my_color" to="w_blue.opacity" formula="0.1+(x==2)" />
- <!-- text value -->
- <PARAM_TEXT param_id="my_color" content="Color: {text_value} ({value})" value_format="0.0" />
- </ROW>
To create complex menus see POPUP_MENU.