Re: How to Display entered Number on the Graphical window

From: Ilka Antcheva <>
Date: Thu, 01 Sep 2005 19:21:50 +0200

Hi Vikas,

Please find as an example the attached macro number.C. I have created it as simple as possible. It contains one number entry and one frame where the value of this number entry is displayed when it is changed. For input you can use the keyboard and hit Return key in the end or the number entry buttons. I have no idea how do you read your data, what format it has, etc. so this part of the code is up of your needs.

The example is based on the signals/slots communication mechanizm. Please read the corresponding chapter in the ROOT User's Guide at: (page 346). See also the examples at:

Cheers, Ilka wrote:

>Respected Sir
>I Vikas Singhal, working at VECC Kolkata under Subhasis Sir. I am developing a Online Temperature Monitoring System in ROOT environment.
>Now I am facing some Graphical Problem.
>We have created one Main Frame where some radio, check button and Number entry box is present.
>Now according to our requirement we have to take data from a file and display on these number entry boxes. After this user can update this data and it should be stored in file.
>Problem is we have made main frame and every graphics things but how to Display or modify those numeric values.
>Question:- How to Display data on Graphical window in Interactive Mode?
>Please give solution with example.
>Best Regards
> \ \ | / /
> (O-O)
>Vikas Singhal (Scientific Officer 'C')
>Physics Group, VECC, Salt Lake, Kolkata-700 064.
>Anu-Net - 5-331-2424, Mobile- 0 98302 04363
>There is no substitute for Hard-Work.
>so Never Never Never Give up, Keep Trying.
> .oooO
> ( ) Oooo.
>__________ \ (____( )__________________
> \__) ) /
> (__/

Received on Thu Sep 01 2005 - 19:22:14 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:12 MET