TGScrollBarElement


class description - source file - inheritance tree

class TGScrollBarElement : public TGFrame

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

Data Members

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

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.    
                                                                      
 The TGHScrollBar will generate the following event messages:         
 kC_HSCROLL, kSB_SLIDERPOS, position, 0                               
 kC_HSCROLL, kSB_SLIDERTRACK, position, 0                             
                                                                      
 The TGVScrollBar will generate the following event messages:         
 kC_VSCROLL, kSB_SLIDERPOS, position, 0                               
 kC_VSCROLL, kSB_SLIDERTRACK, position, 0                             
                                                                      


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(const TGWindow* p, const TGPicture* pic, UInt_t w, UInt_t h, UInt_t options = kRaisedFrame|kDoubleBorder, ULong_t back = GetDefaultFrameBackground())
                   TClass* Class()
                   TClass* IsA() const
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)
        TGScrollBarElement TGScrollBarElement(TGScrollBarElement&)
                      void ~TGScrollBarElement()


Author: Fons Rademakers 10/01/98
Last update: root/gui:$Name: $:$Id: TGScrollBar.cxx,v 1.6 2001/05/02 11:45:46 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.