SILENT KILLERPanel

Current Path: > > opt > alt > python34 > lib64 > python3.4 > > idlelib > __pycache__


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python34/lib64/python3.4//idlelib/__pycache__

NameTypeSizeLast ModifiedActions
AutoComplete.cpython-34.pyc File 7715 bytes April 17 2024 17:10:07.
AutoComplete.cpython-34.pyo File 7715 bytes April 17 2024 17:10:07.
AutoCompleteWindow.cpython-34.pyc File 11539 bytes April 17 2024 17:10:07.
AutoCompleteWindow.cpython-34.pyo File 11483 bytes April 17 2024 17:10:03.
AutoExpand.cpython-34.pyc File 3183 bytes April 17 2024 17:10:07.
AutoExpand.cpython-34.pyo File 3183 bytes April 17 2024 17:10:07.
Bindings.cpython-34.pyc File 3159 bytes April 17 2024 17:10:07.
Bindings.cpython-34.pyo File 3159 bytes April 17 2024 17:10:07.
CallTipWindow.cpython-34.pyc File 5370 bytes April 17 2024 17:10:07.
CallTipWindow.cpython-34.pyo File 5370 bytes April 17 2024 17:10:07.
CallTips.cpython-34.pyc File 5951 bytes April 17 2024 17:10:07.
CallTips.cpython-34.pyo File 5951 bytes April 17 2024 17:10:07.
ClassBrowser.cpython-34.pyc File 8578 bytes April 17 2024 17:10:07.
ClassBrowser.cpython-34.pyo File 8578 bytes April 17 2024 17:10:07.
CodeContext.cpython-34.pyc File 6186 bytes April 17 2024 17:10:07.
CodeContext.cpython-34.pyo File 6145 bytes April 17 2024 17:10:03.
ColorDelegator.cpython-34.pyc File 8025 bytes April 17 2024 17:10:07.
ColorDelegator.cpython-34.pyo File 8025 bytes April 17 2024 17:10:07.
Debugger.cpython-34.pyc File 15672 bytes April 17 2024 17:10:07.
Debugger.cpython-34.pyo File 15672 bytes April 17 2024 17:10:07.
Delegator.cpython-34.pyc File 1101 bytes April 17 2024 17:10:07.
Delegator.cpython-34.pyo File 1101 bytes April 17 2024 17:10:07.
EditorWindow.cpython-34.pyc File 52664 bytes April 17 2024 17:10:07.
EditorWindow.cpython-34.pyo File 52568 bytes April 17 2024 17:10:03.
FileList.cpython-34.pyc File 3640 bytes April 17 2024 17:10:07.
FileList.cpython-34.pyo File 3610 bytes April 17 2024 17:10:03.
FormatParagraph.cpython-34.pyc File 6373 bytes April 17 2024 17:10:07.
FormatParagraph.cpython-34.pyo File 6373 bytes April 17 2024 17:10:07.
GrepDialog.cpython-34.pyc File 5664 bytes April 17 2024 17:10:07.
GrepDialog.cpython-34.pyo File 5664 bytes April 17 2024 17:10:07.
HyperParser.cpython-34.pyc File 7433 bytes April 17 2024 17:10:07.
HyperParser.cpython-34.pyo File 7433 bytes April 17 2024 17:10:07.
IOBinding.cpython-34.pyc File 14437 bytes April 17 2024 17:10:07.
IOBinding.cpython-34.pyo File 14437 bytes April 17 2024 17:10:07.
IdleHistory.cpython-34.pyc File 3703 bytes April 17 2024 17:10:07.
IdleHistory.cpython-34.pyo File 3703 bytes April 17 2024 17:10:07.
MultiCall.cpython-34.pyc File 16619 bytes April 17 2024 17:10:07.
MultiCall.cpython-34.pyo File 16554 bytes April 17 2024 17:10:03.
MultiStatusBar.cpython-34.pyc File 1944 bytes April 17 2024 17:10:07.
MultiStatusBar.cpython-34.pyo File 1944 bytes April 17 2024 17:10:07.
ObjectBrowser.cpython-34.pyc File 5524 bytes April 17 2024 17:10:07.
ObjectBrowser.cpython-34.pyo File 5524 bytes April 17 2024 17:10:07.
OutputWindow.cpython-34.pyc File 4547 bytes April 17 2024 17:10:07.
OutputWindow.cpython-34.pyo File 4547 bytes April 17 2024 17:10:07.
ParenMatch.cpython-34.pyc File 6471 bytes April 17 2024 17:10:07.
ParenMatch.cpython-34.pyo File 6471 bytes April 17 2024 17:10:07.
PathBrowser.cpython-34.pyc File 4118 bytes April 17 2024 17:10:07.
PathBrowser.cpython-34.pyo File 4118 bytes April 17 2024 17:10:07.
Percolator.cpython-34.pyc File 4127 bytes April 17 2024 17:10:07.
Percolator.cpython-34.pyo File 3954 bytes April 17 2024 17:10:03.
PyParse.cpython-34.pyc File 11526 bytes April 17 2024 17:10:07.
PyParse.cpython-34.pyo File 11084 bytes April 17 2024 17:10:03.
PyShell.cpython-34.pyc File 48208 bytes April 17 2024 17:10:07.
PyShell.cpython-34.pyo File 48069 bytes April 17 2024 17:10:03.
RemoteDebugger.cpython-34.pyc File 14655 bytes April 17 2024 17:10:07.
RemoteDebugger.cpython-34.pyo File 14513 bytes April 17 2024 17:10:03.
RemoteObjectBrowser.cpython-34.pyc File 2009 bytes April 17 2024 17:10:07.
RemoteObjectBrowser.cpython-34.pyo File 2009 bytes April 17 2024 17:10:07.
ReplaceDialog.cpython-34.pyc File 6920 bytes April 17 2024 17:10:07.
ReplaceDialog.cpython-34.pyo File 6920 bytes April 17 2024 17:10:07.
RstripExtension.cpython-34.pyc File 1359 bytes April 17 2024 17:10:07.
RstripExtension.cpython-34.pyo File 1359 bytes April 17 2024 17:10:07.
ScriptBinding.cpython-34.pyc File 7082 bytes April 17 2024 17:10:07.
ScriptBinding.cpython-34.pyo File 7082 bytes April 17 2024 17:10:07.
ScrolledList.cpython-34.pyc File 5771 bytes April 17 2024 17:10:07.
ScrolledList.cpython-34.pyo File 5771 bytes April 17 2024 17:10:07.
SearchDialog.cpython-34.pyc File 3361 bytes April 17 2024 17:10:07.
SearchDialog.cpython-34.pyo File 3361 bytes April 17 2024 17:10:07.
SearchDialogBase.cpython-34.pyc File 7713 bytes April 17 2024 17:10:07.
SearchDialogBase.cpython-34.pyo File 7713 bytes April 17 2024 17:10:07.
SearchEngine.cpython-34.pyc File 7473 bytes April 17 2024 17:10:07.
SearchEngine.cpython-34.pyo File 7473 bytes April 17 2024 17:10:07.
StackViewer.cpython-34.pyc File 5619 bytes April 17 2024 17:10:07.
StackViewer.cpython-34.pyo File 5619 bytes April 17 2024 17:10:07.
ToolTip.cpython-34.pyc File 4052 bytes April 17 2024 17:10:07.
ToolTip.cpython-34.pyo File 4052 bytes April 17 2024 17:10:07.
TreeWidget.cpython-34.pyc File 15657 bytes April 17 2024 17:10:07.
TreeWidget.cpython-34.pyo File 15657 bytes April 17 2024 17:10:07.
UndoDelegator.cpython-34.pyc File 11816 bytes April 17 2024 17:10:07.
UndoDelegator.cpython-34.pyo File 11816 bytes April 17 2024 17:10:07.
WidgetRedirector.cpython-34.pyc File 7119 bytes April 17 2024 17:10:07.
WidgetRedirector.cpython-34.pyo File 7119 bytes April 17 2024 17:10:07.
WindowList.cpython-34.pyc File 3237 bytes April 17 2024 17:10:07.
WindowList.cpython-34.pyo File 3237 bytes April 17 2024 17:10:07.
ZoomHeight.cpython-34.pyc File 1402 bytes April 17 2024 17:10:07.
ZoomHeight.cpython-34.pyo File 1402 bytes April 17 2024 17:10:07.
__init__.cpython-34.pyc File 434 bytes April 17 2024 17:10:07.
__init__.cpython-34.pyo File 434 bytes April 17 2024 17:10:07.
__main__.cpython-34.pyc File 279 bytes April 17 2024 17:10:07.
__main__.cpython-34.pyo File 279 bytes April 17 2024 17:10:07.
aboutDialog.cpython-34.pyc File 5951 bytes April 17 2024 17:10:07.
aboutDialog.cpython-34.pyo File 5951 bytes April 17 2024 17:10:07.
configDialog.cpython-34.pyc File 48987 bytes April 17 2024 17:10:07.
configDialog.cpython-34.pyo File 48987 bytes April 17 2024 17:10:07.
configHandler.cpython-34.pyc File 26731 bytes April 17 2024 17:10:07.
configHandler.cpython-34.pyo File 26731 bytes April 17 2024 17:10:07.
configHelpSourceEdit.cpython-34.pyc File 5793 bytes April 17 2024 17:10:07.
configHelpSourceEdit.cpython-34.pyo File 5793 bytes April 17 2024 17:10:07.
configSectionNameDialog.cpython-34.pyc File 3941 bytes April 17 2024 17:10:07.
configSectionNameDialog.cpython-34.pyo File 3941 bytes April 17 2024 17:10:07.
dynOptionMenuWidget.cpython-34.pyc File 2437 bytes April 17 2024 17:10:07.
dynOptionMenuWidget.cpython-34.pyo File 2437 bytes April 17 2024 17:10:07.
help.cpython-34.pyc File 9749 bytes April 17 2024 17:10:07.
help.cpython-34.pyo File 9749 bytes April 17 2024 17:10:03.
idle.cpython-34.pyc File 368 bytes April 17 2024 17:10:07.
idle.cpython-34.pyo File 368 bytes April 17 2024 17:10:07.
idlever.cpython-34.pyc File 551 bytes April 17 2024 17:10:07.
idlever.cpython-34.pyo File 551 bytes April 17 2024 17:10:07.
keybindingDialog.cpython-34.pyc File 11016 bytes April 17 2024 17:10:07.
keybindingDialog.cpython-34.pyo File 11016 bytes April 17 2024 17:10:07.
macosxSupport.cpython-34.pyc File 7306 bytes April 17 2024 17:10:07.
macosxSupport.cpython-34.pyo File 7191 bytes April 17 2024 17:10:03.
rpc.cpython-34.pyc File 21006 bytes April 17 2024 17:10:07.
rpc.cpython-34.pyo File 20903 bytes April 17 2024 17:10:03.
run.cpython-34.pyc File 12646 bytes April 17 2024 17:10:07.
run.cpython-34.pyo File 12596 bytes April 17 2024 17:10:03.
tabbedpages.cpython-34.pyc File 17139 bytes April 17 2024 17:10:07.
tabbedpages.cpython-34.pyo File 17139 bytes April 17 2024 17:10:07.
textView.cpython-34.pyc File 3338 bytes April 17 2024 17:10:07.
textView.cpython-34.pyo File 3338 bytes April 17 2024 17:10:07.

