Deprecatedas of version 2.9. Use 'basic.stateswitch' instead.
id
unique id for this widget (optional)
item
an item
txt
text printed on the button (optional)
pic
an icon or a inline pic: 'arrow-l', 'arrow-r', 'arrow-u', 'arrow-d', 'delete', 'plus', 'minus', 'check', 'gear', 'refresh', 'forward', 'back', 'grid', 'star', 'alert', 'info', 'home', 'search' (optional)
val
value to send if the button is pressed (optional, default 1)
type
type: 'micro', 'mini', 'midi' (optional, default: mini)
color
the color 'icon1' or e. g. '#f00' for red (default 'icon0' of the design)
This widget is deprecated and may be removed in later versions.
Please look into basic.stateswitch for replacement and further information.