how to change the label of a menuitem?

"Alec Bennett" <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
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?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.