CollapsibleMenu::setStateChangedCallback() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXCollapsibleMenu::setStateChangedCallback()

CollapsibleMenu::setStateChangedCallback() method

@fn void CollapsibleMenu::setStateChangedCallback(touchgfx::GenericCallback& callback) Associates an action to be performed when the menu changes expanded/collapsed state. @see GenericCallback

Syntax

void setStateChangedCallback(touchgfx::GenericCallback<const CollapsibleMenu&, const bool>& callback);

Arguments

callback

The callback to be executed. The callback will be given a reference to the CollapsibleMenu and a bool that state if the menu is expanded.

References

LocationText
CollapsibleMenu.hpp:157
void setStateChangedCallback(touchgfx::GenericCallback<const CollapsibleMenu&, const bool>& callback)