I can't figure out how to change the label of a menuitem from within my
application.
I can add a checkmark like this:
self.menuBar.setChecked('moveViewer', 1)
I can enable it like this:
self.menuBar.setEnabled('moveViewer', 1)
But no variation on this will change it's label:
self.MenuBar.moveViewer.label = "yo"
Does anyone have any hints on this?
|