Question
Do you know any tool/script to send SIGSTOP (to pause a process) or SIGCONT (to resume it) to a process by clicking on a graphical window generated by the process?
Some context
There is already a tool called xkill which kills programs by clicking on a window, but it has no options to send a particular signal. This is a pity, because somewhat related command-line tools like kill have this option.
Usually I do this via command line by manually obtaining the corresponding process names and using tools like kill, pkill or killall but it would be nice to be able to do this graphically, in a way similar to clicking on a window with the xkill tool.
Applications
I would find such a tool very useful to graphically pause some heavy processes when the CPU is too "stressed" without terminating them and without losing data which cannot be saved (e.g. for partial results of long calculations).