Re: TGXClient and image display..

From: Adnan Khan (raoadnan@ecel.ufl.edu)
Date: Tue Jul 20 1999 - 05:17:09 MEST


Hi Fons!

I am intending to display some images based on the data I am receiving
from the server. Currently, I do not have to worry about the data been
sent from the server to my GUI client. I just intend to display the image
based on that raw data. 

I was trying TGXclient class under CINT env. but couldn't quite got at it.
What problem I am having is, I am unable to invoke a parent window using
TGXClient object. Can you tell me as to what parameters I must pass to
CreateWindow() method to display a paraent window? Furhter, I intend to
use  ReadGIF() method to display gif image. 

Tell me if any other way I should try that will do the job in an efficient  
way. 

take care and thanks

cheers, ADnan    


On Tue, 20 Jul 1999, Fons Rademakers wrote:

> Hi Adnan,
> 
>    currently you can only display xpm images in some widgets, like
> TGPictureButton. In a canvas you can use a gif as a background image.
> 
> What exactly do you want to achieve?
> 
> Cheers, Fons.
> 
> 
> 
> > Hi Rooters!
> > 
> > I am trying to display a simple gif image with in my GUI. Just wondering
> > to know how should I use TGXClient ( what seems to me appropriate for my
> > work) class in order to be able to display gif images. 
> > 
> > More over, any one has an idea as to what needs to be done in order to
> > display raw formated data, as an image?
> > 
> > Shall be grateful for advice
> > 
> > Thanks
> > ADnan Khan 
> > 
> > 
> 
> 
> -- 
> 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 04 2000 - 00:43:36 MET