ó
/¾I]c           @   s@   d  Z  d d l m Z d d l m Z d e f d „  ƒ  YZ d S(   s   Contains the ValueWidget classi   (   t   Widgetiÿÿÿÿ(   t   Anyt   ValueWidgetc           B   s/   e  Z d  Z e d d ƒ Z d „  Z d „  Z RS(   s@   Widget that can be used for the input of an interactive functiont   helps   The value of the widget.c         C   s   |  j  S(   s¹   Return the value for this widget which should be passed to
        interactive functions. Custom widgets can change this method
        to process the raw value ``self.value``.
        (   t   value(   t   self(    (    s=   lib/python2.7/site-packages/ipywidgets/widgets/valuewidget.pyt   get_interact_value   s    c         c   s=   d Vx1 t  t |  ƒ j ƒ  D] } | d k r | Vq q Wd  S(   NR   (   t   superR   t
   _repr_keys(   R   t   key(    (    s=   lib/python2.7/site-packages/ipywidgets/widgets/valuewidget.pyR      s    (   t   __name__t
   __module__t   __doc__R   R   R   R   (    (    (    s=   lib/python2.7/site-packages/ipywidgets/widgets/valuewidget.pyR   
   s   	N(   R   t   widgetR    t	   traitletsR   R   (    (    (    s=   lib/python2.7/site-packages/ipywidgets/widgets/valuewidget.pyt   <module>   s   