3
8ßL]V  ã               @   st   d Z ddlmZ ddlmZmZmZmZmZm	Z	 G dd„ deƒZ
e
Zee
dd�Zdd	„ ZeeƒZeeƒZeeƒZd
S )zU Defines some helper classes and traits used to define 'bindable' editor
    values.
é    )Úabsolute_import)ÚHasPrivateTraitsÚInstanceÚStrÚIntÚFloatÚEitherc               @   s   e Zd ZdZeZdd„ ZdS )ÚContextValuezY Defines the name of a context value that can be bound to some editor
        value.
    c             C   s
   || _ dS )z! Initializes the object.
        N)Úname)Úselfr
   © r   ú</tmp/pip-install-5sebvq2j/traitsui/traitsui/context_value.pyÚ__init__.   s    zContextValue.__init__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r
   r   r   r   r   r   r	   #   s   r	   F)Ú
allow_nonec             C   s   t | tdd�S )NZto)Z
sync_value)r   ÚInstanceOfContextValue)Útyper   r   r   ÚCVType=   s    r   N)r   Ú
__future__r   Z
traits.apir   r   r   r   r   r   r	   ZCVr   r   ZCVIntZCVFloatZCVStrr   r   r   r   Ú<module>   s    