library: libGui #include "TRootControlBar.h" |
TRootControlBar
class description - header file - source file - inheritance tree (.pdf)
public:
TRootControlBar(TControlBar* c = 0, const char* title = "ROOT Control Bar", Int_t x = -999, Int_t y = -999)
TRootControlBar(const TRootControlBar&)
virtual ~TRootControlBar()
static TClass* Class()
virtual void CloseWindow()
virtual void Create()
TList* GetWidgets() const
virtual void Hide()
virtual TClass* IsA() const
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
virtual void ReallyDelete()
virtual void SetFont(const char* fontName)
virtual void SetTextColor(const char* colorName)
virtual void Show()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TList* fWidgets list of TGTextButton or TGPictureButtons
TGLayoutHints* fL1 button layout hints
TRootControlBar
This class provides an interface to the GUI dependent functions of
the TControlBar class. A control bar is a horizontal or vertical bar
with a number of buttons (text or picture buttons).
void Show()
Show controlbar. If not yet created create it first.
void ReallyDelete()
Really delete the control bar and the this GUI.
void CloseWindow()
Called when closed via window manager action.
void SetFont(const char *fontName)
sets new font for control bar buttons
void SetTextColor(const char *colorName)
sets text color for control bar buttons, e.g.:
root > .x tutorials/demos.C
root > bar->SetTextColor("red")
Author: Fons Rademakers 22/02/98
Last update: root/gui:$Name: $:$Id: TRootControlBar.cxx,v 1.10 2006/03/28 16:23:08 antcheva 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.