Sh3ll
OdayForums


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 :  /lib64/python2.7/idlelib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/idlelib/dynOptionMenuWidget.pyo
�
U��dc@sLdZddlmZddlmZddlZdefd��YZdS(sd
OptionMenu widget modified to allow dynamic menu reconfiguration
and setting of highlightthickness
i����(t
OptionMenu(t_setitNt
DynOptionMenucBs#eZdZd�Zdd�ZRS(sF
    unlike OptionMenu, our kwargs can include highlightthickness
    cOstj|�}d|j�kr+|d=ntj||||||�|jd|jd��||_|jd�|_dS(Nthighlightthicknesstcommand(tcopytkeysRt__init__tconfigtgettvariableR(tselftmasterR
tvaluetvaluestkwargst
kwargsCopy((s3/usr/lib64/python2.7/idlelib/dynOptionMenuWidget.pyR
s
	c	Csn|djdd�x:|D]2}|djd|dt|j||j��qW|rj|jj|�ndS(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
        tmenuitendtlabelRN(tdeletetadd_commandRR
Rtset(Rt	valueListR
titem((s3/usr/lib64/python2.7/idlelib/dynOptionMenuWidget.pytSetMenus
N(t__name__t
__module__t__doc__RtNoneR(((s3/usr/lib64/python2.7/idlelib/dynOptionMenuWidget.pyR	s	(RtTkinterRRRR(((s3/usr/lib64/python2.7/idlelib/dynOptionMenuWidget.pyt<module>s

ZeroDay Forums Mini