Robert Loke wrote: > > Hi! > > Defining a button using TButton, a action has to be defined. Does this > definition has to look like ".x action" or can this action be arbitrary as > long as this is executable? E.g. can this action consist of a previously > defined function? > The TButton action can be anything that can be executed by the interpreter: Examples button->SetMethod("34+78"); button->SetMethod(".x file.C"); button->SetMethod("funct(2)"); button->SetMethod("ntuple->Draw("x","y<0")"); Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET