OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python27
/
lib64
/
python2.7
/
idlelib
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
π
..
-
10/24/2023 02:38:35 PM
rwxr-xr-x
π
AutoComplete.py
8.75 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
AutoComplete.pyc
7.99 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
AutoComplete.pyo
7.99 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
AutoCompleteWindow.py
16.91 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
AutoCompleteWindow.pyc
12.42 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
AutoCompleteWindow.pyo
12.36 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
AutoExpand.py
3.32 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
AutoExpand.pyc
3.5 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
AutoExpand.pyo
3.5 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
Bindings.py
2.91 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
Bindings.pyc
4.6 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
Bindings.pyo
4.6 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
CREDITS.txt
1.82 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
CallTipWindow.py
5.92 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
CallTipWindow.pyc
6.14 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
CallTipWindow.pyo
6.14 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
CallTips.py
7.56 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
CallTips.pyc
8.16 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
CallTips.pyo
8.16 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ChangeLog
55.07 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
ClassBrowser.py
6.83 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
ClassBrowser.pyc
9.66 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ClassBrowser.pyo
9.66 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
CodeContext.py
8.15 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
CodeContext.pyc
6.63 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
CodeContext.pyo
6.59 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ColorDelegator.py
9.53 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
ColorDelegator.pyc
8.91 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ColorDelegator.pyo
8.91 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
Debugger.py
17.81 KB
02/14/2022 01:50:30 PM
rw-r--r--
π
Debugger.pyc
17.72 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
Debugger.pyo
17.72 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
Delegator.py
665 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
Delegator.pyc
1.31 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
Delegator.pyo
1.31 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
EditorWindow.py
63.96 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
EditorWindow.pyc
57.15 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
EditorWindow.pyo
57.05 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
FileList.py
3.63 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
FileList.pyc
4.07 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
FileList.pyo
4.04 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
FormatParagraph.py
7.12 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
FormatParagraph.pyc
7.14 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
FormatParagraph.pyo
7.14 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
GrepDialog.py
5.02 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
GrepDialog.pyc
6.45 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
GrepDialog.pyo
6.45 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
HISTORY.txt
10.08 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
HyperParser.py
10.25 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
HyperParser.pyc
6.64 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
HyperParser.pyo
6.64 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
IOBinding.py
21.4 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
IOBinding.pyc
18.62 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
IOBinding.pyo
18.62 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
Icons
-
10/24/2023 01:54:57 PM
rwxr-xr-x
π
IdleHistory.py
3.96 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
IdleHistory.pyc
4.05 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
IdleHistory.pyo
4.05 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
MultiCall.py
17.29 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
MultiCall.pyc
16.4 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
MultiCall.pyo
16.33 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
MultiStatusBar.py
1.32 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
MultiStatusBar.pyc
2.3 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
MultiStatusBar.pyo
2.3 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
NEWS.txt
46.14 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ObjectBrowser.py
4.27 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ObjectBrowser.pyc
7.26 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ObjectBrowser.pyo
7.26 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
OutputWindow.py
4.47 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
OutputWindow.pyc
5.3 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
OutputWindow.pyo
5.3 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ParenMatch.py
6.56 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ParenMatch.pyc
7.18 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ParenMatch.pyo
7.18 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
PathBrowser.py
2.94 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
PathBrowser.pyc
4.57 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
PathBrowser.pyo
4.57 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
Percolator.py
3.15 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
Percolator.pyc
4.69 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
Percolator.pyo
4.51 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
PyParse.py
19.05 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
PyParse.pyc
9.99 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
PyParse.pyo
9.56 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
PyShell.py
57.48 KB
02/14/2022 01:50:31 PM
rwxr-xr-x
π
PyShell.pyc
53 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
PyShell.pyo
52.9 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
README.txt
7.71 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
RemoteDebugger.py
11.36 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
RemoteDebugger.pyc
16.73 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
RemoteDebugger.pyo
16.58 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
RemoteObjectBrowser.py
942 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
RemoteObjectBrowser.pyc
2.23 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
RemoteObjectBrowser.pyo
2.23 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ReplaceDialog.py
6.48 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ReplaceDialog.pyc
7.83 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ReplaceDialog.pyo
7.83 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
RstripExtension.py
1.03 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
RstripExtension.pyc
1.63 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
RstripExtension.pyo
1.63 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ScriptBinding.py
8.26 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ScriptBinding.pyc
8.17 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ScriptBinding.pyo
8.17 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ScrolledList.py
4.27 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ScrolledList.pyc
6.61 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ScrolledList.pyo
6.61 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
SearchDialog.py
2.57 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
SearchDialog.pyc
4.04 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
SearchDialog.pyo
4.04 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
SearchDialogBase.py
6.93 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
SearchDialogBase.pyc
8.43 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
SearchDialogBase.pyo
8.43 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
SearchEngine.py
7.29 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
SearchEngine.pyc
8.37 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
SearchEngine.pyo
8.37 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
StackViewer.py
4.33 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
StackViewer.pyc
6.52 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
StackViewer.pyo
6.52 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
TODO.txt
8.28 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ToolTip.py
3.1 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ToolTip.pyc
4.78 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ToolTip.pyo
4.78 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
TreeWidget.py
14.68 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
TreeWidget.pyc
17.95 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
TreeWidget.pyo
17.95 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
UndoDelegator.py
10.53 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
UndoDelegator.pyc
13.88 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
UndoDelegator.pyo
13.88 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
WidgetRedirector.py
6.74 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
WidgetRedirector.pyc
7.76 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
WidgetRedirector.pyo
7.76 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
WindowList.py
2.42 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
WindowList.pyc
3.74 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
WindowList.pyo
3.74 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ZoomHeight.py
1.27 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ZoomHeight.pyc
1.67 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
ZoomHeight.pyo
1.67 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
__init__.py
288 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
__init__.pyc
444 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
__init__.pyo
444 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
aboutDialog.py
6.85 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
aboutDialog.pyc
6.85 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
aboutDialog.pyo
6.85 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
config-extensions.def
2.9 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
config-highlight.def
2.46 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
config-keys.def
7.59 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
config-main.def
2.5 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configDialog.py
64.41 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configDialog.pyc
53.16 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configDialog.pyo
53.16 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configHandler.py
31.72 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configHandler.pyc
29.28 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configHandler.pyo
29.28 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configHelpSourceEdit.py
6.53 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configHelpSourceEdit.pyc
6.55 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configHelpSourceEdit.pyo
6.55 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configSectionNameDialog.py
3.95 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configSectionNameDialog.pyc
4.4 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
configSectionNameDialog.pyo
4.4 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
dynOptionMenuWidget.py
1.94 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
dynOptionMenuWidget.pyc
2.8 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
dynOptionMenuWidget.pyo
2.8 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
extend.txt
3.56 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
help.html
41.42 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
help.py
10.78 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
help.pyc
12.25 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
help.pyo
12.25 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
help.txt
11.86 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
idle.py
453 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
idle.pyc
423 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
idle.pyo
423 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
idle.pyw
563 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
idle_test
-
10/24/2023 01:54:57 PM
rwxr-xr-x
π
idlever.py
415 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
idlever.pyc
591 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
idlever.pyo
591 bytes
02/14/2022 01:50:31 PM
rw-r--r--
π
keybindingDialog.py
12.18 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
keybindingDialog.pyc
12.08 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
keybindingDialog.pyo
12.08 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
macosxSupport.py
8.24 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
macosxSupport.pyc
8.38 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
macosxSupport.pyo
8.25 KB
02/14/2022 01:50:32 PM
rw-r--r--
π
rpc.py
19.68 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
rpc.pyc
21.97 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
rpc.pyo
21.86 KB
02/14/2022 01:50:32 PM
rw-r--r--
π
run.py
12.61 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
run.pyc
13.45 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
run.pyo
13.39 KB
02/14/2022 01:50:32 PM
rw-r--r--
π
tabbedpages.py
18.01 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
tabbedpages.pyc
18.63 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
tabbedpages.pyo
18.63 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
textView.py
3.44 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
textView.pyc
4.02 KB
02/14/2022 01:50:31 PM
rw-r--r--
π
textView.pyo
4.02 KB
02/14/2022 01:50:31 PM
rw-r--r--
Editing: WidgetRedirector.pyo
Close
οΏ½ ^ bc @ sοΏ½ d d l m Z d d l m Z d d d οΏ½ οΏ½ YZ d d d οΏ½ οΏ½ YZ d οΏ½ Z e d k rοΏ½ d d l Z e j d d d d e οΏ½d d l m Z e e οΏ½ n d S( iοΏ½οΏ½οΏ½οΏ½( t print_function( t TclErrort WidgetRedirectorc B sD e Z d Z d οΏ½ Z d οΏ½ Z d οΏ½ Z d οΏ½ Z d οΏ½ Z d οΏ½ Z RS( sοΏ½ Support for redirecting arbitrary widget subcommands. Some Tk operations don't normally pass through tkinter. For example, if a character is inserted into a Text widget by pressing a key, a default Tk binding to the widget's 'insert' operation is activated, and the Tk library processes the insert without calling back into tkinter. Although a binding to <Key> could be made via tkinter, what we really want to do is to hook the Tk 'insert' operation itself. For one thing, we want a text.insert call in idle code to have the same effect as a key press. When a widget is instantiated, a Tcl command is created whose name is the same as the pathname widget._w. This command is used to invoke the various widget operations, e.g. insert (for a Text widget). We are going to hook this command and provide a facility ('register') to intercept the widget operation. We will also intercept method calls on the Tkinter class instance that represents the tk widget. In IDLE, WidgetRedirector is used in Percolator to intercept Text commands. The function being registered provides access to the top of a Percolator chain. At the bottom of the chain is a call to the original Tk widget operation. c C se i | _ | | _ | j | _ } | j } | d | _ | j d | | j οΏ½ | j | | j οΏ½ d S( sοΏ½ Initialize attributes and setup redirection. _operations: dict mapping operation name to new function. widget: the widget whose tcl command is to be intercepted. tk: widget.tk, a convenience attribute, probably not needed. orig: new name of the original tcl command. Since renaming to orig fails with TclError when orig already exists, only one WidgetDirector can exist for a given widget. t _origt renameN( t _operationst widgett tkt _wt origt callt createcommandt dispatch( t selfR R t w( ( s= /opt/alt/python27/lib64/python2.7/idlelib/WidgetRedirector.pyt __init__ s c C s d | j j j | j j f S( Ns WidgetRedirector(%s<%s>)( R t __class__t __name__R ( R ( ( s= /opt/alt/python27/lib64/python2.7/idlelib/WidgetRedirector.pyt __repr__2 s c C su x$ t | j οΏ½ D] } | j | οΏ½ q W| j } | j } | j } | j | οΏ½ | j d | j | οΏ½ | ` | ` d S( sB Unregister operations and revert redirection created by .__init__.R N( t listR t unregisterR R R t deletecommandR R ( R t operationR R R ( ( s= /opt/alt/python27/lib64/python2.7/idlelib/WidgetRedirector.pyt close6 s c C s- | | j | <t | j | | οΏ½ t | | οΏ½ S( sοΏ½ Return OriginalCommand(operation) after registering function. Registration adds an operation: function pair to ._operations. It also adds a widget function attribute that masks the Tkinter class instance method. Method masking operates independently from command dispatch. If a second function is registered for the same operation, the first function is replaced in both places. ( R t setattrR t OriginalCommand( R R t function( ( s= /opt/alt/python27/lib64/python2.7/idlelib/WidgetRedirector.pyt registerC s c C sZ | | j k rR | j | } | j | =y t | j | οΏ½ Wn t k rM n X| Sd Sd S( s~ Return the function for the operation, or None. Deleting the instance attribute unmasks the class attribute. N( R t delattrR t AttributeErrort None( R R R ( ( s= /opt/alt/python27/lib64/python2.7/idlelib/WidgetRedirector.pyR R s c G s\ | j j | οΏ½ } y1 | r% | | οΏ½ S| j j | j | f | οΏ½ SWn t k rW d SXd S( s Callback from Tcl which runs when the widget is referenced. If an operation has been registered in self._operations, apply the associated function to the args passed into Tcl. Otherwise, pass the operation through to Tk via the original Tcl function. Note that if a registered function is called, the operation is not passed through to Tk. Apply the function returned by self.register() to *args to accomplish that. For an example, see ColorDelegator.py. t N( R t getR R R R ( R R t argst m( ( s= /opt/alt/python27/lib64/python2.7/idlelib/WidgetRedirector.pyR b s ! ( R t __module__t __doc__R R R R R R ( ( ( s= /opt/alt/python27/lib64/python2.7/idlelib/WidgetRedirector.pyR s R c B s) e Z d Z d οΏ½ Z d οΏ½ Z d οΏ½ Z RS( s7 Callable for original tk command that has been redirected. Returned by .register; can be used in the function registered. redir = WidgetRedirector(text) def my_insert(*args): print("insert", args) original_insert(*args) original_insert = redir.register("insert", my_insert) c C sO | | _ | | _ | j | _ | j | _ | j j | _ | j | f | _ d S( sοΏ½ Create .tk_call and .orig_and_operation for .__call__ method. .redir and .operation store the input args for __repr__. .tk and .orig copy attributes of .redir (probably not needed). N( t redirR R R R t tk_callt orig_and_operation( R R% R ( ( s= /opt/alt/python27/lib64/python2.7/idlelib/WidgetRedirector.pyR οΏ½ s c C s d | j | j f S( Ns OriginalCommand(%r, %r)( R% R ( R ( ( s= /opt/alt/python27/lib64/python2.7/idlelib/WidgetRedirector.pyR οΏ½ s c G s | j | j | οΏ½ S( N( R&