
    ge                         d Z ddlmZ ddlmZmZmZ ddlmZ ddl	m
Z
 ddlmZ ddlmZ e G d	 d
e
ee                      Z G d dee          ZdS )zContains the DOMWidget class    )Unicode   )Widgetwidget_serializationregister)InstanceDict)Style)
CoreWidget)	DOMWidgetc                       e Zd ZdZ ed                              d          Z ed                              d          ZdS )DescriptionStylezDescription style widget.DescriptionStyleModelTsyncz4Width of the description to the side of the control.helpN)__name__
__module____qualname____doc__r   tag_model_namedescription_width     Elib/python3.11/site-packages/ipywidgets/widgets/widget_description.pyr   r      s]        ##'12266D6AAK%[\\\``fj`kkr   r   c                       e Zd ZdZ ed                              d          Z edd                              d          Z eddd	
                              d          Z  e	e
d          j        dddieZ fdZ xZS )DescriptionWidgetz0Widget that has a description label to the side.DescriptionModelTr    zDescription of the control.r   Nz6Tooltip for the description (defaults to description).)
allow_noner   zStyling customizationsr   c              #      K   t          t          |                                           D ]=}|dk    r1t          | |          }t	          |          d|j        j        z  k    r9|V  >d S )Nstylez%s())superr   
_repr_keysgetattrrepr	__class__r   )selfkeyvaluer(   s      r   r%   zDescriptionWidget._repr_keys   sx      *D11<<>> 	 	Cg~~c**;;&5?+C"CCCIIII	 	r   r   )r   r   r   r   r   r   r   descriptiondescription_tooltipr   r   r   r#   r%   __classcell__)r(   s   @r   r   r      s        ::',--11t1<<K'"#@AAAEE4EPPK!'$4>vwww{{  BF{  G  GMLL)0HIIIMppSWp[oppE        r   r   N)r   	traitletsr   widgetr   r   r   trait_typesr   widget_styler	   widget_corer
   	domwidgetr   r   r   r   r   r   <module>r5      s    # "       : : : : : : : : : : % % % % % %       # # # # # #            	l l l l luj& l l 
l    	:     r   