library: libGui #include "TGScrollBar.h" |
Inheritance Chart: | |||||||||||||||||||||||||||||
|
public:
TGVScrollBar(const TGWindow* p = 0, UInt_t w = 2, UInt_t h = 4, UInt_t options = kVerticalFrame, Pixel_t back = GetDefaultFrameBackground()) TGVScrollBar(const TGVScrollBar&) virtual ~TGVScrollBar() static TClass* Class() virtual TGDimension GetDefaultSize() const virtual Bool_t HandleButton(Event_t* event) virtual Bool_t HandleMotion(Event_t* event) virtual TClass* IsA() const virtual void Layout() virtual void SavePrimitive(ostream& out, Option_t* option = "") virtual void SetPosition(Int_t pos) virtual void SetRange(Int_t range, Int_t page_size) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)
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
Create a vertical scrollbar.
Save an vertical scrollbar as a C++ statement(s) on output stream out.