TGViewPort
class description - source file - inheritance tree
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()
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)
protected:
Int_t fX0
Int_t fY0 position of container frame in viewport
TGFrame* fContainer container frame (must inherit from TGCompositeFrame)
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)
TGViewPort TGViewPort(TGViewPort&)
void ~TGViewPort()
Author: Fons Rademakers 11/01/98
Last update: 2.23/02 02/09/99 15.54.27 by Rene Brun
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.