Displays the entire TopBarMenu.
:display() --> self
Method :display() iterates through the list of MenuItem() objects and displays their captions on the screen.