touchgfx::TouchArea::setPressedAction() method
@fn void TouchArea::setPressedAction(GenericCallback& callback) Associates an action to be performed when the TouchArea is pressed. Associates an action to be performed when the TouchArea is pressed.
void setPressedAction(GenericCallback< const AbstractButton& >& callback); Arguments
callback
The callback is given a reference to this touch area.