4#include "KVLauncherGUI.h"
41 Error(
"Build",
"This method should be overwritten in child classes !");
53 gClient->GetColorByName(
"#ffffff", ucolor);
102 if (!obj) obj =
this;
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);
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()
const TList * GetListOfAllPublicMethods(Bool_t load=kTRUE)
virtual void SetOwner(Bool_t enable=kTRUE)
TGDimension GetDefaultSize() const override
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
void MapSubwindows() override
void SetCleanup(Int_t mode=kLocalCleanup) override
virtual void Resize(TGDimension size)
void MapWindow() override
virtual void ChangeBackground(Pixel_t back)
virtual void CloseWindow()
void SetWindowName(const char *name=nullptr) override
void SetMargins(Int_t left=0, Int_t right=0, Int_t top=0, Int_t bottom=0)
virtual void SetName(const char *name)
const char * GetName() const override
TObject * FindObject(const char *name) const override
void AddLast(TObject *obj) override
virtual const char * ClassName() const
virtual void Warning(const char *method, const char *msgfmt,...) const
virtual void Error(const char *method, const char *msgfmt,...) const
virtual TClass * IsA() 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)