Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/idlelib/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/idlelib/dynOptionMenuWidget.pyo |
³ò h”Rc @ sL d Z d d k l Z d d k l Z d d k 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 i | ƒ } d | i ƒ j o | d =n t i | | | | | | Ž | i d | i d ƒ ƒ | | _ | i d ƒ | _ d S( Nt highlightthicknesst command( t copyt keysR t __init__t configt gett variableR ( t selft masterR t valuet valuest kwargst kwargsCopy( ( s7 /usr/local/lib/python2.5/idlelib/dynOptionMenuWidget.pyR s c C sp | d i d d ƒ x: | D]2 } | d i d | d t | i | | i ƒ ƒ q W| o | i i | ƒ 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( ( s7 /usr/local/lib/python2.5/idlelib/dynOptionMenuWidget.pyt SetMenu s N( t __name__t __module__t __doc__R t NoneR ( ( ( s7 /usr/local/lib/python2.5/idlelib/dynOptionMenuWidget.pyR s ( R t TkinterR R R R ( ( ( s7 /usr/local/lib/python2.5/idlelib/dynOptionMenuWidget.pys <module> s