Re: [ROOT] on the class TestmainFrame

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Aug 16 2001 - 18:33:27 MEST


Hi Primrose,

  search in $ROOTSYS/tutorials/guitest.C for the strings CloseWindow
and DoOK and see the explanation.

Cheers, Fons.



Primrose Mbanefo wrote:
> 
> Hello everyone,
> The class TestMainFrame created by the GUI test contains a function
> CloseWindow which normally terminates the application running. but I don't
> want it to do that so I changed the line in this function to : delete this.
> The problem is I get the following message :
> 
> Error in <RootX11ErrorHandler>: BadWindow (invalid Window parameter) (XID:
> 44040772)
> 
> Does anyone have an idea why?
> Thanks
> Primrose

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:57 MET