#include <TGSplitFrame.h>
Inheritance diagram for TGSplitFrame:
Definition at line 81 of file TGSplitFrame.h.
TGSplitFrame::TGSplitFrame | ( | const TGSplitFrame & | ) | [private] |
TGSplitFrame::TGSplitFrame | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | options = 0 | |||
) |
Definition at line 239 of file TGSplitFrame.cxx.
References TGFrame::AddInput(), fHRatio, fSplitTool, fUndocked, fWRatio, gClient, TGClient::GetDefaultRoot(), kLocalCleanup, kStructureNotifyMask, and TGCompositeFrame::SetCleanup().
TGSplitFrame::~TGSplitFrame | ( | ) | [virtual] |
TGSplitFrame::TGSplitFrame | ( | const TGSplitFrame & | ) | [private] |
TGSplitFrame::TGSplitFrame | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | options = 0 | |||
) |
virtual TGSplitFrame::~TGSplitFrame | ( | ) | [virtual] |
TGSplitFrame& TGSplitFrame::operator= | ( | const TGSplitFrame & | ) | [private] |
void TGSplitFrame::AddFrame | ( | TGFrame * | f, | |
TGLayoutHints * | l = 0 | |||
) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 262 of file TGSplitFrame.cxx.
References TGCompositeFrame::AddFrame(), fFrame, and l.
Referenced by SplitGLView::SplitGLView(), SplitHorizontal(), SplitVertical(), SwallowBack(), and UnSplit().
void TGSplitFrame::Cleanup | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 281 of file TGSplitFrame.cxx.
References TGCompositeFrame::Cleanup(), fFirst, fSecond, fSplitter, and fUndocked.
Referenced by UnSplit(), and ~TGSplitFrame().
Reimplemented from TGFrame.
Definition at line 368 of file TGSplitFrame.cxx.
References TGObject::fClient, fFirst, fHRatio, fWRatio, TGFrame::GetHeight(), TGWindow::GetParent(), TGFrame::GetWidth(), gVirtualX, h, kTRUE, TGCompositeFrame::Layout(), TGClient::NeedRedraw(), p, TGFrame::SetHeight(), TGFrame::SetWidth(), and w.
void TGSplitFrame::HSplit | ( | UInt_t | h = 0 |
) | [virtual] |
Definition at line 406 of file TGSplitFrame.cxx.
References TGCompositeFrame::AddFrame(), TGCompositeFrame::ChangeOptions(), TQObject::Connect(), fFirst, fFrame, TGFrame::fHeight, fSecond, fSplitter, TGFrame::fWidth, TGFrame::GetOptions(), height, kFixedHeight, kHorizontalFrame, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsTop, kSunkenFrame, kTRUE, kVerticalFrame, TGSplitter::SetFrame(), and TGSplitFrame().
Referenced by SplitGLView::SplitGLView(), and SplitHorizontal().
void TGSplitFrame::VSplit | ( | UInt_t | w = 0 |
) | [virtual] |
Definition at line 435 of file TGSplitFrame.cxx.
References TGCompositeFrame::AddFrame(), TGCompositeFrame::ChangeOptions(), TQObject::Connect(), fFirst, fFrame, TGFrame::fHeight, fSecond, fSplitter, TGFrame::fWidth, TGFrame::GetOptions(), kFixedWidth, kHorizontalFrame, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsTop, kSunkenFrame, kTRUE, kVerticalFrame, TGSplitter::SetFrame(), TGSplitFrame(), and width.
Referenced by SplitGLView::SplitGLView(), and SplitVertical().
void TGSplitFrame::RemoveFrame | ( | TGFrame * | f | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 271 of file TGSplitFrame.cxx.
References fFrame, and TGCompositeFrame::RemoveFrame().
Referenced by Close(), ExtractFrame(), SplitHorizontal(), SplitVertical(), and UnSplit().
TGSplitFrame* TGSplitFrame::GetFirst | ( | ) | const [inline] |
Definition at line 109 of file TGSplitFrame.h.
References fFirst.
Referenced by CloseAndCollapse(), SplitGLView::LoadConfig(), MapToSPlitTool(), SplitGLView::SaveConfig(), SplitGLView::SplitGLView(), SplitHorizontal(), SplitVertical(), SplitGLView::SwapToMainView(), SwitchToMain(), and UnSplit().
TGFrame* TGSplitFrame::GetFrame | ( | ) | const [inline] |
Definition at line 110 of file TGSplitFrame.h.
References fFrame.
Referenced by SplitGLView::SwapToMainView(), SwitchToMain(), and UnSplit().
TGSplitFrame* TGSplitFrame::GetSecond | ( | ) | const [inline] |
Definition at line 111 of file TGSplitFrame.h.
References fSecond.
Referenced by CloseAndCollapse(), SplitGLView::LoadConfig(), SplitGLView::SaveConfig(), SplitGLView::SplitGLView(), SplitHorizontal(), SplitVertical(), and UnSplit().
TGSplitter* TGSplitFrame::GetSplitter | ( | ) | const [inline] |
TGSplitTool* TGSplitFrame::GetSplitTool | ( | ) | const [inline] |
TGSplitFrame * TGSplitFrame::GetTopFrame | ( | ) |
Definition at line 293 of file TGSplitFrame.cxx.
References TGWindow::GetParent(), p, top(), and w.
Referenced by OnSplitterClicked(), SplitHor(), SplitVer(), and SwitchToMain().
TGFrame* TGSplitFrame::GetUndocked | ( | ) | const [inline] |
Float_t TGSplitFrame::GetHRatio | ( | ) | const [inline] |
Float_t TGSplitFrame::GetWRatio | ( | ) | const [inline] |
void TGSplitFrame::MapToSPlitTool | ( | TGSplitFrame * | top | ) |
Definition at line 464 of file TGSplitFrame.cxx.
References cx, fFirst, TGFrame::fHeight, TGWindow::fParent, fSecond, TGFrame::fWidth, TGFrame::fX, TGFrame::fY, GetFirst(), TGFrame::GetHeight(), TGObject::GetId(), TGFrame::GetOptions(), TGFrame::GetWidth(), gVirtualX, kHorizontalFrame, kVerticalFrame, MapToSPlitTool(), and top().
Referenced by MapToSPlitTool().
void TGSplitFrame::OnSplitterClicked | ( | Event_t * | event | ) |
Definition at line 496 of file TGSplitFrame.cxx.
References Event_t::fCode, Event_t::fType, Event_t::fWindow, Event_t::fX, Event_t::fY, gClient, TGClient::GetDefaultRoot(), TGObject::GetId(), GetTopFrame(), gVirtualX, kButton3, kButtonPress, and top().
void TGSplitFrame::SetHRatio | ( | Float_t | r | ) | [inline] |
void TGSplitFrame::SetWRatio | ( | Float_t | r | ) | [inline] |
void TGSplitFrame::SplitHorizontal | ( | const char * | side = "top" |
) |
Definition at line 536 of file TGSplitFrame.cxx.
References AddFrame(), fFrame, gClient, TGClient::GetDefaultRoot(), GetFirst(), GetSecond(), HSplit(), kLHintsExpandX, kLHintsExpandY, TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), RemoveFrame(), TGFrame::ReparentWindow(), and TGFrame::UnmapWindow().
Referenced by SplitHor().
void TGSplitFrame::SplitVertical | ( | const char * | side = "left" |
) |
Definition at line 584 of file TGSplitFrame.cxx.
References AddFrame(), fFrame, gClient, TGClient::GetDefaultRoot(), GetFirst(), GetSecond(), kLHintsExpandX, kLHintsExpandY, TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), RemoveFrame(), TGFrame::ReparentWindow(), TGFrame::UnmapWindow(), and VSplit().
Referenced by SplitVer().
void TGSplitFrame::UnSplit | ( | const char * | which | ) |
Definition at line 702 of file TGSplitFrame.cxx.
References AddFrame(), Cleanup(), gClient, TGClient::GetDefaultRoot(), GetFirst(), GetFrame(), GetSecond(), kLHintsExpandX, kLHintsExpandY, TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), RemoveFrame(), TGFrame::ReparentWindow(), and TGFrame::UnmapWindow().
Referenced by CloseAndCollapse().
void TGSplitFrame::Close | ( | ) |
Definition at line 309 of file TGSplitFrame.cxx.
References fFrame, RemoveFrame(), and TGFrame::UnmapWindow().
void TGSplitFrame::CloseAndCollapse | ( | ) |
Definition at line 322 of file TGSplitFrame.cxx.
References fFirst, fSecond, fSplitter, GetFirst(), TGWindow::GetParent(), GetSecond(), and UnSplit().
void TGSplitFrame::ExtractFrame | ( | ) |
Definition at line 346 of file TGSplitFrame.cxx.
References TGCompositeFrame::AddFrame(), TQObject::Connect(), fFrame, fUndocked, gClient, TGClient::GetDefaultRoot(), TGWindow::GetMainFrame(), kLHintsExpandX, kLHintsExpandY, TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), RemoveFrame(), TGFrame::ReparentWindow(), Undocked(), and TGFrame::UnmapWindow().
void TGSplitFrame::SwallowBack | ( | ) |
Definition at line 613 of file TGSplitFrame.cxx.
References AddFrame(), TGMainFrame::CloseWindow(), Docked(), TGFrameElement::fFrame, TList::First(), fUndocked, TGCompositeFrame::GetList(), gTQSender, kLHintsExpandX, kLHintsExpandY, TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), TGCompositeFrame::RemoveFrame(), TGFrame::ReparentWindow(), and TGFrame::UnmapWindow().
void TGSplitFrame::SwitchToMain | ( | ) |
Definition at line 682 of file TGSplitFrame.cxx.
References fFrame, GetFirst(), GetFrame(), GetTopFrame(), and SwitchFrames().
void TGSplitFrame::SplitHor | ( | ) |
Definition at line 517 of file TGSplitFrame.cxx.
References fFrame, gClient, TGClient::GetRoot(), GetTopFrame(), snprintf, and SplitHorizontal().
void TGSplitFrame::SplitVer | ( | ) |
Definition at line 565 of file TGSplitFrame.cxx.
References fFrame, gClient, TGClient::GetRoot(), GetTopFrame(), snprintf, and SplitVertical().
void TGSplitFrame::Docked | ( | TGFrame * | frame | ) |
Definition at line 338 of file TGSplitFrame.cxx.
References TQObject::Emit().
Referenced by SwallowBack().
void TGSplitFrame::Undocked | ( | TGFrame * | frame | ) |
Definition at line 694 of file TGSplitFrame.cxx.
References TQObject::Emit().
Referenced by ExtractFrame().
void TGSplitFrame::SwitchFrames | ( | TGFrame * | frame, | |
TGCompositeFrame * | dest, | |||
TGFrame * | prev | |||
) | [static] |
Definition at line 639 of file TGSplitFrame.cxx.
References TGCompositeFrame::AddFrame(), gClient, TGClient::GetDefaultRoot(), TGCompositeFrame::GetDefaultSize(), TGWindow::GetParent(), kLHintsExpandX, kLHintsExpandY, TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), TGCompositeFrame::RemoveFrame(), TGFrame::ReparentWindow(), TGFrame::Resize(), and TGFrame::UnmapWindow().
Referenced by G__G__Gui3_411_0_35(), G__setup_memfuncTGSplitFrame(), and SwitchToMain().
void TGSplitFrame::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 735 of file TGSplitFrame.cxx.
References xmlio::Class, TGFrame::fBackground, TGWindow::fParent, TGFrame::GetDefaultFrameBackground(), TGFrame::GetHeight(), TGCompositeFrame::GetLayoutManager(), TGWindow::GetName(), TGFrame::GetOptions(), TGFrame::GetOptionString(), TGFrame::GetWidth(), TObject::InheritsFrom(), kHorizontalFrame, kVerticalFrame, TObject::SavePrimitive(), TGCompositeFrame::SavePrimitiveSubframes(), and TGFrame::SaveUserColor().
TGSplitFrame& TGSplitFrame::operator= | ( | const TGSplitFrame & | ) | [private] |
virtual void TGSplitFrame::AddFrame | ( | TGFrame * | f, | |
TGLayoutHints * | l = 0 | |||
) | [virtual] |
Reimplemented from TGCompositeFrame.
virtual void TGSplitFrame::Cleanup | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Reimplemented from TGFrame.
virtual void TGSplitFrame::HSplit | ( | UInt_t | h = 0 |
) | [virtual] |
virtual void TGSplitFrame::VSplit | ( | UInt_t | w = 0 |
) | [virtual] |
virtual void TGSplitFrame::RemoveFrame | ( | TGFrame * | f | ) | [virtual] |
Reimplemented from TGCompositeFrame.
TGSplitFrame* TGSplitFrame::GetFirst | ( | ) | const [inline] |
TGFrame* TGSplitFrame::GetFrame | ( | ) | const [inline] |
TGSplitFrame* TGSplitFrame::GetSecond | ( | ) | const [inline] |
TGSplitter* TGSplitFrame::GetSplitter | ( | ) | const [inline] |
TGSplitTool* TGSplitFrame::GetSplitTool | ( | ) | const [inline] |
TGSplitFrame* TGSplitFrame::GetTopFrame | ( | ) |
TGFrame* TGSplitFrame::GetUndocked | ( | ) | const [inline] |
Float_t TGSplitFrame::GetHRatio | ( | ) | const [inline] |
Float_t TGSplitFrame::GetWRatio | ( | ) | const [inline] |
void TGSplitFrame::MapToSPlitTool | ( | TGSplitFrame * | top | ) |
void TGSplitFrame::OnSplitterClicked | ( | Event_t * | event | ) |
void TGSplitFrame::SetHRatio | ( | Float_t | r | ) | [inline] |
void TGSplitFrame::SetWRatio | ( | Float_t | r | ) | [inline] |
void TGSplitFrame::SplitHorizontal | ( | const char * | side = "top" |
) |
void TGSplitFrame::SplitVertical | ( | const char * | side = "left" |
) |
void TGSplitFrame::UnSplit | ( | const char * | which | ) |
void TGSplitFrame::Close | ( | ) |
void TGSplitFrame::CloseAndCollapse | ( | ) |
void TGSplitFrame::ExtractFrame | ( | ) |
void TGSplitFrame::SwallowBack | ( | ) |
void TGSplitFrame::SwitchToMain | ( | ) |
void TGSplitFrame::SplitHor | ( | ) |
void TGSplitFrame::SplitVer | ( | ) |
void TGSplitFrame::Docked | ( | TGFrame * | frame | ) |
void TGSplitFrame::Undocked | ( | TGFrame * | frame | ) |
static void TGSplitFrame::SwitchFrames | ( | TGFrame * | frame, | |
TGCompositeFrame * | dest, | |||
TGFrame * | prev | |||
) | [static] |
virtual void TGSplitFrame::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGCompositeFrame.
TGFrame* TGSplitFrame::fFrame [protected] |
Definition at line 88 of file TGSplitFrame.h.
Referenced by AddFrame(), Close(), ExtractFrame(), GetFrame(), HSplit(), RemoveFrame(), SplitHor(), SplitHorizontal(), SplitVer(), SplitVertical(), SwitchToMain(), and VSplit().
TGTransientFrame* TGSplitFrame::fUndocked [protected] |
Definition at line 89 of file TGSplitFrame.h.
Referenced by Cleanup(), ExtractFrame(), GetUndocked(), SwallowBack(), and TGSplitFrame().
TGSplitter* TGSplitFrame::fSplitter [protected] |
Definition at line 90 of file TGSplitFrame.h.
Referenced by Cleanup(), CloseAndCollapse(), GetSplitter(), HSplit(), and VSplit().
TGSplitFrame* TGSplitFrame::fFirst [protected] |
Definition at line 91 of file TGSplitFrame.h.
Referenced by Cleanup(), CloseAndCollapse(), GetFirst(), HandleConfigureNotify(), HSplit(), MapToSPlitTool(), and VSplit().
TGSplitFrame* TGSplitFrame::fSecond [protected] |
Definition at line 92 of file TGSplitFrame.h.
Referenced by Cleanup(), CloseAndCollapse(), GetSecond(), HSplit(), MapToSPlitTool(), and VSplit().
TGSplitTool* TGSplitFrame::fSplitTool [protected] |
Definition at line 93 of file TGSplitFrame.h.
Referenced by GetSplitTool(), TGSplitFrame(), and ~TGSplitFrame().
Float_t TGSplitFrame::fWRatio [protected] |
Definition at line 94 of file TGSplitFrame.h.
Referenced by GetWRatio(), HandleConfigureNotify(), SetWRatio(), and TGSplitFrame().
Float_t TGSplitFrame::fHRatio [protected] |
Definition at line 95 of file TGSplitFrame.h.
Referenced by GetHRatio(), HandleConfigureNotify(), SetHRatio(), and TGSplitFrame().
TGFrame* TGSplitFrame::fFrame [protected] |
Definition at line 88 of file TGSplitFrame.h.
TGTransientFrame* TGSplitFrame::fUndocked [protected] |
Definition at line 89 of file TGSplitFrame.h.
TGSplitter* TGSplitFrame::fSplitter [protected] |
Definition at line 90 of file TGSplitFrame.h.
TGSplitFrame* TGSplitFrame::fFirst [protected] |
Definition at line 91 of file TGSplitFrame.h.
TGSplitFrame* TGSplitFrame::fSecond [protected] |
Definition at line 92 of file TGSplitFrame.h.
TGSplitTool* TGSplitFrame::fSplitTool [protected] |
Definition at line 93 of file TGSplitFrame.h.