27 const char *
kDStr =
"DRAWNBUTTON";
28 const char *
kSStr =
"SEPARATOR";
45 const char *hint,
const char *
type)
71 char *s =
Strip(action);
75 Error(
"SetAction",
"action missing");
88 if (!strcasecmp(type,
kBStr))
90 else if (!strcasecmp(type,
kDStr))
92 else if (!strcasecmp(type,
kSStr))
95 Error(
"SetType",
"unknown type '%s' !\n\t(choice of: %s, %s, %s)",
116 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
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.
const char * Data() const