ROOT
v6-24
Reference Guide
Loading...
Searching...
No Matches
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
#include "
TObject.h
"
25
26
class
TGWindow
;
27
28
29
class
TGIdleHandler
:
public
TObject
{
30
31
private
:
32
TGWindow
*
fWindow
;
33
34
public
:
35
TGIdleHandler
(
TGWindow
*w);
36
virtual
~TGIdleHandler
();
37
38
virtual
Bool_t
HandleEvent
();
39
40
ClassDef
(
TGIdleHandler
,0)
// Idle event handler
41
};
42
43
#endif
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:325
TObject.h
TGIdleHandler
Definition
TGIdleHandler.h:29
TGIdleHandler::~TGIdleHandler
virtual ~TGIdleHandler()
Delete idle handler.
Definition
TGIdleHandler.cxx:43
TGIdleHandler::HandleEvent
virtual Bool_t HandleEvent()
Handle the idle event.
Definition
TGIdleHandler.cxx:53
TGIdleHandler::fWindow
TGWindow * fWindow
Definition
TGIdleHandler.h:32
TGWindow
Definition
TGWindow.h:31
TObject
Mother of all ROOT objects.
Definition
TObject.h:37
bool
gui
gui
inc
TGIdleHandler.h
ROOT v6-24 - Reference Guide Generated on Tue Aug 22 2023 03:06:27 (GVA Time) using Doxygen 1.9.8