Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 107
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 234
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 235
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 236
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 237
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 238
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 239
{fc @ s d Z d d l m Z m Z m Z m Z m Z m Z m Z d d
d YZ e
d k r{ d d l Z e j d d d n d S( sB Define SearchDialogBase used by Search, Replace, and Grep dialogs.i( t Toplevelt Framet Entryt Labelt Buttont Checkbuttont Radiobuttont SearchDialogBasec B s e Z d Z d Z d Z d Z d Z d d Z d d Z d Z
d Z d Z d d
Z
d Z d Z d
d Z d Z RS( sy Create 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.
s
Search Dialogt Searchi c C s | | _ | | _ d | _ d S( s' 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( t roott enginet Nonet top( t selfR R
( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyt __init__ s c C s | | _ | j s | j n | j j | j j | j j | j | r~ | j j d d | j j d | n | j j
| j j d d | j j d | j j
d S( s6 Make dialog visible on top of others and ready to use.i t endN( t textR t create_widgetst deiconifyt tkraiset transientt winfo_toplevelt entt deletet insertt focus_sett selection_ranget icursort grab_set( R
R t searchphrase( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyt open/ s
c C s: | j r6 | j j | j j d | j j n d S( s Put dialog away for later use.t N( R t grab_releaseR t withdraw( R
t event( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyt close@ s
c C s t | j } | j d | j | j d | j | j d | j | j | j | j | j | | _
d | _ | j
j d d d d d | j
j d d d d d
d d
| j
| j | j | j d S( s 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.
s s t WM_DELETE_WINDOWi t padi t weighti t minsizeid N( R R t bindt default_commandR# t protocolt wm_titlet titlet wm_iconnamet iconR t rowt grid_columnconfiguret create_entriest create_option_buttonst create_other_buttonst create_command_buttons( R
R ( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyR G s "
c C s t | j d | } | j d | j d d d d t | j d | d d } | j d | j d d d d
| j d | _ | | f S( s Return (entry, label), .
entry - gridded labeled Entry for text entry.
label - Label widget, returned for testing.
R R/ t columni t stickyt nwt textvariablet exportselectioni t nwe( R R t gridR/ R ( R
t
label_textt vart labelt entry( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyt
make_entry^ s c C s# | j d | j j d | _ d S( s/ Create one or more entry lines with make_entry.s Find:i N( R@ R
t patvarR ( R
( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyR1 k s c C s | r= t | j d | } | j d | j d d d d n d } t | j } | j d | j d d d d d d
| j d | _ | | f S( s Return (frame, label).
frame - gridded labeled Frame for option or other buttons.
label - Label widget, returned for testing.
R R/ R5 i R6 R7 R i t
columnspanR: ( R R R; R/ R ( R
t labeltextR> t frame( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyt
make_frameo s "%c C s | j d d } | j } | j d f | j d f | j d f g } | j rh | j | j d f n xa | D]Y \ } } t | d d d | d
| } | j d d d
d | j
ro | j qo qo W| | f S( s Return (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.
t Optionsi s Regular expressions
Match cases
Whole words Wrap aroundt anchort wt variableR t sidet leftt fillt both( RE R
t revart casevart wordvart needwrapbuttont appendt wrapvarR t packt gett select( R
RD R
t optionsR= R> t btn( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyR2 s c C s | j d d } | j j } d d g } xm | D]e \ } } t | d d d | d | d
| } | j d d d
d | j | k r2 | j q2 q2 W| | f S( s Return (frame, others) for testing.
Others is a list of value, label pairs.
A gridded frame from make_frame is filled with radio buttons.
t Directioni i t Upt DownRG RH RI t valueR RJ RK RL RM ( i RZ ( i R[ ( RE R
t backvarR RT RU RV ( R
RD R= t otherst valR> RX ( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyR3 s i c C s t | j d | d | d | r$ d p' d } | j j \ } } | j d d d | d d
d d | j j d
| d | S( s/ Return command button gridded in command frame.R t commandt defaultt activet normalt padyi R/ R5 i R6 t ewt rowspan( R t buttonframet grid_sizeR; ( R
R> R` t isdeft bt colst rows( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyt make_button s "c
C sg t | j } | _ | j d d d d d d d d d d d d | j d | j } | j d
S( s9 Place buttons in vertical command frame gridded on right.R/ i R5 i t padxRd t ipadxt ipadyR# N( R R Rg R; Rm R# t lower( R
t fRj ( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyR4 s .N( t __name__t
__module__t __doc__R, R. RQ R R R R# R R@ R1 RE R2 R3 Rm R4 ( ( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyR s
t __main__Ns' idlelib.idle_test.test_searchdialogbaset verbosityi ( (
Ru t TkinterR R R R R R R R Rs t unittestt main( ( ( s0 /usr/lib64/python2.7/idlelib/SearchDialogBase.pyt s 4