Function addBackButton

#include <Geode/ui/General.hpp>CCMenuItemSpriteExtra*addBackButton(,,)

Add a back button to a layer with a custom callback

Parameters

to

Layer to add the back button to

callback

Callback to call on activate

style

Style of button to use
Return value
The created back button
Examples0