ROOT logo
ROOT » GUI » GUI » TGMdiMainFrame

class TGMdiMainFrame: public TGCanvas


TGMdiMainFrame.

This file contains the TGMdiMainFrame class.


Function Members (Methods)

public:
TGMdiMainFrame(const TGWindow* p, TGMdiMenuBar* menu, Int_t w, Int_t h, UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground())
virtual~TGMdiMainFrame()
voidTObject::AbstractMethod(const char* method) const
virtual voidTGFrame::Activate(Bool_t)
virtual voidTGCanvas::AddFrame(TGFrame* f, TGLayoutHints* l = 0)
voidTGFrame::AddInput(UInt_t emask)
virtual voidTObject::AppendPad(Option_t* option = "")
static Bool_tTQObject::AreAllSignalsBlocked()
Bool_tTQObject::AreSignalsBlocked() const
virtual voidArrangeFrames(Int_t mode)
virtual voidArrangeMinimized()
static Bool_tTQObject::BlockAllSignals(Bool_t b)
Bool_tTQObject::BlockSignals(Bool_t b)
virtual voidTObject::Browse(TBrowser* b)
virtual voidCascade()
virtual voidTGFrame::ChangeBackground(Pixel_t back)
virtual voidTQObject::ChangedBy(const char* method)SIGNAL
virtual voidTGFrame::ChangeOptions(UInt_t options)
virtual voidCirculateDown()
virtual voidCirculateUp()
static TClass*Class()
static TClass*TGCanvas::Class()
static TClass*TGFrame::Class()
static TClass*TQObject::Class()
static TClass*TGWindow::Class()
static TClass*TGObject::Class()
static TClass*TObject::Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual voidTGCanvas::ClearViewPort()
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tClose(TGMdiFrame* frame)
virtual voidCloseAll()
voidTQObject::CollectClassSignalLists(TList& list, TClass* cls)
virtual Int_tTObject::Compare(const TObject* obj) const
voidConfigureWindow(TGMdiFrame* f, TGMdiGeometry& geom)
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
Bool_tTGFrame::Contains(Int_t x, Int_t y) const
virtual Int_tContextHelp(TGMdiFrame* frame)
virtual voidTObject::Copy(TObject& object) const
virtual voidTGFrame::Delete(Option_t* = "")
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual voidTGFrame::DeleteWindow()
virtual voidTQObject::Destroyed()SIGNAL
virtual voidTGWindow::DestroySubwindows()
virtual voidTGWindow::DestroyWindow()
Bool_tTQObject::Disconnect(const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = 0)
virtual voidTQObject::Disconnected(const char*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTGCanvas::DrawBorder()
virtual voidTGFrame::DrawBorder()
virtual voidTGFrame::DrawClass() const
virtual TObject*TGFrame::DrawClone(Option_t* = "") const
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTGFrame::DrawCopy(Handle_t, Int_t, Int_t)
virtual voidTGFrame::Dump() const
virtual voidTObject::Dump() constMENU
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual voidFrameClosed(Int_t id)SIGNAL
virtual voidFrameCreated(Int_t id)SIGNAL
virtual voidFrameMaximized(Int_t id)SIGNAL
virtual voidFrameMinimized(Int_t id)SIGNAL
virtual voidFrameRestored(Int_t id)SIGNAL
virtual voidFramesArranged(Int_t mode)SIGNAL
virtual voidFreeMove(TGMdiFrame* frame)
virtual voidFreeSize(TGMdiFrame* frame)
virtual Pixel_tTGFrame::GetBackground() const
TGRectangleGetBBox() const
static const TGGC&TGFrame::GetBckgndGC()
static const TGGC&TGFrame::GetBlackGC()
static Pixel_tTGFrame::GetBlackPixel()
Int_tTGFrame::GetBorderWidth() const
TGClient*TGObject::GetClient() const
TGFrame*GetContainer() const
TGFrame*TGCanvas::GetContainer() const
static Int_tTGWindow::GetCounter()
TGMdiFrame*GetCurrent() const
static Pixel_tTGFrame::GetDefaultFrameBackground()
virtual UInt_tTGFrame::GetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionTGCanvas::GetDefaultSize() const
virtual TGDimensionTGFrame::GetDefaultSize() const
virtual UInt_tTGFrame::GetDefaultWidth() const
virtual TDNDData*TGFrame::GetDNDData(Atom_t)
virtual Int_tTGFrame::GetDragType() const
virtual Option_t*TObject::GetDrawOption() const
virtual Int_tTGFrame::GetDropType() const
static Long_tTObject::GetDtorOnly()
virtual UInt_tTGWindow::GetEditDisabled() const
UInt_tTGFrame::GetEventMask() const
virtual Pixel_tTGFrame::GetForeground() const
TGFrameElement*TGFrame::GetFrameElement() const
virtual TGFrame*TGFrame::GetFrameFromPoint(Int_t x, Int_t y)
UInt_tTGFrame::GetHeight() const
static const TGGC&TGFrame::GetHilightGC()
virtual Int_tTGCanvas::GetHsbPosition() const
TGHScrollBar*TGCanvas::GetHScrollbar() const
virtual const char*TObject::GetIconName() const
Handle_tTGObject::GetId() const
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TQObject::GetListOfSignals() const
virtual const TGWindow*TGWindow::GetMainFrame() const
UInt_tTGFrame::GetMaxHeight() const
UInt_tTGFrame::GetMaxWidth() const
TGMdiFrame*GetMdiFrame(UInt_t id) const
TGMdiMenuBar*GetMenu() const
UInt_tTGFrame::GetMinHeight() const
TGRectangleGetMinimizedBBox() const
UInt_tTGFrame::GetMinWidth() const
virtual const char*TGWindow::GetName() const
virtual const char*TObject::GetName() const
Long_tGetNumberOfFrames() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual UInt_tTGFrame::GetOptions() const
const TGWindow*TGWindow::GetParent() const
Int_tTGCanvas::GetScrolling() const
static const TGGC&TGFrame::GetShadowGC()
TGDimensionTGFrame::GetSize() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
TGViewPort*TGCanvas::GetViewPort() const
virtual Int_tTGCanvas::GetVsbPosition() const
TGVScrollBar*TGCanvas::GetVScrollbar() const
static const TGGC&TGFrame::GetWhiteGC()
static Pixel_tTGFrame::GetWhitePixel()
UInt_tTGFrame::GetWidth() const
TGMdiGeometryGetWindowGeometry(TGMdiFrame* f) const
TGMdiFrameList*GetWindowList(Int_t current = kFALSE) const
TGPopupMenu*GetWinListMenu() const
Int_tTGFrame::GetX() const
Int_tTGFrame::GetY() const
virtual Bool_tTGFrame::HandleButton(Event_t*)
virtual Bool_tTGFrame::HandleClientMessage(Event_t* event)
virtual Bool_tTGFrame::HandleColormapChange(Event_t*)
virtual Bool_tTGFrame::HandleConfigureNotify(Event_t* event)
virtual Bool_tTGFrame::HandleCrossing(Event_t*)
virtual Bool_tTGFrame::HandleDNDDrop(TDNDData*)
virtual Atom_tTGFrame::HandleDNDEnter(Atom_t*)
virtual Bool_tTGFrame::HandleDNDFinished()
virtual Bool_tTGFrame::HandleDNDLeave()
virtual Atom_tTGFrame::HandleDNDPosition(Int_t, Int_t, Atom_t, Int_t, Int_t)
virtual Bool_tTGFrame::HandleDoubleClick(Event_t*)
virtual Bool_tTGFrame::HandleDragDrop(TGFrame*, Int_t, Int_t, TGLayoutHints*)
virtual Bool_tTGFrame::HandleDragEnter(TGFrame*)
virtual Bool_tTGFrame::HandleDragLeave(TGFrame*)
virtual Bool_tTGFrame::HandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleEvent(Event_t* event)
virtual Bool_tTGWindow::HandleEvent(Event_t*)
virtual Bool_tTGWindow::HandleExpose(Event_t* event)
virtual Bool_tTGFrame::HandleFocusChange(Event_t*)
virtual Bool_tTGWindow::HandleIdleEvent(TGIdleHandler*)
virtual Bool_tHandleKey(Event_t* event)
virtual Bool_tTGFrame::HandleKey(Event_t*)
virtual Bool_tTGFrame::HandleMotion(Event_t*)
virtual Bool_tTGFrame::HandleSelection(Event_t*)
virtual Bool_tTGFrame::HandleSelectionClear(Event_t*)
virtual Bool_tTGFrame::HandleSelectionRequest(Event_t*)
virtual Bool_tTGWindow::HandleTimer(TTimer*)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTGObject::Hash() const
virtual ULong_tTObject::Hash() const
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTGWindow::IconifyWindow()
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTGFrame::Inspect() const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTGFrame::IsActive() const
virtual Bool_tTGFrame::IsComposite() const
Bool_tTGFrame::IsDNDSource() const
Bool_tTGFrame::IsDNDTarget() const
virtual Bool_tTGFrame::IsEditable() const
virtual Bool_tTGWindow::IsEditable() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tTGFrame::IsLayoutBroken() const
virtual Bool_tTGWindow::IsMapped()
virtual Bool_tTGWindow::IsMapSubwindows() const
Bool_tIsMaximized(TGMdiFrame* f)
Bool_tIsMinimized(TGMdiFrame* f)
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidLayout()
virtual voidTGCanvas::Layout()
virtual voidTGFrame::Layout()
static voidTQObject::LoadRQ_OBJECT()
virtual voidTGWindow::LowerWindow()
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTObject::ls(Option_t* option = "") const
virtual voidTGFrame::MapRaised()
virtual voidTGWindow::MapRaised()
virtual voidTGCanvas::MapSubwindows()
virtual voidTGFrame::MapSubwindows()
virtual voidTGWindow::MapSubwindows()
virtual voidTGFrame::MapWindow()
virtual voidTGWindow::MapWindow()
virtual voidMaximize(TGMdiFrame* frame)
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)SIGNAL
virtual voidMinimize(TGMdiFrame* frame)
virtual voidTGFrame::Move(Int_t x, Int_t y)
virtual voidTGWindow::Move(Int_t x, Int_t y)
virtual voidTGFrame::MoveResize(Int_t x, Int_t y, UInt_t w = 0, UInt_t h = 0)
virtual voidTGWindow::MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual Int_tTGWindow::MustCleanup() const
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTGFrame::Print(Option_t* option = "") const
virtual voidTGWindow::Print(Option_t* option = "") const
virtual voidTObject::Print(Option_t* option = "") const
virtual voidTGFrame::ProcessedConfigure(Event_t* event)SIGNAL
virtual voidTGFrame::ProcessedEvent(Event_t* event)SIGNAL
virtual Bool_tProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
virtual Bool_tTGCanvas::ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
virtual Bool_tTGFrame::ProcessMessage(Long_t, Long_t, Long_t)
virtual voidTGWindow::RaiseWindow()
virtual Int_tTObject::Read(const char* name)
virtual voidTGFrame::ReallyDelete()
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTGFrame::RemoveInput(UInt_t emask)
virtual voidTGFrame::ReparentWindow(const TGWindow* p, Int_t x = 0, Int_t y = 0)
virtual voidTGWindow::ReparentWindow(const TGWindow* p, Int_t x = 0, Int_t y = 0)
virtual voidTGWindow::RequestFocus()
voidTObject::ResetBit(UInt_t f)
virtual voidTGFrame::Resize(TGDimension size)
virtual voidTGFrame::Resize(UInt_t w = 0, UInt_t h = 0)
virtual voidTGWindow::Resize(UInt_t w, UInt_t h)
virtual voidRestore(TGMdiFrame* frame)
virtual voidTGObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidSavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGCanvas::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGFrame::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTGFrame::SaveUserColor(ostream& out, Option_t*)
virtual voidTGFrame::SendMessage(const TGWindow* w, Long_t msg, Long_t parm1, Long_t parm2)
virtual voidTGFrame::SetBackgroundColor(Pixel_t back)
virtual voidTGWindow::SetBackgroundColor(Pixel_t color)
virtual voidTGWindow::SetBackgroundPixmap(Pixmap_t pixmap)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTGFrame::SetCleanup(Int_t = kLocalCleanup)
virtual voidTGCanvas::SetContainer(TGFrame* f)
Bool_tSetCurrent(UInt_t newcurrent)
Bool_tSetCurrent(TGMdiFrame* f)SIGNAL
voidTGFrame::SetDNDSource(Bool_t onoff)
voidTGFrame::SetDNDTarget(Bool_t onoff)
virtual voidTGFrame::SetDragType(Int_t type)
virtual voidTGFrame::SetDrawOption(Option_t* = "")
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
virtual voidTGFrame::SetDropType(Int_t type)
static voidTObject::SetDtorOnly(void* obj)
virtual voidTGFrame::SetEditable(Bool_t)
virtual voidTGWindow::SetEditable(Bool_t on = kTRUE)
virtual voidTGWindow::SetEditDisabled(UInt_t on = kEditDisable)
virtual voidTGFrame::SetForegroundColor(Pixel_t)
voidTGFrame::SetFrameElement(TGFrameElement* fe)
virtual voidTGFrame::SetHeight(UInt_t h)
virtual voidTGCanvas::SetHsbPosition(Int_t newPos)
virtual voidTGFrame::SetLayoutBroken(Bool_t = kTRUE)
virtual voidTGWindow::SetMapSubwindows(Bool_t)
virtual voidTGFrame::SetMaxHeight(UInt_t h)
virtual voidTGFrame::SetMaxWidth(UInt_t w)
virtual voidTGFrame::SetMinHeight(UInt_t h)
virtual voidTGFrame::SetMinWidth(UInt_t w)
virtual voidTGWindow::SetName(const char* name)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetResizeMode(Int_t mode = kMdiDefaultResizeMode)
voidTGCanvas::SetScrolling(Int_t scrolling)
virtual voidTGFrame::SetSize(const TGDimension& s)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTGCanvas::SetVsbPosition(Int_t newPos)
virtual voidTGFrame::SetWidth(UInt_t w)
virtual voidTGWindow::SetWindowName(const char* name = 0)
virtual voidTGFrame::SetX(Int_t x)
virtual voidTGFrame::SetY(Int_t y)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGCanvas::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGFrame::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTQObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGWindow::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
virtual voidTGCanvas::Streamer(TBuffer& b)
virtual voidTGFrame::Streamer(TBuffer& b)
virtual voidTQObject::Streamer(TBuffer& b)
virtual voidTGWindow::Streamer(TBuffer& b)
virtual voidTGObject::Streamer(TBuffer& b)
virtual voidTObject::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGCanvas::StreamerNVirtual(TBuffer& b)
voidTGFrame::StreamerNVirtual(TBuffer& b)
voidTQObject::StreamerNVirtual(TBuffer& b)
voidTGWindow::StreamerNVirtual(TBuffer& b)
voidTGObject::StreamerNVirtual(TBuffer& b)
voidTObject::StreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTileHorizontal()
virtual voidTileVertical()
virtual voidTGFrame::UnmapWindow()
virtual voidTGWindow::UnmapWindow()
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
voidAddMdiFrame(TGMdiFrame* f)
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidTGFrame::DoRedraw()
virtual voidTGWindow::DoRedraw()
virtual voidTGFrame::Draw3dRectangle(UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
TGMdiDecorFrame*GetDecorFrame(UInt_t id) const
TGMdiDecorFrame*GetDecorFrame(TGMdiFrame* frame) const
static Time_tTGFrame::GetLastClick()
TStringTGFrame::GetOptionString() const
const TGResourcePool*TGFrame::GetResourcePool() const
virtual void*TGFrame::GetSender()
virtual const char*TQObject::GetSenderClassName() const
voidTObject::MakeZombie()
TGWindow&TGWindow::operator=(const TGWindow& tgw)
TGObject&TGObject::operator=(const TGObject& tgo)
Bool_tRemoveMdiFrame(TGMdiFrame* f)
Bool_tSetCurrent(TGMdiFrameList* newcurrent)
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)
voidUpdateWinListMenu()

