Widget.removeListener

Removes the listener from the collection of listeners who will be notified when an event of the given type occurs. <p> <b>IMPORTANT:</b> This method is <em>not</em> part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It should never be referenced from application code. </p>

@param eventType the type of event to listen for @param listener the listener which should no longer be notified

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the listener is null</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

@see Listener @see #addListener

  1. void removeListener(int eventType, Listener handler)
  2. void removeListener(int eventType, SWTEventListener handler)
    class Widget
    protected
    void
    removeListener
    (
    ,
    SWTEventListener handler
    )

Meta