
    hMh                        d 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 ddlmZmZmZ i Zd	ed
<   e e
e           G d dee                                  Ze e
e           G d de                                  Ze e
e           G d de                                  Ze G d de                      ZdS )zBox widgets.

These widgets are containers that can be used to
group other widgets together and control their
relative layouts.
   )registerwidget_serializationWidget)	DOMWidget)
CoreWidget)	doc_subst)
TypedTuple    )UnicodeCaselessStrEnumInstancea  
    children: iterable of Widget instances
        list of widgets to display

    box_style: str
        one of 'success', 'info', 'warning' or 'danger', or ''.
        Applies a predefined style to the box. Defaults to '',
        which applies no pre-defined style.

box_paramsc                   .    e Zd ZdZ ed                              d          Z ed                              d          Z  e e	e
          d          j        dddieZ eg d	d
d                              d          Zd fd	Z xZS )BoxaT   Displays multiple widgets in a group.

    The widgets are laid out horizontally.

    Parameters
    ----------
    {box_params}

    Examples
    --------
    >>> import ipywidgets as widgets
    >>> title_widget = widgets.HTML('<em>Box Example</em>')
    >>> slider = widgets.IntSlider()
    >>> widgets.Box([title_widget, slider])
    BoxModelTsyncBoxViewzList of widget children)traithelpr   )successinfowarningdanger r   z%Use a predefined styling for the box.)valuesdefault_valuer    c                 D    ||d<    t                      j        di | d S )Nchildrenr   )super__init__)selfr    kwargs	__class__s      ]/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/ipywidgets/widgets/widget_box.pyr"   zBox.__init__>   s0    %z""6"""""    )r   )__name__
__module____qualname____doc__r   tag_model_name
_view_namer	   r   r   r   r    r   	box_styler"   __classcell__)r%   s   @r&   r   r      s         '*%%))t)44K##''T'22J
 Vzz 0 07PQQQU + ++)+ +H  ;;;28: : ::=#4#.. # # # # # # # # # #r'   r   c                       e Zd ZdZ ed                              d          Z ed                              d          ZdS )VBoxaO   Displays multiple widgets vertically using the flexible box model.

    Parameters
    ----------
    {box_params}

    Examples
    --------
    >>> import ipywidgets as widgets
    >>> title_widget = widgets.HTML('<em>Vertical Box Example</em>')
    >>> slider = widgets.IntSlider()
    >>> widgets.VBox([title_widget, slider])
    	VBoxModelTr   VBoxViewNr(   r)   r*   r+   r   r,   r-   r.   r   r'   r&   r2   r2   B   Z          '+&&***55K$$((d(33JJJr'   r2   c                       e Zd ZdZ ed                              d          Z ed                              d          ZdS )HBoxaS   Displays multiple widgets horizontally using the flexible box model.

    Parameters
    ----------
    {box_params}

    Examples
    --------
    >>> import ipywidgets as widgets
    >>> title_widget = widgets.HTML('<em>Horizontal Box Example</em>')
    >>> slider = widgets.IntSlider()
    >>> widgets.HBox([title_widget, slider])
    	HBoxModelTr   HBoxViewNr5   r   r'   r&   r8   r8   V   r6   r'   r8   c                       e Zd ZdZ ed                              d          Z ed                              d          ZdS )GridBoxa[   Displays multiple widgets in rows and columns using the grid box model.

    Parameters
    ----------
    {box_params}

    Examples
    --------
    >>> import ipywidgets as widgets
    >>> title_widget = widgets.HTML('<em>Grid Box Example</em>')
    >>> slider = widgets.IntSlider()
    >>> button1 = widgets.Button(description='1')
    >>> button2 = widgets.Button(description='2')
    >>> # Create a grid with two columns, splitting space equally
    >>> layout = widgets.Layout(grid_template_columns='1fr 1fr')
    >>> widgets.GridBox([title_widget, slider, button1, button2], layout=layout)
    GridBoxModelTr   GridBoxViewNr5   r   r'   r&   r<   r<   j   sZ         " '.))--4-88K''+++66JJJr'   r<   N)r+   widgetr   r   r   	domwidgetr   widget_corer   docutilsr   trait_typesr	   	traitletsr   r   r   _doc_snippetsr   r2   r8   r<   r   r'   r&   <module>rF      s    ; : : : : : : : : :             # # # # # #       # # # # # # 8 8 8 8 8 8 8 8 8 8 l  

=# # # # #)Z # #  
#B 

=4 4 4 4 43 4 4  
4$ 

=4 4 4 4 43 4 4  
4$ 
7 7 7 7 7c 7 7 
7 7 7r'   