
    ^h                         S r SSKJrJr  SSKJrJrJr  SSKJ	r	  SSK
Jr  SSKJr  SSKJr  SS	KJr  SS
Kr\ " S S\\\5      5       r " S S\\5      rg
)zContains the DOMWidget class    )BoolUnicode   )Widgetwidget_serializationregister)InstanceDict)Style)
CoreWidget)	DOMWidget)deprecationNc                   h    \ rS rSrSr\" S5      R                  SS9r\" SS9R                  SS9rSr	g	)
DescriptionStyle   zDescription style widget.DescriptionStyleModelTsyncz4Width of the description to the side of the control.help N)
__name__
__module____qualname____firstlineno____doc__r   tag_model_namedescription_width__static_attributes__r       _/home/james-whalen/.local/lib/python3.13/site-packages/ipywidgets/widgets/widget_description.pyr   r      s9    #1266D6AK%[\``fj`kr    r   c                     ^  \ rS rSrSr\" S5      R                  SS9r\" SSS9R                  SS9r\	" S	S
S9R                  SS9r
\" \SS9R                  " SSS0\D6rU 4S jrU 4S jr\S 5       r\R&                  S 5       rSrU =r$ )DescriptionWidget   z0Widget that has a description label to the side.DescriptionModelTr    zDescription of the control.r   FzAccept HTML in the description.zStyling customizationsr   c                 x   > SU;   a#  [        S5        UR                  SUS   5        US	 [        TU ]  " U0 UD6  g )Ndescription_tooltipzCthe description_tooltip argument is deprecated, use tooltip insteadtooltip)r   
setdefaultsuper__init__)selfargskwargs	__class__s      r!   r,   DescriptionWidget.__init__   sE     F*]^i0E)FG,-$)&)r    c              #      >#    [         TU ]  5        H@  nUS:X  a3  [        X5      n[        U5      SUR                  R
                  -  :X  a  M<  Uv   MB     g 7f)Nstylez%s())r+   
_repr_keysgetattrreprr0   r   )r-   keyvaluer0   s      r!   r4   DescriptionWidget._repr_keys%   sL     7%'Cg~*;&5??+C+C"CCI (s   AAc                 0    [        S5        U R                  $ )zRThe tooltip information.
.. deprecated :: 8.0.0
   Use tooltip attribute instead.
8.description_tooltip is deprecated, use .tooltip insteadr   r)   )r-   s    r!   r(   %DescriptionWidget.description_tooltip.   s     	NO||r    c                 &    [        S5        Xl        g )Nr;   r<   )r-   r)   s     r!   r(   r=   7   s    NOr    )r)   r   )r   r   r   r   r   r   r   r   descriptionr   description_allow_htmlr	   r   r   r3   r,   r4   propertyr(   setterr   __classcell__)r0   s   @r!   r#   r#      s    :,-11t1<K"#@AEE4EPK!%.OPTTZ^T_)0HIMMpSWp[opE*     r    r#   )r   	traitletsr   r   widgetr   r   r   trait_typesr	   widget_styler
   widget_corer   	domwidgetr   utilsr   warningsr   r#   r   r    r!   <module>rL      sS    # # : : %  #    	luj& l 
l#	: #r    