TGToolBar


class description - source file - inheritance tree

class TGToolBar : public TGCompositeFrame


    public:
TGToolBar TGToolBar(const TGWindow* p, UInt_t w, UInt_t h, UInt_t options = kHorizontalFrame, ULong_t back = fgDefaultFrameBackground) TGToolBar TGToolBar(TGToolBar&) virtual void ~TGToolBar() void AddButton(const TGWindow* w, ToolBarData_t* button, Int_t spacing = 0) TClass* Class() virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
TList* fWidgets list of buttons and layouthints to be deleted TList* fPictures list of pictures that should be freed

Class Description

                                                                      
 TGToolBar + TGHorizontal3DLine                                       
                                                                      
 A toolbar is a composite frame that contains TGPictureButtons.       
 A horizontal 3D line is a line that typically separates a toolbar    
 from the menubar.                                                    
                                                                      


TGToolBar(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options, ULong_t back) : TGCompositeFrame(p, w, h, options, back)
 Create toolbar widget.

~TGToolBar()
 Delete toolbar and its buttons and layout hints.

void AddButton(const TGWindow *w, ToolBarData_t *button, Int_t spacing)
 Add button to toolbar. All buttons added via this method will be
 deleted by the toolbar. On return the TGButton field of the
 ToolBarData_t struct is filled in (iff fPixmap was valid).
 Window w is the window to which the button messages will be send.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
          TGToolBar TGToolBar(TGToolBar&)


Author: Fons Rademakers 25/02/98
Last update: 2.00/00 28/02/98 11.12.17 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.