49 cmd.
Form(
"((%s*) %p)->%s;", obj->
ClassName(), obj, exec.c_str());
50 printf(
"TObjectDrawable::Execute Obj %s Cmd %s\n", obj->
GetName(), cmd.
Data());
51 gROOT->ProcessLine(cmd);
void PopulateMenu(TMenuItems &) final
Fill menu items for the object.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual void AddDisplayItem(TDisplayItem *item)=0
add display item to the canvas
const std::shared_ptr< TObject > fObj
The object to be painted.
void Execute(const std::string &) final
Executes menu item.
std::string fOpts
The drawing options.
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.
Abstract interface for painting a canvas.
Mother of all ROOT objects.
void SetOption(const char *opt)
void Paint(Internal::TVirtualCanvasPainter &canv) final
Paint the histogram.
Base class for painting data for JS.
virtual const char * GetName() const
Returns name of object.
const char * Data() const