Using GUI classes via interpreter...

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Jun 04 1998 - 20:04:32 MEST


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



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