#ifndef ROOT_TControlBarButton
#define ROOT_TControlBarButton
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
class TControlBarButton : public TNamed {
protected:
Int_t fType;
TString fAction;
public:
enum { kButton = 1, kDrawnButton, kSeparator };
TControlBarButton();
TControlBarButton(const char *label, const char *action="", const char *hint="", const char *type="button");
virtual ~TControlBarButton() { }
virtual void Create() { }
virtual void Action();
virtual const char *GetAction() const { return fAction.Data(); }
virtual Int_t GetType() const { return fType; }
virtual void SetAction(const char *action);
virtual void SetType(const char *type);
virtual void SetType(Int_t type);
ClassDef(TControlBarButton,0)
};
#endif
Last change: Wed Jun 25 08:35:49 2008
Last generated: 2008-06-25 08:35
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.