Draw histogram in a TGCanvas

Wei Xie (xiewei@ceres.weizmann.ac.il)
Tue, 14 Jul 1998 21:55:55 +0200 (EET)


Dear ROOTers'

Could you tell me how to draw histograms into a TGCanvas ?

Or more generally, how I can draw a histogram with a
window created by classes inherited from TGFrame ?

I simply want to produce a control panel which is like
"juck.C" in ATLFAST directory. But the problem is,
in the control panel made by "juck.C", all the buttons can
be easily moved by mouse. This is bad since you can unexpectly
scramble the panel during the operation.

Buttons in a TGFrame can not be moved anyway.
Are there any methods that can fix all the contants of a Canvas
in one position and can not be moved by mouse, like those in a
TGFrame ?

Sincerely

Xie