setEnabled

Sets whether this icon menu item is enabled or not.