AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/twisted/internet/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/twisted/internet/__pycache__/tksupport.cpython-310.pyc
o

�b��@s\dZddlmZddlmZddlmZda	ddd�Z
dd�Zd	d
�Zddd
�Z
ddgZdS)a�
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 macOS 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>}
�N)�task�
cCs&t�t�|j�at�|dd�dS)z/Install a Tkinter.Tk() object into the reactor.g@�@FN)�installTkFunctionsr�LoopingCall�update�_task�start)�widget�ms�reactor�r�</usr/lib/python3/dist-packages/twisted/internet/tksupport.py�install(srcCst��dadS)zdRemove the root Tk widget from the reactor.

    Call this before destroy()ing the root widget.
    N)r�stoprrrr
�	uninstall0srcCsddl}t|jj_dS)Nr)�twisted.python.util�getPassword�python�util)�twistedrrr
r:sr�cCsD	tjd|dd�}|s
|Stjdddd�}||kr|St�dd�q)N�zPassword Dialog�*)�showzConfirm PasswordzPassword Mismatchz&Passwords did not match, starting over)�tkSimpleDialog�	askstring�tkMessageBox�	showerror)�prompt�confirm�try1�try2rrr
r@s��r)rN)rr)�__doc__�tkinter.messagebox�
messageboxr�tkinter.simpledialog�simpledialogr�twisted.internetrrrrrr�__all__rrrr
�<module>s




Anon7 - 2022
AnonSec Team