[ROOT] calling function from a button

From: joe robe (joer00@yahoo.com)
Date: Sat Sep 15 2001 - 17:54:54 MEST


hi all experts,

how can I call a function INSIDE my vc++ project from
a button ? If i put the function name inside the
ADDBUTTON method obviuously cint is called which of
course cant find the function !

What I want is something like this:

void test(){cout << test << endl;};
TButton* B=new TButton("test","{test();}");

joe


__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:00 MET