| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python2.7/idlelib/ |
Upload File : |
�
ۜSec @ sG d Z d d l Td d l Z d e f d � � YZ e d � Z d e d � Z e d k rCe
� Z e j d � d
Z
e e
d � j � Z e e d d
d d � �Z e j d e � e e d d d d � �Z e j d e � e e d d d d � �Z e j d e � e e d d d e j �Z e j d e � e j � n d S( s Simple text browser for IDLE
i����( t *Nt
TextViewerc B s/ e Z d Z e d � Z d � Z d d � Z RS( s* A simple text viewer dialog for IDLE
c C s t j | | � | j d d � | j d d d | j � d | j � d f � d | _ d | _ | j � | j | � | j
d | j � | | _ | j
j � | j d
| j � | j d | j � | j
j d | � | j
j d
t � | r| j | � | j � | j � n d S( sJ Show the given text in a scrollable window with a 'close' button
t borderwidthi s =%dx%d+%d+%diq i� i
s #ffffffs #000000t WM_DELETE_WINDOWs <Return>s <Escape>g t stateN( t Toplevelt __init__t configuret geometryt winfo_rootxt winfo_rootyt bgt fgt
CreateWidgetst titlet protocolt Okt parentt textViewt focus_sett bindt insertt configt DISABLEDt transientt grab_sett wait_window( t selfR R t textt modal( ( s( /usr/lib64/python2.7/idlelib/textView.pyR s(
c
C sC t | d t d d �} t | � } t | d d d | j d t �| _ t | d t d t d d
�| _ t | d t
d d
d | j d
| j �| _
| j j d | j
j � | j
j d | j j � | j j � | j j d t d t � | j
j d t d t d t � | j d t d t � | j d t d t d t � d S( Nt relieft heighti� R t Closet commandt takefocust orientt highlightthicknessi t wrapR R t yscrollcommandt sidet fillt expand( t Framet SUNKENt ButtonR t FALSEt buttonOkt Scrollbart VERTICALt
scrollbarViewt Textt WORDR R R R t yviewt sett packt RIGHTt Yt LEFTt TRUEt BOTHt BOTTOMt Xt TOP( R t frameTextt frameButtons( ( s( /usr/lib64/python2.7/idlelib/textView.pyR
) s
c C s | j � d S( N( t destroy( R t event( ( s( /usr/lib64/python2.7/idlelib/textView.pyR : s N( t __name__t
__module__t __doc__t TrueR R
t NoneR ( ( ( s( /usr/lib64/python2.7/idlelib/textView.pyR s c C s t | | | | � S( N( R ( R R R R ( ( s( /usr/lib64/python2.7/idlelib/textView.pyt view_text>