if (sd->statep) *sd->statep = sd->state;
if (sd->state)
{
+ // FIXME: to do animation during state change , we need different signal
+ // so that we can distinguish between state change by user or state change
+ // by calling state_change() api. Keep both the signal for backward compatibility
+ // and remove "elm,state,check,on" signal emission when we can break ABI.
+ elm_layout_signal_emit(obj, "elm,activate,check,on", "elm");
elm_layout_signal_emit(obj, "elm,state,check,on", "elm");
if (_elm_config->access_mode != ELM_ACCESS_MODE_OFF)
_elm_access_say(E_("State: On"));
}
else
{
+ // FIXME: to do animation during state change , we need different signal
+ // so that we can distinguish between state change by user or state change
+ // by calling state_change() api. Keep both the signal for backward compatibility
+ // and remove "elm,state,check,off" signal emission when we can break ABI.
+ elm_layout_signal_emit(obj, "elm,activate,check,off", "elm");
elm_layout_signal_emit(obj, "elm,state,check,off", "elm");
if (_elm_config->access_mode != ELM_ACCESS_MODE_OFF)
_elm_access_say(E_("State: Off"));