Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /usr/lib64/python2.7/idlelib/ |
� U��dc @ 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