41 Error(
"Build",
"This method should be overwritten in child classes !");
53 gClient->GetColorByName(
"#ffffff", ucolor);
102 if (!obj) obj =
this;
103 if (!obj->IsA()->GetListOfAllPublicMethods()->
FindObject(method)) {
104 Error(
"AddButton",
"%s is not a public method of %s", method, obj->
ClassName());
109 gClient->GetColorByName(
"#66ccff", ucolor);
140 else Warning(
"SetEnabled",
"No button corresponding to the method '%s'.", method);
150 if (fButton)
return fButton->
IsEnabled();
152 Warning(
"IsEnabled",
"No button corresponding to the method '%s'.", method);
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
char * Form(const char *fmt,...)
TGTextButton * GetButton(const char *method)
virtual void SetDefault()
Bool_t IsEnabled(const char *method)
void SetEnabled(const char *method, Bool_t e=kTRUE)
virtual ~KVLauncherGUI()
Destructor.
virtual TGTextButton * AddButton(const char *name, const char *method, TObject *obj=0)
virtual void AddButtons()
virtual void SetOwner(Bool_t enable=kTRUE)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
virtual void SetCleanup(Int_t mode=kLocalCleanup)
virtual TGDimension GetDefaultSize() const
virtual void MapSubwindows()
virtual void Resize(TGDimension size)
virtual void ChangeBackground(Pixel_t back)
virtual void CloseWindow()
void SetWindowName(const char *name=0)
void SetMargins(Int_t left=0, Int_t right=0, Int_t top=0, Int_t bottom=0)
virtual const char * GetName() const
virtual void SetName(const char *name)
virtual TObject * FindObject(const char *name) const
virtual void AddLast(TObject *obj)
virtual const char * ClassName() const
virtual void Warning(const char *method, const char *msgfmt,...) const
virtual TObject * FindObject(const char *name) const
virtual void Error(const char *method, const char *msgfmt,...) const
virtual void Info(const char *method, const char *msgfmt,...) const
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)