Reading File: //opt/alt/python34/lib64/python3.4//idlelib/__pycache__/SearchDialogBase.cpython-34.pyo

�
e fa�@sdZddlmZmZmZmZmZmZmZGdd�d�Z	e
dkr{ddlZejddd	�ndS)
zBDefine SearchDialogBase used by Search, Replace, and Grep dialogs.�)�Toplevel�Frame�Entry�Label�Button�Checkbutton�Radiobuttonc@s�eZdZdZdZdZdZdd�Zddd	�Zdd
d�Z	dd
�Z
dd�Zdd�Zddd�Z
dd�Zdd�Zddd�Zdd�ZdS)�SearchDialogBaseayCreate most of a 3 or 4 row, 3 column search dialog.

    The left and wide middle column contain:
    1 or 2 labeled text entry lines (make_entry, create_entries);
    a row of standard Checkbuttons (make_frame, create_option_buttons),
    each of which corresponds to a search engine Variable;
    a row of dialog-specific Check/Radiobuttons (create_other_buttons).

    The narrow right column contains command buttons
    (make_button, create_command_buttons).
    These are bound to functions that execute the command.

    Except for command buttons, this base class is not limited to items
    common to all three subclasses.  Rather, it is the Find dialog minus
    the "Find Next" command, its execution function, and the
    default_command attribute needed in create_widgets. The other
    dialogs override attributes and methods, the latter to replace and
    add widgets.
    z
