For defining the text that appears alongside the icon. This function really has too many parameters; we probably should break it out into a BAction class...