Using TBrowser interactively

I’d like to get say the object name interactively by initializing the TBrowser from a macro, how can I do it ?

I checked if I can apply signal and slot to a TBrowser object, but it seemed this is not a TG class type

Hi,

[quote=“hep_physics”]I’d like to get say the object name interactively by initializing the TBrowser from a macro, how can I do it ?[/quote]Sorry, but I don’t understand your question…

Yes, you can use those signal/slots from the browser (via TRootBrowser):

virtual void BrowseObj(TObject *obj); //*SIGNAL* virtual void ExecuteDefaultAction(TObject *obj); //*SIGNAL* virtual void DoubleClicked(TObject *obj); //*SIGNAL* virtual void Checked(TObject *obj, Bool_t check); //*SIGNAL*
Cheers, Bertrand.