Logo ROOT  
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#include "TObject.h"
16
17class TGWindow;
18
19class TGIdleHandler : public TObject {
20
21private:
23
24public:
26 virtual ~TGIdleHandler();
27
28 virtual Bool_t HandleEvent();
29
30 ClassDefOverride(TGIdleHandler,0) // Idle event handler
31};
32
33#endif
#define ClassDefOverride(name, id)
Definition: Rtypes.h:339
Handle idle events, i.e.
Definition: TGIdleHandler.h:19
TGIdleHandler(TGWindow *w)
Create idle handler.
virtual ~TGIdleHandler()
Delete idle handler.
virtual Bool_t HandleEvent()
Handle the idle event.
TGWindow * fWindow
Definition: TGIdleHandler.h:22
ROOT GUI Window base class.
Definition: TGWindow.h:23
Mother of all ROOT objects.
Definition: TObject.h:37