I want to check the file status, then disable some menu or enable some menu.
how to do?
just like "show unsaved change".
when no change, the menu item is disabled
- Posts: 1
- Joined: Tue Sep 11, 2012 10:01 am
You can disable the menu item pragmatically in your WindowCommand sublcass like this:
return False # or True
- Posts: 4
- Joined: Wed Jan 25, 2012 9:49 pm
Return to Plugin Development
Users browsing this forum: Exabot [Bot], Majestic-12 [Bot], Yahoo [Bot] and 3 guests