1#ifndef PHWIDGETS_ONOFF_BUTTON_H
2#define PHWIDGETS_ONOFF_BUTTON_H
4#include <photon/PtOnOffButton.h>
44 onoff_state = Pt_ARG_ONOFF_STATE
66 new_value = Pt_CB_ONOFF_NEW_VALUE
78 public ArgumentsEx<ThisCallbacks::Callback>,
79 public Button::Callback
97 typedef ResourceFrom<Button::WidgetResourcesSingleton>::
98 Define::Scalar<ThisArgs::ArgBool::eArgBool, bool>::
100 Define::Link<ThisCallbacks::Callback::eCallback, PtCallback_t*>::
102 resource_type WidgetResourcesSingleton;
104 virtual void check();
142 void Check(
bool val =
true);
143 void Uncheck(
bool val =
true);