TGroupButton


class description - source file - inheritance tree

class TGroupButton : public TButton

    private:
TGroupButton TGroupButton(const TGroupButton& org) TGroupButton& operator=(const TGroupButton& rhs) protected:
public:
TGroupButton TGroupButton() TGroupButton TGroupButton(const char* groupname, const char* title, const char* method, Double_t x1, Double_t y1, Double_t x2, Double_t y2) virtual void ~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

private:
protected:
public:

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.4 2001/01/31 10:26:35 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.