Data Members

protected:
Int_tfArrangementModeMDI childs arrangement mode
Pixel_tfBackCurrent
Pixel_tfBackNotCurrent
Pixel_tTGFrame::fBackgroundframe background color
Int_tTGFrame::fBorderWidthframe border width
TGGC*fBoxGCGC used to draw resizing box (rectangle)
TGMdiFrameList*fChildrenlist of MDI child windows
TGClient*TGObject::fClientConnection to display server
TGFrame*fContainerMDI container
TGMdiFrameList*fCurrentcurrent list of MDI child windows
Int_tfCurrentX
Int_tfCurrentY
Int_tTGFrame::fDNDStateEDNDFlags
UInt_tTGWindow::fEditDisabledflags used for "guibuilding"
UInt_tTGFrame::fEventMaskcurrenty active event mask
TGFrameElement*TGFrame::fFEpointer to frame element
TGFont*fFontCurrent
TGFont*fFontNotCurrentfonts for active and inactive MDI childs
Pixel_tfForeCurrentback and fore colors for active MDI childs
Pixel_tfForeNotCurrentback and fore colors for inactive MDI childs
TGHScrollBar*TGCanvas::fHScrollbarhorizontal scrollbar
UInt_tTGFrame::fHeightframe height
Handle_tTGObject::fIdX11/Win32 Window identifier
TList*TQObject::fListOfConnections! list of connections to this object
TList*TQObject::fListOfSignals! list of signals from this object
UInt_tTGFrame::fMaxHeightmaximal frame height
UInt_tTGFrame::fMaxWidthmaximal frame width
TGMdiMenuBar*fMenuBarmenu bar
UInt_tTGFrame::fMinHeightminimal frame height
UInt_tTGFrame::fMinWidthminimal frame width
TStringTGWindow::fNamename of the window used in SavePrimitive()
Bool_tTGWindow::fNeedRedrawkTRUE if window needs to be redrawn
Long_tfNumberOfFramesnumber of MDI child windows
UInt_tTGFrame::fOptionsframe options
const TGWindow*TGWindow::fParentParent window
Int_tfResizeModecurrent MDI child XY position and resize mode
Int_tTGCanvas::fScrollingflag which scrolling modes are allowed
Bool_tTQObject::fSignalsBlocked! flag used for suppression of signals
TGVScrollBar*TGCanvas::fVScrollbarvertical scrollbar
TGViewPort*TGCanvas::fVportviewport through which we look at contents
UInt_tTGFrame::fWidthframe width
TGPopupMenu*fWinListMenupopup menu with list of MDI child windows
Int_tTGFrame::fXframe x position
Int_tTGFrame::fYframe y position
static Bool_tTQObject::fgAllSignalsBlockedflag used for suppression of all signals
static const TGGC*TGFrame::fgBckgndGC
static const TGGC*TGFrame::fgBlackGC
static Pixel_tTGFrame::fgBlackPixel
static Int_tTGWindow::fgCountercounter of created windows in SavePrimitive
static Window_tTGFrame::fgDbw
static Int_tTGFrame::fgDbx
static Int_tTGFrame::fgDby
static Pixel_tTGFrame::fgDefaultFrameBackground
static Pixel_tTGFrame::fgDefaultSelectedBackground
static const TGGC*TGFrame::fgHilightGC
static Bool_tTGFrame::fgInit
static UInt_tTGFrame::fgLastButton
static Time_tTGFrame::fgLastClick
static const TGGC*TGFrame::fgShadowGC
static UInt_tTGFrame::fgUserColor
static const TGGC*TGFrame::fgWhiteGC
static Pixel_tTGFrame::fgWhitePixel

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGMdiMainFrame(const TGWindow* p, TGMdiMenuBar* menu, Int_t w, Int_t h, UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground())
 Create a MDI main frame.
