Using GUI classes via interpreter...

Fons Rademakers (Fons.Rademakers@cern.ch)
Thu, 04 Jun 1998 20:04:32 +0200


Since I've been getting quite a number of questions on how to use the
new ROOT GUI classes via the interpreter, I've made an example showing
an InputDialog class that can be used to prompt for either strings,
integers and floats. This class can be used via some simple functions
like: GetStringDialog, GetIntegerDialog, GetFloatDialog. Also included
two utility functions to open and save files using the builtin file
dialog: OpenFileDialog and SaveFileDialog.

Get the file ftp://root.cern.ch/root/dialogs.C. It contains detailed
instructions on how to use it.

Cheers, Fons.

-- 
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