V Qc@sNdZddlZdejfdYZdZedkrJendS(sTtk Theme Selector. Although it is a theme selector, you won't notice many changes since there is only a combobox and a frame around. iNtAppcBs#eZdZdZdZRS(cCs-tjj|tj|_|jdS(N(tttktFramet__init__tStyletstylet_setup_widgets(tself((s5/usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyR scCs5|jjr1|jj}|jj|ndS(N(twidgettcurrenttgetRt theme_use(Rteventtnewtheme((s5/usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyt _change_themescCst|jj}|jddtj|d|dddd}|j|d|jd|j|j d d |j d d d d dS(Nis Pick a themetvalueststatetreadonlytheightis<>tfilltxtbothtexpandi( tlistRt theme_namestinsertRtComboboxtsettbindRtpack(Rtthemest themes_combo((s5/usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyRs (t__name__t __module__RRR(((s5/usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyRs  cCs't}|jjd|jdS(Ns Ttk Combobox(Rtmasterttitletmainloop(tapp((s5/usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pytmain(s t__main__(t__doc__RRRR&R (((s5/usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyts