Although there are valid ways to see whether GammaRay is attached or not at a specific time, there seems no such signal that the application could connect to and be notified as soon as GammaRay is attached.
One workaround for this is listening to window title change (since GammaRay adjusts the title) and check if the new title includes "GammaRay", but that is really fragile.
Although there are valid ways to see whether GammaRay is attached or not at a specific time, there seems no such signal that the application could connect to and be notified as soon as GammaRay is attached.
One workaround for this is listening to window title change (since GammaRay adjusts the title) and check if the new title includes "GammaRay", but that is really fragile.