[ROOT] TRootEmbeddedCanvas problems

From: Thomas Bretz (tbretz@uni-sw.gwdg.de)
Date: Fri Aug 17 2001 - 11:54:02 MEST


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.



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