
    h_                         S SK r S SKJrJr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Jr  SS
KJrJr   " S S\5      rg)    N)UnionTupleOptionalCallableAny   )	CTkCanvas)CTkScrollbar)ThemeManager)
DrawEngine)CTkBaseClass)CTkFont)pop_from_dict_by_setcheck_kwargs_emptyc                   f  ^  \ rS rSrSrSr1 Skr             S[S\S\S\S\	\   S	\	\   S
\S\
\\\\4   4   S\	\
\\\\4   4      S\	\
\\\\4   4      S\	\
\\4      S\	\
\\\\4   4      S\	\
\\\\4   4      S\	\
\\4      S\4U 4S jjjrS\S jrS]S\4S jjrU 4S jrS^U 4S jjrS rU 4S jrS_U 4S jjrS_U 4S jjrS\S\4U 4S jjrS`S \S!\S"\
\\4   4S# jjrS^S \S$\4S% jjrS& rS' rS( rSaS) jr SaS* jr!S+ r"S, r#SaS- jr$S. r%SaS/ jr&S0 r'S1 r(S2 r)S3 r*S4 r+S5 r,S6 r-S7 r.S8 r/SaS9 jr0S: r1S; r2S< r3S= r4S> r5S? r6S@ r7SA r8SB r9SaSC jr:SaSD jr;SE r<SF r=SG r>SaSH jr?SaSI jr@SaSJ jrASaSK jrBSaSL jrCSM rDSaSN jrESaSO jrFSP rGSQ rHSR rISS rJST rKSU rLSV rMSW rNSX rOSY rPSZrQU =rR$ )b
CTkTextbox   a  
Textbox with x and y scrollbars, rounded corners, and all text features of tkinter.Text widget.
Scrollbars only appear when they are needed. Text is wrapped on line end by default,
set wrap='none' to disable automatic line wrapping.
For detailed information check out the documentation.

Detailed methods and parameters of the underlaying tkinter.Text widget can be found here:
https://anzeljg.github.io/rin2/book2/2405/docs/tkinter/text.html
(most of them are implemented here too)
   >   padxpadytabsundowrapstatecursormaxundospacing1spacing2spacing3	takefocusinsertwidthinsertontimeinsertofftimeautoseparatorsxscrollcommandyscrollcommandexportselectioninsertborderwidthselectborderwidthmasterwidthheightcorner_radiusborder_widthborder_spacingbg_colorfg_colorborder_color
text_colorscrollbar_button_colorscrollbar_button_hover_colorfontactivate_scrollbarsc                 :  > [         TU ]  XX#S9  Uc  [        R                  S   S   OU R	                  USS9U l        U	c  [        R                  S   S   OU R	                  U	5      U l        U
c  [        R                  S   S   OU R	                  U
5      U l        Uc  [        R                  S   S   OU R	                  U5      U l        Uc  [        R                  S   S	   OU R	                  U5      U l	        Uc  [        R                  S   S
   OUU l
        Uc  [        R                  S   S   OUU l        X`l        Uc
  [        5       OU R                  U5      U l        [!        U R                  [        5      (       a%  U R                  R#                  U R$                  5        ['        U SU R)                  U R*                  5      U R)                  U R,                  5      S9U l        U R.                  R1                  SSSSSS9  U R.                  R3                  U R5                  U R6                  5      S9  [9        U R.                  5      U l        [<        R>                  " U 4U R5                  U R                  5      SSU RA                  U R                  5      SSU R5                  U R                  5      S.[C        XRD                  5      D6U l#        [I        USS9  Xl%        SU l&        SU l'        [Q        U SSSU R
                  U R                  U R                  SU RF                  RR                  S9	U l*        U RF                  R3                  U RT                  RV                  S9  [Q        U SSSU R
                  U R                  U R                  SU RF                  RX                  S9	U l-        U RF                  R3                  U RZ                  RV                  S9  U R]                  SSSS9  U R_                  SU R`                  S S5        U Rc                  5         g )N)r*   r0   r+   r,   r   r1   Ttransparencyr2   r3   r4   r5   r-   r.   r   )r*   highlightthicknessr+   r,      nsewrowcolumnrowspan
columnspanstickybgflat)fgr+   r,   r6   r;   reliefinsertbackground)raise_error   vertical)r+   r,   r/   r1   button_colorbutton_hover_colororientationcommand)r&   
horizontal)r,   r+   r/   r1   rM   rN   rO   rP   )r%   re_grid_textboxre_grid_x_scrollbarre_grid_y_scrollbar2   )2super__init__r   theme_check_color_type	_fg_color_border_color_text_color_scrollbar_button_color_scrollbar_button_hover_color_corner_radius_border_width_border_spacingr   _check_font_type_font
isinstanceadd_size_configure_callback_update_fontr	   _apply_widget_scaling_desired_width_desired_height_canvasgrid	configure_apply_appearance_mode	_bg_colorr   _draw_enginetkinterText_apply_font_scalingr   _valid_tk_text_attributes_textboxr   _scrollbars_activated_hide_x_scrollbar_hide_y_scrollbarr
   yview_y_scrollbarsetxview_x_scrollbar$_create_grid_for_text_and_scrollbarsafter_check_if_scrollbars_needed_draw)selfr*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   kwargs	__class__s                   c/var/www/fran/franai/venv/lib/python3.13/site-packages/customtkinter/windows/widgets/ctk_textbox.pyrX   CTkTextbox.__init__"   s   ( 	V JRIY++L9*E_c_u_uv~  NR_u  `SQ]Qe\//=nMko  lB  lB  CO  lPMWM_<--l;LIeie{e{  }G  fHe{  fD|'9'9,'GH`'a  JN  J`  J`  aw  Jx$ rN  rV\-?-?-MNl-m  \`  \r  \r  sO  \P* TaShl00>On{Q]Qe\//=nMkw- #',WYD4I4I$4O
djj'**JJ2243D3DE 45'+'A'A$BUBU'V(,(B(B4CWCW(XZ 	a16R$"="=dnn"MN&t||4T e(,(C(CDDTDT(U+,,-*.*B*B4::*N89,26:6Q6QRVRbRb6ce (<FDbDb'ce 	6t4 &9"!%!%(/0018926..6:6R6R<@<^<^5?151D1DF 	t/@/@/D/DE(01/08926..6:6R6R<@<^<^5A151D1DF 	t/@/@/D/DE11$\`vz1{

2t77tD

    c                 R   U R                  SSS9  U R                  SSU R                  [        U R                  U R                  U R
                  -   5      5      S9  U R                  SSS9  U R                  SSU R                  [        U R                  U R                  U R
                  -   5      5      S9  U(       a  U R                  R                  SSSSSU R                  [        U R                  U R                  U R
                  -   5      5      S4U R                  [        U R                  U R                  U R
                  -   5      5      S4S9  U(       a  U R                  (       dw  U R                  (       af  U R                  R                  SSSSSSU R
                  U R                  -   4[        U R                  U R                  U R
                  -   5      S4S	9  OU R                  R                  5         U(       a  U R                  (       dw  U R                  (       af  U R                  R                  SSSSS
SU R
                  U R                  -   4[        U R                  U R                  U R
                  -   5      S4S9  g U R                  R                  5         g g )Nr   r   )weight)r   minsizer=   )r?   r@   rA   rB   rC   r   r   ewn   )r?   r@   rA   rB   rC   r   r   nsw)grid_rowconfigurerh   maxr`   ra   rb   grid_columnconfigureru   rl   rw   rv   r}   grid_forgetrx   rz   )r   rS   rT   rU   s       r   r~   /CTkTextbox._create_grid_for_text_and_scrollbars}   s    	q+qD4N4NsSWSfSfhlhzhz  ~B  ~R  ~R  iR  PS  5T  	U!!!A!.!!!At7Q7QRUVZViVikok}k}  AE  AU  AU  lU  SV  8W!  	XMM1QaPV%)%?%?DDWDWY]YkYknr  oC  oC  ZC  AD  &E  GH  %I%)%?%?DDWDWY]YkYknr  oC  oC  ZC  AD  &E  GH  %I  J ))d.H.H!!&&1QaX]-.0D0DtGYGY0Y,Z-01D1DdFXFX[_[o[oFo-prs,t ' v !!--/))d.H.H!!&&1QaX]-.0D0DtGYGY0Y,Z-01D1DdFXFX[_[o[oFo-prs,t ' v !!--/ r   continue_loopc                   ^  T R                   (       GaO  T R                  R                  5       S:w  a6  T R                  R	                  5       (       d  ST l        T R                  SS9  OST R                  R                  5       S:X  a5  T R                  R	                  5       (       a  ST l        T R                  SS9  T R                  R                  5       S:w  a6  T R                  R	                  5       (       d  ST l	        T R                  SS9  OqT R                  R                  5       S:X  a5  T R                  R	                  5       (       a  ST l	        T R                  SS9  OST l        ST l        T R                  SS9  T R                  R                  5       (       a'  USL a!  T R                  T R                  U 4S j5        ggg)zeMethod hides or places the scrollbars if they are needed on key release event of tkinter.text widget )g        g      ?FT)rT   )rU   c                  "   > T R                  SS9$ )NT)r   )r   r   s   r   <lambda>8CTkTextbox._check_if_scrollbars_needed.<locals>.<lambda>   s    D<\<\ko<\<pr   N)rv   ru   r|   r}   winfo_ismappedrw   r~   ry   rz   rx   winfo_existsr   _scrollbar_update_time)r   eventr   s   `  r   r   &CTkTextbox._check_if_scrollbars_needed   ss    %%%}}""$
24;L;L;[;[;];]).&99d9S$$&*49J9J9Y9Y9[9[)-&99d9S}}""$
24;L;L;[;[;];]).&99d9S$$&*49J9J9Y9Y9[9[)-&99d9S%*D"%*D"55$5O==%%''MT,AJJt224pq -B'r   c                 b  > [         TU ]  " U0 UD6  U R                  R                  U R	                  U R
                  5      S9  U R                  R                  U R                  U R                  5      U R                  U R                  5      S9  U R                  SSSS9  U R                  SS9  g )Nr6   r+   r,   TrR   )no_color_updates)rW   _set_scalingru   rm   rs   rd   rk   rh   ri   rj   r~   r   )r   argsr   r   s      r   r   CTkTextbox._set_scaling   s    d-f-T%=%=djj%IJT%?%?@S@S%T&*&@&@AUAU&V 	 	X11$\`vz1{

D
)r   c                    > [         TU ]  X5        U R                  R                  U R	                  U R
                  5      U R	                  U R                  5      S9  U R                  5         g )Nr   )rW   _set_dimensionsrk   rm   rh   ri   rj   r   )r   r+   r,   r   s      r   r   CTkTextbox._set_dimensions   sX    .T%?%?@S@S%T&*&@&@AUAU&V 	 	X

r   c                     U R                   R                  U R                  U R                  5      S9  U R                  R                  5         U R                  R                  SSSSSS9  g)zWpass font to tkinter widgets with applied font scaling and update grid with workaround r   r   r<   r=   r>   N)ru   rm   rs   rd   rk   r   rl   r   s    r   rg   CTkTextbox._update_font   sU    T%=%=djj%IJ 	  "a16Rr   c                    > [        U R                  [        5      (       a%  U R                  R                  U R                  5        [
        TU ]  5         g N)re   rd   r   remove_size_configure_callbackrg   rW   destroy)r   r   s    r   r   CTkTextbox.destroy   s6    djj'**JJ55d6G6GHr   c                   > [         TU ]  U5        U R                  R                  5       (       d  g U R                  R                  U R                  U R                  5      U R                  U R                  5      U R                  U R                  5      U R                  U R                  5      5      nUSL d  U(       Ga  U R                  S:X  Ga'  U R                  R                  SU R                  U R                  5      U R                  U R                  5      S9  U R                  R!                  U R                  U R"                  5      U R                  U R                  5      U R                  U R"                  5      S9  U R$                  R!                  U R                  U R&                  U R(                  S9  U R*                  R!                  U R                  U R&                  U R(                  S9  GO%U R                  R                  SU R                  U R                  5      U R                  U R                  5      S9  U R                  R!                  U R                  U R"                  5      U R                  U R                  5      U R                  U R"                  5      S9  U R$                  R!                  U R                  U R&                  U R(                  S9  U R*                  R!                  U R                  U R&                  U R(                  S9  U R                  R                  SU R                  U R,                  5      U R                  U R,                  5      S9  U R                  R!                  U R                  U R                  5      S9  U R                  R/                  S5        U R                  R/                  S5        g )	NFtransparentinner_parts)filloutline)rG   rE   rI   )r1   rM   rN   border_partsrD   )rW   r   rk   r   rp   draw_rounded_rect_with_borderrh   _current_width_current_heightr`   ra   r[   
itemconfigrn   ro   ru   rm   r]   r}   r^   r_   rz   r\   	tag_lower)r   r   requires_recoloringr   s      r   r   CTkTextbox._draw   s*   &'||((**"//MMdNhNhimi|i|N}NRNhNhimi}i}N~NRNhNhimi|i|N}NRNhNhimi{i{N|~
 u$(;~~.''-1-H-H-X040K0KDNN0[ ( ] ''4+F+FtGWGW+X+/+F+Ft~~+V9=9T9TUYUeUe9f ( h !!++T^^RVRnRn?C?a?a , c!!++T^^RVRnRn?C?a?a , c ''-1-H-H-X040K0KDNN0[ ( ] ''4+F+FtGWGW+X+/+F+Ft~~+V9=9T9TUYUeUe9f ( h !!++T^^RVRnRn?C?a?a , c!!++T^^RVRnRn?C?a?a , c LL##N)-)D)DTEWEW)X,0,G,GHZHZ,[ $ ] LL""d&A&A$..&Q"R}-~.r   c                   > SU;   a  U R                  UR                  S5      SS9U l        SnU R                  5        HF  n[	        U[
        5      (       d  M  [        US5      (       d  M-  UR                  U R                  S9  MH     SU;   a'  U R                  UR                  S5      5      U l        SnSU;   a'  U R                  UR                  S5      5      U l	        SnSU;   ak  U R                  UR                  S5      5      U l
        U R                  R                  U R                  S	9  U R                  R                  U R                  S	9  S
U;   ak  U R                  UR                  S
5      5      U l        U R                  R                  U R                  S9  U R                  R                  U R                  S9  SU;   a)  UR                  S5      U l        U R                  SSSS9  SnSU;   a)  UR                  S5      U l        U R                  SSSS9  SnSU;   a)  UR                  S5      U l        U R                  SSSS9  SnSU;   a  [	        U R$                  [&        5      (       a%  U R$                  R)                  U R*                  5        U R-                  UR                  S5      5      U l        [	        U R$                  [&        5      (       a%  U R$                  R/                  U R*                  5        U R+                  5         U R0                  R                  " S0 [3        X R4                  5      D6  [6        TU ]  " SSU0UD6  g )Nr1   Tr9   r[   )r0   r2   r3   r4   )rM   r5   )rN   r-   rR   r.   r/   r6   require_redraw )rZ   popr[   winfo_childrenre   r   hasattrrm   r\   r]   r^   r}   rz   r_   r`   r~   ra   rb   rd   r   r   rg   rc   rf   ru   r   rt   rW   )r   r   r   childr   s       r   rm   CTkTextbox.configure   s   !33FJJz4JY]3^DN!N ,,.e\22wuk7R7ROOT^^O< / V#!%!7!7

>8R!SD!N6!#55fjj6NOD!N#v-+/+A+A&**MeBf+gD(''T5Q5Q'R''T5Q5Q'R)V3151G1G

SqHr1sD.''4;];]'^''4;];]'^f$"(**_"=D55d`dz~5!NV#!'N!;D55d`dz~5!Nv%#)::.>#?D 55d`dz~5!NV$**g..

99$:K:KL..vzz&/ABDJ$**g..

66t7H7HI_"6v?]?]"^_BB6Br   attribute_namereturnc                   > US:X  a  U R                   $ US:X  a  U R                  $ US:X  a  U R                  $ US:X  a  U R                  $ US:X  a  U R                  $ US:X  a  U R
                  $ US:X  a  U R                  $ [        TU ]!  U5      $ )Nr-   r.   r/   r1   r2   r3   r6   )	r`   ra   rb   r[   r\   r]   rd   rW   cget)r   r   r   s     r   r   CTkTextbox.cget4  s    _,&&&~-%%%//'''z)>>!~-%%%|+###v%:: 7<//r   sequencerP   addc                 d    US:X  d  USL d  [        S5      eU R                  R                  XSS9  g)zcalled on the tkinter.Canvas +TzE'add' argument can only be '+' or True to preserve internal callbacks)r   N)
ValueErrorru   bind)r   r   rP   r   s       r   r   CTkTextbox.bindI  s2    s
cTkdee8$7r   funcidc                 X    Ub  [        S5      eU R                  R                  US5        g)z/called on the tkinter.Label and tkinter.Canvas Nz'funcid' argument can only be None, because there is a bug in tkinter and its not clear whether the internal callbacks will be unbinded or not)r   ru   unbind)r   r   r   s      r   r   CTkTextbox.unbindO  s1     q r rXt,r   c                 6    U R                   R                  5       $ r   )ru   focusr   s    r   r   CTkTextbox.focusV  s    }}""$$r   c                 6    U R                   R                  5       $ r   )ru   	focus_setr   s    r   r   CTkTextbox.focus_setY  s    }}&&((r   c                 6    U R                   R                  5       $ r   )ru   focus_forcer   s    r   r   CTkTextbox.focus_force\  s    }}((**r   c                 :    U R                   R                  XU5      $ r   )ru   insert)r   indextexttagss       r   r   CTkTextbox.insert_  s    }}##E66r   c                 8    U R                   R                  X5      $ r   )ru   getr   index1index2s      r   r   CTkTextbox.getb  s    }}  00r   c                 8    U R                   R                  U5      $ r   )ru   bboxr   r   s     r   r   CTkTextbox.bboxe  s    }}!!%((r   c                 :    U R                   R                  XU5      $ r   )ru   compare)r   r   opr   s       r   r   CTkTextbox.compareh  s    }}$$U77r   c                 8    U R                   R                  X5      $ r   )ru   deleter   s      r   r   CTkTextbox.deletek  s    }}##F33r   c                 8    U R                   R                  U5      $ r   )ru   	dlineinfor   s     r   r   CTkTextbox.dlineinfon      }}&&u--r   c                 8    U R                   R                  U5      $ r   )ru   edit_modified)r   args     r   r   CTkTextbox.edit_modifiedq  s    }}**3//r   c                 V    U R                  5         U R                  R                  5       $ r   )r   ru   	edit_redor   s    r   r   CTkTextbox.edit_redot  !    ((*}}&&((r   c                 6    U R                   R                  5       $ r   )ru   
edit_resetr   s    r   r  CTkTextbox.edit_resetx      }}''))r   c                 6    U R                   R                  5       $ r   )ru   edit_separatorr   s    r   r  CTkTextbox.edit_separator{  s    }}++--r   c                 V    U R                  5         U R                  R                  5       $ r   )r   ru   	edit_undor   s    r   r  CTkTextbox.edit_undo~  r   r   c                     [        S5      eNzIembedding images is forbidden, because would be incompatible with scalingAttributeErrorr   r   r   s      r   image_createCTkTextbox.image_create      hiir   c                     [        S5      er  r  r   r   options      r   
image_cgetCTkTextbox.image_cget  r  r   c                     [        S5      er  r  r   s     r   image_configureCTkTextbox.image_configure  r  r   c                     [        S5      er  r  r   s    r   image_namesCTkTextbox.image_names  r  r   c                 8    U R                   R                  U5      $ r   )ru   r   )r   is     r   r   CTkTextbox.index  s    }}""1%%r   c                 8    U R                   R                  X5      $ r   )ru   mark_gravity)r   markgravitys      r   r!  CTkTextbox.mark_gravity  s    }}))$88r   c                 6    U R                   R                  5       $ r   )ru   
mark_namesr   s    r   r&  CTkTextbox.mark_names  r  r   c                 8    U R                   R                  U5      $ r   )ru   	mark_nextr   s     r   r)  CTkTextbox.mark_next  r   r   c                 8    U R                   R                  U5      $ r   )ru   mark_previousr   s     r   r,  CTkTextbox.mark_previous  s    }}**511r   c                 8    U R                   R                  X5      $ r   )ru   mark_set)r   r"  r   s      r   r/  CTkTextbox.mark_set  s    }}%%d22r   c                 8    U R                   R                  U5      $ r   )ru   
mark_unset)r   r"  s     r   r2  CTkTextbox.mark_unset  s    }}''--r   c                 8    U R                   R                  X5      $ r   )ru   scan_dragtor   xys      r   r5  CTkTextbox.scan_dragto  s    }}((..r   c                 8    U R                   R                  X5      $ r   )ru   	scan_markr6  s      r   r;  CTkTextbox.scan_mark  s    }}&&q,,r   c                 B    U R                   R                  " X/UQ70 UD6$ r   )ru   search)r   patternr   r   r   s        r   r>  CTkTextbox.search  s!    }}##GDTDVDDr   c                 8    U R                   R                  U5      $ r   )ru   seer   s     r   rB  CTkTextbox.see  s    }}  ''r   c                 :    U R                   R                  XU5      $ r   )ru   tag_addr   tagNamer   r   s       r   rE  CTkTextbox.tag_add  s    }}$$Wf==r   c                 :    U R                   R                  XX45      $ r   )ru   tag_bind)r   rG  r   funcr   s        r   rJ  CTkTextbox.tag_bind  s    }}%%gCCr   c                 8    U R                   R                  X5      $ r   )ru   tag_cget)r   rG  r  s      r   rN  CTkTextbox.tag_cget  s    }}%%g66r   c                 ^    SU;   a  [        S5      eU R                  R                  " U40 UD6$ )Nr6   zC'font' option forbidden, because would be incompatible with scaling)r  ru   
tag_config)r   rG  r   s      r   rQ  CTkTextbox.tag_config  s0    V !fgg}}'':6::r   c                 4    U R                   R                  " U6 $ r   )ru   
tag_deleter   rG  s     r   rT  CTkTextbox.tag_delete  s    }}''11r   c                 8    U R                   R                  X5      $ r   )ru   r   )r   rG  	belowThiss      r   r   CTkTextbox.tag_lower      }}&&w::r   c                 8    U R                   R                  U5      $ r   )ru   	tag_namesr   s     r   r\  CTkTextbox.tag_names  r   r   c                 :    U R                   R                  XU5      $ r   )ru   tag_nextrangerF  s       r   r_  CTkTextbox.tag_nextrange      }}**7FCCr   c                 :    U R                   R                  XU5      $ r   )ru   tag_prevrangerF  s       r   rc  CTkTextbox.tag_prevrange  ra  r   c                 8    U R                   R                  X5      $ r   )ru   	tag_raise)r   rG  	aboveThiss      r   rf  CTkTextbox.tag_raise  rZ  r   c                 8    U R                   R                  U5      $ r   )ru   
tag_rangesrU  s     r   rj  CTkTextbox.tag_ranges  s    }}''00r   c                 :    U R                   R                  XU5      $ r   )ru   
tag_removerF  s       r   rm  CTkTextbox.tag_remove  s    }}''@@r   c                 :    U R                   R                  XU5      $ r   )ru   
tag_unbind)r   rG  r   r   s       r   rp  CTkTextbox.tag_unbind  s    }}''6BBr   c                     [        S5      eNzMembedding widgets is forbidden, would probably cause all kinds of problems ;)r  r  s      r   window_cgetCTkTextbox.window_cget      lmmr   c                     [        S5      ers  r  r  s      r   window_configureCTkTextbox.window_configure  rv  r   c                     [        S5      ers  r  r  s      r   window_createCTkTextbox.window_create  rv  r   c                     [        S5      ers  r  r   s    r   window_namesCTkTextbox.window_names  rv  r   c                 4    U R                   R                  " U6 $ r   )ru   r|   r   r   s     r   r|   CTkTextbox.xview      }}""D))r   c                 8    U R                   R                  U5      $ r   )ru   xview_movetor   fractions     r   r  CTkTextbox.xview_moveto      }}))(33r   c                 8    U R                   R                  X5      $ r   )ru   xview_scrollr   nwhats      r   r  CTkTextbox.xview_scroll      }}))!22r   c                 4    U R                   R                  " U6 $ r   )ru   ry   r  s     r   ry   CTkTextbox.yview  r  r   c                 8    U R                   R                  U5      $ r   )ru   yview_movetor  s     r   r  CTkTextbox.yview_moveto  r  r   c                 8    U R                   R                  X5      $ r   )ru   yview_scrollr  s      r   r  CTkTextbox.yview_scroll  r  r   )r\   rb   ra   rk   r`   rp   r[   rd   rw   rx   r^   r_   rv   r]   ru   r}   rz   )r   r   NNr   r   NNNNNNT)FFF)NF)NN)F)NNTr   )S__name__
__module____qualname____firstlineno____doc__r   rt   anyintr   r   strr   tupler   boolrX   r~   r   r   r   rg   r   r   rm   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r  r   r!  r&  r)  r,  r/  r2  r5  r;  r>  rB  rE  rJ  rN  rQ  rT  r   r\  r_  rc  rf  rj  rm  rp  rt  rx  r{  r~  r|   r  r  ry   r  r  __static_attributes____classcell__)r   s   @r   r   r      s   	 !!E ""04/3'(9FCGGK9=QUX\9=-1!YYY Y !)	Y
  (}Y "%Y !eCHo!56Y $E#uS#X*>$?@Y  (c5c?.B(CDY &eCHo6Y *2%U38_8L2M)NY 19sE#s(O?S9T0UY  eWn 56Y  '+!Y Yv0:rT r2*S)/V5Cn03 03 0*8S 8( 8cSWiHX 8-s -3 -%)+71)84.0)*.)jjjj&9*.23./-E(>D7;
2;.DD;1ACnnnn*43*43 3r   r   )rq   typingr   r   r   r   r   core_renderingr	   ctk_scrollbarr
   rY   r   r   core_widget_classesr   r6   r   utilityr   r   r   r   r   r   <module>r     s1     8 8 % '  & -  =g3 g3r   