Image Boolean Button
A boolean button widget which uses two images to represent its On/Off states.
It supports GIF, PNG, JPG, JPEG, BMP images.
It is able to write 0/1 to a single bit or the whole PV if Bit
property is -1.
Special Properties
- On Image (on_image)
- The image which represents its ON state.
- Off Image (off_image)
- The image which represents its OFF state.
- Stretch to Fit (stretch_to_fit)
- Stretch the images to fit the widget size.
- Auto Size (auto_size)
- Automatically adjust the size of the widget to the image
size. This only works if
Stretch to Fit
is not enabled.
See Also