The <menuSwitch> object replaces the images of the switches that enable or disable an option in the menus.
| View | Name | Element |
|---|---|---|
menu |
menuswitch |
The menu switches |
This object cannot be created with extra="true".
| Property | Type | Purpose |
|---|---|---|
pathOn |
Path | Switch image in the ON position. |
pathOff |
Path | Switch image in the OFF position. |
<view name="menu">
<menuSwitch name="menuswitch" pathOn="./art/switch-on.svg" pathOff="./art/switch-off.svg" />
</view>