� ��^c@s�dZddlZddlZddlZddlmZdgZidd6dd6d d 6d d 6ZiZd �Z d�Z dS(ssThis demonstrates good part of the syntax accepted by theme_create. This is a translation of plastik.tcl to python. You will need the images used by the plastik theme to test this. The images (and other tile themes) can be retrived by doing: $ cvs -z3 -d:pserver:[email protected]:/cvsroot/tktable co tile-themes To test this module you should do, for example: import Tkinter import plastik_theme root = Tkinter.Tk() plastik_theme.install(plastik_image_dir) ... Where plastik_image_dir contains the path to the images directory used by the plastik theme, something like: tile-themes/plastik/plastik i����N(t PhotoImagetinstalls#efefeftframes#aaaaaat disabledfgs#657a9etselectbgs#fffffftselectfgcCs�tjj|�}tjj|�s7td|��nxWtjd|�D]B}tjj|�d}|d }t|d|dd�t|id)d6fd?id@idAid'd6dd 6fgd#6fgd#6fgd#6fgd$6dB6iidCdDdCdCgdE6d6dF6iidGdDdGdDgdH6dCdCdDgd 6d6idIddDdJdDgfgd 6d6dK6iidCdH6d6dL6idMdNd�d�idJd/gdS6dJdH6dTd6fdU6d36idMdVd�d�d�idJdYgdS6dZdH6d[d6fdU6d96idMd\d�d�d�d�idd6fdU6da6idMdbd�d�d�d�idd6fdU6dg6idMdhidZdS6d+d6fdU6d,6id�dU6d-6id�dU6d*6idMdkidZdS6dd6fdU6d6id�dU6d"6id�dU6d6idMdnd�idd6fdU6dp6idMdqd�idd6fdU6ds6idMdtd�idd6fdU6dv6idMdwd�idd6fdU6dy6idMdzidd6fdU6d{6idMd|iddS6dCdH6fdU6d}6idMd~idd6fdU6d6idMd�iddS6dCdH6fdU6d�6idMd�d�idDdS6dZdJgdH6d[d6fdU6d�6idMdSidJdS6dJdH6d[d6fdU6d�6idMd�d�id[d6dJdGd�d�gdS6dJdJd�gdH6fdU6d=6idMd�id�d6d�dCdCdCgdS6fdU6d>6idMd�d�d�d�d�d�idJdGd�d�gdS6dJdJd�gdH6d[d6fdU6d�6idMd�id�d6d�dCdCdCgdS6fdU6d�6idMd�idJdS6fdU6d�6idMd�d�d�idCdDdCdCgdH6dJd/dJd/gdS6fdU6d�6idMd�idDdS6fdU6d�6idMd�idDdYgdS6fdU6d�6idMd�idYdDgdS6fdU6d�6idMd�d�idJd/gdS6dJdH6d[d6fdU6d�6�|jd�dS(�NtplastiktdefaulttsettingsRt backgroundt troughcolorRtselectbackgroundRtselectforegroundtfieldbackgroundt TkDefaultFonttfontit borderwidtht configuretdisabledRt foregroundtmapt.sVertical.Scrollbar.uparrowttoptsidettstickysVertical.Scrollbar.downarrowtbottomsVertical.Scrollbar.troughtnssVertical.Scrollbar.thumbtexpandtunitsVertical.Scrollbar.griptchildrentlayoutsVertical.TScrollbarsHorizontal.Scrollbar.leftarrowtleftsHorizontal.Scrollbar.rightarrowtrightsHorizontal.Scrollbar.troughtewsHorizontal.Scrollbar.thumbsHorizontal.Scrollbar.gripsHorizontal.TScrollbari twidthtcentertanchors Button.buttons Button.focussButton.paddings Button.labeltTButtonsToolbutton.bordersToolbutton.buttonsToolbutton.paddingsToolbutton.labelt ToolbuttonsMenubutton.buttonsMenubutton.indicatorsMenubutton.focussMenubutton.paddingsMenubutton.labelt TMenubuttoniit tabmarginst TNotebookitpaddingtselectedis TNotebook.tabtTreeviewtimagesbutton-ntpressedsbutton-ptactivesbutton-htbordertewnsselement creates tbutton-ns tbutton-ps tbutton-hi itnewsscheck-nuscheck-hcscheck-pcscheck-huscheck-ncsCheckbutton.indicatorsradio-nusradio-hcsradio-pcsradio-husradio-ncsRadiobutton.indicatorshsb-nshsb-gshsb-tsvsb-nsvsb-gsvsb-ts arrowup-ns arrowup-psScrollbar.uparrows arrowdown-ns arrowdown-psScrollbar.downarrows arrowleft-ns arrowleft-psScrollbar.leftarrows arrowright-ns arrowright-psScrollbar.rightarrows hslider-nsHorizontal.Scale.sliders hslider-tsHorizontal.Scale.troughs vslider-nsVertical.Scale.sliders vslider-tsVertical.Scale.troughsentry-ntfocussentry-fs Entry.fieldsLabelframe.borderscombo-rscombo-raiiisarrow-dtescombo-ntreadonlyscombo-fascombo-as !readonlyscombo-fsCombobox.fieldsCombobox.downarrows notebook-csNotebook.clients notebook-tns notebook-tss notebook-tas Notebook.tabs hprogress-tsProgressbar.troughs hprogress-bsHorizontal.Progressbar.pbars vprogress-bsVertical.Progressbar.pbarstree-nstree-psTreeheading.cell(R?sbutton-p(R@sbutton-h(R<s tbutton-p(R?s tbutton-p(R@s tbutton-h(R@R<scheck-hc(R?R<scheck-pc(R@scheck-hu(R<scheck-nc(R@R<sradio-hc(R?R<sradio-pc(R@sradio-hu(R<sradio-nc(R>shsb-g(R>shsb-t(R>svsb-g(R>svsb-t(R?s arrowup-p(R?s arrowdown-p(R?s arrowleft-p(R?s arrowright-p(RDsentry-f(R@scombo-ra(RFR@scombo-ra(RDR@scombo-fa(R@scombo-a(s !readonlyRDscombo-f(RFscombo-r(R<s notebook-ts(R@s notebook-ta(R?stree-p(RtttktStylet theme_createtcolorst theme_use(Rtstyle((s6/usr/lib64/python2.7/Demo/tkinter/ttk/plastik_theme.pyR.s        / /@@@!*'))"" "")).&.4!!-( t__doc__R RRGtTkinterRt__all__RJRRR(((s6/usr/lib64/python2.7/Demo/tkinter/ttk/plastik_theme.pyts