Hides or shows the menu or toolbar button that launches the custom interface.
For menus, the entire menu is hidden, not individual menu items.
Syntax
setInterfaceVisible(interfaceObject, visible);
Parameters
interfaceObject - (Object) Object that launches the custom interface.
visible - (boolean) True or false to show or hide the menu or toolbar button that launches the custom interface (for menus, the entire menu is hidden, not individual menu items).