Grx.set_current_context

function set_current_context(context: Grx.Context): void {
    // Gjs wrapper for grx_set_current_context()
}
  

Sets the current context to context.

The current context structure is stored in a static location in the library. (For efficiency reasons – it is used quite frequently, and this way no pointer dereferencing is necessary.) The context stores all relevant information about the video organization, coordinate limits, etc...

context

the context