^c @ s d Z d d l Z d d l Z d d l Z d d l m Z d g Z i d d 6d d 6d d
6d d 6Z i Z d
Z d Z
d S( ss This 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:anonymous@tktable.cvs.sourceforge.net:/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
iN( t
PhotoImaget installs #efefeft frames #aaaaaat
disabledfgs #657a9et selectbgs #fffffft selectfgc C s t j j | } t j j | s7 t d | n xW t j d | D]B } t j j | d } | d } t | d | d d t |