Hi Simon, use gClient->GetPicture(picName); where picName is a name/path of XPM file. Foe example: TGPicture* pic = gClient->GetPicture("worldmap.xpm"); Check also $ROOTSYS/tutorials/WorldMap.C example from recent release of ROOT. HTH. Regards. Valeriy Simon Dean wrote: > Hi, > > How do you add a picture to the picturepool? I don't want to add an icon, > just a picture to make into an ImageMap. Or do i just treat it as an icon? > > cheers, > > Simon
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:47 MET