Re: Using TCanvas together with TG.. classes

Fons Rademakers (Fons.Rademakers@cern.ch)
Thu, 07 May 1998 19:00:41 +0200


Hi Rutger,

something like ROOTSYS is wrong since this message indicates that
the scrollbar widget can not find its up and down icons. They should
be in $ROOTSYS/icons. Actually the icon search path can be set in .rootrc
and the default is:

Gui.IconPath: $HOME/icons:$ROOTSYS/icons:.

So check if it exists.

Cheers, Fons.

Rutger van der Eijk wrote:
>
> Hi,
>
> When at a certain stage in my code (in a none interactive session) I
> create a TCanvas I get the error message:
>
> Error in <TGHScrollBar::TGHScrollBar>: arrow_*.xpm not found
> Error in <TGVScrollBar::TGHScrollBar>: arrow_*.xpm not found
>
> I didn't get this message before when using TCanvas, and, as I recently
> started also using the TG... classes (for GUI), I was wondering if it is
> allowed to use these class categories at the 'same time'?
>
> Rutger van der Eijk
>
> (p.s. I am using ROOT version 2.00/05 on HP-UX 10)

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910