code: def attach_framebuffer(self, screen_id, framebuffer):
          
          if not isinstance(screen_id, baseinteger):
              raise TypeError("screen_id can only be an instance of type baseinteger")
          if not isinstance(framebuffer, IFramebuffer):
              raise TypeError("framebuffer can only be an instance of type IFramebuffer")
          id_p = self._call("attachFramebuffer",
                       in_p=[screen_id, framebuffer])
          return id_p
docs: Sets the graphics update target for a screen.
  
          in screen_id of type int
  
          in framebuffer of type :class:`IFramebuffer`
  
          return id_p of type str