new GUI into existing application

From: Otto Schaile (Otto.Schaile@Physik.uni-muenchen.de)
Date: Wed Mar 11 1998 - 17:18:01 MET


Dear Rooters,

first I would like to say you did an impressive job to integrate
such a thing in such a short time.

Could you give a hint (or a hyperlink) how to integrate the new gui
elements into an existing program:
typically one has:

TCanvas *c=new TCanvas(...)
TButton *b = new TButton(...)
b->Draw()
..
// more buttons
c->cd()
hist->Draw()

Now I would like to replace the TButtons by the new elements and "glue"
them (in addition to the one prvided by root: File, Option etc) onto the
menubar on top of the Canvas.

Also I would like to profit from the scroll bars to display a hist
with many channels.

Probably it is just a question how to replace the canvases of 1.03
by the new one provided in 2.00?

This would allow us to exploit (and test) the new features more quickly.

Cheers,
Otto

----------------------------------------------------------------------------
Otto Schaile                    Sektion Physik der LMU Muenchen
Phone: (+49 89)289 14070        Am Coulombwall 1, D-85748 Garching, Germany
FAX:   (+49 89)289 14072        EMail: Otto.Schaile@Physik.Uni-Muenchen.DE



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:30 MET