(variableName, parent)
| 150 | |
| 151 | |
| 152 | generateCode(variableName, parent){ |
| 153 | |
| 154 | const bg = this.getAttrValue("styling.backgroundColor") |
| 155 | |
| 156 | return [ |
| 157 | `${variableName} = ctk.CTkFrame(master=${parent})`, |
| 158 | `${variableName}.configure(fg_color="${bg}")`, |
| 159 | `${variableName}.${this.getLayoutCode()}`, |
| 160 | ...this.getGridLayoutConfigurationCode(variableName) |
| 161 | ] |
| 162 | } |
| 163 | |
| 164 | getToolbarAttrs(){ |
| 165 | const {layout, gridConfig, gridWeights, ...toolBarAttrs} = super.getToolbarAttrs() |
nothing calls this directly
no outgoing calls
no test coverage detected