TGMainFrame Class Reference

#include <TGFrame.h>

Inheritance diagram for TGMainFrame:

TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow ButtonLayoutWindow ButtonWindow DNDMainFrame EditorWindow GroupStateWindow HistAction LabelsWindow ListTreeWindow MyApplication MyButtonTest MyMainFrame MyMainFrame MyMainFrame MyMainFrame MyMainFrame MyMainFrame MyMainFrame MyMainFrame MyMainFrame NumberEntryWindow ProgressbarWindow RootShower ShutterWindow SliderWindow SplitButtonTest SplitButtonWindow SplitGLView TableTest TableTest TableTest TableTest TASPaletteEditor TASPaletteEditor TestMainFrame TestMainFrame TEveGListTreeEditorFrame TEveGListTreeEditorFrame TextAlignWindow TextEntryWindow TFitEditor TFitEditor TGCommandPlugin TGCommandPlugin TGedEditor TGedEditor TGeoTransientPanel TGeoTransientPanel TGFileBrowser TGFileBrowser TGHtmlBrowser TGHtmlBrowser TGHtmlBrowser TGLSAFrame TGLSAFrame TGRecorder TGRecorder TGRootIDE TGShapedMain TGTextEditor TGTextEditor TGTransientFrame TGTransientFrame TGuiBldSaveFrame TRootBrowser TRootBrowser TRootBrowserLite TRootBrowserLite TRootCanvas TRootCanvas TRootControlBar TRootControlBar TRootGuiBuilder TRootGuiBuilder TSessionViewer TSessionViewer TStructViewerGUI TStructViewerGUI TStyleManager TStyleManager TTreeViewer TTreeViewer TTripleSliderDemo TX3DFrame TX3DFrame Viewer XSGui List of all members.

Public Member Functions

 TGMainFrame (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kVerticalFrame)
virtual ~TGMainFrame ()
virtual Bool_t HandleKey (Event_t *event)
virtual Bool_t HandleClientMessage (Event_t *event)
virtual Bool_t HandleSelection (Event_t *event)
virtual Bool_t HandleSelectionRequest (Event_t *event)
virtual Bool_t HandleButton (Event_t *event)
virtual Bool_t HandleMotion (Event_t *event)
virtual Bool_t SaveFrameAsCodeOrImage ()
virtual void SendCloseMessage ()
virtual void CloseWindow ()
void DontCallClose ()
void SetWindowName (const char *name=0)
void SetIconName (const char *name)
const TGPictureSetIconPixmap (const char *iconName)
void SetIconPixmap (char **xpm_array)
void SetClassHints (const char *className, const char *resourceName)
void SetMWMHints (UInt_t value, UInt_t funcs, UInt_t input)
void SetWMPosition (Int_t x, Int_t y)
void SetWMSize (UInt_t w, UInt_t h)
void SetWMSizeHints (UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc)
void SetWMState (EInitialState state)
virtual Bool_t BindKey (const TGWindow *w, Int_t keycode, Int_t modifier) const
virtual void RemoveBind (const TGWindow *w, Int_t keycode, Int_t modifier) const
TListGetBindList () const
const char * GetWindowName () const
const char * GetIconName () const
const char * GetIconPixmap () const
void GetClassHints (const char *&className, const char *&resourceName) const
void GetMWMHints (UInt_t &value, UInt_t &funcs, UInt_t &input) const
void GetWMPosition (Int_t &x, Int_t &y) const
void GetWMSize (UInt_t &w, UInt_t &h) const
void GetWMSizeHints (UInt_t &wmin, UInt_t &hmin, UInt_t &wmax, UInt_t &hmax, UInt_t &winc, UInt_t &hinc) const
EInitialState GetWMState () const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SaveSource (const char *filename="Rootappl.C", Option_t *option="")
 TGMainFrame (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kVerticalFrame)
virtual ~TGMainFrame ()
virtual Bool_t HandleKey (Event_t *event)
virtual Bool_t HandleClientMessage (Event_t *event)
virtual Bool_t HandleSelection (Event_t *event)
virtual Bool_t HandleSelectionRequest (Event_t *event)
virtual Bool_t HandleButton (Event_t *event)
virtual Bool_t HandleMotion (Event_t *event)
virtual Bool_t SaveFrameAsCodeOrImage ()
virtual void SendCloseMessage ()
virtual void CloseWindow ()
void DontCallClose ()
void SetWindowName (const char *name=0)
void SetIconName (const char *name)
const TGPictureSetIconPixmap (const char *iconName)
void SetIconPixmap (char **xpm_array)
void SetClassHints (const char *className, const char *resourceName)
void SetMWMHints (UInt_t value, UInt_t funcs, UInt_t input)
void SetWMPosition (Int_t x, Int_t y)
void SetWMSize (UInt_t w, UInt_t h)
void SetWMSizeHints (UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc)
void SetWMState (EInitialState state)
virtual Bool_t BindKey (const TGWindow *w, Int_t keycode, Int_t modifier) const
virtual void RemoveBind (const TGWindow *w, Int_t keycode, Int_t modifier) const
TListGetBindList () const
const char * GetWindowName () const
const char * GetIconName () const
const char * GetIconPixmap () const
void GetClassHints (const char *&className, const char *&resourceName) const
void GetMWMHints (UInt_t &value, UInt_t &funcs, UInt_t &input) const
void GetWMPosition (Int_t &x, Int_t &y) const
void GetWMSize (UInt_t &w, UInt_t &h) const
void GetWMSizeHints (UInt_t &wmin, UInt_t &hmin, UInt_t &wmax, UInt_t &hmax, UInt_t &winc, UInt_t &hinc) const
EInitialState GetWMState () const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SaveSource (const char *filename="Rootappl.C", Option_t *option="")

Protected Types

enum  
enum  

Protected Member Functions

TString GetMWMvalueString () const
TString GetMWMfuncString () const
TString GetMWMinpString () const
TString GetMWMvalueString () const
TString GetMWMfuncString () const
TString GetMWMinpString () const

Protected Attributes

Atom_tfDNDTypeList
TListfBindList
TString fWindowName
TString fIconName
TString fIconPixmap
TString fClassName
TString fResourceName
UInt_t fMWMValue
UInt_t fMWMFuncs
UInt_t fMWMInput
Int_t fWMX
Int_t fWMY
UInt_t fWMWidth
UInt_t fWMHeight
UInt_t fWMMinWidth
UInt_t fWMMinHeight
UInt_t fWMMaxWidth
UInt_t fWMMaxHeight
UInt_t fWMWidthInc
UInt_t fWMHeightInc
EInitialState fWMInitState
Atom_tfDNDTypeList
TListfBindList

Private Member Functions

 TGMainFrame (const TGMainFrame &)
TGMainFrameoperator= (const TGMainFrame &)
 TGMainFrame (const TGMainFrame &)
TGMainFrameoperator= (const TGMainFrame &)

Classes

class  TGMapKey

Detailed Description

Definition at line 482 of file TGFrame.h.


Member Enumeration Documentation

anonymous enum [protected]

Definition at line 485 of file TGFrame.h.

anonymous enum [protected]

Definition at line 485 of file TGFrame.h.


Constructor & Destructor Documentation

TGMainFrame::TGMainFrame ( const TGMainFrame  )  [private]

TGMainFrame::TGMainFrame ( const TGWindow p = 0,
UInt_t  w = 1,
UInt_t  h = 1,
UInt_t  options = kVerticalFrame 
)

Definition at line 1400 of file TGFrame.cxx.

References TGCompositeFrame::AddFrame(), xmlio::Class, fBindList, TGObject::fClient, fDNDTypeList, TGObject::fId, fMWMFuncs, fMWMInput, fMWMValue, fWMHeight, fWMHeightInc, fWMInitState, fWMMaxHeight, fWMMaxWidth, fWMMinHeight, fWMMinWidth, fWMWidth, fWMWidthInc, fWMX, fWMY, gDNDManager, gDragManager, TGClient::GetDefaultRoot(), TGClient::GetRoot(), gVirtualX, TGClient::IsEditable(), TVirtualDragManager::IsPasting(), kFALSE, kKey_s, kKeyControlMask, kLHintsExpandX, kLHintsExpandY, kMWMDecorAll, kMWMFuncAll, kMWMInputModeless, kTRUE, p, TVirtualDragManager::SetPasteFrame(), and SetWindowName().

TGMainFrame::~TGMainFrame (  )  [virtual]

Definition at line 1462 of file TGFrame.cxx.

References TList::Delete(), fBindList, and fDNDTypeList.

TGMainFrame::TGMainFrame ( const TGMainFrame  )  [private]

TGMainFrame::TGMainFrame ( const TGWindow p = 0,
UInt_t  w = 1,
UInt_t  h = 1,
UInt_t  options = kVerticalFrame 
)

virtual TGMainFrame::~TGMainFrame (  )  [virtual]


Member Function Documentation

TString TGMainFrame::GetMWMvalueString (  )  const [protected]

Definition at line 2495 of file TGFrame.cxx.

References fMWMValue, kMWMDecorAll, kMWMDecorBorder, kMWMDecorMaximize, kMWMDecorMenu, kMWMDecorMinimize, kMWMDecorResizeH, kMWMDecorTitle, and TString::Length().

Referenced by SaveSource(), and TGTransientFrame::SaveSource().

TString TGMainFrame::GetMWMfuncString (  )  const [protected]

Definition at line 2535 of file TGFrame.cxx.

References fMWMFuncs, kMWMFuncAll, kMWMFuncClose, kMWMFuncMaximize, kMWMFuncMinimize, kMWMFuncMove, kMWMFuncResize, and TString::Length().

Referenced by SaveSource(), and TGTransientFrame::SaveSource().

TString TGMainFrame::GetMWMinpString (  )  const [protected]

Definition at line 2572 of file TGFrame.cxx.

References fMWMInput.

Referenced by SaveSource(), and TGTransientFrame::SaveSource().

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

