GuiScrolled Class Reference

#include <GuiScrolled.h>

Inheritance diagram for GuiScrolled:

GuiBase List of all members.

Public Member Functions

 GuiScrolled (TGWindow &parent, unsigned int w=10, unsigned int h=10, unsigned int options=kSunkenFrame|kDoubleBorder)
virtual ~GuiScrolled ()
virtual void Add (GuiBase &gb)

Private Member Functions

 GuiScrolled (const GuiScrolled &rhs)
GuiScrolledoperator= (const GuiScrolled &rhs)

Detailed Description

Definition at line 24 of file GuiScrolled.h.


Constructor & Destructor Documentation

GuiScrolled::GuiScrolled ( TGWindow &  parent,
unsigned int  w = 10,
unsigned int  h = 10,
unsigned int  options = kSunkenFrame|kDoubleBorder 
) [inline]

Definition at line 29 of file GuiScrolled.h.

References GuiBase::SetLayoutHints().

00031         : TGCanvas(&parent,w,h,options)
00032         { this->SetLayoutHints(kLHintsExpandX|kLHintsExpandY); }

virtual GuiScrolled::~GuiScrolled (  )  [inline, virtual]

Definition at line 33 of file GuiScrolled.h.

00033 {}

GuiScrolled::GuiScrolled ( const GuiScrolled rhs  )  [private]


Member Function Documentation

virtual void GuiScrolled::Add ( GuiBase gb  )  [inline, virtual]

Definition at line 34 of file GuiScrolled.h.

References GuiBase::fChildren.

Referenced by main(), PageDisplay::MakeMCTree(), EVD::MCTreetext(), and TestMCTree::SpawnMCTree().

00034                                   {
00035         fChildren.push_back(&gb);
00036         TGFrame* f = dynamic_cast<TGFrame*>(&gb);
00037         if (!f) {std::cerr<<"Midad/Gui/GuiScrolled::Add() whoops\n"; return;}
00038         this->TGCanvas::SetContainer(f);
00039     }

GuiScrolled& GuiScrolled::operator= ( const GuiScrolled rhs  )  [private]


The documentation for this class was generated from the following file:
Generated on Mon Nov 10 00:55:34 2014 for loon by  doxygen 1.4.7