I had no idea what Parted is, had to search for it. Clear enough now. There is a page
https://gparted.org/ that appears to present a GUI.
If you want a Tcl/Tk GUI for it, you have roughly speaking two possibiliies:
- If it is a command-line program, then set up a GUI that at the right time executes the command-line with the collected options and commands.
- If it is a library, then you can set up a wrapper in C that acts as a go-between: Tcl commands that run the various library routines.
Regards,
Arjen