a
    DfX                     @   sr   d dl mZmZmZmZmZ d dlmZ d dlm	Z	m
Z
 dZG dd de
ZG dd deZG d	d
 d
ee	ZdS )    )BoolInstanceIntNullableString)Tooltip)AbstractButtonWidget)
ToggleIcon
ButtonIconc                   @   sh   e Zd ZdZedddZedddZedddZed	d
dZ	edddZ
eeeddZedddZdS )_ClickableIconzd
    A ClickableIcon is a clickable icon that toggles between an active
    and inactive state.
     z6
        The name of the icon to display when toggled.defaulthelpZheartz0
        The name of the icon or SVG to display.Z1emz7
        The size of the icon as a valid CSS font-size.Fz/
        Whether the icon is toggled on or off.z
        The title of the icon.z
        A tooltip with plain text or rich HTML contents, providing general help or
        description of a widget's or component's function.
        )r   i  z
        Delay (in milliseconds) to display the tooltip after the cursor has
        hovered over the Button, default is 500ms.
        N)__name__
__module____qualname____doc__r   Zactive_iconZiconsizer   valuetitler   r   r   Ztooltipr   Ztooltip_delay r   r   ^/nfs/NAS7/SABIOD/METHODE/ermites/ermites_venv/lib/python3.9/site-packages/panel/models/icon.pyr      s   r   c                   @   s   e Zd ZdZdS )r
   za
    A ToggleIcon is a clickable icon that toggles between an active
    and inactive state.
    N)r   r   r   r   r   r   r   r   r
   -   s   r
   c                   @   s(   e Zd ZdZedddZedddZdS )r   z
    A ButtonIcon is a clickable icon that toggles between an active
    and inactive state and keeps track of the number of times it has
    been clicked.
    r   z9
        The number of times the button has been clicked.r   K   z
        The number of milliseconds the active_icon should be shown for
        and how long the button should be disabled for.N)r   r   r   r   r   ZclicksZtoggle_durationr   r   r   r   r   4   s   r   N)Zbokeh.core.propertiesr   r   r   r   r   Zbokeh.models.ui.tooltipsr   Zbokeh.models.widgetsr   r	   __all__r   r
   r   r   r   r   r   <module>   s    