GLContext.setWindow

Set's the current window on context to window. The window can only be changed before gstgl.glcontext.GLContext.create has been called and the window is not already running.

class GLContext
bool
setWindow

Parameters

window gstgl.glwindow.GLWindow

a #GstGLWindow

Return Value

Type: bool

Whether the window was successfully updated