Bool_t TGMainFrame::HandleKey ( Event_t event  )  [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 1539 of file TGFrame.cxx.

References fBindList, Event_t::fCode, Event_t::fState, Event_t::fType, gVirtualX, if(), kFALSE, kGKeyPress, kKey_S, kKeyControlMask, kTRUE, m, SaveFrameAsCodeOrImage(), str, w, and x20.

Referenced by TRootBrowser::HandleKey(), RootShower::HandleKey(), TGRootIDE::HandleKey(), TRootBrowserLite::HandleKey(), TRootDialog::HandleKey(), TGTextEditor::HandleKey(), and TRootGuiBuilder::HandleKey().

Bool_t TGMainFrame::HandleClientMessage ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 1660 of file TGFrame.cxx.

References CloseWindow(), TQObject::Emit(), Event_t::fFormat, Event_t::fHandle, Event_t::fUser, gROOT_MESSAGE, gWM_DELETE_WINDOW, TGFrame::HandleClientMessage(), kDontCallClose, TObject::kNotDeleted, kTRUE, and TObject::TestBit().

Bool_t TGMainFrame::HandleSelection ( Event_t event  )  [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 1636 of file TGFrame.cxx.

References Event_t::fUser, gDNDManager, TGDNDManager::GetDNDSelection(), and TGCompositeFrame::HandleSelection().

Bool_t TGMainFrame::HandleSelectionRequest ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 1648 of file TGFrame.cxx.

References Event_t::fUser, gDNDManager, TGDNDManager::GetDNDSelection(), and TGFrame::HandleSelectionRequest().

Bool_t TGMainFrame::HandleButton ( Event_t event  )  [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 1612 of file TGFrame.cxx.

References TGDNDManager::Drop(), Event_t::fType, gDNDManager, TGCompositeFrame::HandleButton(), TGDNDManager::IsDragging(), and kButtonRelease.

Bool_t TGMainFrame::HandleMotion ( Event_t event  )  [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 1624 of file TGFrame.cxx.

References TGDNDManager::Drag(), Event_t::fTime, Event_t::fXRoot, Event_t::fYRoot, gDNDManager, TGDNDManager::GetDNDActionCopy(), TGCompositeFrame::HandleMotion(), and TGDNDManager::IsDragging().

Bool_t TGMainFrame::SaveFrameAsCodeOrImage (  )  [virtual]

Definition at line 1474 of file TGFrame.cxx.

References TImage::Create(), TString::Data(), dir(), TString::EndsWith(), TGObject::fClient, TGFileInfo::fFilename, TGFileInfo::fFileTypes, fi, TGFileInfo::fIniDir, TString::Format(), TGFileInfo::fOverwrite, gErrorIgnoreLevel, TGClient::GetDefaultRoot(), TGObject::GetId(), TGWindow::GetMainFrame(), gSaveMacroTypes, gSystem, kFALSE, kFatal, kFDSave, TImage::kGif, TImage::kJpeg, kMBCancel, kMBIconExclamation, kMBRetry, TImage::kPng, TImage::kTiff, kTRUE, TImage::kUnknown, TImage::kXpm, main(), TGWindow::RaiseWindow(), retval, StrDup(), and TSystem::UnixPathName().

Referenced by HandleKey().

void TGMainFrame::SendCloseMessage (  )  [virtual]

Definition at line 1676 of file TGFrame.cxx.

References Event_t::fFormat, Event_t::fHandle, Event_t::fType, Event_t::fUser, Event_t::fWindow, TGObject::GetId(), gVirtualX, gWM_DELETE_WINDOW, and kClientMessage.

Referenced by TStyleDialog::DoCancel(), TGPasswdDialog::DoClose(), TStyleDialog::DoOK(), EntryTestDlg::DoOK(), TViewerX3D::ProcessFrameMessage(), TTreeViewer::ProcessMessage(), TRootBrowserLite::ProcessMessage(), and TRootCanvas::ProcessMessage().

void TGMainFrame::CloseWindow (  )  [virtual]

Definition at line 1698 of file TGFrame.cxx.

References TGFrame::DeleteWindow().

Referenced by TGTextEditor::CloseWindow(), XSGui::CloseWindow(), TEveCompositeFrameInMainFrame::Destroy(), DNDMainFrame::DoCloseWindow(), HandleClientMessage(), SplitGLView::HandleMenu(), TGSplitFrame::SwallowBack(), testHelpDialog(), testPack(), testSplitFrame(), testTableLayout(), StatDialogBDT::~StatDialogBDT(), StatDialogMVAEffs::~StatDialogMVAEffs(), and TEveManager::~TEveManager().

void TGMainFrame::DontCallClose (  ) 

Definition at line 1711 of file TGFrame.cxx.

References kDontCallClose, and TObject::SetBit().

Referenced by ButtonWindow::ButtonWindow(), CalendarWindow::CalendarWindow(), TEveManager::CloseEveWindow(), DNDMainFrame::DNDMainFrame(), TestSliders::DoSlider(), TEveCompositeFrameInMainFrame::MainFrameClosed(), MyApplication::MyApplication(), MyButtonTest::MyButtonTest(), SplitButtonTest::SplitButtonTest(), TableTest::TableTest(), TGFileDialog::TGFileDialog(), TGShapedMain::TGShapedMain(), and TEveManager::~TEveManager().

void TGMainFrame::SetWindowName ( const char *  name = 0  )  [virtual]

Reimplemented from TGWindow.

Definition at line 1721 of file TGFrame.cxx.

References TGObject::fId, fWindowName, gVirtualX, and TGWindow::SetWindowName().

Referenced by arrow_standalone(), TGTextEditor::Build(), TSessionViewer::Build(), TGRootIDE::Build(), TTreeViewer::BuildInterface(), TProofProgressLog::BuildLogList(), ButtonLayoutWindow::ButtonLayoutWindow(), ButtonWindow::ButtonWindow(), CalendarWindow::CalendarWindow(), TGHtmlBrowser::CheckAnchors(), TGTextEditor::ClearText(), TGRootIDE::ClearText(), TRootBrowser::CreateBrowser(), TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), TViewerX3D::CreateViewer(), TGTextEditor::DataDropped(), DNDMainFrame::DNDMainFrame(), TestSliders::DoSlider(), TGRootIDE::DoTab(), TTreeViewer::EditExpression(), EditorWindow::EditorWindow(), EntryTestDlg::EntryTestDlg(), GroupStateWindow::GroupStateWindow(), TGuiBldDragManager::HandleCopy(), InputDialog::InputDialog(), LabelsWindow::LabelsWindow(), ListTreeWindow::ListTreeWindow(), TGTextEditor::LoadFile(), make_gui(), TGLAnnotation::MakeEditor(), MyApplication::MyApplication(), MyButtonTest::MyButtonTest(), MyMainFrame::MyMainFrame(), NumberEntryWindow::NumberEntryWindow(), RootShower::OnOpenFile(), RootShower::OnSaveFile(), RootShower::OnShowerProduce(), pack(), TGMsgBox::PMsgBox(), ProgressbarWindow::ProgressbarWindow(), pythia_make_gui(), RootShower::RootShower(), RootShowerAbout::RootShowerAbout(), RootShowerMsgBox::RootShowerMsgBox(), TGRootIDE::SaveFile(), TGTextEditor::SaveFile(), TGHtmlBrowser::Selected(), TGedEditor::SetCanvas(), TSessionLogView::SetTitle(), Editor::SetTitle(), TGDockableFrame::SetWindowName(), TRootCanvas::SetWindowTitle(), TMemStatViewerGUI::ShowGUI(), ShutterWindow::ShutterWindow(), SliderWindow::SliderWindow(), TEveGedEditor::SpawnNewEditor(), SplitButtonTest::SplitButtonTest(), SplitButtonWindow::SplitButtonWindow(), Spy::Spy(), StatDialogBDT::StatDialogBDT(), StatDialogMVAEffs::StatDialogMVAEffs(), TEveWindowSlot::StopEmbedding(), TableTest::TableTest(), TAdvancedGraphicsDialog::TAdvancedGraphicsDialog(), TestDialog::TestDialog(), TestDirList::TestDirList(), TestFileList::TestFileList(), TestMainFrame::TestMainFrame(), TestMsgBox::TestMsgBox(), testPack(), TestProgress::TestProgress(), TestShutter::TestShutter(), TestSliders::TestSliders(), testTableLayout(), TextAlignWindow::TextAlignWindow(), TextEntryWindow::TextEntryWindow(), TFitEditor::TFitEditor(), TGAppMainFrame::TGAppMainFrame(), TGFileDialog::TGFileDialog(), TGGotoDialog::TGGotoDialog(), TGLSAViewer::TGLSAViewer(), TGMainFrame(), TGPrintDialog::TGPrintDialog(), TGRootIDE::TGRootIDE(), TGShapedMain::TGShapedMain(), TGTextEditor::TGTextEditor(), TGuiBldMenuDialog::TGuiBldMenuDialog(), TGUndockedFrame::TGUndockedFrame(), TNewChainDlg::TNewChainDlg(), TNewQueryDlg::TNewQueryDlg(), TRootGuiBuilder::TRootGuiBuilder(), TSessionViewer::TSessionViewer(), TStructViewerGUI::TStructViewerGUI(), TStyleDialog::TStyleDialog(), TStyleManager::TStyleManager(), TTripleSliderDemo::TTripleSliderDemo(), TUploadDataSetDlg::TUploadDataSetDlg(), TGDockableFrame::UndockContainer(), CalendarWindow::UpdateHTML(), TEveCompositeFrameInMainFrame::WindowNameChanged(), WorldMap::WorldMap(), XSElementDlg::XSElementDlg(), XSGui::XSGui(), and XSReactionDlg::XSReactionDlg().

void TGMainFrame::SetIconName ( const char *  name  ) 

Definition at line 1734 of file TGFrame.cxx.

References fIconName, TGObject::fId, and gVirtualX.

Referenced by TProofProgressLog::BuildLogList(), TRootBrowser::CreateBrowser(), TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), TViewerX3D::CreateViewer(), EntryTestDlg::EntryTestDlg(), TGuiBldDragManager::HandleCopy(), TGMsgBox::PMsgBox(), RootShower::RootShower(), TSessionLogView::SetTitle(), Editor::SetTitle(), TRootCanvas::SetWindowTitle(), TFitEditor::TFitEditor(), TGFileDialog::TGFileDialog(), TGGotoDialog::TGGotoDialog(), TGPrintDialog::TGPrintDialog(), TGuiBldMenuDialog::TGuiBldMenuDialog(), TRootGuiBuilder::TRootGuiBuilder(), and WorldMap::WorldMap().

const TGPicture * TGMainFrame::SetIconPixmap ( const char *  iconName  ) 

Definition at line 1743 of file TGFrame.cxx.

References TGObject::fClient, fIconPixmap, TGObject::fId, TGClient::GetPicture(), TGPicture::GetPicture(), and gVirtualX.

Referenced by TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), TGuiBldDragManager::HandleCopy(), and TRootGuiBuilder::TRootGuiBuilder().

void TGMainFrame::SetIconPixmap ( char **  xpm_array  ) 

Definition at line 1764 of file TGFrame.cxx.

References TImage::Create(), TGObject::fId, gVirtualX, TImage::kXpm, and TObject::Warning().

void TGMainFrame::SetClassHints ( const char *  className,
const char *  resourceName 
)

Definition at line 1786 of file TGFrame.cxx.

References fClassName, TGObject::fId, fResourceName, and gVirtualX.

Referenced by TGTextEditor::Build(), TGRootIDE::Build(), TRootBrowser::CreateBrowser(), TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), TViewerX3D::CreateViewer(), EntryTestDlg::EntryTestDlg(), TGuiBldDragManager::HandleCopy(), TGMsgBox::PMsgBox(), TFitEditor::TFitEditor(), TGAppMainFrame::TGAppMainFrame(), TGFileDialog::TGFileDialog(), TGLSAViewer::TGLSAViewer(), and TRootGuiBuilder::TRootGuiBuilder().

void TGMainFrame::SetMWMHints ( UInt_t  value,
UInt_t  funcs,
UInt_t  input 
)

Definition at line 1798 of file TGFrame.cxx.

References TGObject::fClient, TGObject::fId, fMWMFuncs, fMWMInput, fMWMValue, TGWindow::fParent, TGClient::GetRoot(), gVirtualX, and TGClient::IsEditable().

Referenced by TRootControlBar::Create(), TViewerX3D::CreateViewer(), EntryTestDlg::EntryTestDlg(), TGuiBldDragManager::HandleCopy(), InputDialog::InputDialog(), TGMsgBox::PMsgBox(), TGuiBldMenuDialog::Popup(), TRootDialog::Popup(), RootShowerAbout::RootShowerAbout(), RootShowerMsgBox::RootShowerMsgBox(), SliderWindow::SliderWindow(), TAdvancedGraphicsDialog::TAdvancedGraphicsDialog(), TestSliders::TestSliders(), TFitEditor::TFitEditor(), TGFileDialog::TGFileDialog(), TGGotoDialog::TGGotoDialog(), TGLSAViewer::TGLSAViewer(), TGPrintDialog::TGPrintDialog(), and TGUndockedFrame::TGUndockedFrame().

void TGMainFrame::SetWMPosition ( Int_t  x,
Int_t  y 
)

