TGScrollBarElement
class description - source file - inheritance tree
public:
TGScrollBarElement TGScrollBarElement(const TGWindow* p, const TGPicture* pic, UInt_t w, UInt_t h, UInt_t options = kRaisedFrame|kDoubleBorder, ULong_t back = fgDefaultFrameBackground)
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)
protected:
Int_t fState state of scrollbar element (button up or down)
const TGPicture* fPic picture in scrollbar element
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 = fgDefaultFrameBackground)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TGScrollBarElement TGScrollBarElement(TGScrollBarElement&)
void ~TGScrollBarElement()
Author: Fons Rademakers 10/01/98
Last update: root/gui:$Name: $:$Id: TGScrollBar.cxx,v 1.5 2000/10/08 14:27:54 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.