ó V Qc@sNdZddlZdejfd„ƒYZd„ZedkrJeƒndS(s‡Ttk Theme Selector. Although it is a theme selector, you won't notice many changes since there is only a combobox and a frame around. iÿÿÿÿNtAppcBs#eZd„Zd„Zd„ZRS(cCs-tjj|ƒtjƒ|_|jƒdS(N(tttktFramet__init__tStyletstylet_setup_widgets(tself((s5/usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyR scCs5|jjƒr1|jjƒ}|jj|ƒndS(N(twidgettcurrenttgetRt theme_use(Rteventtnewtheme((s5/usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyt _change_themescCs”t|jjƒƒ}|jddƒtj|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ƒ|jƒdS(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