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

touchgfx::AbstractButton::setAction() method

@fn void AbstractButton::setAction(GenericCallback& callback) Associates an action to be performed when the AbstractButton is clicked. Associates an action to be performed when the AbstractButton is clicked. @see GenericCallback

Syntax

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

Arguments

callback

The callback to be executed. The callback will be given a reference to the AbstractButton.

References

LocationText
AbstractButton.hpp:81
void setAction(GenericCallback< const AbstractButton& >& callback)