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?
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?