Definition at line 1811 of file TGFrame.cxx.

References TGObject::fClient, TGObject::fId, TGWindow::fParent, fWMX, fWMY, TGClient::GetRoot(), gVirtualX, and TGClient::IsEditable().

Referenced by ButtonLayoutWindow::ButtonLayoutWindow(), TGTransientFrame::CenterOnParent(), TRootControlBar::Create(), TGuiBldDragManager::CreatePropertyEditor(), TViewerX3D::CreateViewer(), Editor::Editor(), EditorWindow::EditorWindow(), GroupStateWindow::GroupStateWindow(), InputDialog::InputDialog(), LabelsWindow::LabelsWindow(), ListTreeWindow::ListTreeWindow(), TGuiBldDragManager::MapGlobalDialog(), TStylePreview::MapTheWindow(), NumberEntryWindow::NumberEntryWindow(), TGuiBldMenuDialog::Popup(), ProgressbarWindow::ProgressbarWindow(), RootShowerAbout::RootShowerAbout(), TGedEditor::Show(), ShutterWindow::ShutterWindow(), SplitButtonWindow::SplitButtonWindow(), StatDialogBDT::StatDialogBDT(), StatDialogMVAEffs::StatDialogMVAEffs(), testFontDlg(), testPack(), testSearchDlg(), testSplitFrame(), testTableLayout(), TextAlignWindow::TextAlignWindow(), TextEntryWindow::TextEntryWindow(), TFitEditor::TFitEditor(), TGeoTreeDialog::TGeoTreeDialog(), TGLSAViewer::TGLSAViewer(), TRootBrowser::TRootBrowser(), TRootBrowserLite::TRootBrowserLite(), TRootCanvas::TRootCanvas(), TRootGuiBuilder::TRootGuiBuilder(), XSElementDlg::XSElementDlg(), and XSReactionDlg::XSReactionDlg().

void TGMainFrame::SetWMSize ( UInt_t  w,
UInt_t  h 
)

Definition at line 1823 of file TGFrame.cxx.

References TGObject::fClient, TGObject::fId, TGWindow::fParent, fWMHeight, fWMWidth, TGClient::GetRoot(), gVirtualX, and TGClient::IsEditable().

Referenced by TRootControlBar::Create(), EntryTestDlg::EntryTestDlg(), TGUndockedFrame::FixSize(), TGuiBldDragManager::HandleCopy(), InputDialog::InputDialog(), TGMsgBox::PMsgBox(), TGuiBldMenuDialog::Popup(), TRootDialog::Popup(), RootShowerAbout::RootShowerAbout(), RootShowerMsgBox::RootShowerMsgBox(), SliderWindow::SliderWindow(), TAdvancedGraphicsDialog::TAdvancedGraphicsDialog(), TestSliders::TestSliders(), TFitEditor::TFitEditor(), and TGFileDialog::TGFileDialog().

void TGMainFrame::SetWMSizeHints ( UInt_t  wmin,
UInt_t  hmin,
UInt_t  wmax,
UInt_t  hmax,
UInt_t  winc,
UInt_t  hinc 
)

Definition at line 1835 of file TGFrame.cxx.

References TGObject::fClient, TGObject::fId, TGFrame::fMaxHeight, TGFrame::fMaxWidth, TGFrame::fMinHeight, TGFrame::fMinWidth, TGWindow::fParent, fWMHeightInc, fWMMaxHeight, fWMMaxWidth, fWMMinHeight, fWMMinWidth, fWMWidthInc, TGClient::GetRoot(), gVirtualX, and TGClient::IsEditable().

Referenced by TSessionViewer::Build(), ButtonWindow::ButtonWindow(), CalendarWindow::CalendarWindow(), TRootBrowser::CreateBrowser(), TRootBrowserLite::CreateBrowser(), TStyleManager::DoMoreLess(), EntryTestDlg::EntryTestDlg(), TGUndockedFrame::FixSize(), TGuiBldDragManager::HandleCopy(), InputDialog::InputDialog(), TGMsgBox::PMsgBox(), TGuiBldMenuDialog::Popup(), TRootDialog::Popup(), RootShowerAbout::RootShowerAbout(), RootShowerMsgBox::RootShowerMsgBox(), SliderWindow::SliderWindow(), TAdvancedGraphicsDialog::TAdvancedGraphicsDialog(), TestSliders::TestSliders(), TFitEditor::TFitEditor(), TGFileDialog::TGFileDialog(), TGShapedMain::TGShapedMain(), TNewQueryDlg::TNewQueryDlg(), TStructViewerGUI::TStructViewerGUI(), TStyleDialog::TStyleDialog(), and TUploadDataSetDlg::TUploadDataSetDlg().

void TGMainFrame::SetWMState ( EInitialState  state  ) 

Definition at line 1854 of file TGFrame.cxx.

References TGObject::fClient, TGObject::fId, TGWindow::fParent, fWMInitState, TGClient::GetRoot(), gVirtualX, and TGClient::IsEditable().

Bool_t TGMainFrame::BindKey ( const TGWindow w,
Int_t  keycode,
Int_t  modifier 
) const [virtual]

Definition at line 1570 of file TGFrame.cxx.

References fBindList, TGObject::fClient, TGObject::fId, TGWindow::GetMainFrame(), gVirtualX, TGClient::IsEditable(), kFALSE, kTRUE, list, m, main(), and w.

Referenced by KeyHandler::KeyHandler(), and TRootBrowser::ShowMenu().

void TGMainFrame::RemoveBind ( const TGWindow w,
Int_t  keycode,
Int_t  modifier 
) const [virtual]

Definition at line 1593 of file TGFrame.cxx.

References fBindList, TGObject::fId, gVirtualX, kFALSE, and m.

Referenced by KeyHandler::~KeyHandler().

TList* TGMainFrame::GetBindList (  )  const [inline]

Definition at line 558 of file TGFrame.h.

References fBindList.

const char* TGMainFrame::GetWindowName (  )  const [inline]

Definition at line 560 of file TGFrame.h.

References fWindowName.

Referenced by SavePrimitive(), TGTransientFrame::SavePrimitive(), TRootCanvas::ShowToolBar(), TEveWindowSlot::StopEmbedding(), and TestMsgBox::TryToClose().

const char* TGMainFrame::GetIconName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 561 of file TGFrame.h.

References fIconName.

Referenced by SavePrimitive(), and TGTransientFrame::SavePrimitive().

const char* TGMainFrame::GetIconPixmap (  )  const [inline]

Definition at line 562 of file TGFrame.h.

References fIconPixmap.

Referenced by SavePrimitive(), and TGTransientFrame::SavePrimitive().

void TGMainFrame::GetClassHints ( const char *&  className,
const char *&  resourceName 
) const [inline]

Definition at line 563 of file TGFrame.h.

References TString::Data(), fClassName, and fResourceName.

Referenced by SaveSource(), and TGTransientFrame::SaveSource().

void TGMainFrame::GetMWMHints ( UInt_t value,
UInt_t funcs,
UInt_t input 
) const [inline]

Definition at line 565 of file TGFrame.h.

References fMWMFuncs, fMWMInput, and fMWMValue.

Referenced by SaveSource(), and TGTransientFrame::SaveSource().

void TGMainFrame::GetWMPosition ( Int_t x,
Int_t y 
) const [inline]

Definition at line 567 of file TGFrame.h.

References fWMX, and fWMY.

Referenced by SaveSource(), and TGTransientFrame::SaveSource().

void TGMainFrame::GetWMSize ( UInt_t w,
UInt_t h 
) const [inline]

Definition at line 568 of file TGFrame.h.

References fWMHeight, and fWMWidth.

Referenced by SaveSource(), and TGTransientFrame::SaveSource().

void TGMainFrame::GetWMSizeHints ( UInt_t wmin,
UInt_t hmin,
UInt_t wmax,
UInt_t hmax,
UInt_t winc,
UInt_t hinc 
) const [inline]

Definition at line 569 of file TGFrame.h.

References fWMHeightInc, fWMMaxHeight, fWMMaxWidth, fWMMinHeight, fWMMinWidth, and fWMWidthInc.

Referenced by SaveSource(), and TGTransientFrame::SaveSource().

EInitialState TGMainFrame::GetWMState (  )  const [inline]

Definition at line 573 of file TGFrame.h.

References fWMInitState.

void TGMainFrame::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 3013 of file TGFrame.cxx.

References xmlio::Class, fIconName, fIconPixmap, TGFrame::fOptions, TGWindow::fParent, fWindowName, gClient, TGClient::GetDefaultRoot(), GetIconName(), GetIconPixmap(), TGCompositeFrame::GetLayoutManager(), TGWindow::GetName(), TGFrame::GetOptions(), TGFrame::GetOptionString(), GetWindowName(), TObject::InheritsFrom(), kHorizontalFrame, kMainFrame, kVerticalFrame, TGCompositeFrame::SavePrimitive(), TObject::SavePrimitive(), and TGCompositeFrame::SavePrimitiveSubframes().

Referenced by SaveSource().

void TGMainFrame::SaveSource ( const char *  filename = "Rootappl.C",
Option_t option = "" 
) [virtual]

Definition at line 2736 of file TGFrame.cxx.

References TSeqCollection::Add(), TList::Add(), TApplication::Argv(), TSystem::BaseName(), c1, xmlio::Class, TList::Clear(), TString::Contains(), TString::Data(), TList::Delete(), TObject::Delete(), TObject::Error(), fClassName, TList::FindObject(), TCollection::FindObject(), fMWMFuncs, fMWMInput, fMWMValue, TString::Format(), fResourceName, fWMHeight, fWMHeightInc, fWMMaxHeight, fWMMaxWidth, fWMMinHeight, fWMMinWidth, fWMWidth, fWMWidthInc, fWMX, fWMY, gApplication, TClass::GetBaseClass(), GetClassHints(), TClass::GetDeclFileName(), TGFrame::GetHeight(), TGCompositeFrame::GetLayoutManager(), TROOT::GetListOfClasses(), TROOT::GetListOfSpecials(), GetMWMfuncString(), GetMWMHints(), GetMWMinpString(), GetMWMvalueString(), TGWindow::GetName(), TObjString::GetString(), TROOT::GetVersion(), TGFrame::GetWidth(), GetWMPosition(), GetWMSize(), GetWMSizeHints(), gListOfHiddenFrames, gROOT, gSystem, i, TObject::InheritsFrom(), TClass::InheritsFrom(), k, TClass::kClassSaved, kFALSE, kTRUE, out, p, TCollection::Remove(), TObject::ResetBit(), s, SavePrimitive(), TBits::SetBitNumber(), TCollection::SetName(), sname, t, and TBits::TestBitNumber().

Referenced by MyMainFrame::DoSave(), and TGuiBldDragManager::HandleCopy().

TString TGMainFrame::GetMWMvalueString (  )  const [protected]

TString TGMainFrame::GetMWMfuncString (  )  const [protected]

TString TGMainFrame::GetMWMinpString (  )  const [protected]

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

virtual Bool_t TGMainFrame::HandleKey ( Event_t event  )  [virtual]

Reimplemented from TGCompositeFrame.

virtual Bool_t TGMainFrame::HandleClientMessage ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

virtual Bool_t TGMainFrame::HandleSelection ( Event_t event  )  [virtual]

Reimplemented from TGCompositeFrame.

virtual Bool_t TGMainFrame::HandleSelectionRequest ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

virtual Bool_t TGMainFrame::HandleButton ( Event_t event  )  [virtual]

Reimplemented from TGCompositeFrame.

virtual Bool_t TGMainFrame::HandleMotion ( Event_t event  )  [virtual]

Reimplemented from TGCompositeFrame.

virtual Bool_t TGMainFrame::SaveFrameAsCodeOrImage (  )  [virtual]

virtual void TGMainFrame::SendCloseMessage (  )  [virtual]

virtual void TGMainFrame::CloseWindow (  )  [virtual]

void TGMainFrame::DontCallClose (  ) 

void TGMainFrame::SetWindowName ( const char *  name = 0  )  [virtual]

Reimplemented from TGWindow.

void TGMainFrame::SetIconName ( const char *  name  ) 

const TGPicture* TGMainFrame::SetIconPixmap ( const char *  iconName  ) 

void TGMainFrame::SetIconPixmap ( char **  xpm_array  ) 

void TGMainFrame::SetClassHints ( const char *  className,
const char *  resourceName 
)

void TGMainFrame::SetMWMHints ( UInt_t  value,
UInt_t  funcs,
UInt_t  input 
)

void TGMainFrame::SetWMPosition ( Int_t  x,
Int_t  y 
)

void TGMainFrame::SetWMSize ( UInt_t  w,
UInt_t  h 
)

void TGMainFrame::SetWMSizeHints ( UInt_t  wmin,
UInt_t  hmin,
UInt_t  wmax,
UInt_t  hmax,
UInt_t  winc,
UInt_t  hinc 
)

void TGMainFrame::SetWMState ( EInitialState  state  ) 

virtual Bool_t TGMainFrame::BindKey ( const TGWindow w,
Int_t  keycode,
Int_t  modifier 
) const [virtual]

virtual void TGMainFrame::RemoveBind ( const TGWindow w,
Int_t  keycode,
Int_t  modifier 
) const [virtual]

TList* TGMainFrame::GetBindList (  )  const [inline]

Definition at line 558 of file TGFrame.h.

References fBindList.

const char* TGMainFrame::GetWindowName (  )  const [inline]

Definition at line 560 of file TGFrame.h.

References fWindowName.

const char* TGMainFrame::GetIconName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 561 of file TGFrame.h.

References fIconName.

const char* TGMainFrame::GetIconPixmap (  )  const [inline]

Definition at line 562 of file TGFrame.h.

References fIconPixmap.

void TGMainFrame::GetClassHints ( const char *&  className,
const char *&  resourceName 
) const [inline]

Definition at line 563 of file TGFrame.h.

References TString::Data(), fClassName, and fResourceName.

void TGMainFrame::GetMWMHints ( UInt_t value,
UInt_t funcs,
UInt_t input 
) const [inline]

Definition at line 565 of file TGFrame.h.

References fMWMFuncs, fMWMInput, and fMWMValue.

void TGMainFrame::GetWMPosition ( Int_t x,
Int_t y 
) const [inline]

Definition at line 567 of file TGFrame.h.

References fWMX, and fWMY.

void TGMainFrame::GetWMSize ( UInt_t w,
UInt_t h 
) const [inline]

Definition at line 568 of file TGFrame.h.

References fWMHeight, and fWMWidth.

void TGMainFrame::GetWMSizeHints ( UInt_t wmin,
UInt_t hmin,
UInt_t wmax,
UInt_t hmax,
UInt_t winc,
UInt_t hinc 
) const [inline]

Definition at line 569 of file TGFrame.h.

References fWMHeightInc, fWMMaxHeight, fWMMaxWidth, fWMMinHeight, fWMMinWidth, and fWMWidthInc.

EInitialState TGMainFrame::GetWMState (  )  const [inline]

Definition at line 573 of file TGFrame.h.

