Display.findWidget

Given the operating system handle for a widget, returns the instance of the <code>Widget</code> subclass which represents it in the currently running application, if such exists, or null if no matching widget can be found. <p> <b>IMPORTANT:</b> This method should not be called from application code. The arguments are platform-specific. </p>

@param handle the handle for the widget @return the SWT widget that the handle represents

@exception SWTException <ul> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> </ul>

  1. Widget findWidget(GtkWidget* handle)
    class Display
    findWidget
    (
    GtkWidget* handle
    )
  2. Widget findWidget(GtkWidget* handle, int id)
  3. Widget findWidget(Widget widget, ptrdiff_t id)

Meta