[ROOT] How to give a parameter which is a string with TButton?

From: nicolas bertet (bertetnicolas@yahoo.fr)
Date: Fri May 19 2000 - 14:51:19 MEST


Hi Rooters,

I work with the ATLAS collaboration and I have met a
problem with the class TButton.    

In this function, titre_bouton is not recognized as a
string .
Can you help me ?

        Thank you, nicolas



void Bouton(TButton *bouton,char *titre_bouton,char
*fonction_bouton)
{
   bouton = new TButton(titre_bouton,"");
   bouton->Draw();
   bouton->SetMethod(fonction_bouton);
} 

___________________________________________________________
Do You Yahoo!?
Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr



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