MenuBar.add_action MenuBar.add_action(*, text, action, parent, args=None, kwargs=None, icon=None)[source]