library: libGui #include "TGMdiMainFrame.h" |
TGMdiMainFrame
class description - header file - source file - inheritance tree (.pdf)
protected:
void AddMdiFrame(TGMdiFrame* f)
TGMdiDecorFrame* GetDecorFrame(UInt_t id) const
TGMdiDecorFrame* GetDecorFrame(TGMdiFrame* frame) const
Bool_t RemoveMdiFrame(TGMdiFrame* f)
Bool_t SetCurrent(TGMdiFrameList* newcurrent)
void UpdateWinListMenu()
public:
TGMdiMainFrame(const TGWindow* p, TGMdiMenuBar* menu, Int_t w, Int_t h, UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground())
TGMdiMainFrame(const TGMdiMainFrame&)
virtual ~TGMdiMainFrame()
virtual void ArrangeFrames(Int_t mode)
virtual void ArrangeMinimized()
virtual void Cascade()
virtual void CirculateDown()
virtual void CirculateUp()
static TClass* Class()
virtual Int_t Close(TGMdiFrame* frame)
virtual void CloseAll()
void ConfigureWindow(TGMdiFrame* f, TGMdiGeometry& geom)
virtual Int_t ContextHelp(TGMdiFrame* frame)
virtual void FrameClosed(Int_t id)
virtual void FrameCreated(Int_t id)
virtual void FrameMaximized(Int_t id)
virtual void FrameMinimized(Int_t id)
virtual void FrameRestored(Int_t id)
virtual void FramesArranged(Int_t mode)
virtual void FreeMove(TGMdiFrame* frame)
virtual void FreeSize(TGMdiFrame* frame)
TGRectangle GetBBox() const
TGFrame* GetContainer() const
TGMdiFrame* GetCurrent() const
TGMdiFrame* GetMdiFrame(UInt_t id) const
TGMdiMenuBar* GetMenu() const
TGRectangle GetMinimizedBBox() const
Long_t GetNumberOfFrames() const
TGMdiGeometry GetWindowGeometry(TGMdiFrame* f) const
TGMdiFrameList* GetWindowList(Int_t current = kFALSE) const
TGPopupMenu* GetWinListMenu() const
virtual Bool_t HandleKey(Event_t* event)
virtual TClass* IsA() const
Bool_t IsMaximized(TGMdiFrame* f)
Bool_t IsMinimized(TGMdiFrame* f)
virtual void Layout()
virtual void Maximize(TGMdiFrame* frame)
virtual void Minimize(TGMdiFrame* frame)
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
virtual void Restore(TGMdiFrame* frame)
virtual void SavePrimitive(ostream& out, Option_t* option = "")
Bool_t SetCurrent(UInt_t newcurrent)
Bool_t SetCurrent(TGMdiFrame* f)
void SetResizeMode(Int_t mode = kMdiDefaultResizeMode)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual void TileHorizontal()
virtual void TileVertical()
protected:
Int_t fCurrentX
Int_t fCurrentY
Int_t fResizeMode current MDI child XY position and resize mode
Int_t fArrangementMode MDI childs arrangement mode
TGFont* fFontCurrent
TGFont* fFontNotCurrent fonts for active and inactive MDI childs
Pixel_t fBackCurrent
Pixel_t fForeCurrent back and fore colors for active MDI childs
Pixel_t fBackNotCurrent
Pixel_t fForeNotCurrent back and fore colors for inactive MDI childs
TGGC* fBoxGC GC used to draw resizing box (rectangle)
Long_t fNumberOfFrames number of MDI child windows
TGMdiMenuBar* fMenuBar menu bar
TGFrame* fContainer MDI container
TGPopupMenu* fWinListMenu popup menu with list of MDI child windows
TGMdiFrameList* fChildren list of MDI child windows
TGMdiFrameList* fCurrent current list of MDI child windows
public:
static const enum TGMdiMainFrame:: kMinimizedWidth
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.
Author: Bertrand Bellenot 20/08/2004
Last update: root/gui:$Name: $:$Id: TGMdiMainFrame.cxx,v 1.22 2006/07/03 16:10:45 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.