(self)
| 82 | pass |
| 83 | |
| 84 | def main(self): |
| 85 | |
| 86 | #The root Container |
| 87 | baseContainer = Container() |
| 88 | baseContainer.attributes['class'] = "Container " |
| 89 | baseContainer.attributes['editor_baseclass'] = "Container" |
| 90 | baseContainer.attributes['editor_varname'] = "baseContainer" |
| 91 | baseContainer.attributes['editor_tag_type'] = "widget" |
| 92 | baseContainer.attributes['editor_newclass'] = "False" |
| 93 | baseContainer.attributes['editor_constructor'] = "()" |
| 94 | baseContainer.style['position'] = "absolute" |
| 95 | baseContainer.style['overflow'] = "auto" |
| 96 | baseContainer.style['left'] = "100px" |
| 97 | baseContainer.style['top'] = "120px" |
| 98 | baseContainer.style['margin'] = "0px" |
| 99 | baseContainer.style['border-style'] = "solid" |
| 100 | baseContainer.style['width'] = "670px" |
| 101 | baseContainer.style['display'] = "block" |
| 102 | baseContainer.style['border-width'] = "1px" |
| 103 | baseContainer.style['height'] = "550px" |
| 104 | |
| 105 | #The menuContainer on the left side |
| 106 | menuContainer = Container() |
| 107 | menuContainer.attributes['class'] = "Container" |
| 108 | menuContainer.attributes['editor_baseclass'] = "Container" |
| 109 | menuContainer.attributes['editor_varname'] = "menuContainer" |
| 110 | menuContainer.attributes['editor_tag_type'] = "widget" |
| 111 | menuContainer.attributes['editor_newclass'] = "False" |
| 112 | menuContainer.attributes['editor_constructor'] = "()" |
| 113 | menuContainer.style['position'] = "absolute" |
| 114 | menuContainer.style['overflow'] = "auto" |
| 115 | menuContainer.style['left'] = "10px" |
| 116 | menuContainer.style['top'] = "10px" |
| 117 | menuContainer.style['margin'] = "0px" |
| 118 | menuContainer.style['border-style'] = "solid" |
| 119 | menuContainer.style['width'] = "180px" |
| 120 | menuContainer.style['display'] = "block" |
| 121 | menuContainer.style['border-width'] = "1px" |
| 122 | menuContainer.style['height'] = "500px" |
| 123 | btnScreen2 = Button('Screen 2') |
| 124 | btnScreen2.attributes['class'] = "Button" |
| 125 | btnScreen2.attributes['editor_baseclass'] = "Button" |
| 126 | btnScreen2.attributes['editor_varname'] = "btnScreen2" |
| 127 | btnScreen2.attributes['editor_tag_type'] = "widget" |
| 128 | btnScreen2.attributes['editor_newclass'] = "False" |
| 129 | btnScreen2.attributes['editor_constructor'] = "('Screen 2')" |
| 130 | btnScreen2.style['position'] = "absolute" |
| 131 | btnScreen2.style['overflow'] = "auto" |
| 132 | btnScreen2.style['left'] = "5px" |
| 133 | btnScreen2.style['top'] = "60px" |
| 134 | btnScreen2.style['margin'] = "0px" |
| 135 | btnScreen2.style['width'] = "150px" |
| 136 | btnScreen2.style['display'] = "block" |
| 137 | btnScreen2.style['height'] = "30px" |
| 138 | menuContainer.append(btnScreen2,'btnScreen2') |
| 139 | btnScreen1 = Button('Screen 1') |
| 140 | btnScreen1.attributes['class'] = "Button" |
| 141 | btnScreen1.attributes['editor_baseclass'] = "Button" |
nothing calls this directly
no test coverage detected