Control.getParent

Returns the receiver's parent, which must be a <code>Composite</code> or null when the receiver is a shell that was created with null or a display for a parent.

@return the receiver's parent

@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>

class Control
getParent
(
)

Meta