next up previous
Next: Popup Menus Up: Menu's and Sub-Menus Previous: Menu's and Sub-Menus

the Fruits menu - a multilevel menu

Similar to the Miles menu, we now consider the implementation of the Fruits menu, which contains multiple levels. It is implemented by the following call :

install_menu('Fruit', 
 	[apple([ 'Granny Smith',	
		 'Delicious'(['Red','Golden']),
		 'Macintosh',
		 'Cox']),
	 pear,
	 orange(['Jaffa',
		 'Seville',
		 'Navel'])]).

  figure127
Figure 5: The Fruit Menu added to the Menu Bar

  figure132
Figure 8: The Fruit Menu

  figure137
Figure: The Fruit Menu

  figure142
Figure: The Fruit Menu

  figure151
Figure 9: The Fruit Menu - disabled

  figure158
Figure 10: The Edit Menu

  figure163
Figure 11: The Edit Menu - with the additional entry

  figure168
Figure 12: The Eval Menu

  figure173
Figure 13: The Eval Menu - with the compile and Enter renamed


next up previous
Next: Popup Menus Up: Menu's and Sub-Menus Previous: Menu's and Sub-Menus

Omer F Rana
Wed Feb 26 11:00:38 GMT 1997