~sffjunkie/tkstuff/trunk

« back to all changes in this revision

Viewing changes to example/example_tints_and_shades.py

  • Committer: Simon Kennedy
  • Date: 2014-06-29 10:26:34 UTC
  • Revision ID: code@sffjunkie.co.uk-20140629102634-uer7ckgsd70ya9l0
Better example.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
if __name__ == '__main__':
17
17
    root = tk.Tk()
18
 
    root.title('Color Palette')
 
18
    root.title('Tints and Shades')
19
19
 
20
 
    color = ColorVar(value=(0.75, 0.85, 0.75))
 
20
    color = ColorVar(value=(0.35, 0.85, 0.75))
21
21
 
22
22
    tints = ColorTint(root, color)
23
23
    tints.grid(row=0, column=0)