Search DialogZSearch�cCs||_||_d|_dS)a'Initialize root, engine, and top attributes.

        top (level widget): set in create_widgets() called from open().
        text (Text searched): set in open(), only used in subclasses().
        ent (ry): created in make_entry() called from create_entry().
        row (of grid): 0 in create_widgets(), +1 in make_entry/frame().
        default_command: set in subclasses, used in create_widgers().

        title (of dialog): class attribute, override in subclasses.
        icon (of dialog): ditto, use unclear if cannot minimize dialog.
        N)�root�engine�top)�selfrr�r�=/opt/alt/python34/lib64/python3.4/idlelib/SearchDialogBase.py�__init__s		zSearchDialogBase.__init__NcCs�||_|js|j�n|jj�|jj�|rh|jjdd�|jjd|�n|jj�|jj	dd�|jj
d�|jj�dS)z6Make dialog visible on top of others and ready to use.r�endN)�textr
�create_widgetsZ	deiconifyZtkraise�entZdelete�insertZ	focus_setZselection_rangeZicursorZgrab_set)rrZsearchphraserrr�open/s		



zSearchDialogBase.opencCs*|jr&|jj�|jj�ndS)zPut dialog away for later use.N)r
Zgrab_releaseZwithdraw)rZeventrrr�close?s	
zSearchDialogBase.closecCs�t|j�}|jd|j�|jd|j�|jd|j�|j|j�|j|j	�||_
d|_|j
jddddd�|j
jdddd	d
dd
�|j
�|j�|j�|j�dS)z�Create basic 3 row x 3 col search (find) dialog.

        Other dialogs override subsidiary create_x methods as needed.
        Replace and Find-in-Files add another entry row.
        z<Return>z<Escape>ZWM_DELETE_WINDOWrZpad�Zweightr
