| 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 @ sL d Z d d l m Z d d l m Z d d l Z d e f d � � YZ d S( sd
OptionMenu widget modified to allow dynamic menu reconfiguration
and setting of highlightthickness
i����( t
OptionMenu( t _setitNt
DynOptionMenuc B s# e Z d Z d � Z d d � Z RS( sF
unlike OptionMenu, our kwargs can include highlightthickness
c O s t j | � } d | j � k r+ | d =n t j | | | | | | � | j d | j d � � | | _ | j d � | _ d S( Nt highlightthicknesst command( t copyt keysR t __init__t configt gett variableR ( t selft masterR
t valuet valuest kwargst
kwargsCopy( ( s3 /usr/lib64/python2.7/idlelib/dynOptionMenuWidget.pyR
s
c C sn | d j d d � x: | D]2 } | d j d | d t | j | | j � � q W| rj | j j | � n d S( s�
clear and reload the menu with a new set of options.
valueList - list of new options
value - initial value to set the optionmenu's menubutton to
t menui t endt labelR N( t deletet add_commandR R
R t set( R t valueListR
t item( ( s3 /usr/lib64/python2.7/idlelib/dynOptionMenuWidget.pyt SetMenu s
N( t __name__t
__module__t __doc__R t NoneR ( ( ( s3 /usr/lib64/python2.7/idlelib/dynOptionMenuWidget.pyR s ( R t TkinterR R R R ( ( ( s3 /usr/lib64/python2.7/idlelib/dynOptionMenuWidget.pyt <module> s