Re: [ROOT] TRootEmbeddedCanvas problems

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Aug 17 2001 - 13:05:27 MEST


Are you sure it was fixed in 2.25/03? Can you try the latest version?

-- Fons


Thomas Bretz wrote:
> 
> Hello,
> 
> I have a class derived from TRootEmbeddedCanvas. In the constructor I
> initialise and Draw all the gui elements I want to have (eg. TLine
> *fLine=newTLine(1,2,3,4); fLine->Draw()) After drawing all elements I
> call MapSubWindows().
> 
> Now, after constructor has finished already, somewhen the expected
> graphic is displayed in the upper left corner (let's sas 20% x 20% of
> the canvas) and resized to the full size. What am I doing wrong? I looks
> somehow strange and in the roottalk digest I found that this problem was
> solved times ago (BTW: Im using 2.25/03 for this)
> 
> This is not nice, but I can live with it. Nevertheless, sometimes when
> the displaing of the small sized graphic happens I get some errors from
> the 'Root X11 Error handler' which tells me something about an invalid
> Pixmap ID.
> 
> Is somebody able to tell me what's going wrong? Do you need more
> information? Which information do you need?
> 
> Thanks,
> Thomas.

-- 
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