Hacked By AnonymousFox

Current Path : /proc/thread-self/root/proc/thread-self/root/lib64/python2.7/lib-tk/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/lib64/python2.7/lib-tk/ScrolledText.pyo

�
zfc@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(cKsKt|�|_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	."	


Hacked By AnonymousFox1.0, Coded By AnonymousFox