TGScrollBarElement


class description - source file - inheritance tree

class TGScrollBarElement : public TGFrame


    public:
TGScrollBarElement TGScrollBarElement(TGWindow* p, TGPicture* pic, UInt_t w, UInt_t h, UInt_t options = kRaisedFrame|kDoubleBorder, ULong_t back = fgDefaultFrameBackground) TGScrollBarElement TGScrollBarElement(TGScrollBarElement&) void ~TGScrollBarElement() TClass* Class() virtual void DrawBorder() virtual TClass* IsA() virtual void SetState(Int_t state) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
Int_t fState state of scrollbar element (button up or down) static const TGPicture* fPic picture in scrollbar element

Class Description

                                                                      
 TGScrollBar and TGScrollBarElement                                   
                                                                      
 The classes in this file implement scrollbars. Scrollbars can be     
 either placed horizontal or vertical. A scrollbar contains three     
 TGScrollBarElements: The "head", "tail" and "slider". The head and   
 tail are fixed at either end and have the typical arrows in them.    
                                                                      


void SetState(Int_t state)
 Change state of scrollbar element (either up or down).

void DrawBorder()
 Draw border around scollbar element.



Inline Functions


        TGScrollBarElement TGScrollBarElement(TGWindow* p, TGPicture* pic, UInt_t w, UInt_t h, UInt_t options = kRaisedFrame|kDoubleBorder, ULong_t back = fgDefaultFrameBackground)
                   TClass* Class()
                   TClass* IsA()
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void Streamer(TBuffer& b)
        TGScrollBarElement TGScrollBarElement(TGScrollBarElement&)
                      void ~TGScrollBarElement()


Author: Fons Rademakers 10/01/98
Last update: 2.00/06 26/04/98 17.25.24 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.