1.0.7 • Published 1 year ago
tk-wrapper v1.0.7
tk wrapper
example :
let tk = require("tk-wrapper")
let Window = new tk.Window()
Window.configure({title:"hello world",geometry:"100x65",resizable:[false,false]})
let Button = new tk.Button(Window,{command:async()=>{
console.log("hello world")
},text:"hello world"})
Button.place({x:5,y:20})
requirements :
the g++ compiler, tk-wrapper uses the g++ compiler to compile the tk console within your node_modules folder, if your using Windows you will first need to install the g++ compiler, otherwise it will not work