TRootControlBar


class description - source file - inheritance tree

class TRootControlBar : public TGMainFrame, public TControlBarImp


    public:
TRootControlBar TRootControlBar(TControlBar* c, const char* title, Int_t x = -999, Int_t y = -999) TRootControlBar TRootControlBar(const TRootControlBar&) virtual void ~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 Show() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TList* fWidgets list of TGTextButton or TGPictureButtons TGLayoutHints* fL1 button layout hints

Class Description

                                                                      
 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).                  
                                                                      


TRootControlBar(TControlBar *c, const char *title, Int_t x, Int_t y) : TGMainFrame(gClient->GetRoot(), 10, 10), TControlBarImp(c)
 Create a ROOT native GUI controlbar.

~TRootControlBar()
 Delete the control bar implementation.

void Create()
 Create the control bar. Loop over all buttons defined in the
 TControlBar and create the buttons.

void Show()
 Show controlbar. If not yet created create it first.

void Hide()
 Hide controlbar.

Bool_t ProcessMessage(Long_t, Long_t, Long_t parm2)
 Handle controlbar button messages.

void ReallyDelete()
 Really delete the control bar and the this GUI.

void CloseWindow()
 Called when closed via window manager action.



Inline Functions


                 TList* GetWidgets() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
        TRootControlBar TRootControlBar(const TRootControlBar&)


Author: Fons Rademakers 22/02/98
Last update: root/gui:$Name: $:$Id: TRootControlBar.cxx,v 1.3 2002/09/18 13:12:59 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.