class PtOnOffButton PtToggleButton { onoff_state; // short (Pt_ARG_ONOFF_STATE) }
This widget is a button that can be set to ON or OFF. It has an indicator box that turns green to indicate an ON state, and grey to indicate an OFF state. A PtOnOffButton can be used inclusively or exclusively in a group with other PtOnOffButtons.
![]() | For detailed information, please refer to PtOnOffButton and PtToggleButton in the Photon documentation. |
Copyright © 1995-2012 by Cogent Real-Time Systems, Inc. All rights reserved.