Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ########################################################################################################################
- # File: setup.py
- # Author: Dan Huckson, https://github.com/unodan
- # Date: 2019-08-10
- ########################################################################################################################
- import tkinter as tk
- setup = {
- 'type': 'Frame',
- 'settings': [
- ('grid', (
- ('padx', 10),
- ('pady', 10),
- ('row', 0),
- ('sticky', tk.EW),
- )),
- ('options', (
- ('padding', 10),
- )),
- ('configure', (
- ('background', 'blue'),
- )),
- ],
- 'left': {
- 'type': 'Frame',
- 'settings': [
- ('grid', (
- ('sticky', tk.EW),
- )),
- ('options', (
- ('padding', 10),
- )),
- ('configure', (
- ('background', 'teal'),
- )),
- ],
- },
- 'right': {
- 'type': 'Frame',
- 'settings': [
- ('grid', (
- ('row', 0),
- ('column', 1),
- ('sticky', tk.EW),
- )),
- ('options', (
- ('padding', 10),
- )),
- ('configure', (
- ('background', 'lime'),
- )),
- ],
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement