parameters: (default='', label=None, classes=None)
return_statement: return control(
              control_type = 'text',
              opts         = locals(),
              repr         = "Text %r"%(default)
          )
docstring: A read-only control that displays arbitrary HTML amongst the other
      interact controls.  This is very powerful, since it can display
      any HTML.
  
      INPUT::
  
      - ``default`` -- actual HTML to display
      - ``label`` -- string or None
      - ``classes`` -- space separated string of CSS classes
  
      EXAMPLES::
  
      We output the factorization of a number in a text_control::
  
          @interact
          def f(n=2013,  fact=text_control("")):
              interact.fact = factor(n)
  
      We use a CSS class to make the text_control look like a button:
  
          @interact
          def f(n=text_control("foo <b>bar</b>", classes='btn')):
              pass
  
      We animate a picture into view:
  
          @interact
          def f(size=[10,15,..,30], speed=[1,2,3,4]):
              for k in range(size):
                  interact.g = text_control("<img src='http://sagemath.org/pix/sage_logo_new.png' width=%s>"%(20*k))
                  sleep(speed/50.0)
docstring_summary: A read-only control that displays arbitrary HTML amongst the other
      interact controls.  This is very powerful, since it can display
      any HTML.
docstring_tokens: A read - only control that displays arbitrary HTML amongst the other interact controls . This is very powerful since it can display any HTML .
function: def text_control(default='', label=None, classes=None):
      """
      A read-only control that displays arbitrary HTML amongst the other
      interact controls.  This is very powerful, since it can display
      any HTML.
  
      INPUT::
  
      - ``default`` -- actual HTML to display
      - ``label`` -- string or None
      - ``classes`` -- space separated string of CSS classes
  
      EXAMPLES::
  
      We output the factorization of a number in a text_control::
  
          @interact
          def f(n=2013,  fact=text_control("")):
              interact.fact = factor(n)
  
      We use a CSS class to make the text_control look like a button:
  
          @interact
          def f(n=text_control("foo <b>bar</b>", classes='btn')):
              pass
  
      We animate a picture into view:
  
          @interact
          def f(size=[10,15,..,30], speed=[1,2,3,4]):
              for k in range(size):
                  interact.g = text_control("<img src='http://sagemath.org/pix/sage_logo_new.png' width=%s>"%(20*k))
                  sleep(speed/50.0)
      """
      return control(
              control_type = 'text',
              opts         = locals(),
              repr         = "Text %r"%(default)
          )
function_tokens: def text_control ( default = '' , label = None , classes = None ) : return control ( control_type = 'text' , opts = locals ( ) , repr = "Text %r" % ( default ) )