working on code generation

This commit is contained in:
paul
2024-09-26 11:59:24 +05:30
parent 37e7bea0fa
commit e34751c20c
13 changed files with 252 additions and 108 deletions

View File

@@ -36,6 +36,13 @@ class MainWindow extends Widget{
this.setWidgetName("main")
}
generateCode(parent){
return (`
${this.getWidgetName()} = tk.Tk()
`)
}
getToolbarAttrs(){
const toolBarAttrs = super.getToolbarAttrs()