a
    ¦ˆcV  ã                   @   s:   d Z ddlZddlmZ ddlmZ G dd„ deeƒZdS )úA A panel that is split in two either horizontally or vertically. é    N)ÚSplitWidget)ÚWidgetc                       s*   e Zd ZdZd‡ fdd„	Zdd„ Z‡  ZS )Ú
SplitPanelr   Nc                    s>   |  dd¡}tƒ jf d|i|¤Ž |r:|  ¡  t dt¡ dS )z Creates a new panel. ÚcreateTÚparentzšautomatic widget creation is deprecated and will be removed in a future Pyface version, use create=False and explicitly call create() for future behaviourN)ÚpopÚsuperÚ__init__r   ÚwarningsÚwarnÚPendingDeprecationWarning)Úselfr   Ztraitsr   ©Ú	__class__© úU/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/pyface/split_panel.pyr
      s    üzSplitPanel.__init__c                 C   s
   |   |¡S )z Create the toolkit control )Z_create_splitter)r   r   r   r   r   Ú_create_control,   s    zSplitPanel._create_control)N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   Ú__classcell__r   r   r   r   r      s   r   )r   r   Zpyface.split_widgetr   Zpyface.widgetr   r   r   r   r   r   Ú<module>   s   