TGViewPort Class Reference

#include <TGCanvas.h>

Inheritance diagram for TGViewPort:

TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 TGViewPort (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
TGFrameGetContainer () const
void SetContainer (TGFrame *f)
virtual void DrawBorder ()
virtual void Layout ()
virtual TGDimension GetDefaultSize () const
virtual void SetHPos (Int_t xpos)
virtual void SetVPos (Int_t ypos)
void SetPos (Int_t xpos, Int_t ypos)
Int_t GetHPos () const
Int_t GetVPos () const
virtual Bool_t HandleConfigureNotify (Event_t *event)
 TGViewPort (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
TGFrameGetContainer () const
void SetContainer (TGFrame *f)
virtual void DrawBorder ()
virtual void Layout ()
virtual TGDimension GetDefaultSize () const
virtual void SetHPos (Int_t xpos)
virtual void SetVPos (Int_t ypos)
void SetPos (Int_t xpos, Int_t ypos)
Int_t GetHPos () const
Int_t GetVPos () const
virtual Bool_t HandleConfigureNotify (Event_t *event)

Protected Attributes

Int_t fX0
Int_t fY0
TGFramefContainer
TGFramefContainer

Private Member Functions

 TGViewPort (const TGViewPort &)
TGViewPortoperator= (const TGViewPort &)
 TGViewPort (const TGViewPort &)
TGViewPortoperator= (const TGViewPort &)

Detailed Description

Definition at line 170 of file TGCanvas.h.


Constructor & Destructor Documentation

TGViewPort::TGViewPort ( const TGViewPort  )  [private]

TGViewPort::TGViewPort ( const TGWindow p = 0,
UInt_t  w = 1,
UInt_t  h = 1,
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

TGViewPort::TGViewPort ( const TGViewPort  )  [private]

TGViewPort::TGViewPort ( const TGWindow p = 0,
UInt_t  w = 1,
UInt_t  h = 1,
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)


Member Function Documentation

TGViewPort& TGViewPort::operator= ( const TGViewPort  )  [private]

TGFrame* TGViewPort::GetContainer (  )  const [inline]

Definition at line 185 of file TGCanvas.h.

References fContainer.

Referenced by TGCanvas::AddFrame(), TGListBox::GetContainer(), TGCanvas::GetContainer(), TGListBox::GetSelected(), TGListView::Layout(), TGListBox::Layout(), TGCanvas::Layout(), TGListView::LayoutHeader(), TGCanvas::MapSubwindows(), TGListView::ResizeColumns(), XSElementList::SelectZ(), TGListView::SetDefaultColumnWidth(), TGCanvas::SetHsbPosition(), TGListView::SetViewMode(), and TGCanvas::SetVsbPosition().

void TGViewPort::SetContainer ( TGFrame f  ) 

Definition at line 143 of file TGCanvas.cxx.

References TGCompositeFrame::AddFrame(), xmlio::Class, fContainer, TGWindow::fParent, TGWindow::GetEditDisabled(), TObject::InheritsFrom(), TGWindow::kEditDisableGrab, TGCompositeFrame::RemoveFrame(), and TGWindow::SetEditDisabled().

Referenced by TGCanvas::SetContainer(), and TGListBox::SetContainer().

virtual void TGViewPort::DrawBorder (  )  [inline, virtual]

Reimplemented from TGFrame.

Definition at line 188 of file TGCanvas.h.

virtual void TGViewPort::Layout (  )  [inline, virtual]

Reimplemented from TGCompositeFrame.

Definition at line 189 of file TGCanvas.h.

virtual TGDimension TGViewPort::GetDefaultSize (  )  const [inline, virtual]

Reimplemented from TGCompositeFrame.

Definition at line 190 of file TGCanvas.h.

References TGFrame::fHeight, and TGFrame::fWidth.

void TGViewPort::SetHPos ( Int_t  xpos  )  [virtual]

Definition at line 170 of file TGCanvas.cxx.

References TMath::Abs(), xmlio::Class, fContainer, TGFrame::fHeight, TGCompositeFrame::fMapSubwindows, TGFrame::fWidth, fX0, fY0, TGObject::GetId(), TGFrame::GetWhiteGC(), gVirtualX, TObject::InheritsFrom(), and TGFrame::Move().

Referenced by TGMdiMainFrame::ArrangeFrames(), TGCanvas::ProcessMessage(), TGContainer::SetHsbPosition(), TGCanvas::SetHsbPosition(), and SetPos().

void TGViewPort::SetVPos ( Int_t  ypos  )  [virtual]

Definition at line 214 of file TGCanvas.cxx.

References TMath::Abs(), xmlio::Class, fContainer, TGFrame::fHeight, TGCompositeFrame::fMapSubwindows, TGFrame::fWidth, fX0, fY0, TGObject::GetId(), TGFrame::GetWhiteGC(), gVirtualX, TObject::InheritsFrom(), and TGFrame::Move().

Referenced by TGMdiMainFrame::ArrangeFrames(), TGCanvas::ProcessMessage(), TGListBox::ProcessMessage(), SetPos(), TGContainer::SetVsbPosition(), and TGCanvas::SetVsbPosition().

void TGViewPort::SetPos ( Int_t  xpos,
Int_t  ypos 
)

Definition at line 259 of file TGCanvas.cxx.

References fContainer, fX0, fY0, SetHPos(), and SetVPos().

Referenced by TGContainer::SetPagePosition().

Int_t TGViewPort::GetHPos (  )  const [inline]

Definition at line 196 of file TGCanvas.h.

References fX0.

Referenced by TGMdiContainer::GetDefaultSize(), and TGContainer::GetPagePosition().

Int_t TGViewPort::GetVPos (  )  const [inline]

Definition at line 197 of file TGCanvas.h.

References fY0.

Referenced by TGMdiContainer::GetDefaultSize(), and TGContainer::GetPagePosition().

Bool_t TGViewPort::HandleConfigureNotify ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 270 of file TGCanvas.cxx.

References xmlio::Class, TGContainer::DrawRegion(), fContainer, Event_t::fHeight, Event_t::fWidth, Event_t::fX, Event_t::fY, TGFrame::HandleConfigureNotify(), TObject::InheritsFrom(), kFALSE, and kTRUE.

TGViewPort& TGViewPort::operator= ( const TGViewPort  )  [private]

TGFrame* TGViewPort::GetContainer (  )  const [inline]

Definition at line 185 of file TGCanvas.h.

References fContainer.

void TGViewPort::SetContainer ( TGFrame f  ) 

virtual void TGViewPort::DrawBorder (  )  [inline, virtual]

Reimplemented from TGFrame.

Definition at line 188 of file TGCanvas.h.

virtual void TGViewPort::Layout (  )  [inline, virtual]

Reimplemented from TGCompositeFrame.

Definition at line 189 of file TGCanvas.h.

virtual TGDimension TGViewPort::GetDefaultSize (  )  const [inline, virtual]

Reimplemented from TGCompositeFrame.

Definition at line 190 of file TGCanvas.h.

References TGFrame::fHeight, and TGFrame::fWidth.

virtual void TGViewPort::SetHPos ( Int_t  xpos  )  [virtual]

virtual void TGViewPort::SetVPos ( Int_t  ypos  )  [virtual]

void TGViewPort::SetPos ( Int_t  xpos,
Int_t  ypos 
)

Int_t TGViewPort::GetHPos (  )  const [inline]

Definition at line 196 of file TGCanvas.h.

References fX0.

Int_t TGViewPort::GetVPos (  )  const [inline]

Definition at line 197 of file TGCanvas.h.

References fY0.

virtual Bool_t TGViewPort::HandleConfigureNotify ( Event_t event  )  [virtual]

Reimplemented from TGFrame.


Member Data Documentation

Int_t TGViewPort::fX0 [protected]

Definition at line 173 of file TGCanvas.h.

Referenced by GetHPos(), SetHPos(), SetPos(), and SetVPos().

Int_t TGViewPort::fY0 [protected]

Definition at line 173 of file TGCanvas.h.

Referenced by GetVPos(), SetHPos(), SetPos(), and SetVPos().

TGFrame* TGViewPort::fContainer [protected]

Definition at line 174 of file TGCanvas.h.

Referenced by GetContainer(), HandleConfigureNotify(), SetContainer(), SetHPos(), SetPos(), and SetVPos().

TGFrame* TGViewPort::fContainer [protected]

Definition at line 174 of file TGCanvas.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:41:12 2011 for ROOT_528-00b_version by  doxygen 1.5.1