TControlBarButton


class description - source file - inheritance tree

class TControlBarButton : public TNamed


    public:
TControlBarButton TControlBarButton() TControlBarButton TControlBarButton(char* label, char* action, char* hint, char* type = button) TControlBarButton TControlBarButton(TControlBarButton&) virtual void ~TControlBarButton() virtual void Action() TClass* Class() virtual void Create() virtual const char* GetAction() virtual Int_t GetType() virtual TClass* IsA() virtual void SetAction(char* action) virtual void SetType(char* type) virtual void SetType(Int_t 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 kButton static const enum kDrawnButton static const enum 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()
                    Int_t GetType()
                  TClass* Class()
                  TClass* IsA()
                     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.