Next: About this document
Up: Menu's and Sub-Menus
Previous: the Fruits menu -
- Ability to popup a menu at a particular place on the screen
- Usually used with graphics primitives allowing one the ability
to place a menu on any part of the screen
- The popup menu may either be a submenu (but not a pull down menu)
- An option in the wcreate allows the creation of a popup menu
also
popup(Menu,Item, SMenu, SItem)
popup(Menu,Item, SMenu, SItem, (Y,X))
popup(Menu,Item, SMenu, SItem, GWin(Y,X))
where
- Item - which is the name of the menu item to be preselected,
- SMenu will be name of the selected menu and SItem is the name
of the selected item,
- (Y,X) is a pair of integer specifying the position where the menu
appears - if not specified - menu appears at the position of the mouse
- GWin the name of the graphics window, and the (Y,X)
specify the point where the window appears in the coordinate system of the
graphics window

Figure 14: The Query Dialog
Omer F Rana
Wed Feb 26 11:00:38 GMT 1997