#include <TGMdiMainFrame.h>
Inheritance diagram for TGMdiMainFrame:
Definition at line 144 of file TGMdiMainFrame.h.
anonymous enum [protected] |
Definition at line 149 of file TGMdiMainFrame.h.
anonymous enum [protected] |
Definition at line 149 of file TGMdiMainFrame.h.
TGMdiMainFrame::TGMdiMainFrame | ( | const TGWindow * | p, | |
TGMdiMenuBar * | menu, | |||
Int_t | w, | |||
Int_t | h, | |||
UInt_t | options = 0 , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TGMdiMainFrame::~TGMdiMainFrame | ( | ) | [virtual] |
Definition at line 113 of file TGMdiMainFrame.cxx.
References fBoxGC, fChildren, TGObject::fClient, fFontCurrent, fFontNotCurrent, TGClient::FreeFont(), TGWindow::GetMainFrame(), TGMdiFrameList::GetNext(), gVirtualX, kKey_F4, kKey_Tab, kKeyControlMask, kKeyShiftMask, main(), and TGWindow::MustCleanup().
TGMdiMainFrame::TGMdiMainFrame | ( | const TGWindow * | p, | |
TGMdiMenuBar * | menu, | |||
Int_t | w, | |||
Int_t | h, | |||
UInt_t | options = 0 , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGMdiMainFrame::~TGMdiMainFrame | ( | ) | [virtual] |
void TGMdiMainFrame::AddMdiFrame | ( | TGMdiFrame * | f | ) | [protected] |
Definition at line 187 of file TGMdiMainFrame.cxx.
References TGFrame::fBorderWidth, fBoxGC, fChildren, fCurrentX, fCurrentY, TGFrame::fHeight, fNumberOfFrames, TGWindow::fParent, FrameCreated(), fResizeMode, TGFrame::fWidth, TGFrame::GetHeight(), TGObject::GetId(), TGFrame::GetWidth(), kC_MDI, kMDI_CREATE, Layout(), MK_MSG(), TGFrame::SendMessage(), SetCurrent(), TGMdiFrameList::SetCycleNext(), TGMdiFrameList::SetCyclePrev(), TGMdiFrameList::SetDecorFrame(), TGMdiFrameList::SetPrev(), TGFrame::UnmapWindow(), and UpdateWinListMenu().
Bool_t TGMdiMainFrame::RemoveMdiFrame | ( | TGMdiFrame * | f | ) | [protected] |
Definition at line 227 of file TGMdiMainFrame.cxx.
References fChildren, fCurrent, TGMdiFrameList::fDecor, fNumberOfFrames, TGWindow::fParent, FrameClosed(), TGMdiFrameList::GetCycleNext(), TGMdiFrameList::GetCyclePrev(), TGMdiFrameList::GetDecorFrame(), TGMdiFrameList::GetFrameId(), TGObject::GetId(), TGMdiFrameList::GetNext(), TGMdiFrameList::GetPrev(), TGCompositeFrame::IsEditable(), kC_MDI, kFALSE, kMDI_CLOSE, kTRUE, Layout(), MK_MSG(), TGCompositeFrame::RemoveFrame(), TGFrame::SendMessage(), SetCurrent(), TGMdiFrameList::SetCycleNext(), TGMdiFrameList::SetCyclePrev(), TGCompositeFrame::SetEditable(), TGMdiFrameList::SetNext(), TGMdiFrameList::SetPrev(), and UpdateWinListMenu().
Referenced by TGMdiFrame::~TGMdiFrame().
Bool_t TGMdiMainFrame::SetCurrent | ( | TGMdiFrameList * | newcurrent | ) | [protected] |
Definition at line 322 of file TGMdiMainFrame.cxx.
References TQObject::Emit(), fBackCurrent, fBackNotCurrent, fChildren, fCurrent, fFontCurrent, fFontNotCurrent, fForeCurrent, fForeNotCurrent, fMenuBar, fWinListMenu, TGMdiTitleBar::GetButtons(), TGMdiFrameList::GetCycleNext(), TGMdiFrameList::GetCyclePrev(), TGMdiFrameList::GetDecorFrame(), TGObject::GetId(), TGMdiDecorFrame::GetMdiFrame(), TGMdiDecorFrame::GetTitleBar(), TGMdiTitleBar::GetWinIcon(), TGMdiDecorFrame::IsMaximized(), kFALSE, kMaxInt, kTRUE, TGWindow::RaiseWindow(), TGPopupMenu::RCheckEntry(), TGMdiFrameList::SetCycleNext(), TGMdiFrameList::SetCyclePrev(), TGMdiTitleBar::SetTitleBarColors(), and TGMdiMenuBar::ShowFrames().
Referenced by AddMdiFrame(), CirculateDown(), CirculateUp(), CloseAll(), TRootGuiBuilder::HandleMenu(), ProcessMessage(), TGuiBldDragManager::RaiseMdiFrame(), RemoveMdiFrame(), Restore(), and SetCurrent().
TGMdiDecorFrame * TGMdiMainFrame::GetDecorFrame | ( | UInt_t | id | ) | const [protected] |
Definition at line 451 of file TGMdiMainFrame.cxx.
References fChildren, TGMdiFrameList::GetDecorFrame(), TGObject::GetId(), and TGMdiFrameList::GetNext().
Referenced by Close(), ConfigureWindow(), FreeMove(), FreeSize(), GetMdiFrame(), GetWindowGeometry(), IsMaximized(), IsMinimized(), Maximize(), Minimize(), and Restore().
TGMdiDecorFrame * TGMdiMainFrame::GetDecorFrame | ( | TGMdiFrame * | frame | ) | const [protected] |
Definition at line 439 of file TGMdiMainFrame.cxx.
References fChildren, TGMdiFrameList::GetDecorFrame(), TGMdiDecorFrame::GetMdiFrame(), and TGMdiFrameList::GetNext().
void TGMdiMainFrame::UpdateWinListMenu | ( | ) | [protected] |
Definition at line 516 of file TGMdiMainFrame.cxx.
References TGPopupMenu::AddEntry(), buf, TGPopupMenu::DeleteEntry(), TGPopupMenu::DisableEntry(), fChildren, fCurrent, TString::Format(), fWinListMenu, TGMdiFrameList::GetDecorFrame(), TGObject::GetId(), TGPopupMenu::GetListOfEntries(), TGMdiDecorFrame::GetMdiButtons(), TGMdiFrameList::GetNext(), TGMdiDecorFrame::GetWindowIcon(), TGMdiDecorFrame::GetWindowName(), kMaxInt, kMdiMenu, and TGPopupMenu::RCheckEntry().
Referenced by AddMdiFrame(), RemoveMdiFrame(), TGMdiFrame::SetWindowIcon(), and TGMdiFrame::SetWindowName().
Reimplemented from TGFrame.
Definition at line 158 of file TGMdiMainFrame.cxx.
References CirculateDown(), CirculateUp(), Close(), Event_t::fType, GetCurrent(), gVirtualX, kFALSE, kGKeyPress, kKey_F4, kKey_Tab, kKeyControlMask, kKeyShiftMask, and kTRUE.
Reimplemented from TGCanvas.
Definition at line 718 of file TGMdiMainFrame.cxx.
References Close(), ContextHelp(), FreeMove(), FreeSize(), GET_MSG(), GET_SUBMSG(), GetCurrent(), kC_MDI, kMDI_CLOSE, kMDI_HELP, kMDI_MAXIMIZE, kMDI_MINIMIZE, kMDI_MOVE, kMDI_RESTORE, kMDI_SIZE, kTRUE, Maximize(), Minimize(), TGCanvas::ProcessMessage(), Restore(), and SetCurrent().
void TGMdiMainFrame::Layout | ( | ) | [virtual] |
Reimplemented from TGCanvas.
Definition at line 554 of file TGMdiMainFrame.cxx.
References TGFrame::fBorderWidth, fCurrent, TGFrame::fHeight, TGFrame::fWidth, TGMdiFrameList::GetDecorFrame(), TGMdiDecorFrame::IsMaximized(), TGCanvas::Layout(), and TGMdiDecorFrame::MoveResize().
Referenced by AddMdiFrame(), ArrangeFrames(), ConfigureWindow(), Maximize(), Minimize(), RemoveMdiFrame(), and Restore().
void TGMdiMainFrame::FreeMove | ( | TGMdiFrame * | frame | ) | [virtual] |
Definition at line 949 of file TGMdiMainFrame.cxx.
References GetDecorFrame(), TGFrame::GetHeight(), TGObject::GetId(), TGMdiDecorFrame::GetTitleBar(), TGFrame::GetWidth(), gVirtualX, kButtonReleaseMask, kFALSE, kMove, kNone, kPointerMotionMask, kTRUE, TGMdiTitleBar::SetLeftButPressed(), TGMdiTitleBar::SetX0(), TGMdiTitleBar::SetY0(), x, and y.
Referenced by ProcessMessage().
void TGMdiMainFrame::FreeSize | ( | TGMdiFrame * | frame | ) | [virtual] |
Definition at line 973 of file TGMdiMainFrame.cxx.
References TGObject::fClient, Event_t::fCode, Event_t::fType, Event_t::fWindow, Event_t::fX, Event_t::fXRoot, Event_t::fY, Event_t::fYRoot, GetDecorFrame(), TGClient::GetDefaultRoot(), TGFrame::GetHeight(), TGObject::GetId(), TGMdiDecorFrame::GetLowerRightCR(), TGFrame::GetWidth(), gVirtualX, TGMdiWinResizer::HandleButton(), kBottomRight, kButton1, kButtonPress, kButtonReleaseMask, kFALSE, kNone, kPointerMotionMask, kTRUE, x, and y.
Referenced by ProcessMessage().
void TGMdiMainFrame::Restore | ( | TGMdiFrame * | frame | ) | [virtual] |
Definition at line 815 of file TGMdiMainFrame.cxx.
References TGMdiTitleBar::AddFrames(), fBackCurrent, fFontCurrent, fForeCurrent, fMenuBar, TGWindow::fParent, FrameRestored(), TGMdiTitleBar::GetButtons(), GetDecorFrame(), TGObject::GetId(), TGMdiDecorFrame::GetMdiButtons(), TGMdiDecorFrame::GetPreResizeHeight(), TGMdiDecorFrame::GetPreResizeWidth(), TGMdiDecorFrame::GetPreResizeX(), TGMdiDecorFrame::GetPreResizeY(), TGMdiDecorFrame::GetTitleBar(), TGMdiTitleBar::GetWinIcon(), TGFrame::GetX(), TGFrame::GetY(), TGMdiDecorFrame::IsMaximized(), TGMdiDecorFrame::IsMinimized(), kC_MDI, kFALSE, kMDI_RESTORE, TGMdiDecorFrame::kMdiBorderWidth, Layout(), TGCompositeFrame::Layout(), TGMdiTitleBar::LayoutButtons(), TGCompositeFrame::MapSubwindows(), TGMdiDecorFrame::Maximize(), TGMdiDecorFrame::Minimize(), MK_MSG(), TGMdiDecorFrame::MoveResize(), TGMdiMenuBar::RemoveFrames(), TGFrame::SendMessage(), SetCurrent(), TGMdiDecorFrame::SetDecorBorderWidth(), TGMdiDecorFrame::SetMinimizedX(), TGMdiDecorFrame::SetMinimizedY(), TGMdiTitleBar::SetTitleBarColors(), and TGCompositeFrame::ShowFrame().
Referenced by ArrangeFrames(), Close(), Maximize(), Minimize(), and ProcessMessage().
void TGMdiMainFrame::Maximize | ( | TGMdiFrame * | frame | ) | [virtual] |
Definition at line 765 of file TGMdiMainFrame.cxx.
References TGMdiMenuBar::AddFrames(), TGFrame::fBorderWidth, TGFrame::fHeight, fMenuBar, TGWindow::fParent, FrameMaximized(), TGFrame::fWidth, TGMdiTitleBar::GetButtons(), GetDecorFrame(), TGFrame::GetDefaultFrameBackground(), TGFrame::GetHeight(), TGObject::GetId(), TGMdiDecorFrame::GetLeftVR(), TGMdiDecorFrame::GetLowerHR(), TGMdiDecorFrame::GetLowerLeftCR(), TGMdiDecorFrame::GetLowerRightCR(), TGMdiDecorFrame::GetMdiButtons(), TGMdiDecorFrame::GetRightVR(), TGMdiDecorFrame::GetTitleBar(), TGMdiDecorFrame::GetUpperHR(), TGMdiDecorFrame::GetUpperLeftCR(), TGMdiDecorFrame::GetUpperRightCR(), TGFrame::GetWidth(), TGMdiTitleBar::GetWinIcon(), TGFrame::GetX(), TGFrame::GetY(), TGCompositeFrame::HideFrame(), TGMdiDecorFrame::IsMaximized(), TGMdiDecorFrame::IsMinimized(), kC_MDI, kMDI_MAXIMIZE, Layout(), TGCompositeFrame::Layout(), TGMdiTitleBar::LayoutButtons(), TGMdiDecorFrame::Maximize(), MK_MSG(), TGMdiDecorFrame::MoveResize(), TGMdiTitleBar::RemoveFrames(), Restore(), TGFrame::SendMessage(), TGFrame::SetBackgroundColor(), TGMdiDecorFrame::SetDecorBorderWidth(), TGMdiDecorFrame::SetPreResizeHeight(), TGMdiDecorFrame::SetPreResizeWidth(), TGMdiDecorFrame::SetPreResizeX(), TGMdiDecorFrame::SetPreResizeY(), and TGFrame::UnmapWindow().
Referenced by ProcessMessage().
void TGMdiMainFrame::Minimize | ( | TGMdiFrame * | frame | ) | [virtual] |
Definition at line 861 of file TGMdiMainFrame.cxx.
References fChildren, TGWindow::fParent, FrameMinimized(), TGFrame::GetBorderWidth(), TGMdiFrameList::GetDecorFrame(), GetDecorFrame(), TGCompositeFrame::GetDefaultHeight(), TGFrame::GetHeight(), TGObject::GetId(), TGMdiDecorFrame::GetMdiButtons(), TGMdiDecorFrame::GetMinimizedX(), TGMdiDecorFrame::GetMinimizedY(), TGMdiDecorFrame::GetMinUserPlacement(), TGMdiFrameList::GetNext(), TGMdiDecorFrame::GetTitleBar(), TGCanvas::GetViewPort(), TGFrame::GetWidth(), TGFrame::GetX(), TGFrame::GetY(), h, TGMdiDecorFrame::IsMaximized(), TGMdiDecorFrame::IsMinimized(), kC_MDI, kFALSE, kMDI_MINIMIZE, kMinimizedWidth, kTRUE, TGMdiDecorFrame::Layout(), Layout(), TGMdiTitleBar::LayoutButtons(), TGWindow::LowerWindow(), TGMdiDecorFrame::Minimize(), MK_MSG(), TGMdiDecorFrame::MoveResize(), p, Restore(), s, TGFrame::SendMessage(), TGMdiDecorFrame::SetMinimizedX(), TGMdiDecorFrame::SetMinimizedY(), TGMdiDecorFrame::SetPreResizeHeight(), TGMdiDecorFrame::SetPreResizeWidth(), TGMdiDecorFrame::SetPreResizeX(), TGMdiDecorFrame::SetPreResizeY(), w, x, and y.
Referenced by ProcessMessage().
Int_t TGMdiMainFrame::Close | ( | TGMdiFrame * | frame | ) | [virtual] |
Definition at line 934 of file TGMdiMainFrame.cxx.
References TGMdiDecorFrame::CloseWindow(), TQObject::Emit(), GetDecorFrame(), TGMdiFrame::kDontCallClose, kFALSE, TObject::kNotDeleted, kTRUE, Restore(), and TObject::TestBit().
Referenced by CloseAll(), HandleKey(), TRootGuiBuilder::HandleMenu(), and ProcessMessage().
Int_t TGMdiMainFrame::ContextHelp | ( | TGMdiFrame * | frame | ) | [virtual] |
Definition at line 1012 of file TGMdiMainFrame.cxx.
References TGMdiFrame::Help(), and kFALSE.
Referenced by ProcessMessage().
void TGMdiMainFrame::CloseAll | ( | ) | [virtual] |
Definition at line 1114 of file TGMdiMainFrame.cxx.
References Close(), fChildren, GetCurrent(), TGMdiFrameList::GetNext(), and SetCurrent().
Referenced by TRootGuiBuilder::CloseWindow().
virtual void TGMdiMainFrame::Cascade | ( | ) | [inline, virtual] |
Definition at line 198 of file TGMdiMainFrame.h.
References ArrangeFrames(), and kMdiCascade.
Referenced by TRootGuiBuilder::HandleMenu().
virtual void TGMdiMainFrame::TileHorizontal | ( | ) | [inline, virtual] |
Definition at line 199 of file TGMdiMainFrame.h.
References ArrangeFrames(), and kMdiTileHorizontal.
Referenced by TRootGuiBuilder::HandleMenu().
virtual void TGMdiMainFrame::TileVertical | ( | ) | [inline, virtual] |
Definition at line 200 of file TGMdiMainFrame.h.
References ArrangeFrames(), and kMdiTileVertical.
Referenced by TRootGuiBuilder::HandleMenu().
void TGMdiMainFrame::ArrangeFrames | ( | Int_t | mode | ) | [virtual] |
Definition at line 565 of file TGMdiMainFrame.cxx.
References ArrangeMinimized(), fArrangementMode, TGFrame::fBorderWidth, fChildren, fCurrent, TGRectangle::fH, TGFrame::fHeight, FramesArranged(), TGFrame::fWidth, TGMdiFrameList::GetCycleNext(), TGMdiFrameList::GetDecorFrame(), TGFrame::GetHeight(), TGMdiDecorFrame::GetMdiFrame(), GetMinimizedBBox(), TGMdiFrameList::GetNext(), TGMdiDecorFrame::GetTitleBar(), TGCanvas::GetViewPort(), TGFrame::GetX(), h, TGMdiDecorFrame::IsMaximized(), TGMdiDecorFrame::IsMinimized(), kMdiCascade, kMdiTileHorizontal, kMdiTileVertical, Layout(), TGMdiDecorFrame::MoveResize(), Restore(), TGViewPort::SetHPos(), TGViewPort::SetVPos(), w, x, and y.
Referenced by Cascade(), TileHorizontal(), and TileVertical().
void TGMdiMainFrame::ArrangeMinimized | ( | ) | [virtual] |
Definition at line 651 of file TGMdiMainFrame.cxx.
References ROOT::Math::gv_detail::dist(), fChildren, TGFrame::GetBorderWidth(), TGMdiFrameList::GetDecorFrame(), TGCompositeFrame::GetDefaultHeight(), TGFrame::GetHeight(), TGMdiDecorFrame::GetMinUserPlacement(), TGMdiFrameList::GetNext(), TGMdiDecorFrame::GetTitleBar(), TGCanvas::GetViewPort(), TGFrame::GetWidth(), TGFrame::GetX(), TGFrame::GetY(), h, TGMdiDecorFrame::IsMinimized(), kFALSE, kMinimizedWidth, kTRUE, TGMdiDecorFrame::MoveResize(), TGMdiDecorFrame::SetMinimizedX(), TGMdiDecorFrame::SetMinimizedY(), TGMdiDecorFrame::SetMinUserPlacement(), w, x, and y.
Referenced by ArrangeFrames(), and TRootGuiBuilder::HandleMenu().
void TGMdiMainFrame::CirculateUp | ( | ) | [virtual] |
Definition at line 389 of file TGMdiMainFrame.cxx.
References fBackCurrent, fBackNotCurrent, fChildren, fCurrent, fFontCurrent, fFontNotCurrent, fForeCurrent, fForeNotCurrent, fMenuBar, TGMdiTitleBar::GetButtons(), TGMdiFrameList::GetCycleNext(), TGMdiFrameList::GetDecorFrame(), TGMdiDecorFrame::GetTitleBar(), TGMdiTitleBar::GetWinIcon(), TGMdiDecorFrame::IsMaximized(), TGWindow::RaiseWindow(), SetCurrent(), TGMdiTitleBar::SetTitleBarColors(), and TGMdiMenuBar::ShowFrames().
Referenced by HandleKey().
void TGMdiMainFrame::CirculateDown | ( | ) | [virtual] |
Definition at line 414 of file TGMdiMainFrame.cxx.
References fBackCurrent, fBackNotCurrent, fChildren, fCurrent, fFontCurrent, fFontNotCurrent, fForeCurrent, fForeNotCurrent, fMenuBar, TGMdiTitleBar::GetButtons(), TGMdiFrameList::GetCyclePrev(), TGMdiFrameList::GetDecorFrame(), TGMdiDecorFrame::GetTitleBar(), TGMdiTitleBar::GetWinIcon(), TGMdiDecorFrame::IsMaximized(), TGWindow::LowerWindow(), TGWindow::RaiseWindow(), SetCurrent(), TGMdiTitleBar::SetTitleBarColors(), and TGMdiMenuBar::ShowFrames().
Referenced by HandleKey().
TGMdiFrame * TGMdiMainFrame::GetCurrent | ( | ) | const |
Definition at line 1023 of file TGMdiMainFrame.cxx.
References fCurrent, TGMdiFrameList::GetDecorFrame(), and TGMdiDecorFrame::GetMdiFrame().
Referenced by TGuiBldDragManager::ChangeSelected(), CloseAll(), TRootGuiBuilder::ExecuteAction(), TGuiBldDragManager::HandleAction(), TGuiBldDragManager::HandleKey(), HandleKey(), TRootGuiBuilder::HandleKey(), TRootGuiBuilder::HandleMenu(), TGuiBldDragManager::Menu4Frame(), ProcessMessage(), TGuiBldDragManager::RaiseMdiFrame(), SavePrimitive(), and TRootGuiBuilder::SaveProject().
TGMdiFrame * TGMdiMainFrame::GetMdiFrame | ( | UInt_t | id | ) | const |
Definition at line 462 of file TGMdiMainFrame.cxx.
References GetDecorFrame(), and TGMdiDecorFrame::GetMdiFrame().
TGFrame* TGMdiMainFrame::GetContainer | ( | ) | const [inline] |
Reimplemented from TGCanvas.
Definition at line 210 of file TGMdiMainFrame.h.
References fContainer.
Referenced by TGAppMainFrame::TGAppMainFrame(), and TRootGuiBuilder::TRootGuiBuilder().
Definition at line 279 of file TGMdiMainFrame.cxx.
References TQObject::Emit(), fChildren, fCurrent, fMenuBar, TGMdiTitleBar::GetButtons(), TGMdiFrameList::GetDecorFrame(), TGObject::GetId(), TGMdiDecorFrame::GetMdiFrame(), TGMdiFrameList::GetNext(), TGMdiDecorFrame::GetTitleBar(), TGMdiTitleBar::GetWinIcon(), TGMdiDecorFrame::IsMaximized(), kFALSE, kTRUE, TGWindow::RaiseWindow(), SetCurrent(), and TGMdiMenuBar::ShowFrames().
Bool_t TGMdiMainFrame::SetCurrent | ( | TGMdiFrame * | f | ) |
Definition at line 301 of file TGMdiMainFrame.cxx.
References TQObject::Emit(), fChildren, fCurrent, fMenuBar, TGMdiTitleBar::GetButtons(), TGMdiFrameList::GetDecorFrame(), TGMdiDecorFrame::GetMdiFrame(), TGMdiFrameList::GetNext(), TGMdiDecorFrame::GetTitleBar(), TGMdiTitleBar::GetWinIcon(), TGMdiDecorFrame::IsMaximized(), kFALSE, kTRUE, TGWindow::RaiseWindow(), SetCurrent(), and TGMdiMenuBar::ShowFrames().
TGPopupMenu* TGMdiMainFrame::GetWinListMenu | ( | ) | const [inline] |
Definition at line 214 of file TGMdiMainFrame.h.
References fWinListMenu.
Referenced by TGAppMainFrame::InitMenu().
TGMdiMenuBar* TGMdiMainFrame::GetMenu | ( | ) | const [inline] |
Definition at line 215 of file TGMdiMainFrame.h.
References fMenuBar.
Referenced by SavePrimitive().
TGMdiFrameList* TGMdiMainFrame::GetWindowList | ( | Int_t | current = kFALSE |
) | const [inline] |
Definition at line 217 of file TGMdiMainFrame.h.
References fChildren, and fCurrent.
Referenced by TGMdiFrame::SavePrimitive().
Long_t TGMdiMainFrame::GetNumberOfFrames | ( | ) | const [inline] |
Definition at line 219 of file TGMdiMainFrame.h.
References fNumberOfFrames.
Referenced by TRootGuiBuilder::CloseWindow(), TRootGuiBuilder::HandleMenu(), TRootGuiBuilder::HandleWindowClosed(), and TRootGuiBuilder::SwitchToolbarButton().
void TGMdiMainFrame::SetResizeMode | ( | Int_t | mode = kMdiDefaultResizeMode |
) |
Definition at line 145 of file TGMdiMainFrame.cxx.
References fChildren, fResizeMode, TGMdiFrameList::GetDecorFrame(), TGMdiFrameList::GetNext(), and TGMdiDecorFrame::SetResizeMode().
Referenced by TRootGuiBuilder::HandleMenu().
TGRectangle TGMdiMainFrame::GetBBox | ( | ) | const |
Definition at line 472 of file TGMdiMainFrame.cxx.
References TGFrame::fBorderWidth, fChildren, fCurrent, TGFrame::fHeight, TGFrame::fWidth, TGMdiFrameList::GetDecorFrame(), TGFrame::GetHeight(), TGMdiFrameList::GetNext(), TGFrame::GetWidth(), TGFrame::GetX(), TGFrame::GetY(), h, TGMdiDecorFrame::IsMaximized(), TGRectangle::Merge(), w, x, and y.
Referenced by TGMdiContainer::GetDefaultSize(), and TGMdiContainer::HandleConfigureNotify().
TGRectangle TGMdiMainFrame::GetMinimizedBBox | ( | ) | const |
Definition at line 495 of file TGMdiMainFrame.cxx.
References fChildren, TGMdiFrameList::GetDecorFrame(), TGFrame::GetHeight(), TGMdiFrameList::GetNext(), TGFrame::GetWidth(), TGFrame::GetX(), TGFrame::GetY(), TGMdiDecorFrame::IsMinimized(), kFALSE, kTRUE, and TGRectangle::Merge().
Referenced by ArrangeFrames().
TGMdiGeometry TGMdiMainFrame::GetWindowGeometry | ( | TGMdiFrame * | f | ) | const |
Definition at line 1034 of file TGMdiMainFrame.cxx.
References TGMdiGeometry::fClient, TGMdiGeometry::fDecoration, TGRectangle::fH, TGMdiGeometry::fIcon, TGMdiGeometry::fValueMask, TGRectangle::fW, TGRectangle::fX, TGRectangle::fY, TGFrame::GetBorderWidth(), GetDecorFrame(), TGCompositeFrame::GetDefaultHeight(), TGFrame::GetHeight(), TGMdiDecorFrame::GetMinimizedX(), TGMdiDecorFrame::GetMinimizedY(), TGMdiDecorFrame::GetMinUserPlacement(), TGMdiDecorFrame::GetPreResizeHeight(), TGMdiDecorFrame::GetPreResizeWidth(), TGMdiDecorFrame::GetPreResizeX(), TGMdiDecorFrame::GetPreResizeY(), TGMdiDecorFrame::GetTitleBar(), TGFrame::GetWidth(), TGFrame::GetX(), TGFrame::GetY(), TGMdiDecorFrame::IsMaximized(), TGMdiDecorFrame::IsMinimized(), kMdiClientGeometry, kMdiDecorGeometry, kMdiIconGeometry, and kMinimizedWidth.
void TGMdiMainFrame::ConfigureWindow | ( | TGMdiFrame * | f, | |
TGMdiGeometry & | geom | |||
) |
Definition at line 1083 of file TGMdiMainFrame.cxx.
References TGMdiGeometry::fDecoration, TGRectangle::fH, TGMdiGeometry::fIcon, TGMdiGeometry::fValueMask, TGRectangle::fW, TGRectangle::fX, TGRectangle::fY, GetDecorFrame(), TGMdiDecorFrame::GetMinimizedX(), TGMdiDecorFrame::GetMinimizedY(), TGMdiDecorFrame::IsMaximized(), TGMdiDecorFrame::IsMinimized(), kMdiClientGeometry, kMdiDecorGeometry, kMdiIconGeometry, Layout(), TGMdiDecorFrame::Move(), TGMdiDecorFrame::MoveResize(), TGMdiDecorFrame::SetMinimizedX(), TGMdiDecorFrame::SetMinimizedY(), TGMdiDecorFrame::SetMinUserPlacement(), TGMdiDecorFrame::SetPreResizeHeight(), TGMdiDecorFrame::SetPreResizeWidth(), TGMdiDecorFrame::SetPreResizeX(), and TGMdiDecorFrame::SetPreResizeY().
Bool_t TGMdiMainFrame::IsMaximized | ( | TGMdiFrame * | f | ) |
Definition at line 1129 of file TGMdiMainFrame.cxx.
References GetDecorFrame(), TGMdiDecorFrame::IsMaximized(), and kFALSE.
Bool_t TGMdiMainFrame::IsMinimized | ( | TGMdiFrame * | f | ) |
Definition at line 1139 of file TGMdiMainFrame.cxx.
References GetDecorFrame(), TGMdiDecorFrame::IsMinimized(), and kFALSE.
virtual void TGMdiMainFrame::FrameCreated | ( | Int_t | id | ) | [inline, virtual] |
Definition at line 232 of file TGMdiMainFrame.h.
References TQObject::Emit().
Referenced by AddMdiFrame().
virtual void TGMdiMainFrame::FrameClosed | ( | Int_t | id | ) | [inline, virtual] |
Definition at line 233 of file TGMdiMainFrame.h.
References TQObject::Emit().
Referenced by RemoveMdiFrame().
virtual void TGMdiMainFrame::FrameMaximized | ( | Int_t | id | ) | [inline, virtual] |
Definition at line 234 of file TGMdiMainFrame.h.
References TQObject::Emit().
Referenced by Maximize().
virtual void TGMdiMainFrame::FrameMinimized | ( | Int_t | id | ) | [inline, virtual] |
Definition at line 235 of file TGMdiMainFrame.h.
References TQObject::Emit().
Referenced by Minimize().
virtual void TGMdiMainFrame::FrameRestored | ( | Int_t | id | ) | [inline, virtual] |
Definition at line 236 of file TGMdiMainFrame.h.
References TQObject::Emit().
Referenced by Restore().
virtual void TGMdiMainFrame::FramesArranged | ( | Int_t | mode | ) | [inline, virtual] |
Definition at line 237 of file TGMdiMainFrame.h.
References TQObject::Emit().
Referenced by ArrangeFrames().
void TGMdiMainFrame::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGCanvas.
Definition at line 1196 of file TGMdiMainFrame.cxx.
References fArrangementMode, TGFrame::fBackground, fChildren, fCurrent, TGWindow::fParent, fResizeMode, GetCurrent(), TGMdiFrameList::GetDecorFrame(), TGFrame::GetDefaultFrameBackground(), TGFrame::GetHeight(), TGMdiDecorFrame::GetMdiFrame(), GetMenu(), TGWindow::GetName(), TGMdiFrameList::GetNext(), TGFrame::GetOptions(), TGFrame::GetOptionString(), TGFrame::GetWidth(), kMdiCascade, kMdiOpaque, kMdiTileHorizontal, kMdiTileVertical, TGMdiFrame::SavePrimitive(), TGFrame::SaveUserColor(), and TGMdiFrameList::SetCycleNext().
void TGMdiMainFrame::AddMdiFrame | ( | TGMdiFrame * | f | ) | [protected] |
Bool_t TGMdiMainFrame::RemoveMdiFrame | ( | TGMdiFrame * | f | ) | [protected] |
Bool_t TGMdiMainFrame::SetCurrent | ( | TGMdiFrameList * | newcurrent | ) | [protected] |
TGMdiDecorFrame* TGMdiMainFrame::GetDecorFrame | ( | UInt_t | id | ) | const [protected] |
TGMdiDecorFrame* TGMdiMainFrame::GetDecorFrame | ( | TGMdiFrame * | frame | ) | const [protected] |
void TGMdiMainFrame::UpdateWinListMenu | ( | ) | [protected] |
Reimplemented from TGCanvas.
virtual void TGMdiMainFrame::Layout | ( | ) | [virtual] |
Reimplemented from TGCanvas.
virtual void TGMdiMainFrame::FreeMove | ( | TGMdiFrame * | frame | ) | [virtual] |
virtual void TGMdiMainFrame::FreeSize | ( | TGMdiFrame * | frame | ) | [virtual] |
virtual void TGMdiMainFrame::Restore | ( | TGMdiFrame * | frame | ) | [virtual] |
virtual void TGMdiMainFrame::Maximize | ( | TGMdiFrame * | frame | ) | [virtual] |
virtual void TGMdiMainFrame::Minimize | ( | TGMdiFrame * | frame | ) | [virtual] |
virtual Int_t TGMdiMainFrame::Close | ( | TGMdiFrame * | frame | ) | [virtual] |
virtual Int_t TGMdiMainFrame::ContextHelp | ( | TGMdiFrame * | frame | ) | [virtual] |
virtual void TGMdiMainFrame::CloseAll | ( | ) | [virtual] |
virtual void TGMdiMainFrame::Cascade | ( | ) | [inline, virtual] |
virtual void TGMdiMainFrame::TileHorizontal | ( | ) | [inline, virtual] |
Definition at line 199 of file TGMdiMainFrame.h.
References ArrangeFrames(), and kMdiTileHorizontal.
virtual void TGMdiMainFrame::TileVertical | ( | ) | [inline, virtual] |
virtual void TGMdiMainFrame::ArrangeFrames | ( | Int_t | mode | ) | [virtual] |
virtual void TGMdiMainFrame::ArrangeMinimized | ( | ) | [virtual] |
virtual void TGMdiMainFrame::CirculateUp | ( | ) | [virtual] |
virtual void TGMdiMainFrame::CirculateDown | ( | ) | [virtual] |
TGMdiFrame* TGMdiMainFrame::GetCurrent | ( | ) | const |
TGMdiFrame* TGMdiMainFrame::GetMdiFrame | ( | UInt_t | id | ) | const |
TGFrame* TGMdiMainFrame::GetContainer | ( | ) | const [inline] |
Reimplemented from TGCanvas.
Definition at line 210 of file TGMdiMainFrame.h.
References fContainer.
Bool_t TGMdiMainFrame::SetCurrent | ( | TGMdiFrame * | f | ) |
TGPopupMenu* TGMdiMainFrame::GetWinListMenu | ( | ) | const [inline] |
TGMdiMenuBar* TGMdiMainFrame::GetMenu | ( | ) | const [inline] |
TGMdiFrameList* TGMdiMainFrame::GetWindowList | ( | Int_t | current = kFALSE |
) | const [inline] |
Long_t TGMdiMainFrame::GetNumberOfFrames | ( | ) | const [inline] |
void TGMdiMainFrame::SetResizeMode | ( | Int_t | mode = kMdiDefaultResizeMode |
) |
TGRectangle TGMdiMainFrame::GetBBox | ( | ) | const |
TGRectangle TGMdiMainFrame::GetMinimizedBBox | ( | ) | const |
TGMdiGeometry TGMdiMainFrame::GetWindowGeometry | ( | TGMdiFrame * | f | ) | const |
void TGMdiMainFrame::ConfigureWindow | ( | TGMdiFrame * | f, | |
TGMdiGeometry & | geom | |||
) |
Bool_t TGMdiMainFrame::IsMaximized | ( | TGMdiFrame * | f | ) |
Bool_t TGMdiMainFrame::IsMinimized | ( | TGMdiFrame * | f | ) |
virtual void TGMdiMainFrame::FrameCreated | ( | Int_t | id | ) | [inline, virtual] |
virtual void TGMdiMainFrame::FrameClosed | ( | Int_t | id | ) | [inline, virtual] |
virtual void TGMdiMainFrame::FrameMaximized | ( | Int_t | id | ) | [inline, virtual] |
virtual void TGMdiMainFrame::FrameMinimized | ( | Int_t | id | ) | [inline, virtual] |
virtual void TGMdiMainFrame::FrameRestored | ( | Int_t | id | ) | [inline, virtual] |
virtual void TGMdiMainFrame::FramesArranged | ( | Int_t | mode | ) | [inline, virtual] |
virtual void TGMdiMainFrame::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGCanvas.
TGMdiFrame [friend] |
Definition at line 146 of file TGMdiMainFrame.h.
Int_t TGMdiMainFrame::fCurrentX [protected] |
Int_t TGMdiMainFrame::fCurrentY [protected] |
Int_t TGMdiMainFrame::fResizeMode [protected] |
Definition at line 154 of file TGMdiMainFrame.h.
Referenced by AddMdiFrame(), SavePrimitive(), and SetResizeMode().
Int_t TGMdiMainFrame::fArrangementMode [protected] |
Definition at line 155 of file TGMdiMainFrame.h.
Referenced by ArrangeFrames(), and SavePrimitive().
TGFont* TGMdiMainFrame::fFontCurrent [protected] |
Definition at line 156 of file TGMdiMainFrame.h.
Referenced by CirculateDown(), CirculateUp(), Restore(), SetCurrent(), and ~TGMdiMainFrame().
TGFont * TGMdiMainFrame::fFontNotCurrent [protected] |
Definition at line 156 of file TGMdiMainFrame.h.
Referenced by CirculateDown(), CirculateUp(), SetCurrent(), and ~TGMdiMainFrame().
Pixel_t TGMdiMainFrame::fBackCurrent [protected] |
Definition at line 157 of file TGMdiMainFrame.h.
Referenced by CirculateDown(), CirculateUp(), Restore(), and SetCurrent().
Pixel_t TGMdiMainFrame::fForeCurrent [protected] |
Definition at line 157 of file TGMdiMainFrame.h.
Referenced by CirculateDown(), CirculateUp(), Restore(), and SetCurrent().
Pixel_t TGMdiMainFrame::fBackNotCurrent [protected] |
Definition at line 158 of file TGMdiMainFrame.h.
Referenced by CirculateDown(), CirculateUp(), and SetCurrent().
Pixel_t TGMdiMainFrame::fForeNotCurrent [protected] |
Definition at line 158 of file TGMdiMainFrame.h.
Referenced by CirculateDown(), CirculateUp(), and SetCurrent().
TGGC* TGMdiMainFrame::fBoxGC [protected] |
Definition at line 160 of file TGMdiMainFrame.h.
Referenced by AddMdiFrame(), and ~TGMdiMainFrame().
Long_t TGMdiMainFrame::fNumberOfFrames [protected] |
Definition at line 162 of file TGMdiMainFrame.h.
Referenced by AddMdiFrame(), GetNumberOfFrames(), and RemoveMdiFrame().
TGMdiMenuBar* TGMdiMainFrame::fMenuBar [protected] |
Definition at line 163 of file TGMdiMainFrame.h.
Referenced by CirculateDown(), CirculateUp(), GetMenu(), Maximize(), Restore(), and SetCurrent().
TGFrame* TGMdiMainFrame::fContainer [protected] |
TGPopupMenu* TGMdiMainFrame::fWinListMenu [protected] |
Definition at line 165 of file TGMdiMainFrame.h.
Referenced by GetWinListMenu(), SetCurrent(), and UpdateWinListMenu().
TGMdiFrameList* TGMdiMainFrame::fChildren [protected] |
Definition at line 166 of file TGMdiMainFrame.h.
Referenced by AddMdiFrame(), ArrangeFrames(), ArrangeMinimized(), CirculateDown(), CirculateUp(), CloseAll(), GetBBox(), GetDecorFrame(), GetMinimizedBBox(), GetWindowList(), Minimize(), RemoveMdiFrame(), SavePrimitive(), SetCurrent(), SetResizeMode(), UpdateWinListMenu(), and ~TGMdiMainFrame().
TGMdiFrameList* TGMdiMainFrame::fCurrent [protected] |
Definition at line 167 of file TGMdiMainFrame.h.
Referenced by ArrangeFrames(), CirculateDown(), CirculateUp(), GetBBox(), GetCurrent(), GetWindowList(), Layout(), RemoveMdiFrame(), SavePrimitive(), SetCurrent(), and UpdateWinListMenu().
TGFont* TGMdiMainFrame::fFontCurrent [protected] |
Definition at line 156 of file TGMdiMainFrame.h.
TGGC* TGMdiMainFrame::fBoxGC [protected] |
Definition at line 160 of file TGMdiMainFrame.h.
TGMdiMenuBar* TGMdiMainFrame::fMenuBar [protected] |
Definition at line 163 of file TGMdiMainFrame.h.
TGFrame* TGMdiMainFrame::fContainer [protected] |
Definition at line 164 of file TGMdiMainFrame.h.
TGPopupMenu* TGMdiMainFrame::fWinListMenu [protected] |
Definition at line 165 of file TGMdiMainFrame.h.
TGMdiFrameList* TGMdiMainFrame::fChildren [protected] |
Definition at line 166 of file TGMdiMainFrame.h.
TGMdiFrameList* TGMdiMainFrame::fCurrent [protected] |
Definition at line 167 of file TGMdiMainFrame.h.