write value

From: Patrick Dupre LCMI (pdupre@labs.polycnrs-gre.fr)
Date: Mon Mar 20 2000 - 14:43:09 MET


Hello,

I want to display value by using GUI, so I did the following:
in my constructor:

  sprintf (tmp, "       0") ;
  fDisp_nbpt = new TGListBox (fDisplay, -1) ;
  fDisp_nbpt->Resize (37, (UInt_t) (fDisp_nbpt->GetDefaultHeight ())) ;  
  fDisp_nbpt->AddEntry (tmp, 1) ;
  fDisplay->AddFrame (fDisp_nbpt, new TGLayoutHints (kLHintsLeft|kLHintsTop, 1, 0, 0, 0)) ;

I am not sure that it is the best way to do, antway, now I want to
modify the displayed value in another method, how can I to it ?

Thank for your help.

-- 
---
==============================================================================
   Patrick DUPRE                |   |   Tel:  (33 4) 76-88-78-51
   CNRS/LCMI (GHMFL)            |   |   Fax:  (33 4) 76-85-56-10
   25 Rue des Martyrs, BP 166   |   |   http://eschyle.polycnrs-gre.fr
   F-38042 GRENOBLE Cedex 09    |   |   email: pdupre@polycnrs-gre.fr
==============================================================================



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET