Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /lib64/python2.7/lib-tk/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/lib-tk/ScrolledText.pyo
�
T��dc@s�dZdgZddlmZmZmZmZmZmZddl	m
Z
mZmZm
Z
defd��YZd�Zedkr�e�ndS(	sA ScrolledText widget feels like a text widget but also has a
vertical scroll bar on its right.  (Later, options may be added to
add a horizontal bar as well, to make the bars disappear
automatically when not needed, to move them to the other side of the
window, etc.)

Configuration options are passed to the Text widget.
A Frame widget is inserted between the master and the text, to hold
the Scrollbar widget.
Most methods calls are inherited from the Text widget; Pack, Grid and
Place methods are redirected to the Frame widget however.
tScrolledTexti����(tFrametTextt	ScrollbartPacktGridtPlace(tRIGHTtLEFTtYtBOTHcBseZdd�Zd�ZRS(c	KsKt|�|_t|j�|_|jjdtdt�|ji|jjd6�t	j
||j|�|jdtdtdt
�|j|jd<tt	�j�}tt�j�tt�j�tt�j�}t|�j|�}xU|D]M}|ddkr�|dkr�|d	kr�t||t|j|��q�q�WdS(
Ntsidetfilltyscrollcommandtexpandtcommandit_tconfigt	configure(RtframeRtvbartpackRR	tupdatetsetRt__init__RR
tTruetyviewtvarstkeysRRRt
differencetsetattrtgetattr(tselftmastertkwt
text_methstmethodstm((s+/usr/lib64/python2.7/lib-tk/ScrolledText.pyRs2
(cCs
t|j�S(N(tstrR(R ((s+/usr/lib64/python2.7/lib-tk/ScrolledText.pyt__str__(sN(t__name__t
__module__tNoneRR'(((s+/usr/lib64/python2.7/lib-tk/ScrolledText.pyRscCsxddl}ddlm}tdddd�}|j||j�|jdtdtd	t	�|j
�|j�dS(
Ni����(tENDtbgtwhitetheighti
RRR(t__main__tTkconstantsR+Rtinsertt__doc__RR
RRt	focus_settmainloop(R/R+tstext((s+/usr/lib64/python2.7/lib-tk/ScrolledText.pytexample,s
R/N(R2t__all__tTkinterRRRRRRR0RRR	R
RR6R((((s+/usr/lib64/python2.7/lib-tk/ScrolledText.pyt<module>s	."	


ZeroDay Forums Mini