# Uses of Interface
org.eclipse.swt.events.MenuDetectListener

Packages that use MenuDetectListener
Package
Description
org.eclipse.swt.widgets

## Uses of MenuDetectListener in org.eclipse.swt.widgets

Methods in org.eclipse.swt.widgets with parameters of type MenuDetectListener
Modifier and Type
Method
Description
`void`
Control.`addMenuDetectListener(MenuDetectListener listener)`
Adds the listener to the collection of listeners who will be notified when the platform-specific context menu trigger has occurred, by sending it one of the messages defined in the `MenuDetectListener` interface.
`void`
TrayItem.`addMenuDetectListener(MenuDetectListener listener)`
Adds the listener to the collection of listeners who will be notified when the platform-specific context menu trigger has occurred, by sending it one of the messages defined in the `MenuDetectListener` interface.
`void`
Control.`removeMenuDetectListener(MenuDetectListener listener)`
Removes the listener from the collection of listeners who will be notified when the platform-specific context menu trigger has occurred.
`void`
TrayItem.`removeMenuDetectListener(MenuDetectListener listener)`
Removes the listener from the collection of listeners who will be notified when the platform-specific context menu trigger has occurred.