Notes: I use Simplified Chinese in daily life, so the translations may not be 100% accurate.
This project is similar to tkinter. It's an interface to Tcl/Tk for C++ 11 and higher, with some Tk controls inside.
Thanks to Python and Tcl/Tk!
Currently MSVC only, exploring porting to MinGW and other platforms.
-
Download Tcl/Tk 8.6.15 (Because I'm too lazy to ) from here or here. Remember to download both Tcl and Tk!
-
Extract them.
-
Modify Line 21 ~ 23 in the file
tcl_compile.bat. -
If you want to change configurations of Tcl/Tk, I suggest that you should contact with me. Because it's hard to say it clearly.
-
Run the
.batfile. If you don't trust me, then check the content. -
Launch Visual Studio. I preferred Visual Studio 2022. Then open the project (
tk4cpp.sln). Start your build!