Hi,
I'm getting a really annoying error:
Error in <RootX11ErrorHandler>: BadWindow (invalid Window parameter) (XID:
71303271)
I have used a lot of time trying to solve this. After some hours I
minimized my code, now I only want to draw a simple window with
one button, but it doesn't help. The constructor for my window looks
like this:
DetectorWidget::DetectorWidget(Detector *detector,
const TGWindow* p,
UInt_t w,
UInt_t h)
: TGMainFrame(p, w, h)
{
fCloseButton= new TGTextButton(this,"Close", CLOSE_BUTTON);
fCloseButton->Associate(this);
AddFrame(fCloseButton);
MapSubwindows();
MapWindow();
}
What is wrong? The weird thing is that the error only occurs when I'm
constructing this window, all my other windows are drawn without
any problems. Does anyone know what I can do about it, or just what it
means? Thanks.
Cheers,
Claus Jorgensen
Niels Bohr Institute
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:18 MET