Question with SlidingMenu code

Hi all,

I’m using this sliding menu for my game > http://www.cocos2d-x.org/boards/18/topics/9931
I’ve created a grid of icons in my level select menu. They are numbered 1
24. Is there a way of finding out which button has been pressed exactly? e.g number 5 has been pressed so store integer 5 in a variable?

Thanks,

Dean