Your IP : 3.148.107.149


Current Path : /lib64/python2.7/Demo/tkinter/guido/
Upload File :
Current File : //lib64/python2.7/Demo/tkinter/guido/svkill.pyo

�
V
�Qc@s�ddlTedkr"ed�nddlmZddlmZddlZddlZejdZ	de
fd	��YZd
efd��YZ
edkr�e
dd
d�Zej�jd�ej�jdd�ej�ndS(i����(t*g@s/This version of svkill requires Tk 4.0 or later(tsplitfields(tsplitNtLOGNAMEt	BarButtoncBseZdd�ZRS(cKsOttj||f|�|jdt�t|dd�|_|j|d<dS(Ntsidetnametmenu(tapplyt
Menubuttont__init__tpacktLEFTtMenuR(tselftmastertcnf((s1/usr/lib64/python2.7/Demo/tkinter/guido/svkill.pyR
sN(t__name__t
__module__tNoneR
(((s1/usr/lib64/python2.7/Demo/tkinter/guido/svkill.pyRstKillcBs|eZdddd ded	efgZd!d"d#d$d%d&gZd�Zd�Zd�Zd�Zd�Z	d'd�ZRS((tDefaultts
Every (-e)s-esNon process group leaders (-d)s-dsNon leaders with tty (-a)s-asFor this user (-u %s)s-u %sis	Long (-l)s-lis	Full (-f)s-fisFull Long (-f -l)s-l -fsSession and group ID (-j)s-jsScheduler properties (-c)s-ccCsI|j|jj�d}t|�|}tjd|�|j�dS(Niskill -9 (tformat_listtformattgetRtostsystemt	do_update(Rtselectedtctpid((s1/usr/lib64/python2.7/Demo/tkinter/guido/svkill.pytkill)scCs�|j|jj�d}|j|jj�d}tjd||f�}t|d�}|jj	|dd�|d=|j
jjdt
��x$|D]}|j
jjd|�q�WdS(Nisps %s %ss
is
          (RRRt	view_listtviewtcommandst	getoutputRtheadertsettframetlisttdeletetAtEndtinsert(RRR"tsR(tline((s1/usr/lib64/python2.7/Demo/tkinter/guido/svkill.pyR.s
cCs6|jjdd�|jj|jj|j��dS(Nt0tend(twidgettselect_cleart
select_settnearestty(Rte((s1/usr/lib64/python2.7/Demo/tkinter/guido/svkill.pyt	do_motion8scCs|jjdd�dS(NR.R/(R0R1(RR5((s1/usr/lib64/python2.7/Demo/tkinter/guido/svkill.pytdo_leave;scCs,|j|jj|jj|j���dS(N(R R0RR3R4(RR5((s1/usr/lib64/python2.7/Demo/tkinter/guido/svkill.pytdo_1=scKs�ttj||f|�|jdddt�t|dddtdd�|_|jjdt�t|jd	d
�|j_	|jj	j
jddd
|j�t|jd	d�|j_
t|jd	d�|j_t|�|_
|j
jd�t|�|_|jjd�xatt|j��D]J}|j|\}}|jj
j
jd|d
|jd|j
d|�q*Wxdtt|j��D]M}|j|\}}}|jjj
jd|d
|jd|jd|�q�W|jj|jj	|jj
|jj�t|dtdd�|_|jjdddt�t|�|_t|jdtdtddddd|j�|j_|jjjdtdt �t!|jdt"�|j_#t$|jdt%ddddddddddd t&d!|jj#j�|j_'|jj'j(|jj#d
<|jj#jd"t)dt�|jj'jdddt�t*|d	d#d
|j�|_+|j+jdt�|jj'j,d$|j-�|jj'j,d%|j.�|jj'j,d&|j/�|j�dS('NtexpanditfillRtbartrelieftborderwidthittexttFiletlabeltQuittcommandtViewtFormatitvariabletvaluetanchortfonts*-Courier-Bold-R-Normal-*-120-*ttextvariabletorients!*-Courier-Medium-R-Normal-*-120-*twidthi(theighti
tselectbackgrounds#eed5b7tselectborderwidtht
selectmodetyscrollRtUpdates<Motion>s<Leave>s<1>(0RtFrameR
RtBOTHtRAISEDR;tXRtfileRtadd_commandtquitR"RtIntVarR&trangetlenR!tadd_radiobuttonRRt
tk_menuBarR't	StringVarR%tLabeltFLATtNWR@tYtWt	ScrollbartVERTICALtvscrolltListboxtSUNKENtBROWSER(tyviewtRIGHTtButtontupdatetbindR6R7R8(RRRtnumR@toptiontcol((s1/usr/lib64/python2.7/Demo/tkinter/guido/svkill.pyR
?sv					
	(RR(s
Every (-e)s-e(sNon process group leaders (-d)s-d(sNon leaders with tty (-a)s-a(RRi(s	Long (-l)s-li(s	Full (-f)s-fi(sFull Long (-f -l)s-l -fi(sSession and group ID (-j)s-ji(sScheduler properties (-c)s-ciN(RRtuserR!RR RR6R7R8RR
(((s1/usr/lib64/python2.7/Demo/tkinter/guido/svkill.pyRs"			
			t__main__R=isTkinter Process Killer (SYSV)i(tTkintert	TkVersiontImportErrortstringRRR#RtenvironRrR	RRRRRRR twinfo_toplevelttitletminsizetmainloop(((s1/usr/lib64/python2.7/Demo/tkinter/guido/svkill.pyt<module>s

d