TGHSplitter


class description - source file - inheritance tree

class TGHSplitter : public TGSplitter


    public:
TGHSplitter TGHSplitter(const TGWindow* p, UInt_t w = 4, UInt_t h = 2, UInt_t options = kChildFrame, ULong_t back = fgDefaultFrameBackground) TGHSplitter TGHSplitter(TGHSplitter&) virtual void ~TGHSplitter() static TClass* Class() virtual void DrawBorder() virtual Bool_t HandleButton(Event_t* event) virtual Bool_t HandleCrossing(Event_t* event) virtual Bool_t HandleMotion(Event_t* event) virtual TClass* IsA() const virtual void SetFrame(TGFrame* frame, Bool_t above) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
Int_t fStartY y position when dragging starts UInt_t fWidth width of frame to be resized UInt_t fHeight height of frame to be resized Int_t fMin min y position frame can be resized to Int_t fMax max y position frame can be resized to TGFrame* fFrame frame that should be resized Bool_t fAbove true if frame is above the splitter

Class Description

                                                                      
 TGSplitter, TGVSplitter, TGHSplitter, TGHorizontal3DLine and         
 TGVertical3DLine                                                     
                                                                      
 A splitter allows the frames left and right or above and below of    
 it to be resized. The frame to be resized must have the kFixedWidth  
 or kFixedHeight property set.                                        
 A horizontal 3D line is a line that typically separates a toolbar    
 from the menubar.                                                    
 A vertical 3D line is a line that can be used to separate groups of  
 widgets.                                                             
                                                                      


TGHSplitter(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options, ULong_t back) : TGSplitter(p, w, h, options, back)
 Create a horizontal splitter.

void SetFrame(TGFrame *frame, Bool_t above)
 Set frame to be resized. If frame is above the splitter
 set above to true.

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

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

Bool_t HandleCrossing(Event_t *event)
 Handle mouse motion event in horizontal splitter.

void DrawBorder()
 Draw horizontal splitter.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
        TGHSplitter TGHSplitter(TGHSplitter&)
               void ~TGHSplitter()


Author: Fons Rademakers 6/09/2000
Last update: root/gui:$Name: $:$Id: TGSplitter.cxx,v 1.2 2000/09/07 11:19:01 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.