config root man

Current Path : /usr/local/lib/python2.5/idlelib/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/idlelib/keybindingDialog.pyc

³ò
h”Rc
@s—dZddkTddkZddkZddkZdefd„ƒYZedjo<eƒZ	d„Z
ee	dd	d
e
ƒiƒe	i
ƒndS(s6
Dialog for building Tkinter accelerator key bindings
iÿÿÿÿ(t*Nt
GetKeysDialogcBsƒeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
d
„Z
d
d„Zd„ZRS(c	Cs¤ti||ƒ|iddƒ|idtdtƒ|i|ƒ|i|ƒ|iƒ|id|i	ƒ||_
||_||_d|_
t|ƒ|_|iidƒ|iƒg|_x:|iD]/}t|ƒ}|idƒ|ii|ƒqÍWt|_|iƒ|iƒ|iƒ|iƒ|id|iƒ|iƒd|iƒd|iƒ|i ƒd|i!ƒdfƒ|i"ƒ|i#ƒd	S(
sõ
        action - string, the name of the virtual event these keys will be
                 mapped to
        currentKeys - list, a list of all key sequence lists currently mapped
                 to virtual events, for overlap checking
        tborderwidthitheighttwidthtWM_DELETE_WINDOWts+%d+%diN($tToplevelt__init__t	configuret	resizabletFALSEttitlet	transienttgrab_settprotocoltCanceltparenttactiontcurrentKeySequencestresultt	StringVart	keyStringtsettSetModifiersForPlatformt
modifier_varst	modifierstappendtFalsetadvancedt
CreateWidgetstLoadFinalKeyListtwithdrawtupdate_idletaskstgeometrytwinfo_rootxtwinfo_widthtwinfo_reqwidthtwinfo_rootytwinfo_heighttwinfo_reqheightt	deiconifytwait_window(tselfRRRRtmodifiertvariable((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyR	s@


				
	

	



	
c
CsZt|dddtƒ}|idtdtdtƒt|ƒ}|idtdtƒt|ddd	d
d|i	ƒ|_
|i
idd
dd
ddddƒt|ddd	d
d|iƒ|_
|i
idd
ddddddƒt|ƒ|_t|ƒ|_t|ƒ|_t|ƒ|_|iidd
dd
dtddddƒ|iidd
dd
dtddddƒ|iiƒ|iidddd
dtddƒ|iidddd
dtddƒ|iiƒt|d|iddƒ|_|iidddd
dtddddƒt|idd|idƒ}|idtƒt|idtd|idtddƒ}|idddddtƒh|_d
}x¡t|i|i ƒD]Š\}}|i!i"||ƒ}t#|id|i$d|d|d|d d!ƒ}	|	idd
d|dddtƒ|	|i|<|d7}qÂWt|idtdd"d#d$d%d&d'ƒ}
|
idddd
d(d)dddtƒt%|id	d*d+d,d-t&ƒ|_'|i'i(d.|i)ƒ|i'idd
dd)d/d)dt*ƒt+|id0t,d|i'i-ƒ}|i'i.d1|i/ƒ|idd
ddd/d)dt*ƒt|idd2d|i0ƒ|_1|i1idddd
d(d)ƒt|idtdd3|id4d5ƒ}|idtƒt2|id|iƒ|_3|i3idtƒt|idtdd6d7d8d9d:d;d<ƒ}
|
idd
dd
dtƒdS(=NRitrelieftsidetexpandtfillttexttOKRitcommandtrowitcolumntpadxitpadyRitstickysAdvanced Key Binding Entry >>tsticksNew keys for  's' :tanchortjustifyttextvariabletipadxtipadyR-tonvaluetoffvalueRs!Select the desired modifier keys
s"above, and the final key from the
slist on the right.

s"Use upper case Symbols when using
s&the Shift modifier.  (Letters will be
sconverted automatically.)t
columnspaniiRi
t
selectmodes<ButtonRelease-1>trowspantorienttyscrollcommands
Clear KeyssEnter new binding(s) for  's' :
s2(These bindings will not be checked for validity!)s4Key bindings are specified using Tkinter keysyms as
sŸin these samples: <Control-f>, <Shift-F2>, <F12>,
<Control-space>, <Meta-less>, <Control-Alt-Shift-X>.
Upper case is used when the Shift modifier is present!

s8'Emacs style' multi-keystroke bindings are specified as
s5follows: <Control-x><Control-y>, where the first key
s!is the 'do-nothing' keybinding.

s4Multiple separate bindings for one action should be
s,separated by a space, eg., <Alt-v> <Meta-v>.(4tFrametSUNKENtpacktTOPtTRUEtBOTHtBOTTOMtXtButtonR3tbuttonOKtgridRtbuttonCanceltframeKeySeqBasictframeKeySeqAdvancedtframeControlsBasictframeHelpAdvancedtNSEWtlifttToggleLeveltbuttonLeveltEWtLabelRtWtLEFTRtGROOVEtmodifier_checkbuttonstzipRRtmodifier_labeltgettCheckbuttontBuildKeyStringtListboxtSINGLEt
listKeysFinaltbindtFinalKeySelectedtNSt	ScrollbartVERTICALtyviewtconfigRtClearKeySeqtbuttonCleartEntrytentryKeysAdvanced(R+t	frameMaintframeButtonstlabelTitleBasictlabelKeysBasicR6R,R-tlabeltcheckt
labelFnAdvicetscrollKeysFinaltlabelTitleAdvancedtlabelHelpAdvanced((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyR0s„%%++
%%
+		"

(%"

cCstddk}|idjo0|ididƒodddd	g|_ndd
dg|_hdd<|_dS(sUDetermine list of names of key modifiers for this platform.

        The names are used to build Tk bindings -- it doesn't matter if the
        keyboard has these keys, it matters if Tk understands them. The
        order is also important: key binding equality depends on it, so
        config-keys.def must use the same ordering.
        iÿÿÿÿNtdarwinis.apptShifttControltOptiontCommandtAlttCtrl(tsystplatformtargvtcountRRb(R+R…((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyRs
'cCs²|iidƒd djoQ|iƒ|iiddƒ|iiƒ|iiƒ|iiƒt	|_
nA|iƒ|iiddƒ|iiƒ|iiƒt
|_
dS(NR2itAdvanceds<< Basic Key Binding EntrysAdvanced Key Binding Entry >>(RZtcgetRpRoRTRXRVRst	focus_settTrueRRSRUR(R+((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyRYŽs







cCs|iƒdS(N(Re(R+tevent((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyRjscCst|iƒ}}|iitƒ}|o#|i||ƒ}|i|ƒn|iidti	|dƒdƒdS(Nt<t-t>(
tGetModifiersRhRctANCHORtTranslateKeyRRRtstringtjoin(R+tkeyListRtfinalKey((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyRe scCs7g}|iD]}||iƒq~}td|ƒS(N(RRctfiltertNone(R+t_[1]R-tmodList((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyR‘¨s*cCs[|iidtƒ|iitdƒx|iD]}|idƒq0W|iidƒdS(Nis0.0R(Rhtselect_cleartENDRntMOVETORRR(R+R-((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyRp¬s
cCsd|_ttitiƒ|_tdƒ|_d|_d|_d|_	|i|i|i|i|i|i	}|i
it|ŒdS(NtF1tF2tF4tF5tF6tF7tF8tF9tF10tF11tF12s~!@#%^&*()_-+={}[]|;:,.<>/?tTabtSpacetReturnt	BackSpacetDeletetInserttHometEndsPage Ups	Page Downs
Left ArrowsRight ArrowsUp Arrows
Down Arrow(RŸR R R¡R¢R£R¤R¥R¦R§R¨R©(RªR«R¬(R­R®R¯(R°R±sPage Ups	Page Downs
Left ArrowsRight ArrowsUp Arrows
Down Arrow(
tfunctionKeysttupleR”tascii_lowercasetdigitstalphanumKeystpunctuationKeystwhitespaceKeysteditKeystmoveKeysRhtinsertR(R+tkeys((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyR³s				,cCshdd<dd<dd<dd<d	d
<dd<d
d<dd<dd<dd<dd<dd<dd<dd<dd<dd <d!d"<d#d$<d%d&<d'd(<d)d*<d+d,<d-d.<d/d0<d1d2<d3d4<d5d6<d7d8<d9d:<d;d<<d=d><d?d@<dAdB<dCdD<dEdE<}||iƒjo||}ndF|jo |tijo|iƒ}ndG|}|S(Hs2Translate from keycap symbol to the Tkinter keysymtspaceR«t
asciitildet~texclamt!tatt@t
numbersignt#tpercentt%tasciicircumt^t	ampersandt&tasteriskRt	parenleftt(t
parenrightt)t
underscoret_tminusRtplust+tequalt=t	braceleftt{t
bracerightt}tbracketleftt[tbracketrightt]tbart|t	semicolont;tcolont:tcommat,tperiodt.tlessRŽtgreaterRtslasht/tquestiont?tPriorsPage UptNexts	Page DowntLefts
Left ArrowtRightsRight ArrowtUpsUp ArrowtDowns
Down ArrowRªRsKey-(R¼R”R´tupper(R+tkeyRt
translateDict((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyR“Âs 
$$$$$-$
cCs;|ip
|iƒo |iiƒ|_|iƒndS(N(RtKeysOKRRcRtdestroy(R+R((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyR3ÕscCsd|_|iƒdS(NR(RRú(R+R((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyRÚs	cCsv|iiƒ}|iƒ|iitƒ}|iƒ}|iƒ}t}d}|p ti	d|d|ddƒný|i
dƒp ti	d|d|ddƒnÍ|o7||i|ijo ti	d|d|ddƒnŽ|d	gjoA||i|idjo&d}ti	d|d|d|ƒn=||i
jo&d
}ti	d|d|d|ƒnt}|S(s©Validity check on user's 'basic' keybinding selection.

        Doesn't check the string produced by the advanced dialog because
        'modifiers' isn't set.

        sKey Sequence ErrorRRtmessagesNo keys specified.RsMissing the final KeysNo modifier key(s) specified.RRªR«sBThe shift modifier by itself may not be used with this key symbol.s'This key combination is already in use.(sTabsSpace(RRctstripRhR’R‘tsplitRttkMessageBoxt	showerrortendswithR²RºRRŒ(R+R¼R—RtkeySequencetkeysOKRtmsg((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyRùÞs6
  N(t__name__t
__module__RRRRYRjReR‘RpRR“R™R3RRù(((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pyRs	'	O								t__main__cCs'd}ttddgƒ}|iGHdS(NRsGet Keyss
find-again(RtrootR(tkeySeqtdlg((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pytrunsR2tDialogR4(t__doc__tTkinterRþR”tosRRRtTkRR
RORItmainloop(((s4/usr/local/lib/python2.5/idlelib/keybindingDialog.pys<module>s
ü
		

Man Man