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
U
i_; @ s( d Z ddlZddlZddlZddlZddlmZmZ ddl m
Z
mZmZm
Z
mZmZ ddlmZmZmZmZmZ ddl mZ ddlmZ G dd d e
ZG d
d deZG dd
d
eZG dd deZG dd deZG dd deZedkr$ddl m!Z! e!dddd ddl"m#Z# e#eee dS )a|
Dialogs that query users and verify the answer before accepting.
Query is the generic base class for a popup dialog.
The user must either enter a valid answer or close the dialog.
Entries are validated when is entered or [Ok] is clicked.
Entries are ignored when [Cancel] or [X] are clicked.
The 'return value' is .result set to either a valid answer or None.
Subclass SectionName gets a name for a new config file section.
Configdialog uses it for new highlight theme and keybinding set names.
Subclass ModuleName gets a name for File => Open Module.
Subclass HelpSource gets menu item and path for additions to Help menu.
N)
executableplatform)Toplevel StringVar
BooleanVarWES)FrameButtonEntryLabelCheckbutton)
filedialog)Fontc sl e Zd ZdZdi dddddZddd Zd
d Zdd
dZdd ZdddZ dddZ
fddZ ZS )QueryzoBase class for getting verified answer from a user.
For this base class, accept any non-blank string.
Ftext0
used_names_htest_utestc C s\ || _ || _|| _|| _t| | | | | | | |sL| | j
dd}|dkrz| j
dd| jdd W n Y nX |
d| j |
d | j | d
| j |
d| j |
d| j | | | d
| | d | d | |s(| d | d nd f | jddd |sX| | dS )a Create modal popup, return when destroyed.
Additional subclass init must be done before this unless
_utest=True is passed to suppress wait_window().
title - string, title of popup dialog
message - string, informational message to display
text0 - initial value for entry
used_names - names already in use
_htest - bool, change box location when running htest
_utest - bool, leave window hidden and not modal
tkwindowingsystemZaquaz!::tk::unsupported::MacWindowStylestyleZ
moveableModalr zzZWM_DELETE_WINDOWzz
z+%d+%d F)ZheightwidthN)parentmessager r r __init__ZwithdrawtitleZ transientZgrab_setr callZ_wbindcancelprotocolokcreate_widgetsZupdate_idletasksZgeometryZwinfo_rootxZwinfo_widthZwinfo_reqwidthZwinfo_rootyZwinfo_heightZwinfo_reqheightZ resizableZ deiconifyZwait_window) selfr r! r r r r r r r) ,/opt/python38/lib/python3.8/idlelib/query.pyr % sV
zQuery.__init__OKc C s6 t | dd | _}|jdddd |jddd t|dd | jd
}t| | j| _t |d| jd| _
| j
td
d| j
d| _t|dd| jd| _|jddddtd | j
jddddtt ddgd | jjddddtt d | t||d| jd| _t|d| jd| _| jjdddd | jjdddd dS )zCreate entry (rows, extras, buttons.
Entry stuff on rows 0-2, spanning cols 0-2.
Buttons on row 99, cols 1, 2.
)Zpaddingr Znews)columnrowsticky )ZweightwleftZanchorZjustifytext )r textvariableZ
TkCaptionFontT)nameexistsroot redr4 Z
foregroundZfont r- r.
columnspanpadxr/ r- r. r@ rA r/ padyr Zactive)r4 defaultcommandZCancel)r4 rE c )r- r. rA N)r
framegridZgrid_columnconfigurer
r r r Zentryvarr entry focus_setr r
error_fontentry_errorr r create_extrar r&