ok
Direktori : /proc/thread-self/root/usr/lib64/python2.7/Demo/tkinter/ttk/ |
Current File : //proc/thread-self/root/usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyo |
� ��^c @ sN d Z d d l Z d e j f d � � YZ d � Z e d k rJ e � n d S( 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����Nt Appc B s# e Z d � Z d � Z d � Z RS( c C s- t j j | � t j � | _ | j � d S( N( t ttkt Framet __init__t Stylet stylet _setup_widgets( t self( ( s5 /usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyR s c C s5 | j j � r1 | j j � } | j j | � n d S( N( t widgett currentt getR t theme_use( R t eventt newtheme( ( s5 /usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyt _change_theme s c C s� t | j j � � } | j d d � t j | d | d d d d �} | j | d � | j d | j � | j d d � | j d d d d � d S( Ni s Pick a themet valuest statet readonlyt heighti s <<ComboboxSelected>>t fillt xt botht expandi ( t listR t theme_namest insertR t Comboboxt sett bindR t pack( R t themest themes_combo( ( s5 /usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyR s ( t __name__t __module__R R R ( ( ( s5 /usr/lib64/python2.7/Demo/tkinter/ttk/combo_themes.pyR s c C s'