touchgfx::TouchArea::setPressedAction() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::TouchArea::setPressedAction()

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.

Syntax

void setPressedAction(GenericCallback< const AbstractButton& >& callback);

Arguments

callback

The callback is given a reference to this touch area.

References

LocationText
TouchArea.hpp:109
void setPressedAction(GenericCallback< const AbstractButton& >& callback)