a
    §ˆc   ã                   @   sj   d Z ddlZddlmZ ddlmZmZ ddlmZ ddl	m
Z
 ddlmZ eeƒG d	d
„ d
eeƒƒZdS )z$ Enthought pyface package component
é    N)Úprovides)ÚIHeadingTextÚMHeadingText)ÚImageé   )ÚImageResource)ÚLayoutWidgetc                   @   s4   e Zd ZdZeedƒƒZdd„ Zdd„ Zdd„ Z	d	S )
ÚHeadingTextz6 The Wx-specific implementation of a HeadingText.
    Zheading_level_1c                 C   s   t  |¡}|S )zA Create the toolkit-specific control that represents the widget. )ÚwxZ
StaticText)ÚselfÚparentÚcontrol© r   ú\/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/pyface/ui/wx/heading_text.pyÚ_create_control'   s    
zHeadingText._create_controlc                 C   s   d|› d�}| j  |¡ dS )z. Set the text on the toolkit specific widget. z<b>z</b>N)r   ZSetLabelMarkup)r   Útextr   r   r   Ú_set_control_text0   s    zHeadingText._set_control_textc                 C   s
   | j  ¡ S )z. Get the text on the toolkit specific widget. )r   ZGetLabelText)r   r   r   r   Ú_get_control_text6   s    zHeadingText._get_control_textN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Úimager   r   r   r   r   r   r   r	      s
   	r	   )r   r
   Z
traits.apir   Zpyface.i_heading_textr   r   Zpyface.ui_traitsr   Zimage_resourcer   Zlayout_widgetr   r	   r   r   r   r   Ú<module>   s   