Spade
Mini Shell
| Directory:~$ /proc/self/root/usr/lib64/python2.7/Demo/tkinter/ttk/ |
| [Home] [System Details] [Kill Me] |
�
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 ddd
�dS(NisPick a
themetvalueststatetreadonlytheightis<<ComboboxSelected>>tfilltxtbothtexpandi(
tlistRttheme_namestinsertRtComboboxtsettbindRtpack(Rtthemestthemes_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(NsTtk
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