TGVScrollBar


class description - source file - inheritance tree

class TGVScrollBar : public TGScrollBar


    public:
TGVScrollBar TGVScrollBar(TGWindow* p, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame, ULong_t back = fgDefaultFrameBackground) TGVScrollBar TGVScrollBar(TGVScrollBar&) virtual void ~TGVScrollBar() TClass* Class() virtual TGDimension GetDefaultSize() virtual Bool_t HandleButton(Event_t* event) virtual Bool_t HandleMotion(Event_t* event) virtual TClass* IsA() virtual void Layout() 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)

Data Members


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.    
                                                                      


TGVScrollBar(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options, ULong_t back) : TGScrollBar(p, w, h, options, back)
 Create a vertical scrollbar.

void Layout()
 Layout and move vertical scrollbar components.

Bool_t HandleButton(Event_t *event)
 Handle mouse button event in vertical scrollbar.

Bool_t HandleMotion(Event_t *event)
 Handle mouse motion in a vertical scrollbar.

void SetRange(Int_t range, Int_t page_size)
 Set range of vertical scrollbar.

void SetPosition(Int_t pos)
 Set logical slider position of vertical scrollbar.



Inline Functions


         TGDimension GetDefaultSize()
             TClass* Class()
             TClass* IsA()
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
        TGVScrollBar TGVScrollBar(TGVScrollBar&)
                void ~TGVScrollBar()


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.