V Qc@szddlZidd6dd6dd6dd 6d d 6Zd Zd ZedkrvejZeeejndS(iNs Plain Textttextt PostScripttposttHTMLthtmltLaTeXttexsRich Text Formattrtfc Cstjatjatj|dddtj}tj|dddtdd}tj|dd dtdd}xBtjD]4}|j |dt||j |dt|qWtj d tj d |j d tj d tj dddd|j d tj d tj ddddtj|dtj}|jdddddddd|d|jdddddddd|d|j d tjdtj|j d tj dtjdddS( NtbditrelieftlabelsFrom File Format : tvariabletoptionss2label.width 19 label.anchor e menubutton.width 15sTo File Format : RRtsidetanchortpadyitpadxit orientationtokRtOkt underlineitwidthtcommandcSs t|S(N(t ok_command(tw((s0/usr/lib64/python2.7/Demo/tix/samples/OptMenu.pyt7stcanceltCancelcSs |jS(N(tdestroy(R((s0/usr/lib64/python2.7/Demo/tix/samples/OptMenu.pyR9stfilltexpand(tTixt StringVart demo_opt_fromt demo_opt_totFrametRAISEDt OptionMenuR tkeyst add_commandtsettpacktTOPtWt ButtonBoxt HORIZONTALtaddtBOTTOMtXtBOTH(Rttopt from_filetto_filetopttbox((s0/usr/lib64/python2.7/Demo/tix/samples/OptMenu.pyt RunSamples.      ((  cCs|jdS(N(R(R((s0/usr/lib64/python2.7/Demo/tix/samples/OptMenu.pyR=st__main__(RR R7Rt__name__tTktroottmainloop(((s0/usr/lib64/python2.7/Demo/tix/samples/OptMenu.pyts  (