• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. SWT Menus > Creating Pop-Up Menus

3.10. Creating Pop-Up Menus

The last type of menu to examine is called the pop-up menu . A pop-up menu is one that appears at the current mouse cursor position whenever the user right-clicks (on Windows and most Unix systems) or Ctrl-clicks (on a Mac). Pop-up menus are often used to create context-sensitive menu choices when the user right-clicks a particular widget in a window. For example, if the cursor is located within the confines of a text widget, a right-click could pop up a menu giving instant access to Cut, Copy, and Paste functionality.


Note:

Users love pop-up menus.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint