Hacked By AnonymousFox
�
��f c @ sL d Z d d l m Z d d l m Z d d l Z Gd d � d e � Z d S( ud
OptionMenu widget modified to allow dynamic menu reconfiguration
and setting of highlightthickness
i ( u
OptionMenu( u _setitNc B s5 | Ee Z d Z d Z d d � Z d d d � Z d S( u
DynOptionMenuuF
unlike OptionMenu, our kwargs can include highlightthickness
c O s� t j | � } d t | j � � k r1 | d =n t j | | | | | | � | j d | j d � � | | _ | j d � | _ d S( Nu highlightthicknessu command( u copyu listu keysu
OptionMenuu __init__u configu getu variableu command( u selfu masteru variableu valueu valuesu kwargsu
kwargsCopy( ( u@ /opt/alt/python33/lib64/python3.3/idlelib/dynOptionMenuWidget.pyu __init__
s
u DynOptionMenu.__init__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( u�
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
u menui u endu labelu commandN( u deleteu add_commandu _setitu variableu commandu set( u selfu valueListu valueu item( ( u@ /opt/alt/python33/lib64/python3.3/idlelib/dynOptionMenuWidget.pyu SetMenu s
u DynOptionMenu.SetMenuN( u __name__u
__module__u __qualname__u __doc__u __init__u Noneu SetMenu( u
__locals__( ( u@ /opt/alt/python33/lib64/python3.3/idlelib/dynOptionMenuWidget.pyu
DynOptionMenu s u
DynOptionMenu( u __doc__u tkinteru
OptionMenuu _setitu copyu
DynOptionMenu( ( ( u@ /opt/alt/python33/lib64/python3.3/idlelib/dynOptionMenuWidget.pyu <module> s
Hacked By AnonymousFox1.0, Coded By AnonymousFox