ROOT  6.06/09
Reference Guide
TGIdleHandler.h
Go to the documentation of this file.
1 // @(#)root/gui:$Id$
2 // Author: Fons Rademakers 2/8/2004
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TGIdleHandler
13 #define ROOT_TGIdleHandler
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TGIdleHandler //
18 // //
19 // Handle idle events, i.e. process GUI actions when there is nothing //
20 // else anymore to do. //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #ifndef ROOT_TObject
25 #include "TObject.h"
26 #endif
27 
28 class TGWindow;
29 
30 
31 class TGIdleHandler : public TObject {
32 
33 private:
35 
36 public:
38  virtual ~TGIdleHandler();
39 
40  virtual Bool_t HandleEvent();
41 
42  ClassDef(TGIdleHandler,0) // Idle event handler
43 };
44 
45 #endif
virtual Bool_t HandleEvent()
Handle the idle event.
bool Bool_t
Definition: RtypesCore.h:59
TGWindow * fWindow
Definition: TGIdleHandler.h:34
#define ClassDef(name, id)
Definition: Rtypes.h:254
TGIdleHandler(TGWindow *w)
virtual ~TGIdleHandler()
Delete idle handler.
Mother of all ROOT objects.
Definition: TObject.h:58