#include "TGEventHandler.h"
#include "TGWindow.h"
ClassImp(TGEventHandler)
Bool_t TGEventHandler::HandleEvent(Event_t *ev)
{
return fWindow->HandleEvent(ev);
}
void TGEventHandler::SendMessage(const TGWindow *w, Long_t msg, Long_t parm1,
Long_t parm2)
{
Event_t event;
if (w) {
event.fType = kClientMessage;
event.fFormat = 32;
event.fHandle = gROOT_MESSAGE;
event.fWindow = w->GetId();
event.fUser[0] = msg;
event.fUser[1] = parm1;
event.fUser[2] = parm2;
event.fUser[3] = 0;
event.fUser[4] = 0;
gVirtualX->SendEvent(w->GetId(), &event);
}
}
Last change: Wed Jun 25 08:39:59 2008
Last generated: 2008-06-25 08:39
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.