I have the following function to bind my dynamically generated Actions in the ToolBar with a name passing function:
def bind_action(self, action, name): \'\'\