ok

Mini Shell

Direktori : /usr/lib64/python2.7/Demo/tkinter/ttk/
Upload File :
Current File : //usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyo

�
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	ddd
�dS(NisPick a themetvalueststatetreadonlytheightis<<ComboboxSelected>>tfilltxtbothtexpandi(
tlistRttheme_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.pyt<module>s
 	

Zerion Mini Shell 1.0