class_docstr: Factory for instances of :class:`interactive`.
  
  This class is needed to support options like::
  
      >>> @interact.options(manual=True)
      ... def greeting(text="World"):
      ...     print("Hello {}".format(text))
  
  Parameters
  ----------
  cls : class
      The subclass of :class:`interactive` to construct.
  options : dict
      A dict of options used to construct the interactive
      function. By default, this is returned by
      ``cls.default_options()``.
  kwargs : dict
      A dict of **kwargs to use for widgets.
docstr: Return an interactive function widget for the given function.
  
  The widget is only constructed, not displayed nor attached to
  the function.
  
  Returns
  -------
  An instance of ``self.cls`` (typically :class:`interactive`).
  
  Parameters
  ----------
  f : function
      The function to which the interactive widgets are tied.
docstr_tok: ["Return","an","interactive","function","widget","for","the","given","function",".","The","widget","is","only","constructed",",","not","displayed","nor","attached","to","the","function",".","Returns","--","--","--","-","An","instance","of","``","self.cls","``","(","typically",":","class",":","`","interactive","`",")",".","Parameters","--","--","--","--","--","f",":","function","The","function","to","which","the","interactive","widgets","are","tied","."]
code: def widget(self, f):
      """
      Return an interactive function widget for the given function.
  
      The widget is only constructed, not displayed nor attached to
      the function.
  
      Returns
      -------
      An instance of ``self.cls`` (typically :class:`interactive`).
  
      Parameters
      ----------
      f : function
          The function to which the interactive widgets are tied.
      """
      return self.cls(f, self.opts, **self.kwargs)
  
imports: from collections.abc import Iterable, Mapping
  from inspect import signature, Parameter
  from inspect import getcallargs
  from inspect import getfullargspec
  import sys
  from IPython import get_ipython
  from .None import Widget, ValueWidget, Text, FloatSlider, IntSlider, Checkbox, Dropdown, VBox, Button, DOMWidget, Output
  from IPython.display import display, clear_output
  from traitlets import HasTraits, Any, Unicode, observe
  from numbers import Real, Integral
  from warnings import warn
label_desc: Use image node_id 2 for calling the _InteractFactory obj's underlying member method code with example usage: obj.widget(f) and returns: self