[ROOT] few GUI questions

From: Kirill Shileev (kir@al20.inr.troitsk.ru)
Date: Tue Mar 06 2001 - 07:44:50 MET


Hi,
I'd like to ask few questions concerning TG* objects:
1.  What should be done in MyMainFrame::CloseWindow() in order to get
from main event loop without the application been terminated?
2. Is it nessesary to have the class inheriting from TQObject if i wonna
make the signal-slot connection to it methods? Connection to non ROOT
enable class is possible in interpreter, but i can't make this code
operational
as standalone.
3. In guitest.C,  all TGLayoutHints objects are created without making
thiere pointers avalibale to the creator method. Does it mean that all
TGLayoutHints objects are deleted when corresponding widgets are?
Is it the same for TGString and TGTextBuffer? In general, is there any
list of objects been auto deleted availbale?
4. Is it nessesary to provide layout hints for all widgets in
TGCompositeFrame in order to assure the Layout() facility workable?
5. Is it possible to use any arbitrary method of parent class (TG*
family i mean)  as a slot?
6. How to declare my own signal?
Regards, Kirill



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