shell bypass 403
o
_b�, � @ s\ d dl Z d dlZd dlZd dlT d dlmZ ejdedd� dZdZd Zd
Z dZ
dZd
ZdZ
dZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZd Z d Z!G d!d"� d"�Z"G d#d$� d$ej#e"�Z#G d%d&� d&�Z$ej%j&e$f ej%_&G d'd(� d(ej%�Z'G d)d*� d*e'�Z(G d+d,� d,�Z)G d-d.� d.e'�Z*G d/d0� d0e'�Z+G d1d2� d2e'�Z,G d3d4� d4e'�Z-G d5d6� d6e'�Z.G d7d8� d8e'�Z/G d9d:� d:e'�Z0G d;d<� d<e'�Z1G d=d>� d>e'�Z2G d?d@� d@e'�Z3G dAdB� dBe'�Z4G dCdD� dDe'�Z5G dEdF� dFe'�Z6G dGdH� dHe'e7e8�Z9G dIdJ� dJe'�Z:G dKdL� dLe'�Z;G dMdN� dNe'�Z<G dOdP� dPe'�Z=G dQdR� dRe'�Z>G dSdT� dTe'�Z?G dUdV� dVe'�Z@G dWdX� dXe'�ZAG dYdZ� dZe'�ZBG d[d\� d\e'�ZCG d]d^� d^e'�ZDG d_d`� d`e'�ZEG dadb� dbe'�ZFG dcdd� dde'�ZGG dedf� dfe'�ZHG dgdh� dhe'�ZIG didj� dje'�ZJG dkdl� dle'�ZKG dmdn� dne'�ZLG dodp� dpe'�ZMG dqdr� dre'e7e8�ZNG dsdt� dte'�ZOG dudv� dve'�ZPG dwdx� dxeQe(�ZRG dydz� dzeSe(�ZTG d{d|� d|eUe(�ZVG d}d~� d~eWe(�ZXG dd�� d�eYe(�ZZG d�d�� d�e[e(�Z\G d�d�� d�e]e(�Z^G d�d�� d�e_e(�Z`G d�d�� d�eae(�ZbG d�d�� d�ece(�ZdG d�d�� d�eFe(�ZeG d�d�� d�e9e(�ZfG d�d�� d�eEe(�ZgG d�d�� d�eNe(�ZhG d�d�� d�e,e(�ZiG d�d�� d�e.e(�ZjG d�d�� d�e0e(�ZkG d�d�� d�e1e(�ZlG d�d�� d�e4e(�ZmG d�d�� d�e,e(�ZnG d�d�� d�eMe(�ZoG d�d�� d�e@e(�ZpG d�d�� d�eBe(�Zqd�d�� Zrd�d�� ZsG d�d�� d�e'�ZtG d�d�� d�e'e7e8�ZuG d�d�� d�eu�ZvdS )�� N)�*)� _cnfmergeznThe Tix Tk extension is unmaintained, and the tkinter.tix wrapper module is deprecated in favor of tkinter.ttk� )�
stacklevel�window�text�statusZ immediate�imageZ imagetextZballoon�autoZ acrosstop�asciiZcell�columnZ
decreasingZ
increasingZinteger�main�max�real�rowzs-regionzx-regionzy-region� � � � c @ sV e Zd ZdZdd� Zdd� Zddd�Zdd d
�Zdd� Zd
d� Z dd� Z
ddd�ZdS )�
tixCommanda� The tix commands provide access to miscellaneous elements
of Tix's internal state and the Tix application context.
Most of the information manipulated by these commands pertains
to the application as a whole, or to a screen or
display, rather than to a particular window.
This is a mixin class, assumed to be mixed to Tkinter.Tk
that supports the self.tk.call method.
c C � | j �dd|�S )a� Tix maintains a list of directories under which
the tix_getimage and tix_getbitmap commands will
search for image files. The standard bitmap directory
is $TIX_LIBRARY/bitmaps. The addbitmapdir command
adds directory into this list. By using this
command, the image files of an applications can
also be located using the tix_getimage or tix_getbitmap
command.
�tixZaddbitmapdir��tk�call)�selfZ directory� r �4/usr/local/python-3.10/lib/python3.10/tkinter/tix.py�tix_addbitmapdirY s
ztixCommand.tix_addbitmapdirc C r )z�Returns the current value of the configuration
option given by option. Option may be any of the
options described in the CONFIGURATION OPTIONS section.
r �cgetr �r �optionr r r �tix_cgete s ztixCommand.tix_cgetNc K sd |r t ||f�}n|rt |�}|du r| �dd�S t|t�r'| �ddd| �S | j�d| �|� �S )a� Query or modify the configuration options of the Tix application
context. If no option is specified, returns a dictionary all of the
available options. If option is specified with no value, then the
command returns a list describing the one named option (this list
will be identical to the corresponding sublist of the value
returned if no option is specified). If one or more option-value
pairs are specified, then the command modifies the given option(s)
to have the given value(s); in this case the command returns an
empty string. Option may be any of the configuration options.
Nr � configure�-)r r# )r �
_getconfigure�
isinstance�strZ_getconfigure1r r �_options�r �cnf�kwr r r �
tix_configurel s
ztixCommand.tix_configurec C s&