26 const char *
kDStr =
"DRAWNBUTTON";
27 const char *
kSStr =
"SEPARATOR";
44 const char *hint,
const char *
type)
70 char *s =
Strip(action);
74 Error(
"SetAction",
"action missing");
87 if (!strcasecmp(type,
kBStr))
89 else if (!strcasecmp(type,
kDStr))
91 else if (!strcasecmp(type,
kSStr))
94 Error(
"SetType",
"unknown type '%s' !\n\t(choice of: %s, %s, %s)",
115 Error(
"SetType",
"unknown type: %d !\n\t(choice of: %d, %d, %d)",
virtual Long_t ProcessLine(const char *line, Bool_t sync=kFALSE, Int_t *error=0)
Process a single command line, either a C++ statement or an interpreter command starting with a "...
R__EXTERN TApplication * gApplication
const char * Data() const
The TNamed class is the base class for all named ROOT classes.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
char * Strip(const char *str, char c= ' ')
Strip leading and trailing c (blanks by default) from a string.