GLCanvas.isCurrent

Returns a bool indicating whether the receiver's OpenGL context is the current context.

@return true if the receiver holds the current OpenGL context, false otherwise @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 GLCanvas
bool
isCurrent
(
)

Meta