I am right now implementing a more flexible way to access the TGFrame
below a TCanvas. Once ready you can easily allocate space in a canvas
where to put TGxxx based widgets. Should be in next version.
Cheers, Fons.
Wei Xie wrote:
>
> 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
-- 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