? GR0V Shell

GR0V shell

Linux in-mum-web921.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64

Path : /lib64/python2.7/idlelib/
File Upload :
Current File : //lib64/python2.7/idlelib/textView.pyo

ó
{fc@sŸdZddlTddlZdefd„ƒYZed„Zded„Ze	dkr›ddl
Z
e
jd	d
ddeƒdd
l
mZeeƒndS(sSimple text browser for IDLE

iÿÿÿÿ(t*Nt
TextViewercBs2eZdZeed„Zd„Zdd„ZRS(s*A simple text viewer dialog for IDLE

    cCs5tj||ƒ|jddƒ|jddd|jƒd|jƒ|sQdndfƒd|_d	|_|jƒ|j	|ƒ|j
d
|jƒ||_|j
jƒ|jd|jƒ|jd|jƒ|j
jd
|ƒ|j
jdtƒ||_|jr1|j|ƒ|jƒ|jƒndS(sHShow the given text in a scrollable window with a 'close' button

        If modal option set to False, user can interact with other windows,
        otherwise they will be unable to interact with other windows until
        the textview window is closed.

        _htest - bool; change box location when running htest.
        tborderwidthis=%dx%d+%d+%diîiôi
ids#ffffffs#000000tWM_DELETE_WINDOWs<Return>s<Escape>gtstateN(tToplevelt__init__t	configuretgeometrytwinfo_rootxtwinfo_rootytbgtfgt
CreateWidgetsttitletprotocoltOktparentttextViewt	focus_settbindtinserttconfigtDISABLEDtis_modalt	transienttgrab_settwait_window(tselfRRttexttmodalt_htest((s(/usr/lib64/python2.7/idlelib/textView.pyRs*	
!		

	
		

c
CsCt|dtddƒ}t|ƒ}t|ddd|jdtƒ|_t|dtdtd	d
ƒ|_t	|dt
d	d
d|jd
|jƒ|_
|jjd|j
jƒ|j
jd|jjƒ|jjƒ|jjdtdtƒ|j
jdtdtdtƒ|jdtdtƒ|jdtdtdtƒdS(Ntrelieftheighti¼RtClosetcommandt	takefocustorientthighlightthicknessitwrapRRtyscrollcommandtsidetfilltexpand(tFrametSUNKENtButtonRtFALSEtbuttonOkt	ScrollbartVERTICALt
scrollbarViewtTexttWORDRRRRtyviewtsettpacktRIGHTtYtLEFTtTRUEtBOTHtBOTTOMtXtTOP(Rt	frameTexttframeButtons((s(/usr/lib64/python2.7/idlelib/textView.pyR
0s
cCs$|jr|jƒn|jƒdS(N(Rtgrab_releasetdestroy(Rtevent((s(/usr/lib64/python2.7/idlelib/textView.pyRAs	
N(	t__name__t
__module__t__doc__tTruetFalseRR
tNoneR(((s(/usr/lib64/python2.7/idlelib/textView.pyRs$	cCst||||ƒS(N(R(RRRR((s(/usr/lib64/python2.7/idlelib/textView.pyt	view_textGscCs¼y:|r*ddl}|j|dƒ}nt|dƒ}Wnbtk
rmtjdddd|d|ƒnKtk
rž}tdddt|ƒd|ƒnXt|||jƒ|ƒSdS(	NiÿÿÿÿtrRsFile Load ErrortmessagesUnable to load file %r .RsUnicode Decode Error(	tcodecstopentIOErrorttkMessageBoxt	showerrortUnicodeDecodeErrortstrRLtread(RRtfilenametencodingRROttextFileterr((s(/usr/lib64/python2.7/idlelib/textView.pyt	view_fileJs


t__main__sidlelib.idle_test.test_textviewt	verbosityitexit(trun(RHtTkinterRRRRRIRLRKR[RFtunittesttmainRJtidlelib.idle_test.htestR_(((s(/usr/lib64/python2.7/idlelib/textView.pyt<module>s
?

T1KUS90T
  root-grov@89.117.188.241:~$