I’m trying to do a graphical cut in a TH2.
For that, I have tried to use the WaitPrimitive() function, wich seems to work, until I double click.
Then, the CutG complete the form, the cursor is not linked by a drawing line, but the function doesn’t return the hand. I can move the cut in the pad, but the program won’t proceed or I don’t have access to the prompt in interactive mode.
Here what I’m trying (in interractive mode):
root  TCutG * cutg = new TCutG()
root  TCanvas *c1 = new TCanvas(“c1”)
root  c1->WaitPrimitive(“cutg”,“CutG”);
Then, when I doubleclick for completing the cut, the form is completed, I can move it and access it’s function, but I still don’t have access to the prompt until I do ctrl-C…
I have tried with gPad, in a TH2 or TH1 without success.
I’m using root 5.28/00, compiled under opensuse 64bits.
What I’m doing wrong?