library: libGui
#include "TGSplitter.h"

TGVSplitter


class description - source file - inheritance tree (.pdf)

class TGVSplitter : public TGSplitter

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGSplitter
<-
TGVSplitter

    public:
TGVSplitter(const TGWindow* p = 0, UInt_t w = 2, UInt_t h = 4, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()) TGVSplitter(const TGVSplitter&) virtual ~TGVSplitter() static TClass* Class() virtual void DrawBorder() const TGFrame* GetFrame() const Bool_t GetLeft() const 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 Bool_t IsLeft() const virtual void SavePrimitive(ofstream& out, Option_t* option) virtual void SetFrame(TGFrame* frame, Bool_t left) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t fStartX x position when dragging starts UInt_t fFrameWidth width of frame to be resized UInt_t fFrameHeight height of frame to be resized Int_t fMin min x position frame can be resized to Int_t fMax max x position frame can be resized to TGFrame* fFrame frame that should be resized Bool_t fLeft true if frame is on the left of splitter

Class Description

                                                                      
 TGSplitter, TGVSplitter and TGHSplitter                              
                                                                      
 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.                                        
                                                                      


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

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

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

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

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

void DrawBorder()
 Draw vertical splitter.

void SavePrimitive(ofstream &out, Option_t *option)
 Save a splitter widget as a C++ statement(s) on output stream out.



Inline Functions


                  void ~TGVSplitter()
        const TGFrame* GetFrame() const
                Bool_t GetLeft() const
                Bool_t IsLeft() const
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void StreamerNVirtual(TBuffer& b)
           TGVSplitter TGVSplitter(const TGVSplitter&)


Author: Fons Rademakers 6/09/2000
Last update: root/gui:$Name: $:$Id: TGSplitter.cxx,v 1.9 2005/08/23 17:00:41 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - 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.