RE: [ROOT]: Gui, TCanvas, and mouse events

From: Bellenot Bertrand - Sierre (Bertrand.Bellenot@alcan.com)
Date: Thu Jun 20 2002 - 00:01:07 MEST


Hello everybody,

Sorry about file permissions and special characters, 
but I have used a Win32 tar/gzip software and it has 
a strange behaviour (as most windows apps ;-) 

Thank's for kind comments.

Cheers,
Bertrand.

_________________________________________

Bertrand Bellenot
Process Engineering
Electronics - Computing
> Alcan aluminium Valais
Fabricated Products
Casthouse Chippis
CH - 3965  Chippis Switzerland
Direct line  +41 27 457 51 66
Fax            +41 27 457 51 05
E-mail : bertrand.bellenot@alusuisse.com
A member of the Alcan group of companies
_________________________________________


> -----Original Message-----
> From:	Rene Brun <brun@pcbrun.cern.ch>@ALCAN 
> Sent:	Wednesday, June 19, 2002 8:35 PM
> To:	Brett Viren
> Cc:	Rene Brun; Mathieu Gisselbrecht; roottalk@pcroot.cern.ch;
> rootdev@pcroot.cern.ch; Bellenot Bertrand - Sierre
> Subject:	Re: [ROOT]: Gui, TCanvas, and mouse events
> 
> Hi Brett,
> 
> Thanks for this remark. I have also removed special characters
> in the Makefile.linux. A new copy at
>   ftp://root.cern.ch/root/RootShower.tar.gz
> 
> Rene Brun
> 
> On Wed, 19 Jun 2002, Brett Viren wrote:
> 
> > This looks very nice!  It should definitely be included in the ROOT
> > distribution, I think.
> >
> > BTW, after unpacking, the file permissions are not right (at least on
> > Linux).  I needed to do:
> >
> > 	cd RootShower/
> > 	chmod -R +r *
> >
> > Regards,
> > -Brett.
> >
> > Rene Brun writes:
> >  > Hi Mathieu,
> >  >
> >  > I agree with you that the ROOT GUI has now reached an impressive
> >  > level of functionality, but HELAS, there is no documentation.
> >  > I hope that we will be able to document it in the near future.
> >  > Most people starting with the Root GUI have used the Guitest
> >  > example. This shows the use of the basic widgets only.
> >  >
> >  > Recently, Bertrand Bellenot has developed a very nice and still
> >  > simple application that is a good illustration of what one can do
> with
> >  > the Root GUI.
> >  >
> >  > I have put a copy of his program at
> >  >    ftp://root.cern.ch/root/RootShower.tar.gz
> >  >
> >  > So far, it includes two Makefiles (Linux and Windows).
> >  > To install it, eg,
> >  >   make -f Makefile.linux
> >  > to run the program invoke RootShower and use the various HELP buttons
> >  > to see the different possibilities. This example includes the
> >  > functionality you want to see in your program.
> >  >
> >  > If people have comments about this nice demo, you can address them
> >  > to rootdev@root.cern.ch and also to Bertrand.Bellenot@alcan.com
> >  >
> >  > Rene Brun
> >  >
> >  > On Wed, 19 Jun 2002, Mathieu Gisselbrecht wrote:
> >  >
> >  > > Hi,
> >  > >
> >  > > I'm using ROOT for about 2 years in order to develop
> multi-coincidence
> >  > > experiments based on Synhrotron Radiation in molecular physics. A
> part
> >  > > of the work is to write a User-Friendly-Interface (which is by
> essence
> >  > > almost impossible....). So, I used a lot the GUI demo and the root
> talk
> >  > > to get answer to my questions... I really thanks everyone for the
> >  > > impressive work done !!!
> >  > >
> >  > > However for about 1 month, I can't find a way to get access to
> mouse
> >  > > events in a TCanvas embedded in a TGTransientFrame, the so-called
> >  > > TRootEmbeddedCanvas. My aim is to give the (x,y) value of the mouse
> in
> >  > > an histogram (for instance to know the intensity and the position
> of a
> >  > > peak just by moving the mouse). With CINT, it is super easy:
> >  > > 	just create a TCanvas, and validate in the "Options" menu
> the "Event
> >  > > Status"
> >  > > ---------> How can I mange the same thing with an embedded canvas ?
> >  > >
> >  > > By the way, each time I'm going into more sophisticated concept:
> >  > > - default parameters for drawing objects (e.g. histogram, text....)
> >  > > - events control (keyboard, mouse)
> >  > > I get stuck in the nowhere land : it looks like there are so many
> >  > > functions to call, and without a complete set of examples, it's not
> so
> >  > > easy... Is the latest User Guide deals with those things ? I only
> have
> >  > > the v0.7.2. which is a good start but not enough to understand the
> >  > > complexity of ROOT.
> >  > >
> >  > > Thanks in advance,
> >  > >
> >  > > Best regard,
> >  > >
> >  > > M. Gisselbrecht
> >  > >
> >  >
> >
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET