Attaching Callbacks to an Item in an Array

I'm sorry. I don't quite understand what you want to do with your "array of labels with a function name attached to them". Did you want a menu item for each label without your having to write a "MenuItem(label, callback)," for each one?