TControlBarButton


class description - source file - inheritance tree

class TControlBarButton : public TNamed


    public:
TControlBarButton TControlBarButton(const char* label, const char* action, const char* hint, const char* type = button) TControlBarButton TControlBarButton() TControlBarButton TControlBarButton(TControlBarButton&) virtual void ~TControlBarButton() virtual void Action() 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(Int_t type) virtual void SetType(const char* type) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
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

TControlBar

Class Description

                                                                     
 TControlBarButton                                                   
                                                                     
 TControlBarButtons are created by the TControlBar. Not for general  
 consumption.                                                        
                                                                     


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)
        TControlBarButton TControlBarButton(TControlBarButton&)
                     void ~TControlBarButton()


Author: Nenad Buncic 20/02/96
Last update: 2.00/04 06/04/98 21.22.50 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


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.