References fWMInitState.

virtual void TGMainFrame::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGCompositeFrame.

virtual void TGMainFrame::SaveSource ( const char *  filename = "Rootappl.C",
Option_t option = "" 
) [virtual]


Member Data Documentation

Atom_t* TGMainFrame::fDNDTypeList [protected]

Definition at line 498 of file TGFrame.h.

Referenced by TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), TGMainFrame(), and ~TGMainFrame().

TList* TGMainFrame::fBindList [protected]

Definition at line 499 of file TGFrame.h.

Referenced by BindKey(), GetBindList(), HandleKey(), RemoveBind(), TRootBrowser::ShowMenu(), TGMainFrame(), and ~TGMainFrame().

TString TGMainFrame::fWindowName [protected]

Definition at line 500 of file TGFrame.h.

Referenced by GetWindowName(), SavePrimitive(), TGTransientFrame::SavePrimitive(), and SetWindowName().

TString TGMainFrame::fIconName [protected]

Definition at line 501 of file TGFrame.h.

Referenced by GetIconName(), SavePrimitive(), TGTransientFrame::SavePrimitive(), and SetIconName().

TString TGMainFrame::fIconPixmap [protected]

Definition at line 502 of file TGFrame.h.

Referenced by GetIconPixmap(), SavePrimitive(), TGTransientFrame::SavePrimitive(), and SetIconPixmap().

TString TGMainFrame::fClassName [protected]

Definition at line 503 of file TGFrame.h.

Referenced by GetClassHints(), TGTransientFrame::SaveSource(), SaveSource(), and SetClassHints().

TString TGMainFrame::fResourceName [protected]

Definition at line 504 of file TGFrame.h.

Referenced by GetClassHints(), TGTransientFrame::SaveSource(), SaveSource(), and SetClassHints().

UInt_t TGMainFrame::fMWMValue [protected]

Definition at line 505 of file TGFrame.h.

Referenced by GetMWMHints(), GetMWMvalueString(), TGTransientFrame::SaveSource(), SaveSource(), SetMWMHints(), and TGMainFrame().

UInt_t TGMainFrame::fMWMFuncs [protected]

Definition at line 506 of file TGFrame.h.

Referenced by GetMWMfuncString(), GetMWMHints(), TGTransientFrame::SaveSource(), SaveSource(), SetMWMHints(), and TGMainFrame().

UInt_t TGMainFrame::fMWMInput [protected]

Definition at line 507 of file TGFrame.h.

Referenced by GetMWMHints(), GetMWMinpString(), TGTransientFrame::SaveSource(), SaveSource(), SetMWMHints(), and TGMainFrame().

Int_t TGMainFrame::fWMX [protected]

Definition at line 508 of file TGFrame.h.

Referenced by GetWMPosition(), TGTransientFrame::SaveSource(), SaveSource(), SetWMPosition(), and TGMainFrame().

Int_t TGMainFrame::fWMY [protected]

Definition at line 509 of file TGFrame.h.

Referenced by GetWMPosition(), TGTransientFrame::SaveSource(), SaveSource(), SetWMPosition(), and TGMainFrame().

UInt_t TGMainFrame::fWMWidth [protected]

Definition at line 510 of file TGFrame.h.

Referenced by GetWMSize(), TGTransientFrame::SaveSource(), SaveSource(), SetWMSize(), and TGMainFrame().

UInt_t TGMainFrame::fWMHeight [protected]

Definition at line 511 of file TGFrame.h.

Referenced by GetWMSize(), TGTransientFrame::SaveSource(), SaveSource(), SetWMSize(), and TGMainFrame().

UInt_t TGMainFrame::fWMMinWidth [protected]

Definition at line 512 of file TGFrame.h.

Referenced by GetWMSizeHints(), TGTransientFrame::SaveSource(), SaveSource(), SetWMSizeHints(), and TGMainFrame().

UInt_t TGMainFrame::fWMMinHeight [protected]

Definition at line 513 of file TGFrame.h.

Referenced by GetWMSizeHints(), TGTransientFrame::SaveSource(), SaveSource(), SetWMSizeHints(), and TGMainFrame().

UInt_t TGMainFrame::fWMMaxWidth [protected]

Definition at line 514 of file TGFrame.h.

Referenced by GetWMSizeHints(), TGTransientFrame::SaveSource(), SaveSource(), SetWMSizeHints(), and TGMainFrame().

UInt_t TGMainFrame::fWMMaxHeight [protected]

Definition at line 515 of file TGFrame.h.

Referenced by GetWMSizeHints(), TGTransientFrame::SaveSource(), SaveSource(), SetWMSizeHints(), and TGMainFrame().

UInt_t TGMainFrame::fWMWidthInc [protected]

Definition at line 516 of file TGFrame.h.

Referenced by GetWMSizeHints(), TGTransientFrame::SaveSource(), SaveSource(), SetWMSizeHints(), and TGMainFrame().

UInt_t TGMainFrame::fWMHeightInc [protected]

Definition at line 517 of file TGFrame.h.

Referenced by GetWMSizeHints(), TGTransientFrame::SaveSource(), SaveSource(), SetWMSizeHints(), and TGMainFrame().

EInitialState TGMainFrame::fWMInitState [protected]

Definition at line 518 of file TGFrame.h.

Referenced by GetWMState(), SetWMState(), and TGMainFrame().

Atom_t* TGMainFrame::fDNDTypeList [protected]

Definition at line 498 of file TGFrame.h.

TList* TGMainFrame::fBindList [protected]

Definition at line 499 of file TGFrame.h.


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