Logo ROOT  
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 #include "TButton.h"
17 
18 class TGroupButton : public TButton {
19 
20 private:
21  TGroupButton(const TGroupButton &org); // no copy, use TObject::Clone()
22  TGroupButton &operator=(const TGroupButton &rhs); // idem
23 
24 public:
25  TGroupButton();
26  TGroupButton(const char *groupname, const char *title, const char *method, Double_t x1, Double_t y1,Double_t x2 ,Double_t y2);
27  virtual ~TGroupButton();
28  virtual void DisplayColorTable(const char *action, Double_t x0, Double_t y0, Double_t wc, Double_t hc);
29  virtual void ExecuteAction();
30  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
31  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
32  ClassDef(TGroupButton,0) //A user interface button in a group of buttons.
33 };
34 
35 #endif
36 
TGroupButton::SavePrimitive
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Definition: TGroupButton.cxx:222
TGroupButton::~TGroupButton
virtual ~TGroupButton()
GroupButton default destructor.
Definition: TGroupButton.cxx:64
x1
static const double x1[5]
Definition: RooGaussKronrodIntegrator1D.cxx:346
Option_t
const typedef char Option_t
Definition: RtypesCore.h:66
org
#define org(otri, vertexptr)
Definition: triangle.c:1037
TGroupButton::ExecuteAction
virtual void ExecuteAction()
Execute action of this button.
Definition: TGroupButton.cxx:104
TGroupButton::ExecuteEvent
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
Definition: TGroupButton.cxx:153
TButton.h
TGroupButton::TGroupButton
TGroupButton()
GroupButton default constructor.
Definition: TGroupButton.cxx:46
Double_t
double Double_t
Definition: RtypesCore.h:59
TButton
Definition: TButton.h:19
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TGroupButton::DisplayColorTable
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.
Definition: TGroupButton.cxx:71
TGroupButton
Definition: TGroupButton.h:18
x2
static const double x2[5]
Definition: RooGaussKronrodIntegrator1D.cxx:364
TGroupButton::operator=
TGroupButton & operator=(const TGroupButton &rhs)
int