XSGui Class Reference

#include <XSGui.h>

Inheritance diagram for XSGui:

TGMainFrame 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

 XSGui (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~XSGui ()
virtual void CloseWindow ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t param, Long_t)
Bool_t ProcessMenuMessage (Long_t param)

Private Attributes

TGMenuBarmenuBar
TGPopupMenufileMenu
TGPopupMenuelemMenu
TGPopupMenuoptMenu
TGPopupMenuhelpMenu
TGLayoutHintsmenuBarLayout
TGLayoutHintsmenuBarItemLayout
TGLayoutHintsmenuBarHelpLayout
TGStatusBarstatusBar

Detailed Description

Definition at line 75 of file XSGui.h.


Constructor & Destructor Documentation

XSGui::XSGui ( const TGWindow p,
UInt_t  w,
UInt_t  h 
)

Definition at line 34 of file XSGui.cxx.

References TGPopupMenu::AddEntry(), TGCompositeFrame::AddFrame(), TGPopupMenu::AddLabel(), TGMenuBar::AddPopup(), TGPopupMenu::AddSeparator(), TGPopupMenu::Associate(), canvas, canvasWindow, TGPopupMenu::DisableEntry(), elemMenu, TGObject::fClient, fileMenu, TRootEmbeddedCanvas::GetCanvas(), TGCompositeFrame::GetDefaultSize(), TPad::GetFrame(), TGClient::GetRoot(), helpMenu, kHorizontalFrame, kLHintsBottom, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, M_ELEM_CLEAR, M_ELEM_MODIFY, M_ELEM_REACTION, M_FILE_CLOSE, M_FILE_EXIT, M_FILE_OPEN, M_FILE_PRINT, M_FILE_PRINT_SETUP, M_FILE_SAVE, M_FILE_SAVEAS, M_HELP_ABOUT, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), menuBar, menuBarHelpLayout, menuBarItemLayout, menuBarLayout, optMenu, PRGNAME, TGFrame::Resize(), TWbox::SetBorderSize(), TAttFill::SetFillColor(), TPad::SetGrid(), TPad::SetLogx(), TPad::SetLogy(), TGStatusBar::SetText(), TGMainFrame::SetWindowName(), statusBar, and TCanvas::Update().

XSGui::~XSGui (  )  [virtual]

Definition at line 130 of file XSGui.cxx.

References canvasWindow, elemMenu, fileMenu, helpMenu, menuBarHelpLayout, menuBarItemLayout, menuBarLayout, optMenu, and statusBar.


Member Function Documentation

void XSGui::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 148 of file XSGui.cxx.

References TGMainFrame::CloseWindow(), gApplication, and TApplication::Terminate().

Referenced by ProcessMenuMessage().

Bool_t XSGui::ProcessMessage ( Long_t  msg,
Long_t  param,
Long_t   
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 204 of file XSGui.cxx.

References GET_MSG(), GET_SUBMSG(), kC_COMMAND, kCM_BUTTON, kCM_MENU, kCM_MENUSELECT, kTRUE, ProcessMenuMessage(), TGStatusBar::SetText(), snprintf, statusBar, and str.

Bool_t XSGui::ProcessMenuMessage ( Long_t  param  ) 

Definition at line 161 of file XSGui.cxx.

References CloseWindow(), dir(), TGObject::fClient, TGFileInfo::fFileTypes, fi, filetypes, TGFileInfo::fIniDir, TGClient::GetRoot(), kFDOpen, kMBIconAsterisk, kMBOk, kTRUE, M_ELEM_REACTION, M_FILE_EXIT, M_FILE_OPEN, M_FILE_SAVE, M_HELP_ABOUT, retval, and StrDup().

Referenced by ProcessMessage().


Member Data Documentation

TGMenuBar* XSGui::menuBar [private]

Definition at line 78 of file XSGui.h.

Referenced by XSGui().

TGPopupMenu* XSGui::fileMenu [private]

Definition at line 80 of file XSGui.h.

Referenced by XSGui(), and ~XSGui().

TGPopupMenu * XSGui::elemMenu [private]

Definition at line 80 of file XSGui.h.

Referenced by XSGui(), and ~XSGui().

TGPopupMenu * XSGui::optMenu [private]

Definition at line 80 of file XSGui.h.

Referenced by XSGui(), and ~XSGui().

TGPopupMenu * XSGui::helpMenu [private]

Definition at line 80 of file XSGui.h.

Referenced by XSGui(), and ~XSGui().

TGLayoutHints* XSGui::menuBarLayout [private]

Definition at line 85 of file XSGui.h.

Referenced by XSGui(), and ~XSGui().

TGLayoutHints * XSGui::menuBarItemLayout [private]

Definition at line 85 of file XSGui.h.

Referenced by XSGui(), and ~XSGui().

TGLayoutHints * XSGui::menuBarHelpLayout [private]

Definition at line 85 of file XSGui.h.

Referenced by XSGui(), and ~XSGui().

TGStatusBar* XSGui::statusBar [private]

Definition at line 89 of file XSGui.h.

Referenced by ProcessMessage(), XSGui(), and ~XSGui().


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