BadWindow errors

From: Colin Partridge (stack@lineone.net)
Date: Sat Sep 18 1999 - 23:38:47 MEST


I am receiving some errors when using the GUI classes and I'm not sure why
they are occurring.  I would be grateful if someone could suggest a reason
for them.

The first one occurs when I close down a window inheriting from
TGTransientWindow

Error in <RootX11ErrorHandler>:BadWindow(invalid Window parameter)(XID:
.....)

I have attached the code for this window.

The second error occurs when I select a pad within an TRootEmbeddedCanvas
(by clicking with the middle mouse button).  However it only occurs after I
have opened and closed another TGTransientWindow which also contains an
embedded canvas.

Error in <RootX11ErrorHandler>:BadDrawable(invalid pixmap or  Window
parameter)(XID:  .....)

The same histogram is present on both canvases, though one was drawn with
DrawCopy(), I wondered if this could have an effect, though I don't see why.

If anyone could offer any suggestions I would be most grateful.

--
Colin Partridge
stack@lineone.net
http://website.lineone.net/~stack/





This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET