ScrolledComposite.getOrigin

Return the point in the content that currently appears in the top left corner of the scrolled composite.

@return the point in the content that currently appears in the top left corner of the scrolled composite. If no content has been set, this returns (0, 0).

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

@since 2.0

class ScrolledComposite
getOrigin
(
)

Meta