V Qc@sHddlZdZedkrDejZeeejndS(iNc Cstj|dtjdd}tj|dd}|jdddtjdd d d tj|d d }|j||j||jj d ddd|jj d ddd|jj d ddd|jj d ddd|jj d dddtj |j}|j d d|jj d dd||jdtj ddd d tj |dtj}|jdddddddd|d |jd!dd"ddddd|d#|jdtjdtj|jdtj dtjdddS($NtrelieftbdittextsEPress the right mouse button over this button or its surrounding areatexpandtfilltpadxi2tpadyttitles Popup TesttlabeltDesktopt underlineitSelecttFindtSystemtHelptHellotMoretmenutsidei(t orientationtoktOktwidthitcommandcSs |jS(N(tdestroy(tw((s0/usr/lib64/python2.7/Demo/tix/samples/PopMenu.pyt0stcanceltCancelcSs |jS(N(R(R((s0/usr/lib64/python2.7/Demo/tix/samples/PopMenu.pyR2s(tTixtFrametRAISEDtButtontpacktBOTHt PopupMenut bind_widgetRt add_commandtMenut add_cascadetTOPt ButtonBoxt HORIZONTALtaddtBOTTOMtX(Rttoptbuttptm1tbox((s0/usr/lib64/python2.7/Demo/tix/samples/PopMenu.pyt RunSamples,%    t__main__(RR3t__name__tTktroottmainloop(((s0/usr/lib64/python2.7/Demo/tix/samples/PopMenu.pyts  %