403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/twisted/internet/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/twisted/internet/tksupport.pyc
ó
}üëMc@sdZddlZddlZddlZddlmZddlmZda	ddd„Z
d„Zd„Zd	d
d„Z
dd
gZdS(sč
This module integrates Tkinter with twisted.internet's mainloop.

Maintainer: Itamar Shtull-Trauring

To use, do::

    | tksupport.install(rootWidget)

and then run your reactor as usual - do *not* call Tk's mainloop(),
use Twisted's regular mechanism for running the event loop.

Likewise, to stop your program you will need to stop Twisted's
event loop. For example, if you want closing your root widget to
stop Twisted::

    | root.protocol('WM_DELETE_WINDOW', reactor.stop)

When using Aqua Tcl/Tk on Mac OS X the standard Quit menu item in
your application might become unresponsive without the additional
fix::

    | root.createcommand("::tk::mac::Quit", reactor.stop)

@see: U{Tcl/TkAqua FAQ for more info<http://wiki.tcl.tk/12987>}
i˙˙˙˙N(tlog(ttaski
cCs1tƒtj|jƒatj|dtƒdS(s/Install a Tkinter.Tk() object into the reactor.g@@N(tinstallTkFunctionsRtLoopingCalltupdatet_tasktstarttFalse(twidgettmstreactor((s>/usr/lib/python2.7/dist-packages/twisted/internet/tksupport.pytinstall*scCstjƒdadS(sdRemove the root Tk widget from the reactor.

    Call this before destroy()ing the root widget.
    N(RtstoptNone(((s>/usr/lib/python2.7/dist-packages/twisted/internet/tksupport.pyt	uninstall1s
cCsddl}t|jj_dS(Ni˙˙˙˙(ttwisted.python.utiltgetPasswordtpythontutil(ttwisted((s>/usr/lib/python2.7/dist-packages/twisted/internet/tksupport.pyR;sticCsdx]tjd|ddƒ}|s%|Stjddddƒ}||krM|StjddƒqdS(NsPassword Dialogtshowt*sConfirm PasswordsPassword Mismatchs&Passwords did not match, starting over(ttkSimpleDialogt	askstringttkMessageBoxt	showerror(tprompttconfirmttry1ttry2((s>/usr/lib/python2.7/dist-packages/twisted/internet/tksupport.pyR@sRR(t__doc__tTkinterRRttwisted.pythonRttwisted.internetRR
RRRRRt__all__(((s>/usr/lib/python2.7/dist-packages/twisted/internet/tksupport.pyt<module>s$	
	

Youez - 2016 - github.com/yon3zu
LinuXploit