~TGMdiMainFrame()
 MDI main frame destructor.
void SetResizeMode(Int_t mode = kMdiDefaultResizeMode)
 Set MDI windows resize mode (opaque or transparent).
Bool_t HandleKey(Event_t* event)
 Handle keyboards events into MDI main frame.
void AddMdiFrame(TGMdiFrame* f)
 Add new MDI child window.
Bool_t RemoveMdiFrame(TGMdiFrame* f)
 Remove MDI child window.
Bool_t SetCurrent(UInt_t id)
 Set current (active) MDI child window (by id).
Bool_t SetCurrent(TGMdiFrame *f)
 Set current (active) MDI child window (by frame pointer).
Bool_t SetCurrent(TGMdiFrameList *newcurrent)
 Set current (active) MDI child window (by frame list).
void CirculateUp()
 Bring the lowest window to the top.
void CirculateDown()
 Send the highest window to the bottom.
TGMdiDecorFrame * GetDecorFrame(TGMdiFrame *frame)
 Return decor frame of MDI child window (by frame pointer).
TGMdiDecorFrame * GetDecorFrame(UInt_t id)
 Return decor frame of MDI child window (by id).
TGMdiFrame * GetMdiFrame(UInt_t id) const
 Return frame of MDI child window (by id).
TGRectangle GetBBox() const
 Return resizing box (rectangle) for current MDI child.
