(no subject)

From: Marek Idzik (idzik@to.infn.it)
Date: Thu Dec 02 1999 - 18:04:36 MET


Hi,

I have following problem:
I created TGCanvas and added it to TGMainFrame, 
Now I put myclass inhereited from TGCompositeFrame into TGCanvas
(myclass contains widgets etc...)

During program execution I'd like to erase myclass from TGCanvas
and put another myclass1(also inherited from TGCompositeFrame)
into it and continue this kind of erasing and creating operations
as long as I need it.

I tried using RemoveFrame and AddFrame but it doesn't work
in a trivial way. I mean to control GUI I need to perform
many more operations. By now I did a number of casual tries
wich are rather time consuming and don't give expected effects.

The operations I need are not implemented in guitest.cxx
neither in any root place I know about.

I'd appreciate if you can give me some suggestions or reference to the
code doing similar things.

I'm using the last root version on redhat6.0 linking my programs
with root libraries.

Regards
   marek



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