class description - source file - inheritance tree

class TControlBarButton : public TNamed

TControlBarButton TControlBarButton() TControlBarButton TControlBarButton(const char* label, const char* action, const char* hint, const char* type = button) TControlBarButton TControlBarButton(TControlBarButton&) virtual void ~TControlBarButton() virtual void Action() static TClass* Class() virtual void Create() virtual const char* GetAction() const virtual Int_t GetType() const virtual TClass* IsA() const virtual void SetAction(const char* action) virtual void SetType(const char* type) virtual void SetType(Int_t type) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

Int_t fType button type TString fAction action to be executed public:
static const enum TObject:: kButton static const enum TObject:: kDrawnButton static const enum TObject:: kSeparator

See also


Class Description

 TControlBarButtons are created by the TControlBar. Not for general  

TControlBarButton() : TNamed()
 Default controlbar button ctor.

TControlBarButton(const char *label, const char *action, const char *hint, const char *type) : TNamed(label, hint)
 Create controlbar button.

void Action()
 Execute controlbar button command.

void SetAction(const char *action)
 Set action to be executed by this button.

void SetType(const char *type)
 Set button type. Type can be either "button", "drawnbutton" or
 "separator". String is case insensitive. Default is "button".

void SetType(Int_t type)
 Set button type. Type can be either kButton, kDrawnButton or kSeparator.
 Default is kButton.

Inline Functions

                     void Create()
              const char* GetAction() const
                    Int_t GetType() const
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
        TControlBarButton TControlBarButton(TControlBarButton&)
                     void ~TControlBarButton()

Author: Nenad Buncic 20/02/96
Last update: root/gpad:$Name: $:$Id: TControlBarButton.cxx,v 2000/05/16 17:00:41 rdm 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.