Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MyDisplay Class Reference

Inheritance diagram for MyDisplay:

Display GuiBox GuiCompositeFrameBase GuiBase List of all members.

Public Member Functions

 MyDisplay (TGWindow &parent)
virtual ~MyDisplay ()

Constructor & Destructor Documentation

MyDisplay::MyDisplay TGWindow &  parent  )  [inline]
 

Definition at line 401 of file test-Gui.cxx.

References GuiTable::Attach(), fill_mydisplay_menu(), Display::GetMainBox(), and Display::GetMenuBar().

00401                                 : Display(parent,3,3){
00402         GuiTable& main_box = this->GetMainBox();
00403 
00404         GuiCanvas* gc = manage(new GuiCanvas(main_box,100,100));
00405         main_box.Attach(*gc, 1,2, 1,2);
00406 
00407         GuiSlider* xslider = manage(new GuiSlider(main_box,kHorizontalFrame));
00408         main_box.Attach(*xslider, 1,2, 2,3);
00409         
00410         GuiSlider* yslider = manage(new GuiSlider(main_box,kVerticalFrame));
00411         main_box.Attach(*yslider, 2,3, 1,2);
00412     
00413         GuiMenuBar& menubar = this->GetMenuBar();
00414         fill_mydisplay_menu(&menubar);
00415     }

virtual MyDisplay::~MyDisplay  )  [inline, virtual]
 

Definition at line 416 of file test-Gui.cxx.

00416 {}


The documentation for this class was generated from the following file:
Generated on Mon Feb 15 11:09:38 2010 for loon by  doxygen 1.3.9.1