ClausFrame
frame = claustk.ClausFrame(root, background="santa_clauses")
frame.pack(padx=10, pady=10)
| Argument | Description |
|---|---|
| background | str, by default background="christmas_trees". Also available are "deer", "gifts", "santa_clauses", "snowflakes", "stars". |
| bg_fragmentation | Pattern fragmentation, int, defaults to 3. |
| bg_blur | int, the larger the number, the greater the blur. |
| Other tkinter.Canvas arguments |
Useful variables
- avg_color
- contrast_color
Average background color. For example, print(frame.avg_color)
A contrasting color relative to the average background color. For example, print(frame.contrast_color)