Zminsize�dN)rrZbindZdefault_commandrZprotocolZwm_title�titleZwm_iconname�iconr
�rowZgrid_columnconfigure�create_entries�create_option_buttons�create_other_buttons�create_command_buttons)rr
rrrrEs		"


zSearchDialogBase.create_widgetscCs�t|jd|�}|jd|jdddd�t|jd|dd�}|jd|jdd	dd
�|jd	|_||fS)z�Return (entry, label), .

        entry - gridded labeled Entry for text entry.
        label - Label widget, returned for testing.
        rr�columnr�sticky�nwZtextvariableZexportselectionr
�nwe)rr
�gridrr)rZ
label_text�var�label�entryrrr�
make_entry\szSearchDialogBase.make_entrycCs#|jd|jj�d|_dS)z/Create one or more entry lines with make_entry.zFind:rN)r*rZpatvarr)rrrrriszSearchDialogBase.create_entriesc	Cs�|r=t|jd|�}|jd|jdddd�nd}t|j�}|jd|jddd	ddd
�|jd|_||fS)z�Return (frame, label).

        frame - gridded labeled Frame for option or other buttons.
        label - Label widget, returned for testing.
        rrr"rr#r$�r
Z
columnspanr%)rr
r&rr)rZ	labeltextr(�framerrr�
make_framems"%zSearchDialogBase.make_framec	Cs�|jd�d}|j}|jdf|jdf|jdfg}|jrh|j|jdf�nxa|D]Y\}}t|ddd	|d
|�}|j	ddd
d�|j
�ro|j�qoqoW||fS)aReturn (filled frame, options) for testing.

        Options is a list of SearchEngine booleanvar, label pairs.
        A gridded frame from make_frame is filled with a Checkbutton
        for each pair, bound to the var, with the corresponding label.
        ZOptionsrzRegular expressionz
Match casez
Whole wordzWrap around�anchor�w�variabler�side�left�fill�both)r-rZrevarZcasevarZwordvar�needwrapbutton�appendZwrapvarr�pack�get�select)rr,rZoptionsr'r(�btnrrrr}s		z&SearchDialogBase.create_option_buttonscCs�|jd�d}|jj}ddg}xm|D]e\}}t|ddd|d	|d
|�}|jddd
d�|j�|kr2|j�q2q2W||fS)z�Return (frame, others) for testing.

        Others is a list of value, label pairs.
        A gridded frame from make_frame is filled with radio buttons.
        Z	Directionrr
�Up�Downr.r/r0�valuerr1r2r3r4)r
r;)rr<)r-rZbackvarrr7r8r9)rr,r'Zothers�valr(r:rrrr �sz%SearchDialogBase.create_other_buttonsrc	Cst|jd|d|d|r$dp'd�}|jj�\}}|jddd|d	d
dd�|jjd
|d�|S)z/Return command button gridded in command frame.r�command�defaultZactiveZnormal�padyr
rr"rr#ZewZrowspan)r�buttonframeZ	grid_sizer&)rr(r?Zisdef�bZcolsZrowsrrr�make_button�s"zSearchDialogBase.make_buttonc
Csgt|j�}|_|jdddddddddddd�|jd	|j�}|j�d
S)z9Place buttons in vertical command frame gridded on right.rrr"rZpadxrAZipadxZipadyrN)rr
rBr&rDr�lower)r�frCrrrr!�s.z'SearchDialogBase.create_command_buttons)�__name__�
__module__�__qualname__�__doc__rrr5rrrrr*rr-rr rDr!rrrrr	s

r	�__main__Nz'idlelib.idle_test.test_searchdialogbase�	verbosityr)
rJZtkinterrrrrrrrr	rGZunittest�mainrrrr�<module>s4�

SILENT KILLER Tool