TGRectangle GetMinimizedBBox() const
 Return minimized box (rectangle) for current MDI child.
void UpdateWinListMenu()
 Update MDI menu entries with current list of MDI child windows.
void Layout()
 Recalculates the postion and the size of all MDI child windows.
void ArrangeFrames(Int_t mode)
 Automatic repositionning and resizing of every MDI child window.
 depending on mode : tile horizontal, tile vertical, or cascade.
void ArrangeMinimized()
 This is an attempt to an "smart" minimized window re-arrangement.
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
 Process messages MDI main frame.
void Maximize(TGMdiFrame* frame)
 Maximize MDI child window mdiframe.
void Restore(TGMdiFrame* frame)
 Restore size of MDI child window mdiframe.
void Minimize(TGMdiFrame* frame)
 Minimize MDI child window mdiframe.
Int_t Close(TGMdiFrame* frame)
 Close MDI child window mdiframe.
void FreeMove(TGMdiFrame* frame)
 Allow to move MDI child window mdiframe.
void FreeSize(TGMdiFrame* frame)
 Allow to resize MDI child window mdiframe.
Int_t ContextHelp(TGMdiFrame* frame)
 Calls Help() method of MDI child window mdiframe.
TGMdiFrame * GetCurrent() const
 Return pointer on current (active) MDI child window.
