class_docstr: An object encapsulating data necessary for a OpenGL context
  
  Parameters
  ----------
  config : dict | None
      The requested configuration.
  shared : instance of GLContext | None
      The shared context.
class_docstr_tok: ["An","object","encapsulating","data","necessary","for","a","OpenGL","context","Parameters","--","--","--","--","--","config",":","dict","|","None","The","requested","configuration",".","shared",":","instance","of","GLContext","|","None","The","shared","context","."]
code: def set_viewport(self, *args):
      BaseGlooFunctions.set_viewport(self, *args)
      self._last_viewport = args
  
imports: from copy import deepcopy
  import weakref
  from .glir import GlirQueue, BaseGlirParser, GlirParser, glir_logger
  from .wrappers import BaseGlooFunctions
  from ..None import config
label_desc: Use image node_id 10 for calling the GLContext obj's underlying member method code with example usage: obj.set_viewport() without return types