TGHSlider


class description - source file - inheritance tree

class TGHSlider : public TGSlider


    protected:
virtual void DoRedraw() public:
TGHSlider TGHSlider(TGWindow* p, UInt_t w, UInt_t type, Int_t id = -1, UInt_t options = kHorizontalFrame, ULong_t back = fgDefaultFrameBackground) TGHSlider TGHSlider(TGHSlider&) virtual void ~TGHSlider() TClass* Class() virtual TGDimension GetDefaultSize() virtual Bool_t HandleButton(Event_t* event) virtual Bool_t HandleMotion(Event_t* event) virtual TClass* IsA() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
Int_t fXp horizontal slider x position in pixel coordinates

Class Description

                                                                      
 TGSlider, TGVSlider and TGHSlider                                    
                                                                      
 Slider widgets allow easy selection out of a range.                  
 Sliders can be either horizontal or vertical oriented and there is   
 a choice of two different slider types and three different types     
 of tick marks.                                                       
                                                                      
 TGSlider is an abstract base class. Use the concrete TGVSlider and   
 TGHSlider.                                                           
                                                                      
 Dragging the slider will generate the event:                         
 kC_VSLIDER, kSL_POS, slider id, position  (for vertical slider)      
 kC_HSLIDER, kSL_POS, slider id, position  (for horizontal slider)    
                                                                      


TGHSlider(const TGWindow *p, UInt_t w, UInt_t type, Int_t id, UInt_t options, ULong_t back) : TGSlider(p, w, kSliderHeight, type, id, options, back)
 Create horizontal slider widget.

~TGHSlider()
 Delete a horizontal slider widget.

void DoRedraw()
 Redraw horizontal slider widget.

Bool_t HandleButton(Event_t *event)
 Handle mouse button event in horizontal slider widget.

Bool_t HandleMotion(Event_t *event)
 Handle mouse motion event in horizontal slide widget.



Inline Functions


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


Author: Fons Rademakers 14/01/98
Last update: 2.00/12 02/10/98 16.02.19 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.