library: libGpad
#include "TGroupButton.h"

TGroupButton


class description - source file - inheritance tree (.pdf)

class TGroupButton : public TButton

Inheritance Chart:
TObject
TAttLine
TAttFill
TAttPad
TQObject
<-
TVirtualPad
<-
TPad
TAttText
<-
TButton
<-
TGroupButton
    private:
TGroupButton(const TGroupButton& org) TGroupButton& operator=(const TGroupButton& rhs) 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() static TClass* Class() 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 TClass* IsA() const virtual void SavePrimitive(ofstream& out, Option_t* option) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

  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.

TGroupButton(): TButton()
 GroupButton default constructor.

TGroupButton(const char *groupname, const char *title, const char *method, Double_t x1, Double_t y1,Double_t x2, Double_t y2) :TButton(title,method,x1,y1,x2,y2)
 GroupButton normal constructor.

~TGroupButton()
 GroupButton default destructor.

void DisplayColorTable(const char *action, Double_t x0, Double_t y0, Double_t wc, Double_t hc)
 Display Color Table in an attribute canvas.

void ExecuteAction()
 Execute action of this button.

   If an object has been selected before executing the APPLY button
   in the control canvas, The member function and its parameters
   for this object is executed via the interpreter.

void ExecuteEvent(Int_t event, Int_t px, Int_t py)
 Execute action corresponding to one event.

  This member function is called when a Button object is clicked.

void SavePrimitive(ofstream &out, Option_t *)
 Save primitive as a C++ statement(s) on output stream out



Inline Functions


        TGroupButton& operator=(const TGroupButton& rhs)
         TGroupButton TGroupButton(const char* groupname, const char* title, const char* method, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)


Author: Rene Brun 01/07/96
Last update: root/gpad:$Name: $:$Id: TGroupButton.cxx,v 1.10 2005/11/23 11:03:12 couet Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.