// @(#)root/gpad:$Id$
// Author: Rene Brun   01/07/96

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TGroupButton
#define ROOT_TGroupButton

//////////////////////////////////////////////////////////////////////////
//
// TGroupButton
//
//  A TGroupButton object is a specialized TButton used in a group of Buttons.
//  When a button from a group of TGroupButtons is selected, all other buttons
//  from the group with the same name are disabled.
//
//  For examples of use of TGroupButton objects, see:
//    TAttFillCanvas, TAttLineCanvas, TAttTextCanvas and TAttMarkerCanvas.
//  A TGroupButton object is a specialized TPad including possible list
//  of primitives used to build selections and options menus in a canvas.
//
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TButton
#include "TButton.h"
#endif

class TGroupButton : public TButton {

private:
   TGroupButton(const TGroupButton &org);  // no copy, use TObject::Clone()
   TGroupButton &operator=(const TGroupButton &rhs);  // idem

public:
   TGroupButton();
   TGroupButton(const char *groupname, const char *title, const char *method, Double_t x1, Double_t y1,Double_t x2 ,Double_t y2);
   virtual ~TGroupButton();
   virtual void  DisplayColorTable(const char *action, Double_t x0, Double_t y0, Double_t wc, Double_t hc);
   virtual void  ExecuteAction();
   virtual void  ExecuteEvent(Int_t event, Int_t px, Int_t py);
   virtual void  SavePrimitive(std::ostream &out, Option_t *option = "");
   ClassDef(TGroupButton,0)  //A user interface button in a group of buttons.
};

#endif

 TGroupButton.h:1
 TGroupButton.h:2
 TGroupButton.h:3
 TGroupButton.h:4
 TGroupButton.h:5
 TGroupButton.h:6
 TGroupButton.h:7
 TGroupButton.h:8
 TGroupButton.h:9
 TGroupButton.h:10
 TGroupButton.h:11
 TGroupButton.h:12
 TGroupButton.h:13
 TGroupButton.h:14
 TGroupButton.h:15
 TGroupButton.h:16
 TGroupButton.h:17
 TGroupButton.h:18
 TGroupButton.h:19
 TGroupButton.h:20
 TGroupButton.h:21
 TGroupButton.h:22
 TGroupButton.h:23
 TGroupButton.h:24
 TGroupButton.h:25
 TGroupButton.h:26
 TGroupButton.h:27
 TGroupButton.h:28
 TGroupButton.h:29
 TGroupButton.h:30
 TGroupButton.h:31
 TGroupButton.h:32
 TGroupButton.h:33
 TGroupButton.h:34
 TGroupButton.h:35
 TGroupButton.h:36
 TGroupButton.h:37
 TGroupButton.h:38
 TGroupButton.h:39
 TGroupButton.h:40
 TGroupButton.h:41
 TGroupButton.h:42
 TGroupButton.h:43
 TGroupButton.h:44
 TGroupButton.h:45
 TGroupButton.h:46
 TGroupButton.h:47
 TGroupButton.h:48
 TGroupButton.h:49
 TGroupButton.h:50
 TGroupButton.h:51
 TGroupButton.h:52