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/macosxSupport.pyc

³ò
h”Rc@sOdZddkZddkZd„Zd„Zd„Zd„Zd„ZdS(s
A number of function that enhance IDLE on MacOSX when it used as a normal
GUI application (as opposed to an X11 application).
iÿÿÿÿNcCs!tidjodtidjS(s: Returns True iff running from the IDLE.app bundle on OSX tdarwinsIDLE.appi(tsystplatformtargv(((s1/usr/local/lib/python2.5/idlelib/macosxSupport.pytrunningAsOSXAppscs#‡fd†}|id|ƒdS(s£
    This ensures that the application will respont to open AppleEvents, which
    makes is feaseable to use IDLE as the default application for python files.
    cs"x|D]}ˆi|ƒqWdS(N(topen(targstfn(tflist(s1/usr/local/lib/python2.5/idlelib/macosxSupport.pyt
doOpenFiless::tk::mac::OpenDocumentN(t
createcommand(trootRR	((Rs1/usr/local/lib/python2.5/idlelib/macosxSupport.pytaddOpenEventSupportscCs4y|iiddƒWntij
onXdS(Ntconsolethide(ttktcalltTkintertTclError(R((s1/usr/local/lib/python2.5/idlelib/macosxSupport.pyt
hideTkConsolescsqddkl}l}l}ddkl}l}ddk}ddk‰ddkl	}|ˆƒ}ˆi
d|ƒh}	||ddƒ|	d<}
|id	d
d|
ddƒ|
‡fd
†}ˆi|ƒ||ddƒ|	d<}
|id	dd|
ƒd‡fd†}d‡fd†}
ˆid|ƒˆid|
ƒ|oˆid|iƒnˆiidƒ}|djo-dddgf|id<ˆid|
ƒn¿x»|iD]°\}}|	i|ƒ}
|
pq¹q¹x„|D]|}|p|
iƒqé|\}}||ƒ\}}||i|ƒ}ˆ|d„}|
id	|d|d|d|ƒqéWq¹WdS(sU
    Replace the Tk root menu by something that's more appropriate for
    IDLE.
    iÿÿÿÿ(tMenutTextR(tprepstrtget_acceleratorN(tMultiCallCreatortmenutnametwindowstlabeltWindowt	underlineicsX|idƒ}|djo
d}n|djo|id|ƒnˆi|ƒdS(Ntendiÿÿÿÿi(tindextNonetdeletetadd_windows_to_menu(RR(t
WindowList(s1/usr/local/lib/python2.5/idlelib/macosxSupport.pytpostwindowsmenu>s


tappletapplicationtIDLEcs ddk}|iˆdƒdS(Niÿÿÿÿs
About IDLE(taboutDialogtAboutDialog(teventR)(R(s1/usr/local/lib/python2.5/idlelib/macosxSupport.pytabout_dialogKscs ddk}|iˆdƒdS(NiÿÿÿÿtSettings(tconfigDialogtConfigDialog(R+R.(R(s1/usr/local/lib/python2.5/idlelib/macosxSupport.pyt
config_dialogOss<<about-idle>>s<<open-config-dialog>>s<<close-all-windows>>sinfo patchlevels8.4.14s
About IDLEs::tk::mac::ShowPreferencescSs|i|ƒdS(N(tevent_generate(ttextt	eventname((s1/usr/local/lib/python2.5/idlelib/macosxSupport.pytcommandpsR4taccelerator(s
About IDLEs<<about-idle>>(RRRtEditorWindowRRtBindingsR$t	MultiCallRt	configuretadd_cascadetregister_callbackR!tbindtclose_all_callbackRtevaltmenudefsR
tgett
add_separatortdefault_keydefstadd_command(RRRRRRR7RtmenubartmenudictRR%R,R0t	tkversiontmnamet	entrylisttentryRR3RR5R4((R$Rs1/usr/local/lib/python2.5/idlelib/macosxSupport.pytoverrideRootMenu!sT


		cCs:tƒpdSnt|ƒt||ƒt||ƒdS(s7
    Perform setup for the OSX application bundle.
    N(RRRJR(RR((s1/usr/local/lib/python2.5/idlelib/macosxSupport.pytsetupAppus



(t__doc__RRRRRRJRK(((s1/usr/local/lib/python2.5/idlelib/macosxSupport.pys<module>s				T

Man Man