Logo ROOT   6.08/07
Reference Guide
TGroupButton.h
Go to the documentation of this file.
1 // @(#)root/gpad:$Id$
2 // Author: Rene Brun 01/07/96
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TGroupButton
13 #define ROOT_TGroupButton
14 
15 
16 #ifndef ROOT_TButton
17 #include "TButton.h"
18 #endif
19 
20 class TGroupButton : public TButton {
21 
22 private:
23  TGroupButton(const TGroupButton &org); // no copy, use TObject::Clone()
24  TGroupButton &operator=(const TGroupButton &rhs); // idem
25 
26 public:
27  TGroupButton();
28  TGroupButton(const char *groupname, const char *title, const char *method, Double_t x1, Double_t y1,Double_t x2 ,Double_t y2);
29  virtual ~TGroupButton();
30  virtual void DisplayColorTable(const char *action, Double_t x0, Double_t y0, Double_t wc, Double_t hc);
31  virtual void ExecuteAction();
32  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
33  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
34  ClassDef(TGroupButton,0) //A user interface button in a group of buttons.
35 };
36 
37 #endif
38 
const char Option_t
Definition: RtypesCore.h:62
int Int_t
Definition: RtypesCore.h:41
TGroupButton()
GroupButton default constructor.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
static const double x2[5]
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual void ExecuteAction()
Execute action of this button.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
A TButton object is a user interface object.
Definition: TButton.h:23
static const double x1[5]
double Double_t
Definition: RtypesCore.h:55
virtual ~TGroupButton()
GroupButton default destructor.
TGroupButton & operator=(const TGroupButton &rhs)
#define org(otri, vertexptr)
Definition: triangle.c:1037
virtual void DisplayColorTable(const char *action, Double_t x0, Double_t y0, Double_t wc, Double_t hc)
Display Color Table in an attribute canvas.
A specialized TButton used in a group of Buttons.
Definition: TGroupButton.h:20