Open this page in the API Guide

MainMenu.unbindAll Method

unsubscribe all events.