00001 // @(#)root/gui:$Id: TGIdleHandler.h 23115 2008-04-10 13:35:37Z rdm $ 00002 // Author: Fons Rademakers 2/8/2004 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TGIdleHandler 00013 #define ROOT_TGIdleHandler 00014 00015 ////////////////////////////////////////////////////////////////////////// 00016 // // 00017 // TGIdleHandler // 00018 // // 00019 // Handle idle events, i.e. process GUI actions when there is nothing // 00020 // else anymore to do. // 00021 // // 00022 ////////////////////////////////////////////////////////////////////////// 00023 00024 #ifndef ROOT_TObject 00025 #include "TObject.h" 00026 #endif 00027 00028 class TGWindow; 00029 00030 00031 class TGIdleHandler : public TObject { 00032 00033 private: 00034 TGWindow *fWindow; 00035 00036 public: 00037 TGIdleHandler(TGWindow *w); 00038 virtual ~TGIdleHandler(); 00039 00040 virtual Bool_t HandleEvent(); 00041 00042 ClassDef(TGIdleHandler,0) // Idle event handler 00043 }; 00044 00045 #endif