(variableName, parent)
| 36 | } |
| 37 | |
| 38 | generateCode(variableName, parent){ |
| 39 | |
| 40 | const labelText = this.getAttrValue("buttonLabel") |
| 41 | |
| 42 | const config = convertObjectToKeyValueString(this.getConfigCode()) |
| 43 | |
| 44 | return [ |
| 45 | `${variableName} = tk.Button(master=${parent}, text="${labelText}")`, |
| 46 | `${variableName}.config(${config})`, |
| 47 | `${variableName}.${this.getLayoutCode()}` |
| 48 | ] |
| 49 | } |
| 50 | |
| 51 | getToolbarAttrs(){ |
| 52 |
nothing calls this directly
no test coverage detected