Advertisement
Uno-Dan

Untitled

Oct 7th, 2018
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 84.65 KB | None | 0 0
  1. from tkapp.app import App
  2.  
  3.  
  4. class MyDemo(App):
  5.     def __init__(self, *args, **kwargs):
  6.         super().__init__(*args, **kwargs)
  7.  
  8.  
  9. def main():
  10.     defaults = {
  11.         "page1": {
  12.             "type": "Frame",
  13.             "sticky": "nsew",
  14.             "window_title": "Demo Application1",
  15.             "auto_save": True,
  16.             "save_size": True,
  17.             "scrollbars": False,
  18.             "save_position": True,
  19.             "content": {
  20.                 "type": "PanedWindow",
  21.                 "sticky": "nsew",
  22.                 "orient": "horizontal",
  23.                 "sashwidth": 2,
  24.                 "background": "#000000",
  25.                 "left_pane": {
  26.                     "type": "Frame",
  27.                     "sticky": "nsew",
  28.                     "treeview": {
  29.                         "type": "Treeview",
  30.                         "rowspan": 9899,
  31.                         "column": 0,
  32.                         "label": "Pages",
  33.                         "scrollbars": "vertical",
  34.                         "items": {
  35.                             "demos": {
  36.                                 "label": "Demos",
  37.                                 "children": {
  38.                                     "3d_demo": {
  39.                                         "label": "3D Demo"
  40.                                     },
  41.                                     "animation_demo": {
  42.                                         "label": "Animation Demo"
  43.                                     },
  44.                                     "animation_demo_two": {
  45.                                         "label": "Animation Demo Two"
  46.                                     }
  47.                                 }
  48.                             },
  49.                             "statistics": {
  50.                                 "label": "Statistics",
  51.                                 "children": {
  52.                                     "season_win_loss": {
  53.                                         "label": "Season Win\\Loss"
  54.                                     },
  55.                                     "season_game_times": {
  56.                                         "label": "Season Game Times 12345678901234567890"
  57.                                     }
  58.                                 }
  59.                             },
  60.                             "templates": {
  61.                                 "label": "Templates",
  62.                                 "children": {
  63.                                     "template1": {
  64.                                         "label": "Template 1"
  65.                                     },
  66.                                     "template2": {
  67.                                         "label": "Template 2"
  68.                                     },
  69.                                     "template3": {
  70.                                         "label": "Template 3"
  71.                                     }
  72.                                 }
  73.                             },
  74.                             "templates1": {
  75.                                 "label": "Templates1",
  76.                                 "children": {
  77.                                     "template1a": {
  78.                                         "label": "Template 1"
  79.                                     }
  80.                                 }
  81.                             },
  82.                             "templates2": {
  83.                                 "label": "Templates2",
  84.                                 "children": {
  85.                                     "template2a": {
  86.                                         "label": "Template 2"
  87.                                     }
  88.                                 }
  89.                             },
  90.                             "templates3": {
  91.                                 "label": "Templates3",
  92.                                 "children": {
  93.                                     "template3a": {
  94.                                         "label": "Template 4"
  95.                                     }
  96.                                 }
  97.                             },
  98.                             "templates4": {
  99.                                 "label": "Templates4",
  100.                                 "children": {
  101.                                     "template4a": {
  102.                                         "label": "Template 4"
  103.                                     }
  104.                                 }
  105.                             },
  106.                             "templates5": {
  107.                                 "label": "Templates5",
  108.                                 "children": {
  109.                                     "template5a": {
  110.                                         "label": "Template 5"
  111.                                     }
  112.                                 }
  113.                             },
  114.                             "templates6": {
  115.                                 "label": "Templates6",
  116.                                 "children": {
  117.                                     "template6a": {
  118.                                         "label": "Template 6"
  119.                                     }
  120.                                 }
  121.                             },
  122.                             "templates7": {
  123.                                 "label": "Templates7",
  124.                                 "children": {
  125.                                     "template7a": {
  126.                                         "label": "Template 7"
  127.                                     }
  128.                                 }
  129.                             },
  130.                             "templates8": {
  131.                                 "label": "Templates8",
  132.                                 "children": {
  133.                                     "template8a": {
  134.                                         "label": "Template 8"
  135.                                     }
  136.                                 }
  137.                             }
  138.                         },
  139.                         "sticky": "NSEW"
  140.                     }
  141.                 },
  142.                 "middle_pane": {
  143.                     "type": "Frame",
  144.                     "sticky": "nsew",
  145.                     "pane": {
  146.                         "type": "PanedWindow",
  147.                         "sticky": "nsew",
  148.                         "orient": "vertical",
  149.                         "sashwidth": 2,
  150.                         "background": "#000000",
  151.                         "top_pane": {
  152.                             "type": "Frame",
  153.                             "sticky": "nsew",
  154.                             "pane": {
  155.                                 "type": "PanedWindow",
  156.                                 "sticky": "nsew",
  157.                                 "orient": "horizontal",
  158.                                 "sashwidth": 2,
  159.                                 "background": "#000000",
  160.                                 "left_pane": {
  161.                                     "type": "Frame",
  162.                                     "sticky": "nsew",
  163.                                     "treeview": {
  164.                                         "type": "Treeview",
  165.                                         "rowspan": 9899,
  166.                                         "column": 0,
  167.                                         "label": "Pages",
  168.                                         "scrollbars": "vertical",
  169.                                         "items": {
  170.                                             "demos": {
  171.                                                 "label": "Demos",
  172.                                                 "children": {
  173.                                                     "3d_demo": {
  174.                                                         "label": "3D Demo"
  175.                                                     },
  176.                                                     "animation_demo": {
  177.                                                         "label": "Animation Demo"
  178.                                                     },
  179.                                                     "animation_demo_two": {
  180.                                                         "label": "Animation Demo Two"
  181.                                                     }
  182.                                                 }
  183.                                             },
  184.                                             "statistics": {
  185.                                                 "label": "Statistics",
  186.                                                 "children": {
  187.                                                     "season_win_loss": {
  188.                                                         "label": "Season Win\\Loss"
  189.                                                     },
  190.                                                     "season_game_times": {
  191.                                                         "label": "Season Game Times 12345678901234567890"
  192.                                                     }
  193.                                                 }
  194.                                             },
  195.                                             "templates": {
  196.                                                 "label": "Templates",
  197.                                                 "children": {
  198.                                                     "template1": {
  199.                                                         "label": "Template 1"
  200.                                                     },
  201.                                                     "template2": {
  202.                                                         "label": "Template 2"
  203.                                                     },
  204.                                                     "template3": {
  205.                                                         "label": "Template 3"
  206.                                                     }
  207.                                                 }
  208.                                             },
  209.                                             "templates1": {
  210.                                                 "label": "Templates1",
  211.                                                 "children": {
  212.                                                     "template1a": {
  213.                                                         "label": "Template 1"
  214.                                                     }
  215.                                                 }
  216.                                             },
  217.                                             "templates2": {
  218.                                                 "label": "Templates2",
  219.                                                 "children": {
  220.                                                     "template2a": {
  221.                                                         "label": "Template 2"
  222.                                                     }
  223.                                                 }
  224.                                             },
  225.                                             "templates3": {
  226.                                                 "label": "Templates3",
  227.                                                 "children": {
  228.                                                     "template3a": {
  229.                                                         "label": "Template 4"
  230.                                                     }
  231.                                                 }
  232.                                             },
  233.                                             "templates4": {
  234.                                                 "label": "Templates4",
  235.                                                 "children": {
  236.                                                     "template4a": {
  237.                                                         "label": "Template 4"
  238.                                                     }
  239.                                                 }
  240.                                             },
  241.                                             "templates5": {
  242.                                                 "label": "Templates5",
  243.                                                 "children": {
  244.                                                     "template5a": {
  245.                                                         "label": "Template 5"
  246.                                                     }
  247.                                                 }
  248.                                             },
  249.                                             "templates6": {
  250.                                                 "label": "Templates6",
  251.                                                 "children": {
  252.                                                     "template6a": {
  253.                                                         "label": "Template 6"
  254.                                                     }
  255.                                                 }
  256.                                             },
  257.                                             "templates7": {
  258.                                                 "label": "Templates7",
  259.                                                 "children": {
  260.                                                     "template7a": {
  261.                                                         "label": "Template 7"
  262.                                                     }
  263.                                                 }
  264.                                             },
  265.                                             "templates8": {
  266.                                                 "label": "Templates8",
  267.                                                 "children": {
  268.                                                     "template8a": {
  269.                                                         "label": "Template 8"
  270.                                                     }
  271.                                                 }
  272.                                             }
  273.                                         },
  274.                                         "sticky": "NSEW"
  275.                                     }
  276.                                 },
  277.                                 "middle_pane": {
  278.                                     "type": "Frame",
  279.                                     "sticky": "nsew",
  280.                                     "pane": {
  281.                                         "type": "PanedWindow",
  282.                                         "sticky": "nsew",
  283.                                         "orient": "vertical",
  284.                                         "sashwidth": 2,
  285.                                         "background": "#000000",
  286.                                         "top_pane": {
  287.                                             "type": "Frame",
  288.                                             "sticky": "nsew",
  289.                                             "entry1": {
  290.                                                 "type": "Entry",
  291.                                                 "row": 0,
  292.                                                 "label": "MyLabel 1a1 ",
  293.                                                 "label_anchor": "w"
  294.                                             },
  295.                                             "entry2": {
  296.                                                 "type": "Entry",
  297.                                                 "row": 1,
  298.                                                 "label": "MyLabel 1a2 ",
  299.                                                 "label_anchor": "w"
  300.                                             }
  301.                                         },
  302.                                         "bottom_pane": {
  303.                                             "type": "Frame",
  304.                                             "sticky": "nsew",
  305.                                             "pane1a1": {
  306.                                                 "type": "PanedWindow",
  307.                                                 "sticky": "nsew",
  308.                                                 "orient": "horizontal",
  309.                                                 "sashwidth": 2,
  310.                                                 "background": "#000000",
  311.                                                 "left_pane": {
  312.                                                     "type": "Frame",
  313.                                                     "sticky": "nsew",
  314.                                                     "entry1": {
  315.                                                         "type": "Entry",
  316.                                                         "row": 0,
  317.                                                         "label": "MyLabel 1a2 ",
  318.                                                         "label_anchor": "w"
  319.                                                     }
  320.                                                 },
  321.                                                 "middle_pane": {
  322.                                                     "type": "Frame",
  323.                                                     "sticky": "nsew",
  324.                                                     "entry1": {
  325.                                                         "type": "Entry",
  326.                                                         "row": 0,
  327.                                                         "label": "MyLabel 1a3a ",
  328.                                                         "label_anchor": "w"
  329.                                                     }
  330.                                                 },
  331.                                                 "right_pane": {
  332.                                                     "type": "Frame",
  333.                                                     "sticky": "nsew",
  334.                                                     "entry1": {
  335.                                                         "type": "Entry",
  336.                                                         "row": 0,
  337.                                                         "label": "MyLabel 1a3 ",
  338.                                                         "label_anchor": "w"
  339.                                                     }
  340.                                                 }
  341.                                             }
  342.                                         },
  343.                                         "top_pane2": {
  344.                                             "type": "Frame",
  345.                                             "sticky": "nsew",
  346.                                             "entry1": {
  347.                                                 "type": "Entry",
  348.                                                 "row": 0,
  349.                                                 "label": "MyLabel 1a1 ",
  350.                                                 "label_anchor": "w"
  351.                                             }
  352.                                         },
  353.                                         "bottom_pane2": {
  354.                                             "type": "Frame",
  355.                                             "sticky": "nsew",
  356.                                             "pane1a1": {
  357.                                                 "type": "PanedWindow",
  358.                                                 "sticky": "nsew",
  359.                                                 "orient": "horizontal",
  360.                                                 "sashwidth": 2,
  361.                                                 "background": "#000000",
  362.                                                 "left_pane": {
  363.                                                     "type": "Frame",
  364.                                                     "sticky": "nsew",
  365.                                                     "entry1": {
  366.                                                         "type": "Entry",
  367.                                                         "row": 0,
  368.                                                         "label": "MyLabel 1a2 ",
  369.                                                         "label_anchor": "w"
  370.                                                     }
  371.                                                 },
  372.                                                 "middle_pane": {
  373.                                                     "type": "Frame",
  374.                                                     "sticky": "nsew",
  375.                                                     "entry1": {
  376.                                                         "type": "Entry",
  377.                                                         "row": 0,
  378.                                                         "label": "MyLabel 1a3a ",
  379.                                                         "label_anchor": "w"
  380.                                                     }
  381.                                                 },
  382.                                                 "right_pane": {
  383.                                                     "type": "Frame",
  384.                                                     "sticky": "nsew",
  385.                                                     "entry1": {
  386.                                                         "type": "Entry",
  387.                                                         "row": 0,
  388.                                                         "label": "MyLabel 1a3 ",
  389.                                                         "label_anchor": "w"
  390.                                                     }
  391.                                                 }
  392.                                             }
  393.                                         }
  394.                                     }
  395.                                 },
  396.                                 "right_pane": {
  397.                                     "type": "Frame",
  398.                                     "sticky": "nsew",
  399.                                     "entry1": {
  400.                                         "type": "Entry",
  401.                                         "row": 0,
  402.                                         "label": "MyLabel 1 ",
  403.                                         "label_anchor": "w"
  404.                                     }
  405.                                 }
  406.                             }
  407.                         },
  408.                         "bottom_pane": {
  409.                             "type": "Frame",
  410.                             "sticky": "nsew",
  411.                             "pane1a1": {
  412.                                 "type": "PanedWindow",
  413.                                 "sticky": "nsew",
  414.                                 "orient": "horizontal",
  415.                                 "sashwidth": 2,
  416.                                 "background": "#000000",
  417.                                 "left_pane": {
  418.                                     "type": "Frame",
  419.                                     "sticky": "nsew",
  420.                                     "entry1": {
  421.                                         "type": "Entry",
  422.                                         "row": 0,
  423.                                         "label": "MyLabel 1a2 ",
  424.                                         "label_anchor": "w"
  425.                                     }
  426.                                 },
  427.                                 "middle_pane": {
  428.                                     "type": "Frame",
  429.                                     "sticky": "nsew",
  430.                                     "entry1": {
  431.                                         "type": "Entry",
  432.                                         "row": 0,
  433.                                         "label": "MyLabel 1a3a ",
  434.                                         "label_anchor": "w"
  435.                                     }
  436.                                 },
  437.                                 "right_pane": {
  438.                                     "type": "Frame",
  439.                                     "sticky": "nsew",
  440.                                     "entry1": {
  441.                                         "type": "Entry",
  442.                                         "row": 0,
  443.                                         "label": "MyLabel 1a3 ",
  444.                                         "label_anchor": "w"
  445.                                     }
  446.                                 }
  447.                             }
  448.                         },
  449.                         "top_pane2": {
  450.                             "type": "Frame",
  451.                             "sticky": "nsew",
  452.                             "entry1": {
  453.                                 "type": "Entry",
  454.                                 "row": 0,
  455.                                 "label": "MyLabel 1a1 ",
  456.                                 "label_anchor": "w"
  457.                             }
  458.                         },
  459.                         "bottom_pane2": {
  460.                             "type": "Frame",
  461.                             "sticky": "nsew",
  462.                             "pane1a1": {
  463.                                 "type": "PanedWindow",
  464.                                 "sticky": "nsew",
  465.                                 "orient": "horizontal",
  466.                                 "sashwidth": 2,
  467.                                 "background": "#000000",
  468.                                 "left_pane": {
  469.                                     "type": "Frame",
  470.                                     "sticky": "nsew",
  471.                                     "entry1": {
  472.                                         "type": "Entry",
  473.                                         "row": 0,
  474.                                         "label": "MyLabel 1a2 ",
  475.                                         "label_anchor": "w"
  476.                                     }
  477.                                 },
  478.                                 "middle_pane": {
  479.                                     "type": "Frame",
  480.                                     "sticky": "nsew",
  481.                                     "entry1": {
  482.                                         "type": "Entry",
  483.                                         "row": 0,
  484.                                         "label": "MyLabel 1a3a ",
  485.                                         "label_anchor": "w"
  486.                                     }
  487.                                 },
  488.                                 "right_pane": {
  489.                                     "type": "Frame",
  490.                                     "sticky": "nsew",
  491.                                     "entry1": {
  492.                                         "type": "Entry",
  493.                                         "row": 0,
  494.                                         "label": "MyLabel 1a3 ",
  495.                                         "label_anchor": "w"
  496.                                     }
  497.                                 }
  498.                             }
  499.                         }
  500.                     }
  501.                 },
  502.                 "right_pane": {
  503.                     "type": "Frame",
  504.                     "sticky": "nsew",
  505.                     "entry1": {
  506.                         "type": "Entry",
  507.                         "row": 0,
  508.                         "label": "MyLabel 1 ",
  509.                         "label_anchor": "w"
  510.                     }
  511.                 }
  512.             },
  513.             "sep1": {
  514.                 "type": "Separator",
  515.                 "row": 1,
  516.                 "columnspan": 9900,
  517.                 "orient": "horizontal",
  518.                 "sticky": "EW"
  519.             },
  520.             "buttons": {
  521.                 "type": "Frame",
  522.                 "row": 9900,
  523.                 "columnspan": 9900,
  524.                 "sticky": "ew",
  525.                 "set_defaults": {
  526.                     "type": "Button",
  527.                     "row": 1,
  528.                     "column": 1,
  529.                     "text": "Defaults",
  530.                     "padx": [0, 5],
  531.                     "sticky": "E"
  532.                 },
  533.                 "apply": {
  534.                     "type": "Button",
  535.                     "row": 1,
  536.                     "column": 2,
  537.                     "padx": [0, 5],
  538.                     "text": "Apply",
  539.                     "sticky": "E"
  540.                 },
  541.                 "save": {
  542.                     "type": "Button",
  543.                     "row": 1,
  544.                     "column": 3,
  545.                     "padx": [0, 5],
  546.                     "text": "Save",
  547.                     "sticky": "E"
  548.                 },
  549.                 "cancel": {
  550.                     "type": "Button",
  551.                     "row": 1,
  552.                     "column": 4,
  553.                     "padx": [0, 5],
  554.                     "text": "Cancel",
  555.                     "sticky": "E"
  556.                 },
  557.                 "exit": {
  558.                     "type": "Button",
  559.                     "row": 1,
  560.                     "column": 5,
  561.                     "text": "Exit",
  562.                     "sticky": "E"
  563.                 }
  564.             }
  565.         },
  566.         "page2": {
  567.             "type": "Frame",
  568.             "sticky": "nsew",
  569.             "window_title": "Demo Application2",
  570.             "auto_save": True,
  571.             "save_size": True,
  572.             "scrollbars": False,
  573.             "save_position": True,
  574.             "content": {
  575.                 "type": "PanedWindow",
  576.                 "sticky": "nsew",
  577.                 "orient": "horizontal",
  578.                 "sashwidth": 2,
  579.                 "background": "#000000",
  580.                 "left_pane": {
  581.                     "type": "Frame",
  582.                     "sticky": "nsew",
  583.                     "treeview": {
  584.                         "type": "Treeview",
  585.                         "rowspan": 9899,
  586.                         "column": 0,
  587.                         "label": "Pages",
  588.                         "scrollbars": "vertical",
  589.                         "items": {
  590.                             "demos": {
  591.                                 "label": "Demos",
  592.                                 "children": {
  593.                                     "3d_demo": {
  594.                                         "label": "3D Demo"
  595.                                     },
  596.                                     "animation_demo": {
  597.                                         "label": "Animation Demo"
  598.                                     },
  599.                                     "animation_demo_two": {
  600.                                         "label": "Animation Demo Two"
  601.                                     }
  602.                                 }
  603.                             },
  604.                             "statistics": {
  605.                                 "label": "Statistics",
  606.                                 "children": {
  607.                                     "season_win_loss": {
  608.                                         "label": "Season Win\\Loss"
  609.                                     },
  610.                                     "season_game_times": {
  611.                                         "label": "Season Game Times 12345678901234567890"
  612.                                     }
  613.                                 }
  614.                             },
  615.                             "templates": {
  616.                                 "label": "Templates",
  617.                                 "children": {
  618.                                     "template1": {
  619.                                         "label": "Template 1"
  620.                                     },
  621.                                     "template2": {
  622.                                         "label": "Template 2"
  623.                                     },
  624.                                     "template3": {
  625.                                         "label": "Template 3"
  626.                                     }
  627.                                 }
  628.                             },
  629.                             "templates1": {
  630.                                 "label": "Templates1",
  631.                                 "children": {
  632.                                     "template1a": {
  633.                                         "label": "Template 1"
  634.                                     }
  635.                                 }
  636.                             },
  637.                             "templates2": {
  638.                                 "label": "Templates2",
  639.                                 "children": {
  640.                                     "template2a": {
  641.                                         "label": "Template 2"
  642.                                     }
  643.                                 }
  644.                             },
  645.                             "templates3": {
  646.                                 "label": "Templates3",
  647.                                 "children": {
  648.                                     "template3a": {
  649.                                         "label": "Template 4"
  650.                                     }
  651.                                 }
  652.                             },
  653.                             "templates4": {
  654.                                 "label": "Templates4",
  655.                                 "children": {
  656.                                     "template4a": {
  657.                                         "label": "Template 4"
  658.                                     }
  659.                                 }
  660.                             },
  661.                             "templates5": {
  662.                                 "label": "Templates5",
  663.                                 "children": {
  664.                                     "template5a": {
  665.                                         "label": "Template 5"
  666.                                     }
  667.                                 }
  668.                             },
  669.                             "templates6": {
  670.                                 "label": "Templates6",
  671.                                 "children": {
  672.                                     "template6a": {
  673.                                         "label": "Template 6"
  674.                                     }
  675.                                 }
  676.                             },
  677.                             "templates7": {
  678.                                 "label": "Templates7",
  679.                                 "children": {
  680.                                     "template7a": {
  681.                                         "label": "Template 7"
  682.                                     }
  683.                                 }
  684.                             },
  685.                             "templates8": {
  686.                                 "label": "Templates8",
  687.                                 "children": {
  688.                                     "template8a": {
  689.                                         "label": "Template 8"
  690.                                     }
  691.                                 }
  692.                             }
  693.                         },
  694.                         "sticky": "NSEW"
  695.                     }
  696.                 },
  697.                 "middle_pane": {
  698.                     "type": "Frame",
  699.                     "sticky": "nsew",
  700.                     "pane": {
  701.                         "type": "PanedWindow",
  702.                         "sticky": "nsew",
  703.                         "orient": "vertical",
  704.                         "sashwidth": 2,
  705.                         "background": "#000000",
  706.                         "top_pane": {
  707.                             "type": "Frame",
  708.                             "sticky": "nsew",
  709.                             "pane": {
  710.                                 "type": "PanedWindow",
  711.                                 "sticky": "nsew",
  712.                                 "orient": "horizontal",
  713.                                 "sashwidth": 2,
  714.                                 "background": "#000000",
  715.                                 "left_pane": {
  716.                                     "type": "Frame",
  717.                                     "sticky": "nsew",
  718.                                     "treeview": {
  719.                                         "type": "Treeview",
  720.                                         "rowspan": 9899,
  721.                                         "column": 0,
  722.                                         "label": "Pages",
  723.                                         "scrollbars": "vertical",
  724.                                         "items": {
  725.                                             "demos": {
  726.                                                 "label": "Demos",
  727.                                                 "children": {
  728.                                                     "3d_demo": {
  729.                                                         "label": "3D Demo"
  730.                                                     },
  731.                                                     "animation_demo": {
  732.                                                         "label": "Animation Demo"
  733.                                                     },
  734.                                                     "animation_demo_two": {
  735.                                                         "label": "Animation Demo Two"
  736.                                                     }
  737.                                                 }
  738.                                             },
  739.                                             "statistics": {
  740.                                                 "label": "Statistics",
  741.                                                 "children": {
  742.                                                     "season_win_loss": {
  743.                                                         "label": "Season Win\\Loss"
  744.                                                     },
  745.                                                     "season_game_times": {
  746.                                                         "label": "Season Game Times 12345678901234567890"
  747.                                                     }
  748.                                                 }
  749.                                             },
  750.                                             "templates": {
  751.                                                 "label": "Templates",
  752.                                                 "children": {
  753.                                                     "template1": {
  754.                                                         "label": "Template 1"
  755.                                                     },
  756.                                                     "template2": {
  757.                                                         "label": "Template 2"
  758.                                                     },
  759.                                                     "template3": {
  760.                                                         "label": "Template 3"
  761.                                                     }
  762.                                                 }
  763.                                             },
  764.                                             "templates1": {
  765.                                                 "label": "Templates1",
  766.                                                 "children": {
  767.                                                     "template1a": {
  768.                                                         "label": "Template 1"
  769.                                                     }
  770.                                                 }
  771.                                             },
  772.                                             "templates2": {
  773.                                                 "label": "Templates2",
  774.                                                 "children": {
  775.                                                     "template2a": {
  776.                                                         "label": "Template 2"
  777.                                                     }
  778.                                                 }
  779.                                             },
  780.                                             "templates3": {
  781.                                                 "label": "Templates3",
  782.                                                 "children": {
  783.                                                     "template3a": {
  784.                                                         "label": "Template 4"
  785.                                                     }
  786.                                                 }
  787.                                             },
  788.                                             "templates4": {
  789.                                                 "label": "Templates4",
  790.                                                 "children": {
  791.                                                     "template4a": {
  792.                                                         "label": "Template 4"
  793.                                                     }
  794.                                                 }
  795.                                             },
  796.                                             "templates5": {
  797.                                                 "label": "Templates5",
  798.                                                 "children": {
  799.                                                     "template5a": {
  800.                                                         "label": "Template 5"
  801.                                                     }
  802.                                                 }
  803.                                             },
  804.                                             "templates6": {
  805.                                                 "label": "Templates6",
  806.                                                 "children": {
  807.                                                     "template6a": {
  808.                                                         "label": "Template 6"
  809.                                                     }
  810.                                                 }
  811.                                             },
  812.                                             "templates7": {
  813.                                                 "label": "Templates7",
  814.                                                 "children": {
  815.                                                     "template7a": {
  816.                                                         "label": "Template 7"
  817.                                                     }
  818.                                                 }
  819.                                             },
  820.                                             "templates8": {
  821.                                                 "label": "Templates8",
  822.                                                 "children": {
  823.                                                     "template8a": {
  824.                                                         "label": "Template 8"
  825.                                                     }
  826.                                                 }
  827.                                             }
  828.                                         },
  829.                                         "sticky": "NSEW"
  830.                                     }
  831.                                 },
  832.                                 "middle_pane": {
  833.                                     "type": "Frame",
  834.                                     "sticky": "nsew",
  835.                                     "pane": {
  836.                                         "type": "PanedWindow",
  837.                                         "sticky": "nsew",
  838.                                         "orient": "vertical",
  839.                                         "sashwidth": 2,
  840.                                         "background": "#000000",
  841.                                         "top_pane": {
  842.                                             "type": "Frame",
  843.                                             "sticky": "nsew",
  844.                                             "entry1": {
  845.                                                 "type": "Entry",
  846.                                                 "row": 0,
  847.                                                 "label": "MyLabel 1a1 ",
  848.                                                 "label_anchor": "w"
  849.                                             },
  850.                                             "entry2": {
  851.                                                 "type": "Entry",
  852.                                                 "row": 1,
  853.                                                 "label": "MyLabel 1a2 ",
  854.                                                 "label_anchor": "w"
  855.                                             }
  856.                                         },
  857.                                         "bottom_pane": {
  858.                                             "type": "Frame",
  859.                                             "sticky": "nsew",
  860.                                             "pane1a1": {
  861.                                                 "type": "PanedWindow",
  862.                                                 "sticky": "nsew",
  863.                                                 "orient": "horizontal",
  864.                                                 "sashwidth": 2,
  865.                                                 "background": "#000000",
  866.                                                 "left_pane": {
  867.                                                     "type": "Frame",
  868.                                                     "sticky": "nsew",
  869.                                                     "entry1": {
  870.                                                         "type": "Entry",
  871.                                                         "row": 0,
  872.                                                         "label": "MyLabel 1a2 ",
  873.                                                         "label_anchor": "w"
  874.                                                     }
  875.                                                 },
  876.                                                 "middle_pane": {
  877.                                                     "type": "Frame",
  878.                                                     "sticky": "nsew",
  879.                                                     "entry1": {
  880.                                                         "type": "Entry",
  881.                                                         "row": 0,
  882.                                                         "label": "MyLabel 1a3a ",
  883.                                                         "label_anchor": "w"
  884.                                                     }
  885.                                                 },
  886.                                                 "right_pane": {
  887.                                                     "type": "Frame",
  888.                                                     "sticky": "nsew",
  889.                                                     "entry1": {
  890.                                                         "type": "Entry",
  891.                                                         "row": 0,
  892.                                                         "label": "MyLabel 1a3 ",
  893.                                                         "label_anchor": "w"
  894.                                                     }
  895.                                                 }
  896.                                             }
  897.                                         },
  898.                                         "top_pane2": {
  899.                                             "type": "Frame",
  900.                                             "sticky": "nsew",
  901.                                             "entry1": {
  902.                                                 "type": "Entry",
  903.                                                 "row": 0,
  904.                                                 "label": "MyLabel 1a1 ",
  905.                                                 "label_anchor": "w"
  906.                                             }
  907.                                         },
  908.                                         "bottom_pane2": {
  909.                                             "type": "Frame",
  910.                                             "sticky": "nsew",
  911.                                             "pane1a1": {
  912.                                                 "type": "PanedWindow",
  913.                                                 "sticky": "nsew",
  914.                                                 "orient": "horizontal",
  915.                                                 "sashwidth": 2,
  916.                                                 "background": "#000000",
  917.                                                 "left_pane": {
  918.                                                     "type": "Frame",
  919.                                                     "sticky": "nsew",
  920.                                                     "entry1": {
  921.                                                         "type": "Entry",
  922.                                                         "row": 0,
  923.                                                         "label": "MyLabel 1a2 ",
  924.                                                         "label_anchor": "w"
  925.                                                     }
  926.                                                 },
  927.                                                 "middle_pane": {
  928.                                                     "type": "Frame",
  929.                                                     "sticky": "nsew",
  930.                                                     "entry1": {
  931.                                                         "type": "Entry",
  932.                                                         "row": 0,
  933.                                                         "label": "MyLabel 1a3a ",
  934.                                                         "label_anchor": "w"
  935.                                                     }
  936.                                                 },
  937.                                                 "right_pane": {
  938.                                                     "type": "Frame",
  939.                                                     "sticky": "nsew",
  940.                                                     "entry1": {
  941.                                                         "type": "Entry",
  942.                                                         "row": 0,
  943.                                                         "label": "MyLabel 1a3 ",
  944.                                                         "label_anchor": "w"
  945.                                                     }
  946.                                                 }
  947.                                             }
  948.                                         }
  949.                                     }
  950.                                 },
  951.                                 "right_pane": {
  952.                                     "type": "Frame",
  953.                                     "sticky": "nsew",
  954.                                     "entry1": {
  955.                                         "type": "Entry",
  956.                                         "row": 0,
  957.                                         "label": "MyLabel 1 ",
  958.                                         "label_anchor": "w"
  959.                                     }
  960.                                 }
  961.                             }
  962.                         },
  963.                         "bottom_pane": {
  964.                             "type": "Frame",
  965.                             "sticky": "nsew",
  966.                             "pane1a1": {
  967.                                 "type": "PanedWindow",
  968.                                 "sticky": "nsew",
  969.                                 "orient": "horizontal",
  970.                                 "sashwidth": 2,
  971.                                 "background": "#000000",
  972.                                 "left_pane": {
  973.                                     "type": "Frame",
  974.                                     "sticky": "nsew",
  975.                                     "entry1": {
  976.                                         "type": "Entry",
  977.                                         "row": 0,
  978.                                         "label": "MyLabel 1a2 ",
  979.                                         "label_anchor": "w"
  980.                                     }
  981.                                 },
  982.                                 "middle_pane": {
  983.                                     "type": "Frame",
  984.                                     "sticky": "nsew",
  985.                                     "entry1": {
  986.                                         "type": "Entry",
  987.                                         "row": 0,
  988.                                         "label": "MyLabel 1a3a ",
  989.                                         "label_anchor": "w"
  990.                                     }
  991.                                 },
  992.                                 "right_pane": {
  993.                                     "type": "Frame",
  994.                                     "sticky": "nsew",
  995.                                     "entry1": {
  996.                                         "type": "Entry",
  997.                                         "row": 0,
  998.                                         "label": "MyLabel 1a3 ",
  999.                                         "label_anchor": "w"
  1000.                                     }
  1001.                                 }
  1002.                             }
  1003.                         },
  1004.                         "top_pane2": {
  1005.                             "type": "Frame",
  1006.                             "sticky": "nsew",
  1007.                             "entry1": {
  1008.                                 "type": "Entry",
  1009.                                 "row": 0,
  1010.                                 "label": "MyLabel 1a1 ",
  1011.                                 "label_anchor": "w"
  1012.                             }
  1013.                         },
  1014.                         "bottom_pane2": {
  1015.                             "type": "Frame",
  1016.                             "sticky": "nsew",
  1017.                             "pane1a1": {
  1018.                                 "type": "PanedWindow",
  1019.                                 "sticky": "nsew",
  1020.                                 "orient": "horizontal",
  1021.                                 "sashwidth": 2,
  1022.                                 "background": "#000000",
  1023.                                 "left_pane": {
  1024.                                     "type": "Frame",
  1025.                                     "sticky": "nsew",
  1026.                                     "entry1": {
  1027.                                         "type": "Entry",
  1028.                                         "row": 0,
  1029.                                         "label": "MyLabel 1a2 ",
  1030.                                         "label_anchor": "w"
  1031.                                     }
  1032.                                 },
  1033.                                 "middle_pane": {
  1034.                                     "type": "Frame",
  1035.                                     "sticky": "nsew",
  1036.                                     "entry1": {
  1037.                                         "type": "Entry",
  1038.                                         "row": 0,
  1039.                                         "label": "MyLabel 1a3a ",
  1040.                                         "label_anchor": "w"
  1041.                                     }
  1042.                                 },
  1043.                                 "right_pane": {
  1044.                                     "type": "Frame",
  1045.                                     "sticky": "nsew",
  1046.                                     "entry1": {
  1047.                                         "type": "Entry",
  1048.                                         "row": 0,
  1049.                                         "label": "MyLabel 1a3 ",
  1050.                                         "label_anchor": "w"
  1051.                                     }
  1052.                                 }
  1053.                             }
  1054.                         }
  1055.                     }
  1056.                 },
  1057.                 "right_pane": {
  1058.                     "type": "Frame",
  1059.                     "sticky": "nsew",
  1060.                     "entry1": {
  1061.                         "type": "Entry",
  1062.                         "row": 0,
  1063.                         "label": "MyLabel 1 ",
  1064.                         "label_anchor": "w"
  1065.                     }
  1066.                 }
  1067.             },
  1068.             "sep1": {
  1069.                 "type": "Separator",
  1070.                 "row": 1,
  1071.                 "columnspan": 9900,
  1072.                 "orient": "horizontal",
  1073.                 "sticky": "EW"
  1074.             },
  1075.             "buttons": {
  1076.                 "type": "Frame",
  1077.                 "row": 9900,
  1078.                 "columnspan": 9900,
  1079.                 "sticky": "ew",
  1080.                 "set_defaults": {
  1081.                     "type": "Button",
  1082.                     "row": 1,
  1083.                     "column": 1,
  1084.                     "text": "Defaults",
  1085.                     "padx": [0, 5],
  1086.                     "sticky": "E"
  1087.                 },
  1088.                 "apply": {
  1089.                     "type": "Button",
  1090.                     "row": 1,
  1091.                     "column": 2,
  1092.                     "padx": [0, 5],
  1093.                     "text": "Apply",
  1094.                     "sticky": "E"
  1095.                 },
  1096.                 "save": {
  1097.                     "type": "Button",
  1098.                     "row": 1,
  1099.                     "column": 3,
  1100.                     "padx": [0, 5],
  1101.                     "text": "Save",
  1102.                     "sticky": "E"
  1103.                 },
  1104.                 "cancel": {
  1105.                     "type": "Button",
  1106.                     "row": 1,
  1107.                     "column": 4,
  1108.                     "padx": [0, 5],
  1109.                     "text": "Cancel",
  1110.                     "sticky": "E"
  1111.                 },
  1112.                 "exit": {
  1113.                     "type": "Button",
  1114.                     "row": 1,
  1115.                     "column": 5,
  1116.                     "text": "Exit",
  1117.                     "sticky": "E"
  1118.                 }
  1119.             }
  1120.         },
  1121.         "page3": {
  1122.             "type": "Frame",
  1123.             "sticky": "nsew",
  1124.             "window_title": "Demo Application3",
  1125.             "auto_save": True,
  1126.             "save_size": True,
  1127.             "scrollbars": False,
  1128.             "save_position": True,
  1129.             "content": {
  1130.                 "type": "PanedWindow",
  1131.                 "sticky": "nsew",
  1132.                 "orient": "horizontal",
  1133.                 "sashwidth": 2,
  1134.                 "background": "#000000",
  1135.                 "left_pane": {
  1136.                     "type": "Frame",
  1137.                     "sticky": "nsew",
  1138.                     "treeview": {
  1139.                         "type": "Treeview",
  1140.                         "rowspan": 9899,
  1141.                         "column": 0,
  1142.                         "label": "Pages",
  1143.                         "scrollbars": "vertical",
  1144.                         "items": {
  1145.                             "demos": {
  1146.                                 "label": "Demos",
  1147.                                 "children": {
  1148.                                     "3d_demo": {
  1149.                                         "label": "3D Demo"
  1150.                                     },
  1151.                                     "animation_demo": {
  1152.                                         "label": "Animation Demo"
  1153.                                     },
  1154.                                     "animation_demo_two": {
  1155.                                         "label": "Animation Demo Two"
  1156.                                     }
  1157.                                 }
  1158.                             },
  1159.                             "statistics": {
  1160.                                 "label": "Statistics",
  1161.                                 "children": {
  1162.                                     "season_win_loss": {
  1163.                                         "label": "Season Win\\Loss"
  1164.                                     },
  1165.                                     "season_game_times": {
  1166.                                         "label": "Season Game Times 12345678901234567890"
  1167.                                     }
  1168.                                 }
  1169.                             },
  1170.                             "templates": {
  1171.                                 "label": "Templates",
  1172.                                 "children": {
  1173.                                     "template1": {
  1174.                                         "label": "Template 1"
  1175.                                     },
  1176.                                     "template2": {
  1177.                                         "label": "Template 2"
  1178.                                     },
  1179.                                     "template3": {
  1180.                                         "label": "Template 3"
  1181.                                     }
  1182.                                 }
  1183.                             },
  1184.                             "templates1": {
  1185.                                 "label": "Templates1",
  1186.                                 "children": {
  1187.                                     "template1a": {
  1188.                                         "label": "Template 1"
  1189.                                     }
  1190.                                 }
  1191.                             },
  1192.                             "templates2": {
  1193.                                 "label": "Templates2",
  1194.                                 "children": {
  1195.                                     "template2a": {
  1196.                                         "label": "Template 2"
  1197.                                     }
  1198.                                 }
  1199.                             },
  1200.                             "templates3": {
  1201.                                 "label": "Templates3",
  1202.                                 "children": {
  1203.                                     "template3a": {
  1204.                                         "label": "Template 4"
  1205.                                     }
  1206.                                 }
  1207.                             },
  1208.                             "templates4": {
  1209.                                 "label": "Templates4",
  1210.                                 "children": {
  1211.                                     "template4a": {
  1212.                                         "label": "Template 4"
  1213.                                     }
  1214.                                 }
  1215.                             },
  1216.                             "templates5": {
  1217.                                 "label": "Templates5",
  1218.                                 "children": {
  1219.                                     "template5a": {
  1220.                                         "label": "Template 5"
  1221.                                     }
  1222.                                 }
  1223.                             },
  1224.                             "templates6": {
  1225.                                 "label": "Templates6",
  1226.                                 "children": {
  1227.                                     "template6a": {
  1228.                                         "label": "Template 6"
  1229.                                     }
  1230.                                 }
  1231.                             },
  1232.                             "templates7": {
  1233.                                 "label": "Templates7",
  1234.                                 "children": {
  1235.                                     "template7a": {
  1236.                                         "label": "Template 7"
  1237.                                     }
  1238.                                 }
  1239.                             },
  1240.                             "templates8": {
  1241.                                 "label": "Templates8",
  1242.                                 "children": {
  1243.                                     "template8a": {
  1244.                                         "label": "Template 8"
  1245.                                     }
  1246.                                 }
  1247.                             }
  1248.                         },
  1249.                         "sticky": "NSEW"
  1250.                     }
  1251.                 },
  1252.                 "middle_pane": {
  1253.                     "type": "Frame",
  1254.                     "sticky": "nsew",
  1255.                     "pane": {
  1256.                         "type": "PanedWindow",
  1257.                         "sticky": "nsew",
  1258.                         "orient": "vertical",
  1259.                         "sashwidth": 2,
  1260.                         "background": "#000000",
  1261.                         "top_pane": {
  1262.                             "type": "Frame",
  1263.                             "sticky": "nsew",
  1264.                             "pane": {
  1265.                                 "type": "PanedWindow",
  1266.                                 "sticky": "nsew",
  1267.                                 "orient": "horizontal",
  1268.                                 "sashwidth": 2,
  1269.                                 "background": "#000000",
  1270.                                 "left_pane": {
  1271.                                     "type": "Frame",
  1272.                                     "sticky": "nsew",
  1273.                                     "treeview": {
  1274.                                         "type": "Treeview",
  1275.                                         "rowspan": 9899,
  1276.                                         "column": 0,
  1277.                                         "label": "Pages",
  1278.                                         "scrollbars": "vertical",
  1279.                                         "items": {
  1280.                                             "demos": {
  1281.                                                 "label": "Demos",
  1282.                                                 "children": {
  1283.                                                     "3d_demo": {
  1284.                                                         "label": "3D Demo"
  1285.                                                     },
  1286.                                                     "animation_demo": {
  1287.                                                         "label": "Animation Demo"
  1288.                                                     },
  1289.                                                     "animation_demo_two": {
  1290.                                                         "label": "Animation Demo Two"
  1291.                                                     }
  1292.                                                 }
  1293.                                             },
  1294.                                             "statistics": {
  1295.                                                 "label": "Statistics",
  1296.                                                 "children": {
  1297.                                                     "season_win_loss": {
  1298.                                                         "label": "Season Win\\Loss"
  1299.                                                     },
  1300.                                                     "season_game_times": {
  1301.                                                         "label": "Season Game Times 12345678901234567890"
  1302.                                                     }
  1303.                                                 }
  1304.                                             },
  1305.                                             "templates": {
  1306.                                                 "label": "Templates",
  1307.                                                 "children": {
  1308.                                                     "template1": {
  1309.                                                         "label": "Template 1"
  1310.                                                     },
  1311.                                                     "template2": {
  1312.                                                         "label": "Template 2"
  1313.                                                     },
  1314.                                                     "template3": {
  1315.                                                         "label": "Template 3"
  1316.                                                     }
  1317.                                                 }
  1318.                                             },
  1319.                                             "templates1": {
  1320.                                                 "label": "Templates1",
  1321.                                                 "children": {
  1322.                                                     "template1a": {
  1323.                                                         "label": "Template 1"
  1324.                                                     }
  1325.                                                 }
  1326.                                             },
  1327.                                             "templates2": {
  1328.                                                 "label": "Templates2",
  1329.                                                 "children": {
  1330.                                                     "template2a": {
  1331.                                                         "label": "Template 2"
  1332.                                                     }
  1333.                                                 }
  1334.                                             },
  1335.                                             "templates3": {
  1336.                                                 "label": "Templates3",
  1337.                                                 "children": {
  1338.                                                     "template3a": {
  1339.                                                         "label": "Template 4"
  1340.                                                     }
  1341.                                                 }
  1342.                                             },
  1343.                                             "templates4": {
  1344.                                                 "label": "Templates4",
  1345.                                                 "children": {
  1346.                                                     "template4a": {
  1347.                                                         "label": "Template 4"
  1348.                                                     }
  1349.                                                 }
  1350.                                             },
  1351.                                             "templates5": {
  1352.                                                 "label": "Templates5",
  1353.                                                 "children": {
  1354.                                                     "template5a": {
  1355.                                                         "label": "Template 5"
  1356.                                                     }
  1357.                                                 }
  1358.                                             },
  1359.                                             "templates6": {
  1360.                                                 "label": "Templates6",
  1361.                                                 "children": {
  1362.                                                     "template6a": {
  1363.                                                         "label": "Template 6"
  1364.                                                     }
  1365.                                                 }
  1366.                                             },
  1367.                                             "templates7": {
  1368.                                                 "label": "Templates7",
  1369.                                                 "children": {
  1370.                                                     "template7a": {
  1371.                                                         "label": "Template 7"
  1372.                                                     }
  1373.                                                 }
  1374.                                             },
  1375.                                             "templates8": {
  1376.                                                 "label": "Templates8",
  1377.                                                 "children": {
  1378.                                                     "template8a": {
  1379.                                                         "label": "Template 8"
  1380.                                                     }
  1381.                                                 }
  1382.                                             }
  1383.                                         },
  1384.                                         "sticky": "NSEW"
  1385.                                     }
  1386.                                 },
  1387.                                 "middle_pane": {
  1388.                                     "type": "Frame",
  1389.                                     "sticky": "nsew",
  1390.                                     "pane": {
  1391.                                         "type": "PanedWindow",
  1392.                                         "sticky": "nsew",
  1393.                                         "orient": "vertical",
  1394.                                         "sashwidth": 2,
  1395.                                         "background": "#000000",
  1396.                                         "top_pane": {
  1397.                                             "type": "Frame",
  1398.                                             "sticky": "nsew",
  1399.                                             "entry1": {
  1400.                                                 "type": "Entry",
  1401.                                                 "row": 0,
  1402.                                                 "label": "MyLabel 1a1 ",
  1403.                                                 "label_anchor": "w"
  1404.                                             },
  1405.                                             "entry2": {
  1406.                                                 "type": "Entry",
  1407.                                                 "row": 1,
  1408.                                                 "label": "MyLabel 1a2 ",
  1409.                                                 "label_anchor": "w"
  1410.                                             }
  1411.                                         },
  1412.                                         "bottom_pane": {
  1413.                                             "type": "Frame",
  1414.                                             "sticky": "nsew",
  1415.                                             "pane1a1": {
  1416.                                                 "type": "PanedWindow",
  1417.                                                 "sticky": "nsew",
  1418.                                                 "orient": "horizontal",
  1419.                                                 "sashwidth": 2,
  1420.                                                 "background": "#000000",
  1421.                                                 "left_pane": {
  1422.                                                     "type": "Frame",
  1423.                                                     "sticky": "nsew",
  1424.                                                     "entry1": {
  1425.                                                         "type": "Entry",
  1426.                                                         "row": 0,
  1427.                                                         "label": "MyLabel 1a2 ",
  1428.                                                         "label_anchor": "w"
  1429.                                                     }
  1430.                                                 },
  1431.                                                 "middle_pane": {
  1432.                                                     "type": "Frame",
  1433.                                                     "sticky": "nsew",
  1434.                                                     "entry1": {
  1435.                                                         "type": "Entry",
  1436.                                                         "row": 0,
  1437.                                                         "label": "MyLabel 1a3a ",
  1438.                                                         "label_anchor": "w"
  1439.                                                     }
  1440.                                                 },
  1441.                                                 "right_pane": {
  1442.                                                     "type": "Frame",
  1443.                                                     "sticky": "nsew",
  1444.                                                     "entry1": {
  1445.                                                         "type": "Entry",
  1446.                                                         "row": 0,
  1447.                                                         "label": "MyLabel 1a3 ",
  1448.                                                         "label_anchor": "w"
  1449.                                                     }
  1450.                                                 }
  1451.                                             }
  1452.                                         },
  1453.                                         "top_pane2": {
  1454.                                             "type": "Frame",
  1455.                                             "sticky": "nsew",
  1456.                                             "entry1": {
  1457.                                                 "type": "Entry",
  1458.                                                 "row": 0,
  1459.                                                 "label": "MyLabel 1a1 ",
  1460.                                                 "label_anchor": "w"
  1461.                                             }
  1462.                                         },
  1463.                                         "bottom_pane2": {
  1464.                                             "type": "Frame",
  1465.                                             "sticky": "nsew",
  1466.                                             "pane1a1": {
  1467.                                                 "type": "PanedWindow",
  1468.                                                 "sticky": "nsew",
  1469.                                                 "orient": "horizontal",
  1470.                                                 "sashwidth": 2,
  1471.                                                 "background": "#000000",
  1472.                                                 "left_pane": {
  1473.                                                     "type": "Frame",
  1474.                                                     "sticky": "nsew",
  1475.                                                     "entry1": {
  1476.                                                         "type": "Entry",
  1477.                                                         "row": 0,
  1478.                                                         "label": "MyLabel 1a2 ",
  1479.                                                         "label_anchor": "w"
  1480.                                                     }
  1481.                                                 },
  1482.                                                 "middle_pane": {
  1483.                                                     "type": "Frame",
  1484.                                                     "sticky": "nsew",
  1485.                                                     "entry1": {
  1486.                                                         "type": "Entry",
  1487.                                                         "row": 0,
  1488.                                                         "label": "MyLabel 1a3a ",
  1489.                                                         "label_anchor": "w"
  1490.                                                     }
  1491.                                                 },
  1492.                                                 "right_pane": {
  1493.                                                     "type": "Frame",
  1494.                                                     "sticky": "nsew",
  1495.                                                     "entry1": {
  1496.                                                         "type": "Entry",
  1497.                                                         "row": 0,
  1498.                                                         "label": "MyLabel 1a3 ",
  1499.                                                         "label_anchor": "w"
  1500.                                                     }
  1501.                                                 }
  1502.                                             }
  1503.                                         }
  1504.                                     }
  1505.                                 },
  1506.                                 "right_pane": {
  1507.                                     "type": "Frame",
  1508.                                     "sticky": "nsew",
  1509.                                     "entry1": {
  1510.                                         "type": "Entry",
  1511.                                         "row": 0,
  1512.                                         "label": "MyLabel 1 ",
  1513.                                         "label_anchor": "w"
  1514.                                     }
  1515.                                 }
  1516.                             }
  1517.                         },
  1518.                         "bottom_pane": {
  1519.                             "type": "Frame",
  1520.                             "sticky": "nsew",
  1521.                             "pane1a1": {
  1522.                                 "type": "PanedWindow",
  1523.                                 "sticky": "nsew",
  1524.                                 "orient": "horizontal",
  1525.                                 "sashwidth": 2,
  1526.                                 "background": "#000000",
  1527.                                 "left_pane": {
  1528.                                     "type": "Frame",
  1529.                                     "sticky": "nsew",
  1530.                                     "entry1": {
  1531.                                         "type": "Entry",
  1532.                                         "row": 0,
  1533.                                         "label": "MyLabel 1a2 ",
  1534.                                         "label_anchor": "w"
  1535.                                     }
  1536.                                 },
  1537.                                 "middle_pane": {
  1538.                                     "type": "Frame",
  1539.                                     "sticky": "nsew",
  1540.                                     "entry1": {
  1541.                                         "type": "Entry",
  1542.                                         "row": 0,
  1543.                                         "label": "MyLabel 1a3a ",
  1544.                                         "label_anchor": "w"
  1545.                                     }
  1546.                                 },
  1547.                                 "right_pane": {
  1548.                                     "type": "Frame",
  1549.                                     "sticky": "nsew",
  1550.                                     "entry1": {
  1551.                                         "type": "Entry",
  1552.                                         "row": 0,
  1553.                                         "label": "MyLabel 1a3 ",
  1554.                                         "label_anchor": "w"
  1555.                                     }
  1556.                                 }
  1557.                             }
  1558.                         },
  1559.                         "top_pane2": {
  1560.                             "type": "Frame",
  1561.                             "sticky": "nsew",
  1562.                             "entry1": {
  1563.                                 "type": "Entry",
  1564.                                 "row": 0,
  1565.                                 "label": "MyLabel 1a1 ",
  1566.                                 "label_anchor": "w"
  1567.                             }
  1568.                         },
  1569.                         "bottom_pane2": {
  1570.                             "type": "Frame",
  1571.                             "sticky": "nsew",
  1572.                             "pane1a1": {
  1573.                                 "type": "PanedWindow",
  1574.                                 "sticky": "nsew",
  1575.                                 "orient": "horizontal",
  1576.                                 "sashwidth": 2,
  1577.                                 "background": "#000000",
  1578.                                 "left_pane": {
  1579.                                     "type": "Frame",
  1580.                                     "sticky": "nsew",
  1581.                                     "entry1": {
  1582.                                         "type": "Entry",
  1583.                                         "row": 0,
  1584.                                         "label": "MyLabel 1a2 ",
  1585.                                         "label_anchor": "w"
  1586.                                     }
  1587.                                 },
  1588.                                 "middle_pane": {
  1589.                                     "type": "Frame",
  1590.                                     "sticky": "nsew",
  1591.                                     "entry1": {
  1592.                                         "type": "Entry",
  1593.                                         "row": 0,
  1594.                                         "label": "MyLabel 1a3a ",
  1595.                                         "label_anchor": "w"
  1596.                                     }
  1597.                                 },
  1598.                                 "right_pane": {
  1599.                                     "type": "Frame",
  1600.                                     "sticky": "nsew",
  1601.                                     "entry1": {
  1602.                                         "type": "Entry",
  1603.                                         "row": 0,
  1604.                                         "label": "MyLabel 1a3 ",
  1605.                                         "label_anchor": "w"
  1606.                                     }
  1607.                                 }
  1608.                             }
  1609.                         }
  1610.                     }
  1611.                 },
  1612.                 "right_pane": {
  1613.                     "type": "Frame",
  1614.                     "sticky": "nsew",
  1615.                     "entry1": {
  1616.                         "type": "Entry",
  1617.                         "row": 0,
  1618.                         "label": "MyLabel 1 ",
  1619.                         "label_anchor": "w"
  1620.                     }
  1621.                 }
  1622.             },
  1623.             "sep1": {
  1624.                 "type": "Separator",
  1625.                 "row": 1,
  1626.                 "columnspan": 9900,
  1627.                 "orient": "horizontal",
  1628.                 "sticky": "EW"
  1629.             },
  1630.             "buttons": {
  1631.                 "type": "Frame",
  1632.                 "row": 9900,
  1633.                 "columnspan": 9900,
  1634.                 "sticky": "ew",
  1635.                 "set_defaults": {
  1636.                     "type": "Button",
  1637.                     "row": 1,
  1638.                     "column": 1,
  1639.                     "text": "Defaults",
  1640.                     "padx": [0, 5],
  1641.                     "sticky": "E"
  1642.                 },
  1643.                 "apply": {
  1644.                     "type": "Button",
  1645.                     "row": 1,
  1646.                     "column": 2,
  1647.                     "padx": [0, 5],
  1648.                     "text": "Apply",
  1649.                     "sticky": "E"
  1650.                 },
  1651.                 "save": {
  1652.                     "type": "Button",
  1653.                     "row": 1,
  1654.                     "column": 3,
  1655.                     "padx": [0, 5],
  1656.                     "text": "Save",
  1657.                     "sticky": "E"
  1658.                 },
  1659.                 "cancel": {
  1660.                     "type": "Button",
  1661.                     "row": 1,
  1662.                     "column": 4,
  1663.                     "padx": [0, 5],
  1664.                     "text": "Cancel",
  1665.                     "sticky": "E"
  1666.                 },
  1667.                 "exit": {
  1668.                     "type": "Button",
  1669.                     "row": 1,
  1670.                     "column": 5,
  1671.                     "text": "Exit",
  1672.                     "sticky": "E"
  1673.                 }
  1674.             }
  1675.         }
  1676.     }
  1677.     MyDemo(defaults=defaults).mainloop()
  1678.  
  1679.  
  1680. if __name__ == '__main__':
  1681.     main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement