Hi Nicolas,
The TButton constructor expects 4 additional parameters x1,y1,x2,y2
Rene Brun
nicolas bertet wrote:
>
> 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