[ROOT] how to stop a root application ?

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Fri Feb 09 2001 - 17:12:34 MET


Hi,

I'm trying to make ROOT and another package based on XForms (another GUI)
work together. This package was written some time ago, uses PAW and I want
to make use of ROOT plots/histos/graphs.
I succeded to embed the two event loops so that one can push buttons in
windows belonging to XForms and still have usual interactivity with root
plots/graphs/etc... This was possible using a timer and signals/slots.
I have one problem though. I would like to be able to halt the ROOT event
loop at will and restart it at will. The problem is that a statement like
theApp->Run() doesn't allow you to stop momentarily the interactive use of
ROOT and restart it when you want.

How can I do that ? If it is not possible, is it possible to lock a canvas
so that even the menu bar and popups are locked (unlike the SetEditable()
option) ?
The problem with setEditable() is that you can still have some
interaction, and for example dividing a canvas may still be done and
reverts the SetEditable bit

Cheers

Damir

=====================================================================
| Damir Buskulic                  | Universite de Savoie/LAPP       |
|                                 | Chemin de Bellevue, B.P. 110    |
| Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
| e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
=====================================================================
mailto:buskulic@lapp.in2p3.fr



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:35 MET