class_docstr: Class that provides a series of GL functions that do not fit
  in the object oriented part of gloo. An instance of this class is
  associated with each canvas.
docstr: Set OpenGL drawing hint
  
  Parameters
  ----------
  target : str
      The target, e.g. 'fog_hint', 'line_smooth_hint',
      'point_smooth_hint'.
  mode : str
      The mode to set (e.g., 'fastest', 'nicest', 'dont_care').
docstr_tok: ["Set","OpenGL","drawing","hint","Parameters","--","--","--","--","--","target",":","str","The","target",",","e.g",".","'fog_hint","'",",","'line_smooth_hint","'",",","'point_smooth_hint","'",".","mode",":","str","The","mode","to","set","(","e.g.",",","'fastest","'",",","'nicest","'",",","'dont_care","'",")","."]
code: def set_hint(self, target, mode):
      """Set OpenGL drawing hint
  
      Parameters
      ----------
      target : str
          The target, e.g. 'fog_hint', 'line_smooth_hint',
          'point_smooth_hint'.
      mode : str
          The mode to set (e.g., 'fastest', 'nicest', 'dont_care').
      """
      if not all(isinstance(tm, str) for tm in (target, mode)):
          raise TypeError("target and mode must both be strings")
      self.glir.command("FUNC", "glHint", target, mode)
  
imports: import numpy
  from copy import deepcopy
  from .None import gl
  from ..color import Color
  from ..util import logger
label_desc: Use image node_id 26 for calling the BaseGlooFunctions obj's underlying member method code with example usage: obj.set_hint(target, mode) without return types