
    -eI                        d Z ddlmZ ddlZ ej        e          ZddlmZm	Z	 ddl
mZmZmZmZmZmZmZmZmZmZmZ ddlmZ dd	lmZ d
dlmZ dZ G d de          ZdS )z

    )annotationsN   )AnchorTooltipAttachment)AutoBoolEitherEnumFloatInstanceNullableOverrideRequiredStringTuple   )HTML)Selector   )	UIElement)Tooltipc            	          e Zd ZdZd fdZ ed          Z e e e	e
           eee                    dd	          Z e ee           ee          ed
d	          Z e ee ee                    d          Z e e	e          ed
d	          Z edd	          Z edd	          Z edd	          Z xZS )r   z Render a tooltip.

    returnNonec                :     t                      j        |i | d S )N)super__init__)selfargskwargs	__class__s      8lib/python3.11/site-packages/bokeh/models/ui/tooltips.pyr   zTooltip.__init__<   s%    $)&)))))    F)defaultNz
    The position of the tooltip with respect to its parent. It can be either
    an absolute position within the parent or an anchor point for symbolic
    positioning.
    )r$   helpautoz
    Tooltip can be manually attached to a target UI element or a DOM node
    (referred to by a selector, e.g. CSS selector or XPath), or its
    attachment can be inferred from its parent in ``"auto"`` mode.
    zg
    The tooltip's content. Can be a plaintext string or a :class:`~bokeh.models.HTML`
    object.
    )r%   z
    Whether the tooltip should be displayed to the left or right of the cursor
    position or above or below it, or if it should be automatically placed
    in the horizontal or vertical dimension.
    Tz2
    Whether tooltip's arrow should be shown.
    z
    Whether to allow dismissing a tooltip by clicking close (x) button. Useful when
    using this model for persistent tooltips.
    a%  
    Whether to allow pointer events on the contents of this tooltip. Depending
    on the use case, it may be necessary to disable interactions for better
    user experience. This however will prevent the user from interacting with
    the contents of this tooltip, e.g. clicking links.
    )r   r   )__name__
__module____qualname____doc__r   r   visibler   r	   r
   r   r   r   positionr   r   r   r   targetr   r   r   contentr   
attachmentr   
show_arrowclosableinteractive__classcell__)r!   s   @r"   r   r   6   s        
* * * * * * hu%%%GxttF||UU5%-@-@AA4 W 	 	 	H VHHY''(););T6 Y 	 	 	F hvvfhhtnn55 = 	 	 	G
 .//v M 	 	 	J d * 	 	 	J tE ) 	 	 	H
 $t + 	 	 	KKKKKr#   r   )r*   
__future__r   logging	getLoggerr'   log
core.enumsr   r   core.propertiesr   r   r	   r
   r   r   r   r   r   r   r   domr   	selectorsr   
ui_elementr   __all__r    r#   r"   <module>r?      sM    # " " " " " g!! 4 3 3 3 3 3 3 3                                            ! ! ! ! ! !0	 0	 0	 0	 0	i 0	 0	 0	 0	 0	r#   