TGViewPort


class description - source file - inheritance tree

class TGViewPort : public TGCompositeFrame

    private:
protected:
public:
TGViewPort TGViewPort(const TGWindow* p, UInt_t w, UInt_t h, UInt_t options = kChildFrame, ULong_t back = fgDefaultFrameBackground) TGViewPort TGViewPort(TGViewPort&) void ~TGViewPort() static TClass* Class() virtual void DrawBorder() TGFrame* GetContainer() const virtual TGDimension GetDefaultSize() const virtual TClass* IsA() const virtual void Layout() void SetContainer(TGFrame* f) void SetHPos(Int_t xpos) void SetPos(Int_t xpos, Int_t ypos) void SetVPos(Int_t ypos) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

private:
protected:
Int_t fX0 Int_t fY0 position of container frame in viewport TGFrame* fContainer container frame (must inherit from TGCompositeFrame) public:

Class Description

                                                                      
 TGCanvas and TGViewPort                                              
                                                                      
 A TGCanvas is a frame containing two scrollbars (a horizontal and    
 a vertical) and a viewport. The viewport acts as the window through  
 which we look at the contents of the container frame.                
                                                                      


TGViewPort(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options, ULong_t back) : TGCompositeFrame(p, w, h, options, back)
 Create a viewport object.

void SetContainer(TGFrame *f)
 Add container frame to the viewport. We must make sure that the added
 container is at least a TGCompositeFrame (TGCanvas::AddFrame depends
 on it).



Inline Functions


           TGFrame* GetContainer() const
               void DrawBorder()
               void Layout()
        TGDimension GetDefaultSize() const
               void SetHPos(Int_t xpos)
               void SetVPos(Int_t ypos)
               void SetPos(Int_t xpos, Int_t ypos)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
         TGViewPort TGViewPort(TGViewPort&)
               void ~TGViewPort()


Author: Fons Rademakers 11/01/98
Last update: root/gui:$Name: $:$Id: TGCanvas.cxx,v 1.4 2000/10/11 16:12:18 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.