a
    ¦ˆc²  ã                   @   s   d Z G dd„ deƒZdS )z³ Defines the IDockable interface which objects contained in a DockWindow
    DockControl can implement in order to allow themselves to be dragged into
    a different DockWindow.
c                   @   sL   e Zd Zdd„ Zdd„ Zdd„ Zdd„ Zd	d
„ Zdd„ Zdd„ Z	dd„ Z
dS )Ú	IDockablec                 C   s   dS )z[ Should the current DockControl be closed before creating the new
            one.
        T© )Úselfr   r   úX/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/pyface/dock/idockable.pyÚdockable_should_close   s    zIDockable.dockable_should_closec                 C   s   dS )z? Returns whether or not it is OK to close the control.
        Fr   )r   Údock_controlÚforcer   r   r   Údockable_close(   s    zIDockable.dockable_closec                 C   s   t dƒ‚dS )z> Gets a control that can be docked into a DockWindow.
        z>The 'IDockable.dockable_get_control' method must be overriddenN)ÚNotImplementedError)r   Úparentr   r   r   Údockable_get_control1   s    ÿzIDockable.dockable_get_controlc                 C   s   dS )zI Allows the object to override the default DockControl settings.
        Nr   ©r   r   r   r   r   Údockable_init_dockcontrol<   s    z#IDockable.dockable_init_dockcontrolc                 C   s   dS )zH Returns the right-click popup menu for a DockControl (if any).
        Nr   ©r   r   Úeventr   r   r   Údockable_menuE   s    zIDockable.dockable_menuc                 C   s   dS )zÑ Handles the user double-clicking on the DockControl.
            A result of False indicates the event was not handled; all other
            results indicate that the event was handled successfully.
        Fr   r   r   r   r   Údockable_dclickP   s    zIDockable.dockable_dclickc                 C   s   dS )a   Handles a notebook tab being activated or deactivated.

            'dock_control' is the control being activated or deactivated.

            If 'activated' is True, the control is being activated; otherwise
            the control is being deactivated.
        Nr   )r   r   Z	activatedr   r   r   Údockable_tab_activated[   s    z IDockable.dockable_tab_activatedc                 C   s   dS )zF Handles the dockable being bound to a specified DockControl.
        Nr   r   r   r   r   Údockable_bindi   s    zIDockable.dockable_bindN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r   r   r   r   r   r   r      s   		r   N)Ú__doc__Úobjectr   r   r   r   r   Ú<module>   s   