TGMdiGeometry GetWindowGeometry(TGMdiFrame* f) const
 Get MDI geometry of MDI child window f.
void ConfigureWindow(TGMdiFrame* f, TGMdiGeometry& geom)
 Set MDI geometry for MDI child window f.
void CloseAll()
 Close all MDI child windows.
Bool_t IsMaximized(TGMdiFrame* f)
 Check if MDI child window f is maximized;
Bool_t IsMinimized(TGMdiFrame* f)
 Check if MDI child window f is minimized;
void SavePrimitive(ostream& out, Option_t* option = "")
 Save a MDI main frame as a C++ statement(s) on output stream out
void Cascade()
{ ArrangeFrames(kMdiCascade); }
void TileHorizontal()
{ ArrangeFrames(kMdiTileHorizontal); }
void TileVertical()
{ ArrangeFrames(kMdiTileVertical); }
TGFrame * GetContainer() const
{ return fContainer; }
TGPopupMenu * GetWinListMenu() const
{ return fWinListMenu; }
TGMdiMenuBar * GetMenu() const
{ return fMenuBar; }
TGMdiFrameList * GetWindowList(Int_t current = kFALSE) const
{ return current ? fCurrent : fChildren; }
Long_t GetNumberOfFrames() const
{ return fNumberOfFrames; }
void FrameCreated(Int_t id)
{ Emit("FrameCreated(Int_t)", id); }
void FrameClosed(Int_t id)
{ Emit("FrameClosed(Int_t)", id); }
void FrameMaximized(Int_t id)
{ Emit("FrameMaximized(Int_t)", id); }
void FrameMinimized(Int_t id)
{ Emit("FrameMinimized(Int_t)", id); }
void FrameRestored(Int_t id)
{ Emit("FrameRestored(Int_t)", id); }
void FramesArranged(Int_t mode)
{ Emit("FramesArranged(Int_t)", mode); }