3
8ßL] 	  ã               @   sX   d Z ddlmZ ddlmZ ddlmZ ddlmZ G dd„ deƒZ	e	Z
e	Ze	Ze	Zd	S )
z; Define an editor that displays a string value as a title.
é    )Úabsolute_importé   )ÚEditor)ÚHeadingText)ÚTitleEditorc               @   s   e Zd Zdd„ Zdd„ ZdS )Ú_TitleEditorc             C   s    t |ƒ| _| jj| _| jƒ  dS )za Finishes initializing the editor by creating the underlying toolkit
            widget.
        N)r   Ú_controlÚcontrolZset_tooltip)ÚselfÚparent© r   ú>/tmp/pip-install-5sebvq2j/traitsui/traitsui/wx/title_editor.pyÚinit2   s    

z_TitleEditor.initc             C   s   | j | j_dS )z^ Updates the editor when the object trait changes external to the
            editor.
        N)Z	str_valuer   Útext)r
   r   r   r   Úupdate_editor>   s    z_TitleEditor.update_editorN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r   +   s   r   N)Ú__doc__Ú
__future__r   Úeditorr   Zpyface.heading_textr   Ztraitsui.editors.title_editorr   r   ZSimpleEditorZCustomEditorZReadonlyEditorZ
TextEditorr   r   r   r   Ú<module>   s   