a
    §ˆcy  ã                   @   sh   d Z ddlmZ ddlmZ ejdkr4ddlmZ n ejdv rLddlmZ ne	dƒ‚G d	d
„ d
eƒZ
dS )zB Defines the table column descriptor used for toggleable columns.
é    )Ú	ETSConfigé   )ÚObjectColumnZwx)ÚCheckboxRenderer>   ZqtZqt4z No checkbox renderer for backendc                       s,   e Zd Z‡ fdd„Zdd„ Zdd„ Z‡  ZS )ÚCheckboxColumnc                    s   t ƒ jf i |¤Ž tƒ | _dS )zInitializes the object.N)ÚsuperÚ__init__r   Zrenderer)ÚselfZtraits©Ú	__class__© úb/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/traitsui/extras/checkbox_column.pyr      s    zCheckboxColumn.__init__c                 C   s   | j S )zYReturns the cell background color for the column for a specified
        object.
        )Zcell_color_©r	   Úobjectr   r   r   Úget_cell_color#   s    zCheckboxColumn.get_cell_colorc                 C   s   dS )z>Returns whether the column is editable for a specified object.Fr   r   r   r   r   Úis_editable+   s    zCheckboxColumn.is_editable)Ú__name__Ú
__module__Ú__qualname__r   r   r   Ú__classcell__r   r   r
   r   r      s   r   N)Ú__doc__Ztraits.etsconfig.apir   Ztable_columnr   ZtoolkitZ#pyface.ui.wx.grid.checkbox_rendererr   Zqt4.extra.checkbox_rendererÚNotImplementedErrorr   r   r   r   r   Ú<module>   s   

